Amazon.OpsWorksCM.AmazonOpsWorksCMClient.DescribeBackups C# (CSharp) Method

DescribeBackups() public method

Describes backups. The results are ordered by time, with newest backups first. If you do not specify a BackupId or ServerName, the command returns all backups.

This operation is synchronous.

A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is raised when parameters of the request are invalid.

/// This occurs when the provided nextToken is not valid. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DescribeBackups ( DescribeBackupsRequest request ) : DescribeBackupsResponse
request Amazon.OpsWorksCM.Model.DescribeBackupsRequest Container for the necessary parameters to execute the DescribeBackups service method.
return Amazon.OpsWorksCM.Model.DescribeBackupsResponse
        public DescribeBackupsResponse DescribeBackups(DescribeBackupsRequest request)
        {
            var marshaller = new DescribeBackupsRequestMarshaller();
            var unmarshaller = DescribeBackupsResponseUnmarshaller.Instance;

            return Invoke<DescribeBackupsRequest,DescribeBackupsResponse>(request, marshaller, unmarshaller);
        }