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.DescribeRegions 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 DescribeRegions to retrieve the next set of items.
DirectoryStage:
type: string
enum:
- Requested
- Creating
- Created
- Active
- Inoperable
- Impaired
- Restoring
- RestoreFailed
- Deleting
- Deleted
- Failed
DesiredNumberOfDomainControllers:
type: integer
minimum: 2
UnsupportedOperationException: {}
DirectoryVpcSettings:
type: object
required:
- VpcId
- SubnetIds
properties:
VpcId:
allOf:
- $ref: '#/components/schemas/VpcId'
- description: The identifier of the VPC in which to create the directory.
SubnetIds:
allOf:
- $ref: '#/components/schemas/SubnetIds'
- description: The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. Directory Service creates a directory server and a DNS server in each of these subnets.
description: Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
DescribeRegionsRequest:
type: object
required:
- DirectoryId
title: DescribeRegionsRequest
properties:
DirectoryId:
allOf:
- $ref: '#/components/schemas/DirectoryId'
- description: The identifier of the directory.
RegionName:
allOf:
- $ref: '#/components/schemas/RegionName'
- description: The name of the Region. For example, us-east-1.
NextToken:
allOf:
- $ref: '#/components/schemas/NextToken'
- description: The DescribeRegionsResult.NextToken value from a previous call to DescribeRegions. Pass null if this is the first call.
DirectoryDoesNotExistException: {}
NextToken:
type: string
RegionDescription:
type: object
properties:
DirectoryId:
allOf:
- $ref: '#/components/schemas/DirectoryId'
- description: The identifier of the directory.
RegionName:
allOf:
- $ref: '#/components/schemas/RegionName'
- description: The name of the Region. For example, us-east-1.
RegionType:
allOf:
- $ref: '#/components/schemas/RegionType'
- description: Specifies whether the Region is the primary Region or an additional Region.
Status:
allOf:
- $ref: '#/components/schemas/DirectoryStage'
- description: The status of the replication process for the specified Region.
VpcSettings:
$ref: '#/components/schemas/DirectoryVpcSettings'
DesiredNumberOfDomainControllers:
allOf:
- $ref: '#/components/schemas/DesiredNumberOfDomainControllers'
- description: The desired number of domain controllers in the specified Region for the specified directory.
LaunchTime:
allOf:
- $ref: '#/components/schemas/LaunchTime'
- description: Specifies when the Region replication began.
StatusLastUpdatedDateTime:
allOf:
- $ref: '#/components/schemas/StateLastUpdatedDateTime'
- description: The date and time that the Region status was last updated.
LastUpdatedDateTime:
allOf:
- $ref: '#/components/schemas/LastUpdatedDateTime'
- description: The date and time that the Region description was last updated.
description: The replicated Region information for a directory.
ServiceException: {}
VpcId:
type: string
pattern: ^(vpc-[0-9a-f]{8}|vpc-[0-9a-f]{17})$
LastUpdatedDateTime:
type: string
format: date-time
StateLastUpdatedDateTime:
type: string
format: date-time
InvalidParameterException: {}
AccessDeniedException: {}
SubnetIds:
type: array
items:
$ref: '#/components/schemas/SubnetId'
RegionName:
type: string
minLength: 8
maxLength: 32
InvalidNextTokenException: {}
LaunchTime:
type: string
format: date-time
RegionsDescription:
type: array
items:
$ref: '#/components/schemas/RegionDescription'
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