Class AbstractAWSDirectoryService
- All Implemented Interfaces:
AWSDirectoryService
- Direct Known Subclasses:
AbstractAWSDirectoryServiceAsync
AWSDirectoryService. Convenient method
forms pass through to the corresponding overload that takes a request object,
which throws an UnsupportedOperationException.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectDirectory(ConnectDirectoryRequest request) Creates an AD Connector to connect to an on-premises directory.createAlias(CreateAliasRequest request) Creates an alias for a directory and assigns the alias to the directory.createComputer(CreateComputerRequest request) Creates a computer account in the specified directory, and joins the computer to the directory.Creates a conditional forwarder associated with your AWS directory.createDirectory(CreateDirectoryRequest request) Creates a Simple AD directory.Creates a Microsoft AD in the AWS cloud.createSnapshot(CreateSnapshotRequest request) Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.createTrust(CreateTrustRequest request) AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships.Deletes a conditional forwarder that has been set up for your AWS directory.deleteDirectory(DeleteDirectoryRequest request) Deletes an AWS Directory Service directory.deleteSnapshot(DeleteSnapshotRequest request) Deletes a directory snapshot.deleteTrust(DeleteTrustRequest request) Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.Removes the specified directory as a publisher to the specified SNS topic.Obtains information about the conditional forwarders for this account.Simplified method form for invoking the DescribeDirectories operation.Obtains information about the directories that belong to this account.Obtains information about which SNS topics receive status messages from the specified directory.Simplified method form for invoking the DescribeSnapshots operation.Obtains information about the directory snapshots that belong to this account.describeTrusts(DescribeTrustsRequest request) Obtains information about the trust relationships for this account.disableRadius(DisableRadiusRequest request) Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.disableSso(DisableSsoRequest request) Disables single-sign on for a directory.enableRadius(EnableRadiusRequest request) Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.enableSso(EnableSsoRequest request) Enables single-sign on for a directory.Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected.Simplified method form for invoking the GetDirectoryLimits operation.Obtains directory limit information for the current region.Obtains the manual snapshot limits for a directory.Associates a directory with an SNS topic.Restores a directory using an existing directory snapshot.voidsetEndpoint(String endpoint) Overrides the default endpoint for this client ("https://ds.us-east-1.amazonaws.com").voidAn alternative toAWSDirectoryService.setEndpoint(String), sets the regional endpoint for this client's service calls.voidshutdown()Shuts down this client object, releasing any resources that might be held open.Updates a conditional forwarder that has been set up for your AWS directory.updateRadius(UpdateRadiusRequest request) Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.verifyTrust(VerifyTrustRequest request) AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
-
Constructor Details
-
AbstractAWSDirectoryService
protected AbstractAWSDirectoryService()
-
-
Method Details
-
setEndpoint
Description copied from interface:AWSDirectoryServiceOverrides the default endpoint for this client ("https://ds.us-east-1.amazonaws.com"). Callers can use this method to control which AWS region they want to work with.Callers can pass in just the endpoint (ex: "ds.us-east-1.amazonaws.com") or a full URL, including the protocol (ex: "https://ds.us-east-1.amazonaws.com"). If the protocol is not specified here, the default protocol from this client's
ClientConfigurationwill be used, which by default is HTTPS.For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
- Specified by:
setEndpointin interfaceAWSDirectoryService- Parameters:
endpoint- The endpoint (ex: "ds.us-east-1.amazonaws.com") or a full URL, including the protocol (ex: "https://ds.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will communicate with.
-
setRegion
Description copied from interface:AWSDirectoryServiceAn alternative toAWSDirectoryService.setEndpoint(String), sets the regional endpoint for this client's service calls. Callers can use this method to control which AWS region they want to work with.By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfigurationsupplied at construction.This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
- Specified by:
setRegionin interfaceAWSDirectoryService- Parameters:
region- The region this client will communicate with. SeeRegion.getRegion(com.amazonaws.regions.Regions)for accessing a given region. Must not be null and must be a region where the service is available.- See Also:
-
connectDirectory
Description copied from interface:AWSDirectoryServiceCreates an AD Connector to connect to an on-premises directory.
- Specified by:
connectDirectoryin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the ConnectDirectory operation.- Returns:
- Result of the ConnectDirectory operation returned by the service.
-
createAlias
Description copied from interface:AWSDirectoryServiceCreates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as
http://alias.awsapps.com.After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
- Specified by:
createAliasin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the CreateAlias operation.- Returns:
- Result of the CreateAlias operation returned by the service.
-
createComputer
Description copied from interface:AWSDirectoryServiceCreates a computer account in the specified directory, and joins the computer to the directory.
- Specified by:
createComputerin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the CreateComputer operation.- Returns:
- Result of the CreateComputer operation returned by the service.
-
createConditionalForwarder
public CreateConditionalForwarderResult createConditionalForwarder(CreateConditionalForwarderRequest request) Description copied from interface:AWSDirectoryServiceCreates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.
- Specified by:
createConditionalForwarderin interfaceAWSDirectoryService- Parameters:
request- Initiates the creation of a conditional forwarder for your AWS Directory Service for Microsoft Active Directory. Conditional forwarders are required in order to set up a trust relationship with another domain.- Returns:
- Result of the CreateConditionalForwarder operation returned by the service.
-
createDirectory
Description copied from interface:AWSDirectoryServiceCreates a Simple AD directory.
- Specified by:
createDirectoryin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the CreateDirectory operation.- Returns:
- Result of the CreateDirectory operation returned by the service.
-
createMicrosoftAD
Description copied from interface:AWSDirectoryServiceCreates a Microsoft AD in the AWS cloud.- Specified by:
createMicrosoftADin interfaceAWSDirectoryService- Parameters:
request- Creates a Microsoft AD in the AWS cloud.- Returns:
- Result of the CreateMicrosoftAD operation returned by the service.
-
createSnapshot
Description copied from interface:AWSDirectoryServiceCreates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
- Specified by:
createSnapshotin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the CreateSnapshot operation.- Returns:
- Result of the CreateSnapshot operation returned by the service.
-
createTrust
Description copied from interface:AWSDirectoryServiceAWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
- Specified by:
createTrustin interfaceAWSDirectoryService- Parameters:
request- AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
- Returns:
- Result of the CreateTrust operation returned by the service.
-
deleteConditionalForwarder
public DeleteConditionalForwarderResult deleteConditionalForwarder(DeleteConditionalForwarderRequest request) Description copied from interface:AWSDirectoryServiceDeletes a conditional forwarder that has been set up for your AWS directory.
- Specified by:
deleteConditionalForwarderin interfaceAWSDirectoryService- Parameters:
request-- Returns:
- Result of the DeleteConditionalForwarder operation returned by the service.
-
deleteDirectory
Description copied from interface:AWSDirectoryServiceDeletes an AWS Directory Service directory.
- Specified by:
deleteDirectoryin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the DeleteDirectory operation.- Returns:
- Result of the DeleteDirectory operation returned by the service.
-
deleteSnapshot
Description copied from interface:AWSDirectoryServiceDeletes a directory snapshot.
- Specified by:
deleteSnapshotin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the DeleteSnapshot operation.- Returns:
- Result of the DeleteSnapshot operation returned by the service.
-
deleteTrust
Description copied from interface:AWSDirectoryServiceDeletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.- Specified by:
deleteTrustin interfaceAWSDirectoryService- Parameters:
request- Deletes the local side of an existing trust relationship between the Microsoft AD in the AWS cloud and the external domain.- Returns:
- Result of the DeleteTrust operation returned by the service.
-
deregisterEventTopic
Description copied from interface:AWSDirectoryServiceRemoves the specified directory as a publisher to the specified SNS topic.
- Specified by:
deregisterEventTopicin interfaceAWSDirectoryService- Parameters:
request- Removes the specified directory as a publisher to the specified SNS topic.- Returns:
- Result of the DeregisterEventTopic operation returned by the service.
-
describeConditionalForwarders
public DescribeConditionalForwardersResult describeConditionalForwarders(DescribeConditionalForwardersRequest request) Description copied from interface:AWSDirectoryServiceObtains information about the conditional forwarders for this account.
If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.
- Specified by:
describeConditionalForwardersin interfaceAWSDirectoryService- Parameters:
request-- Returns:
- Result of the DescribeConditionalForwarders operation returned by the service.
-
describeDirectories
Description copied from interface:AWSDirectoryServiceObtains information about the directories that belong to this account.
You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned.
This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit parameter.
- Specified by:
describeDirectoriesin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the DescribeDirectories operation.- Returns:
- Result of the DescribeDirectories operation returned by the service.
-
describeDirectories
Description copied from interface:AWSDirectoryServiceSimplified method form for invoking the DescribeDirectories operation.- Specified by:
describeDirectoriesin interfaceAWSDirectoryService- See Also:
-
describeEventTopics
Description copied from interface:AWSDirectoryServiceObtains information about which SNS topics receive status messages from the specified directory.
If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.
- Specified by:
describeEventTopicsin interfaceAWSDirectoryService- Parameters:
request-- Returns:
- Result of the DescribeEventTopics operation returned by the service.
-
describeSnapshots
Description copied from interface:AWSDirectoryServiceObtains 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.
- Specified by:
describeSnapshotsin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the DescribeSnapshots operation.- Returns:
- Result of the DescribeSnapshots operation returned by the service.
-
describeSnapshots
Description copied from interface:AWSDirectoryServiceSimplified method form for invoking the DescribeSnapshots operation.- Specified by:
describeSnapshotsin interfaceAWSDirectoryService- See Also:
-
describeTrusts
Description copied from interface:AWSDirectoryServiceObtains information about the trust relationships for this account.
If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.
- Specified by:
describeTrustsin interfaceAWSDirectoryService- Parameters:
request- Describes the trust relationships for a particular Microsoft AD in the AWS cloud. If no input parameters are are provided, such as directory ID or trust ID, this request describes all the trust relationships.- Returns:
- Result of the DescribeTrusts operation returned by the service.
-
disableRadius
Description copied from interface:AWSDirectoryServiceDisables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
disableRadiusin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the DisableRadius operation.- Returns:
- Result of the DisableRadius operation returned by the service.
-
disableSso
Description copied from interface:AWSDirectoryServiceDisables single-sign on for a directory.
- Specified by:
disableSsoin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the DisableSso operation.- Returns:
- Result of the DisableSso operation returned by the service.
-
enableRadius
Description copied from interface:AWSDirectoryServiceEnables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
enableRadiusin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the EnableRadius operation.- Returns:
- Result of the EnableRadius operation returned by the service.
-
enableSso
Description copied from interface:AWSDirectoryServiceEnables single-sign on for a directory.
- Specified by:
enableSsoin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the EnableSso operation.- Returns:
- Result of the EnableSso operation returned by the service.
-
getDirectoryLimits
Description copied from interface:AWSDirectoryServiceObtains directory limit information for the current region.
- Specified by:
getDirectoryLimitsin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the GetDirectoryLimits operation.- Returns:
- Result of the GetDirectoryLimits operation returned by the service.
-
getDirectoryLimits
Description copied from interface:AWSDirectoryServiceSimplified method form for invoking the GetDirectoryLimits operation.- Specified by:
getDirectoryLimitsin interfaceAWSDirectoryService- See Also:
-
getSnapshotLimits
Description copied from interface:AWSDirectoryServiceObtains the manual snapshot limits for a directory.
- Specified by:
getSnapshotLimitsin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the GetSnapshotLimits operation.- Returns:
- Result of the GetSnapshotLimits operation returned by the service.
-
registerEventTopic
Description copied from interface:AWSDirectoryServiceAssociates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
- Specified by:
registerEventTopicin interfaceAWSDirectoryService- Parameters:
request-- Returns:
- Result of the RegisterEventTopic operation returned by the service.
-
restoreFromSnapshot
Description copied from interface:AWSDirectoryServiceRestores a directory using an existing directory snapshot.
When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.
This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to
Active, the restore operation is complete.- Specified by:
restoreFromSnapshotin interfaceAWSDirectoryService- Parameters:
request- An object representing the inputs for the RestoreFromSnapshot operation.- Returns:
- Result of the RestoreFromSnapshot operation returned by the service.
-
updateConditionalForwarder
public UpdateConditionalForwarderResult updateConditionalForwarder(UpdateConditionalForwarderRequest request) Description copied from interface:AWSDirectoryServiceUpdates a conditional forwarder that has been set up for your AWS directory.
- Specified by:
updateConditionalForwarderin interfaceAWSDirectoryService- Parameters:
request-- Returns:
- Result of the UpdateConditionalForwarder operation returned by the service.
-
updateRadius
Description copied from interface:AWSDirectoryServiceUpdates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
- Specified by:
updateRadiusin interfaceAWSDirectoryService- Parameters:
request- Contains the inputs for the UpdateRadius operation.- Returns:
- Result of the UpdateRadius operation returned by the service.
-
verifyTrust
Description copied from interface:AWSDirectoryServiceAWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain.
- Specified by:
verifyTrustin interfaceAWSDirectoryService- Parameters:
request- Initiates the verification of an existing trust relationship between a Microsoft AD in the AWS cloud and an external domain.- Returns:
- Result of the VerifyTrust operation returned by the service.
-
shutdown
public void shutdown()Description copied from interface:AWSDirectoryServiceShuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.- Specified by:
shutdownin interfaceAWSDirectoryService
-
getCachedResponseMetadata
Description copied from interface:AWSDirectoryServiceReturns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
- Specified by:
getCachedResponseMetadatain interfaceAWSDirectoryService- Parameters:
request- The originally executed request.- Returns:
- The response metadata for the specified request, or null if none is available.
-