public class AWSCloudHSMClient extends AmazonWebServiceClient implements AWSCloudHSM
AWS CloudHSM Service
Modifier and Type | Field and Description |
---|---|
protected List<com.amazonaws.transform.JsonErrorUnmarshaller> |
jsonErrorUnmarshallers
List of exception unmarshallers for all AWSCloudHSM exceptions.
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSCloudHSMClient()
Constructs a new client to invoke service methods on
AWSCloudHSM.
|
AWSCloudHSMClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on
AWSCloudHSM using the specified AWS account credentials.
|
AWSCloudHSMClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSCloudHSM using the specified AWS account credentials
and client configuration options.
|
AWSCloudHSMClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on
AWSCloudHSM using the specified AWS account credentials provider.
|
AWSCloudHSMClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSCloudHSM using the specified AWS account credentials
provider and client configuration options.
|
AWSCloudHSMClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on
AWSCloudHSM using the specified AWS account credentials
provider, client configuration options and request metric collector.
|
AWSCloudHSMClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSCloudHSM.
|
Modifier and Type | Method and Description |
---|---|
CreateHapgResult |
createHapg(CreateHapgRequest createHapgRequest)
Creates a high-availability partition group.
|
CreateHsmResult |
createHsm(CreateHsmRequest createHsmRequest)
Creates an uninitialized HSM instance.
|
CreateLunaClientResult |
createLunaClient(CreateLunaClientRequest createLunaClientRequest)
Creates an HSM client.
|
DeleteHapgResult |
deleteHapg(DeleteHapgRequest deleteHapgRequest)
Deletes a high-availability partition group.
|
DeleteHsmResult |
deleteHsm(DeleteHsmRequest deleteHsmRequest)
Deletes an HSM.
|
DeleteLunaClientResult |
deleteLunaClient(DeleteLunaClientRequest deleteLunaClientRequest)
Deletes a client.
|
DescribeHapgResult |
describeHapg(DescribeHapgRequest describeHapgRequest)
Retrieves information about a high-availability partition group.
|
DescribeHsmResult |
describeHsm()
Retrieves information about an HSM.
|
DescribeHsmResult |
describeHsm(DescribeHsmRequest describeHsmRequest)
Retrieves information about an HSM.
|
DescribeLunaClientResult |
describeLunaClient()
Retrieves information about an HSM client.
|
DescribeLunaClientResult |
describeLunaClient(DescribeLunaClientRequest describeLunaClientRequest)
Retrieves information about an HSM client.
|
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.
|
GetConfigResult |
getConfig(GetConfigRequest getConfigRequest)
Gets the configuration files necessary to connect to all high
availability partition groups the client is associated with.
|
ListAvailableZonesResult |
listAvailableZones()
Lists the Availability Zones that have available AWS CloudHSM
capacity.
|
ListAvailableZonesResult |
listAvailableZones(ListAvailableZonesRequest listAvailableZonesRequest)
Lists the Availability Zones that have available AWS CloudHSM
capacity.
|
ListHapgsResult |
listHapgs()
Lists the high-availability partition groups for the account.
|
ListHapgsResult |
listHapgs(ListHapgsRequest listHapgsRequest)
Lists the high-availability partition groups for the account.
|
ListHsmsResult |
listHsms()
Retrieves the identifiers of all of the HSMs provisioned for the
current customer.
|
ListHsmsResult |
listHsms(ListHsmsRequest listHsmsRequest)
Retrieves the identifiers of all of the HSMs provisioned for the
current customer.
|
ListLunaClientsResult |
listLunaClients()
Lists all of the clients.
|
ListLunaClientsResult |
listLunaClients(ListLunaClientsRequest listLunaClientsRequest)
Lists all of the clients.
|
ModifyHapgResult |
modifyHapg(ModifyHapgRequest modifyHapgRequest)
Modifies an existing high-availability partition group.
|
ModifyHsmResult |
modifyHsm(ModifyHsmRequest modifyHsmRequest)
Modifies an HSM.
|
ModifyLunaClientResult |
modifyLunaClient(ModifyLunaClientRequest modifyLunaClientRequest)
Modifies the certificate used by the client.
|
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.
|
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, convertToHttpRequest, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setRegion, 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 AWSCloudHSMClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AWSCloudHSMClient(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 AWSCloudHSM
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AWSCloudHSMClient(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 AWSCloudHSMClient(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 AWSCloudHSM
(ex: proxy settings, retry counts, etc.).public AWSCloudHSMClient(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 AWSCloudHSMClient(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 AWSCloudHSM
(ex: proxy settings, retry counts, etc.).public AWSCloudHSMClient(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 AWSCloudHSM
(ex: proxy settings, retry counts, etc.).requestMetricCollector
- optional request metric collectorpublic GetConfigResult getConfig(GetConfigRequest getConfigRequest)
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
getConfig
in interface AWSCloudHSM
getConfigRequest
- Container for the necessary parameters to
execute the GetConfig service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public CreateHapgResult createHapg(CreateHapgRequest createHapgRequest)
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
createHapg
in interface AWSCloudHSM
createHapgRequest
- Container for the necessary parameters to
execute the CreateHapg service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DescribeHapgResult describeHapg(DescribeHapgRequest describeHapgRequest)
Retrieves information about a high-availability partition group.
describeHapg
in interface AWSCloudHSM
describeHapgRequest
- Container for the necessary parameters to
execute the DescribeHapg service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListAvailableZonesResult listAvailableZones(ListAvailableZonesRequest listAvailableZonesRequest)
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZones
in interface AWSCloudHSM
listAvailableZonesRequest
- Container for the necessary
parameters to execute the ListAvailableZones service method on
AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ModifyHsmResult modifyHsm(ModifyHsmRequest modifyHsmRequest)
Modifies an HSM.
modifyHsm
in interface AWSCloudHSM
modifyHsmRequest
- Container for the necessary parameters to
execute the ModifyHsm service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListLunaClientsResult listLunaClients(ListLunaClientsRequest listLunaClientsRequest)
Lists all of the clients.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.
listLunaClients
in interface AWSCloudHSM
listLunaClientsRequest
- Container for the necessary parameters
to execute the ListLunaClients service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListHapgsResult listHapgs(ListHapgsRequest listHapgsRequest)
Lists the high-availability partition groups for the account.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.
listHapgs
in interface AWSCloudHSM
listHapgsRequest
- Container for the necessary parameters to
execute the ListHapgs service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DeleteHsmResult deleteHsm(DeleteHsmRequest deleteHsmRequest)
Deletes an HSM. Once complete, this operation cannot be undone and your key material cannot be recovered.
deleteHsm
in interface AWSCloudHSM
deleteHsmRequest
- Container for the necessary parameters to
execute the DeleteHsm service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public CreateHsmResult createHsm(CreateHsmRequest createHsmRequest)
Creates an uninitialized HSM instance. Running this command provisions an HSM appliance and will result in charges to your AWS account for the HSM.
createHsm
in interface AWSCloudHSM
createHsmRequest
- Container for the necessary parameters to
execute the CreateHsm service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListHsmsResult listHsms(ListHsmsRequest listHsmsRequest)
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
listHsms
in interface AWSCloudHSM
listHsmsRequest
- Container for the necessary parameters to
execute the ListHsms service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DescribeHsmResult describeHsm(DescribeHsmRequest describeHsmRequest)
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
describeHsm
in interface AWSCloudHSM
describeHsmRequest
- Container for the necessary parameters to
execute the DescribeHsm service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DeleteHapgResult deleteHapg(DeleteHapgRequest deleteHapgRequest)
Deletes a high-availability partition group.
deleteHapg
in interface AWSCloudHSM
deleteHapgRequest
- Container for the necessary parameters to
execute the DeleteHapg service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ModifyHapgResult modifyHapg(ModifyHapgRequest modifyHapgRequest)
Modifies an existing high-availability partition group.
modifyHapg
in interface AWSCloudHSM
modifyHapgRequest
- Container for the necessary parameters to
execute the ModifyHapg service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public CreateLunaClientResult createLunaClient(CreateLunaClientRequest createLunaClientRequest)
Creates an HSM client.
createLunaClient
in interface AWSCloudHSM
createLunaClientRequest
- Container for the necessary parameters
to execute the CreateLunaClient service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DeleteLunaClientResult deleteLunaClient(DeleteLunaClientRequest deleteLunaClientRequest)
Deletes a client.
deleteLunaClient
in interface AWSCloudHSM
deleteLunaClientRequest
- Container for the necessary parameters
to execute the DeleteLunaClient service method on AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ModifyLunaClientResult modifyLunaClient(ModifyLunaClientRequest modifyLunaClientRequest)
Modifies the certificate used by the client.
This action can potentially start a workflow to install the new certificate on the client's HSMs.
modifyLunaClient
in interface AWSCloudHSM
modifyLunaClientRequest
- Container for the necessary parameters
to execute the ModifyLunaClient service method on AWSCloudHSM.CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DescribeLunaClientResult describeLunaClient(DescribeLunaClientRequest describeLunaClientRequest)
Retrieves information about an HSM client.
describeLunaClient
in interface AWSCloudHSM
describeLunaClientRequest
- Container for the necessary
parameters to execute the DescribeLunaClient service method on
AWSCloudHSM.InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListAvailableZonesResult listAvailableZones() throws AmazonServiceException, AmazonClientException
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZones
in interface AWSCloudHSM
InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListLunaClientsResult listLunaClients() throws AmazonServiceException, AmazonClientException
Lists all of the clients.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.
listLunaClients
in interface AWSCloudHSM
InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListHapgsResult listHapgs() throws AmazonServiceException, AmazonClientException
Lists the high-availability partition groups for the account.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.
listHapgs
in interface AWSCloudHSM
InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public ListHsmsResult listHsms() throws AmazonServiceException, AmazonClientException
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
listHsms
in interface AWSCloudHSM
InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DescribeHsmResult describeHsm() throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
describeHsm
in interface AWSCloudHSM
InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public DescribeLunaClientResult describeLunaClient() throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM client.
describeLunaClient
in interface AWSCloudHSM
InvalidRequestException
CloudHsmInternalException
CloudHsmServiceException
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 AWSCloudHSM 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 AWSCloudHSM
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 AWSCloudHSM
request
- The originally executed requestCopyright © 2015. All rights reserved.