public class AWSDirectoryServiceClient extends AmazonWebServiceClient implements AWSDirectoryService
AWS Directory Service
This is the AWS Directory Service API Reference . This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors.
Modifier and Type | Field and Description |
---|---|
protected List<com.amazonaws.transform.JsonErrorUnmarshaller> |
jsonErrorUnmarshallers
List of exception unmarshallers for all AWSDirectoryService exceptions.
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSDirectoryServiceClient()
Constructs a new client to invoke service methods on
AWSDirectoryService.
|
AWSDirectoryServiceClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials.
|
AWSDirectoryServiceClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials
and client configuration options.
|
AWSDirectoryServiceClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials provider.
|
AWSDirectoryServiceClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials
provider and client configuration options.
|
AWSDirectoryServiceClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials
provider, client configuration options and request metric collector.
|
AWSDirectoryServiceClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSDirectoryService.
|
Modifier and Type | Method and Description |
---|---|
ConnectDirectoryResult |
connectDirectory(ConnectDirectoryRequest connectDirectoryRequest)
Creates an AD Connector to connect an on-premises directory.
|
CreateAliasResult |
createAlias(CreateAliasRequest createAliasRequest)
Creates an alias for a directory and assigns the alias to the
directory.
|
CreateComputerResult |
createComputer(CreateComputerRequest createComputerRequest)
Creates a computer account in the specified directory, and joins the
computer to the directory.
|
CreateDirectoryResult |
createDirectory(CreateDirectoryRequest createDirectoryRequest)
Creates a Simple AD directory.
|
CreateSnapshotResult |
createSnapshot(CreateSnapshotRequest createSnapshotRequest)
Creates a snapshot of an existing directory.
|
DeleteDirectoryResult |
deleteDirectory(DeleteDirectoryRequest deleteDirectoryRequest)
Deletes an AWS Directory Service directory.
|
DeleteSnapshotResult |
deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest)
Deletes a directory snapshot.
|
DescribeDirectoriesResult |
describeDirectories()
Obtains information about the directories that belong to this
account.
|
DescribeDirectoriesResult |
describeDirectories(DescribeDirectoriesRequest describeDirectoriesRequest)
Obtains information about the directories that belong to this
account.
|
DescribeSnapshotsResult |
describeSnapshots()
Obtains information about the directory snapshots that belong to this
account.
|
DescribeSnapshotsResult |
describeSnapshots(DescribeSnapshotsRequest describeSnapshotsRequest)
Obtains information about the directory snapshots that belong to this
account.
|
DisableRadiusResult |
disableRadius(DisableRadiusRequest disableRadiusRequest)
Disables multi-factor authentication (MFA) with Remote Authentication
Dial In User Service (RADIUS) for an AD Connector directory.
|
DisableSsoResult |
disableSso(DisableSsoRequest disableSsoRequest)
Disables single-sign on for a directory.
|
EnableRadiusResult |
enableRadius(EnableRadiusRequest enableRadiusRequest)
Enables multi-factor authentication (MFA) with Remote Authentication
Dial In User Service (RADIUS) for an AD Connector directory.
|
EnableSsoResult |
enableSso(EnableSsoRequest enableSsoRequest)
Enables single-sign on for a directory.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for
debugging issues where a service isn't acting as expected.
|
GetDirectoryLimitsResult |
getDirectoryLimits()
Obtains directory limit information for the current region.
|
GetDirectoryLimitsResult |
getDirectoryLimits(GetDirectoryLimitsRequest getDirectoryLimitsRequest)
Obtains directory limit information for the current region.
|
GetSnapshotLimitsResult |
getSnapshotLimits(GetSnapshotLimitsRequest getSnapshotLimitsRequest)
Obtains the manual snapshot limits for a directory.
|
RestoreFromSnapshotResult |
restoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest)
Restores a directory using an existing directory snapshot.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client.
|
void |
setEndpoint(String endpoint,
String serviceName,
String regionId)
An internal method that is not expected to be normally
called except for AWS internal development purposes.
|
UpdateRadiusResult |
updateRadius(UpdateRadiusRequest updateRadiusRequest)
Updates the Remote Authentication Dial In User Service (RADIUS)
server information for an AD Connector directory.
|
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setRegion, shutdown
protected List<com.amazonaws.transform.JsonErrorUnmarshaller> jsonErrorUnmarshallers
public AWSDirectoryServiceClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AWSDirectoryServiceClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AWSDirectoryService
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AWSDirectoryServiceClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AWSDirectoryServiceClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this
client connects to AWSDirectoryService
(ex: proxy settings, retry counts, etc.).public AWSDirectoryServiceClient(AWSCredentialsProvider awsCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AWSDirectoryServiceClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this
client connects to AWSDirectoryService
(ex: proxy settings, retry counts, etc.).public AWSDirectoryServiceClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this
client connects to AWSDirectoryService
(ex: proxy settings, retry counts, etc.).requestMetricCollector
- optional request metric collectorpublic DescribeSnapshotsResult describeSnapshots(DescribeSnapshotsRequest describeSnapshotsRequest)
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.
describeSnapshots
in interface AWSDirectoryService
describeSnapshotsRequest
- Container for the necessary parameters
to execute the DescribeSnapshots service method on
AWSDirectoryService.InvalidParameterException
InvalidNextTokenException
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public CreateAliasResult createAlias(CreateAliasRequest createAliasRequest)
Creates 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://
.
IMPORTANT: After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
createAlias
in interface AWSDirectoryService
createAliasRequest
- Container for the necessary parameters to
execute the CreateAlias service method on AWSDirectoryService.InvalidParameterException
EntityDoesNotExistException
ServiceException
EntityAlreadyExistsException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public DeleteSnapshotResult deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest)
Deletes a directory snapshot.
deleteSnapshot
in interface AWSDirectoryService
deleteSnapshotRequest
- Container for the necessary parameters to
execute the DeleteSnapshot service method on AWSDirectoryService.InvalidParameterException
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public UpdateRadiusResult updateRadius(UpdateRadiusRequest updateRadiusRequest)
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
updateRadius
in interface AWSDirectoryService
updateRadiusRequest
- Container for the necessary parameters to
execute the UpdateRadius service method on AWSDirectoryService.InvalidParameterException
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public DescribeDirectoriesResult describeDirectories(DescribeDirectoriesRequest describeDirectoriesRequest)
Obtains 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.
describeDirectories
in interface AWSDirectoryService
describeDirectoriesRequest
- Container for the necessary
parameters to execute the DescribeDirectories service method on
AWSDirectoryService.InvalidParameterException
InvalidNextTokenException
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public ConnectDirectoryResult connectDirectory(ConnectDirectoryRequest connectDirectoryRequest)
Creates an AD Connector to connect an on-premises directory.
connectDirectory
in interface AWSDirectoryService
connectDirectoryRequest
- Container for the necessary parameters
to execute the ConnectDirectory service method on AWSDirectoryService.InvalidParameterException
DirectoryLimitExceededException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public CreateSnapshotResult createSnapshot(CreateSnapshotRequest createSnapshotRequest)
Creates a snapshot of an existing directory.
You cannot take snapshots of extended or connected directories.
createSnapshot
in interface AWSDirectoryService
createSnapshotRequest
- Container for the necessary parameters to
execute the CreateSnapshot service method on AWSDirectoryService.InvalidParameterException
EntityDoesNotExistException
SnapshotLimitExceededException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public DeleteDirectoryResult deleteDirectory(DeleteDirectoryRequest deleteDirectoryRequest)
Deletes an AWS Directory Service directory.
deleteDirectory
in interface AWSDirectoryService
deleteDirectoryRequest
- Container for the necessary parameters
to execute the DeleteDirectory service method on AWSDirectoryService.EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public GetDirectoryLimitsResult getDirectoryLimits(GetDirectoryLimitsRequest getDirectoryLimitsRequest)
Obtains directory limit information for the current region.
getDirectoryLimits
in interface AWSDirectoryService
getDirectoryLimitsRequest
- Container for the necessary
parameters to execute the GetDirectoryLimits service method on
AWSDirectoryService.EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public DisableSsoResult disableSso(DisableSsoRequest disableSsoRequest)
Disables single-sign on for a directory.
disableSso
in interface AWSDirectoryService
disableSsoRequest
- Container for the necessary parameters to
execute the DisableSso service method on AWSDirectoryService.InsufficientPermissionsException
EntityDoesNotExistException
ServiceException
AuthenticationFailedException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public EnableRadiusResult enableRadius(EnableRadiusRequest enableRadiusRequest)
Enables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.
enableRadius
in interface AWSDirectoryService
enableRadiusRequest
- Container for the necessary parameters to
execute the EnableRadius service method on AWSDirectoryService.InvalidParameterException
EntityDoesNotExistException
ServiceException
EntityAlreadyExistsException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public CreateComputerResult createComputer(CreateComputerRequest createComputerRequest)
Creates a computer account in the specified directory, and joins the computer to the directory.
createComputer
in interface AWSDirectoryService
createComputerRequest
- Container for the necessary parameters to
execute the CreateComputer service method on AWSDirectoryService.UnsupportedOperationException
InvalidParameterException
EntityDoesNotExistException
ServiceException
DirectoryUnavailableException
AuthenticationFailedException
EntityAlreadyExistsException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public EnableSsoResult enableSso(EnableSsoRequest enableSsoRequest)
Enables single-sign on for a directory.
enableSso
in interface AWSDirectoryService
enableSsoRequest
- Container for the necessary parameters to
execute the EnableSso service method on AWSDirectoryService.InsufficientPermissionsException
EntityDoesNotExistException
ServiceException
AuthenticationFailedException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public CreateDirectoryResult createDirectory(CreateDirectoryRequest createDirectoryRequest)
Creates a Simple AD directory.
createDirectory
in interface AWSDirectoryService
createDirectoryRequest
- Container for the necessary parameters
to execute the CreateDirectory service method on AWSDirectoryService.InvalidParameterException
DirectoryLimitExceededException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public RestoreFromSnapshotResult restoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest)
Restores 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.
restoreFromSnapshot
in interface AWSDirectoryService
restoreFromSnapshotRequest
- Container for the necessary
parameters to execute the RestoreFromSnapshot service method on
AWSDirectoryService.InvalidParameterException
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public DisableRadiusResult disableRadius(DisableRadiusRequest disableRadiusRequest)
Disables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.
disableRadius
in interface AWSDirectoryService
disableRadiusRequest
- Container for the necessary parameters to
execute the DisableRadius service method on AWSDirectoryService.EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public GetSnapshotLimitsResult getSnapshotLimits(GetSnapshotLimitsRequest getSnapshotLimitsRequest)
Obtains the manual snapshot limits for a directory.
getSnapshotLimits
in interface AWSDirectoryService
getSnapshotLimitsRequest
- Container for the necessary parameters
to execute the GetSnapshotLimits service method on
AWSDirectoryService.EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public DescribeSnapshotsResult describeSnapshots() throws AmazonServiceException, AmazonClientException
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.
describeSnapshots
in interface AWSDirectoryService
InvalidParameterException
InvalidNextTokenException
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public DescribeDirectoriesResult describeDirectories() throws AmazonServiceException, AmazonClientException
Obtains 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.
describeDirectories
in interface AWSDirectoryService
InvalidParameterException
InvalidNextTokenException
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public GetDirectoryLimitsResult getDirectoryLimits() throws AmazonServiceException, AmazonClientException
Obtains directory limit information for the current region.
getDirectoryLimits
in interface AWSDirectoryService
EntityDoesNotExistException
ServiceException
ClientException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public void setEndpoint(String endpoint)
AmazonWebServiceClient
This method is not threadsafe. Endpoints 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.
Callers can pass in just the endpoint (ex: "ec2.amazonaws.com") or a full
URL, including the protocol (ex: "https://ec2.amazonaws.com"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration
will 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
setEndpoint
in interface AWSDirectoryService
setEndpoint
in class AmazonWebServiceClient
endpoint
- The endpoint (ex: "ec2.amazonaws.com") or a full URL,
including the protocol (ex: "https://ec2.amazonaws.com") of
the region specific AWS endpoint this client will communicate
with.public void setEndpoint(String endpoint, String serviceName, String regionId) throws IllegalArgumentException
AmazonWebServiceClient
Overrides the default endpoint for this client ("http://dynamodb.us-east-1.amazonaws.com/") and explicitly provides an AWS region ID and AWS service name to use when the client calculates a signature for requests. In almost all cases, this region ID and service name are automatically determined from the endpoint, and callers should use the simpler one-argument form of setEndpoint instead of this method.
Callers can pass in just the endpoint (ex:
"dynamodb.us-east-1.amazonaws.com/") or a full URL, including the
protocol (ex: "http://dynamodb.us-east-1.amazonaws.com/"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration
will 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
setEndpoint
in class AmazonWebServiceClient
endpoint
- The endpoint (ex: "dynamodb.us-east-1.amazonaws.com/") or a
full URL, including the protocol (ex:
"http://dynamodb.us-east-1.amazonaws.com/") of the region
specific AWS endpoint this client will communicate with.serviceName
- This parameter is ignored.regionId
- The ID of the region in which this service resides AND the
overriding region for signing purposes.IllegalArgumentException
- If any problems are detected with the specified endpoint.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata
in interface AWSDirectoryService
request
- The originally executed requestCopyright © 2015. All rights reserved.