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.DescribeSharedDirectories 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.
NextToken parameter in a subsequent call to DescribeSharedDirectories to retrieve the next set of items.
DirectoryId:
type: string
pattern: ^d-[0-9a-f]{10}$
CustomerId:
type: string
pattern: ^(\d{12})$
CreatedDateTime:
type: string
format: date-time
ShareStatus:
type: string
enum:
- Shared
- PendingAcceptance
- Rejected
- Rejecting
- RejectFailed
- Sharing
- ShareFailed
- Deleted
- Deleting
DescribeSharedDirectoriesRequest:
type: object
required:
- OwnerDirectoryId
title: DescribeSharedDirectoriesRequest
properties:
OwnerDirectoryId:
allOf:
- $ref: '#/components/schemas/DirectoryId'
- description: 'Returns the identifier of the directory in the directory owner account. '
SharedDirectoryIds:
allOf:
- $ref: '#/components/schemas/DirectoryIds'
- description: 'A list of identifiers of all shared directories in your account. '
NextToken:
allOf:
- $ref: '#/components/schemas/NextToken'
- description: 'The DescribeSharedDirectoriesResult.NextToken value from a previous call to DescribeSharedDirectories. Pass null if this is the first call. '
Limit:
allOf:
- $ref: '#/components/schemas/Limit'
- description: The number of shared directories to return in the response object.
SharedDirectories:
type: array
items:
$ref: '#/components/schemas/SharedDirectory'
ShareMethod:
type: string
enum:
- ORGANIZATIONS
- HANDSHAKE
SharedDirectory:
type: object
properties:
OwnerAccountId:
allOf:
- $ref: '#/components/schemas/CustomerId'
- description: Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
OwnerDirectoryId:
allOf:
- $ref: '#/components/schemas/DirectoryId'
- description: 'Identifier of the directory in the directory owner account. '
ShareMethod:
allOf:
- $ref: '#/components/schemas/ShareMethod'
- description: The method used when sharing a directory to determine whether the directory should be shared within your Amazon Web Services organization (ORGANIZATIONS) or with any Amazon Web Services account by sending a shared directory request (HANDSHAKE).
SharedAccountId:
allOf:
- $ref: '#/components/schemas/CustomerId'
- description: Identifier of the directory consumer account that has access to the shared directory (OwnerDirectoryId) in the directory owner account.
SharedDirectoryId:
allOf:
- $ref: '#/components/schemas/DirectoryId'
- description: Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
ShareStatus:
allOf:
- $ref: '#/components/schemas/ShareStatus'
- description: Current directory status of the shared Managed Microsoft AD directory.
ShareNotes:
allOf:
- $ref: '#/components/schemas/Notes'
- description: A directory share request that is sent by the directory owner to the directory consumer. The request includes a typed message to help the directory consumer administrator determine whether to approve or reject the share invitation.
CreatedDateTime:
allOf:
- $ref: '#/components/schemas/CreatedDateTime'
- description: The date and time that the shared directory was created.
LastUpdatedDateTime:
allOf:
- $ref: '#/components/schemas/LastUpdatedDateTime'
- description: The date and time that the shared directory was last updated.
description: Details about the shared directory in the directory owner account for which the share request in the directory consumer account has been accepted.
UnsupportedOperationException: {}
DirectoryIds:
type: array
description: A list of directory identifiers.
items:
$ref: '#/components/schemas/DirectoryId'
NextToken:
type: string
Limit:
type: integer
minimum: 0
ServiceException: {}
EntityDoesNotExistException: {}
LastUpdatedDateTime:
type: string
format: date-time
InvalidParameterException: {}
Notes:
type: string
maxLength: 1024
format: password
InvalidNextTokenException: {}
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