openapi: 3.0.0
info:
version: 2015-04-16
x-release: v4
title: 'AWS Directory Service #X Amz Target=DirectoryService 20150416.AcceptSharedDirectory #X Amz Target=DirectoryService 20150416.AcceptSharedDirectory #X Amz Target=DirectoryService 20150416.DescribeSnapshots API'
description:
Directory Service is a web service that makes it easy for you to setup and run directories in the Amazon Web Services cloud, or connect your Amazon Web Services resources with an existing self-managed Microsoft Active Directory. This guide provides detailed information about Directory Service operations, data types, parameters, and errors. For information about Directory Services features, see Directory Service and the Directory Service Administration Guide.
Amazon Web Services provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to Directory Service and other Amazon Web Services services. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools for Amazon Web Services.
Obtains information about the directory snapshots that belong to this account.
This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit parameter.
responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeSnapshotsResult' '480': description: EntityDoesNotExistException content: application/json: schema: $ref: '#/components/schemas/EntityDoesNotExistException' '481': description: InvalidParameterException content: application/json: schema: $ref: '#/components/schemas/InvalidParameterException' '482': description: InvalidNextTokenException content: application/json: schema: $ref: '#/components/schemas/InvalidNextTokenException' '483': description: ClientException content: application/json: schema: $ref: '#/components/schemas/ClientException' '484': description: ServiceException content: application/json: schema: $ref: '#/components/schemas/ServiceException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DescribeSnapshotsRequest' parameters: - name: Limit in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - DirectoryService_20150416.DescribeSnapshots tags: - '#X Amz Target=DirectoryService 20150416.DescribeSnapshots' components: schemas: DescribeSnapshotsResult: type: object properties: Snapshots: allOf: - $ref: '#/components/schemas/Snapshots' - description:The list of Snapshot objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
NextToken: allOf: - $ref: '#/components/schemas/NextToken' - description: If not null, more results are available. Pass this value in the NextToken member of a subsequent call to DescribeSnapshots. description: Contains the results of the DescribeSnapshots operation. ClientException: {} Snapshots: type: array description: A list of descriptions of directory snapshots. items: $ref: '#/components/schemas/Snapshot' DirectoryId: type: string pattern: ^d-[0-9a-f]{10}$ SnapshotType: type: string enum: - Auto - Manual SnapshotStatus: type: string enum: - Creating - Completed - Failed SnapshotIds: type: array description: A list of directory snapshot identifiers. items: $ref: '#/components/schemas/SnapshotId' StartTime: type: string format: date-time Snapshot: type: object properties: DirectoryId: allOf: - $ref: '#/components/schemas/DirectoryId' - description: The directory identifier. SnapshotId: allOf: - $ref: '#/components/schemas/SnapshotId' - description: The snapshot identifier. Type: allOf: - $ref: '#/components/schemas/SnapshotType' - description: The snapshot type. Name: allOf: - $ref: '#/components/schemas/SnapshotName' - description: The descriptive name of the snapshot. Status: allOf: - $ref: '#/components/schemas/SnapshotStatus' - description: The snapshot status. StartTime: allOf: - $ref: '#/components/schemas/StartTime' - description: The date and time that the snapshot was taken. description: Describes a directory snapshot. NextToken: type: string Limit: type: integer minimum: 0 ServiceException: {} EntityDoesNotExistException: {} InvalidParameterException: {} SnapshotName: type: string pattern: ^([a-zA-Z0-9_])[\\a-zA-Z0-9_@#%*+=:?./!\s-]*$ minLength: 0 maxLength: 128 SnapshotId: type: string pattern: ^s-[0-9a-f]{10}$ DescribeSnapshotsRequest: type: object title: DescribeSnapshotsRequest properties: DirectoryId: allOf: - $ref: '#/components/schemas/DirectoryId' - description: The identifier of the directory for which to retrieve snapshot information. SnapshotIds: allOf: - $ref: '#/components/schemas/SnapshotIds' - description: A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members. NextToken: allOf: - $ref: '#/components/schemas/NextToken' - description: The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. Pass null if this is the first call. Limit: allOf: - $ref: '#/components/schemas/Limit' - description: The maximum number of objects to return. description: Contains the inputs for the DescribeSnapshots operation. InvalidNextTokenException: {} parameters: X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/ds/ x-hasEquivalentPaths: true