@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSPcaConnectorScepAsyncClient extends AWSPcaConnectorScepClient implements AWSPcaConnectorScepAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Connector for SCEP (Preview) is in preview release for Amazon Web Services Private Certificate Authority and is
subject to change.
Connector for SCEP (Preview) creates a connector between Amazon Web Services Private CA and your SCEP-enabled clients and devices. For more information, see Connector for SCEP in the Amazon Web Services Private CA User Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createChallenge, createConnector, deleteChallenge, deleteConnector, getCachedResponseMetadata, getChallengeMetadata, getChallengePassword, getConnector, listChallengeMetadata, listConnectors, listTagsForResource, tagResource, untagResource
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createChallenge, createConnector, deleteChallenge, deleteConnector, getCachedResponseMetadata, getChallengeMetadata, getChallengePassword, getConnector, listChallengeMetadata, listConnectors, listTagsForResource, tagResource, untagResource
public static AWSPcaConnectorScepAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateChallengeResult> createChallengeAsync(CreateChallengeRequest request)
AWSPcaConnectorScepAsync
For general-purpose connectors. Creates a challenge password for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call ListConnectors.
To create additional challenge passwords for the connector, call CreateChallenge
again. We recommend
frequently rotating your challenge passwords.
createChallengeAsync
in interface AWSPcaConnectorScepAsync
public Future<CreateChallengeResult> createChallengeAsync(CreateChallengeRequest request, AsyncHandler<CreateChallengeRequest,CreateChallengeResult> asyncHandler)
AWSPcaConnectorScepAsync
For general-purpose connectors. Creates a challenge password for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call ListConnectors.
To create additional challenge passwords for the connector, call CreateChallenge
again. We recommend
frequently rotating your challenge passwords.
createChallengeAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateConnectorResult> createConnectorAsync(CreateConnectorRequest request)
AWSPcaConnectorScepAsync
Creates a SCEP connector. A SCEP connector links Amazon Web Services Private Certificate Authority to your SCEP-compatible devices and mobile device management (MDM) systems. Before you create a connector, you must complete a set of prerequisites, including creation of a private certificate authority (CA) to use with this connector. For more information, see Connector for SCEP prerequisites.
createConnectorAsync
in interface AWSPcaConnectorScepAsync
public Future<CreateConnectorResult> createConnectorAsync(CreateConnectorRequest request, AsyncHandler<CreateConnectorRequest,CreateConnectorResult> asyncHandler)
AWSPcaConnectorScepAsync
Creates a SCEP connector. A SCEP connector links Amazon Web Services Private Certificate Authority to your SCEP-compatible devices and mobile device management (MDM) systems. Before you create a connector, you must complete a set of prerequisites, including creation of a private certificate authority (CA) to use with this connector. For more information, see Connector for SCEP prerequisites.
createConnectorAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteChallengeResult> deleteChallengeAsync(DeleteChallengeRequest request)
AWSPcaConnectorScepAsync
Deletes the specified Challenge.
deleteChallengeAsync
in interface AWSPcaConnectorScepAsync
public Future<DeleteChallengeResult> deleteChallengeAsync(DeleteChallengeRequest request, AsyncHandler<DeleteChallengeRequest,DeleteChallengeResult> asyncHandler)
AWSPcaConnectorScepAsync
Deletes the specified Challenge.
deleteChallengeAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteConnectorResult> deleteConnectorAsync(DeleteConnectorRequest request)
AWSPcaConnectorScepAsync
Deletes the specified Connector. This operation also deletes any challenges associated with the connector.
deleteConnectorAsync
in interface AWSPcaConnectorScepAsync
public Future<DeleteConnectorResult> deleteConnectorAsync(DeleteConnectorRequest request, AsyncHandler<DeleteConnectorRequest,DeleteConnectorResult> asyncHandler)
AWSPcaConnectorScepAsync
Deletes the specified Connector. This operation also deletes any challenges associated with the connector.
deleteConnectorAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetChallengeMetadataResult> getChallengeMetadataAsync(GetChallengeMetadataRequest request)
AWSPcaConnectorScepAsync
Retrieves the metadata for the specified Challenge.
getChallengeMetadataAsync
in interface AWSPcaConnectorScepAsync
public Future<GetChallengeMetadataResult> getChallengeMetadataAsync(GetChallengeMetadataRequest request, AsyncHandler<GetChallengeMetadataRequest,GetChallengeMetadataResult> asyncHandler)
AWSPcaConnectorScepAsync
Retrieves the metadata for the specified Challenge.
getChallengeMetadataAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetChallengePasswordResult> getChallengePasswordAsync(GetChallengePasswordRequest request)
AWSPcaConnectorScepAsync
Retrieves the challenge password for the specified Challenge.
getChallengePasswordAsync
in interface AWSPcaConnectorScepAsync
public Future<GetChallengePasswordResult> getChallengePasswordAsync(GetChallengePasswordRequest request, AsyncHandler<GetChallengePasswordRequest,GetChallengePasswordResult> asyncHandler)
AWSPcaConnectorScepAsync
Retrieves the challenge password for the specified Challenge.
getChallengePasswordAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetConnectorResult> getConnectorAsync(GetConnectorRequest request)
AWSPcaConnectorScepAsync
Retrieves details about the specified Connector. Calling this action returns important details about the connector, such as the public SCEP URL where your clients can request certificates.
getConnectorAsync
in interface AWSPcaConnectorScepAsync
public Future<GetConnectorResult> getConnectorAsync(GetConnectorRequest request, AsyncHandler<GetConnectorRequest,GetConnectorResult> asyncHandler)
AWSPcaConnectorScepAsync
Retrieves details about the specified Connector. Calling this action returns important details about the connector, such as the public SCEP URL where your clients can request certificates.
getConnectorAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListChallengeMetadataResult> listChallengeMetadataAsync(ListChallengeMetadataRequest request)
AWSPcaConnectorScepAsync
Retrieves the challenge metadata for the specified ARN.
listChallengeMetadataAsync
in interface AWSPcaConnectorScepAsync
public Future<ListChallengeMetadataResult> listChallengeMetadataAsync(ListChallengeMetadataRequest request, AsyncHandler<ListChallengeMetadataRequest,ListChallengeMetadataResult> asyncHandler)
AWSPcaConnectorScepAsync
Retrieves the challenge metadata for the specified ARN.
listChallengeMetadataAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListConnectorsResult> listConnectorsAsync(ListConnectorsRequest request)
AWSPcaConnectorScepAsync
Lists the connectors belonging to your Amazon Web Services account.
listConnectorsAsync
in interface AWSPcaConnectorScepAsync
public Future<ListConnectorsResult> listConnectorsAsync(ListConnectorsRequest request, AsyncHandler<ListConnectorsRequest,ListConnectorsResult> asyncHandler)
AWSPcaConnectorScepAsync
Lists the connectors belonging to your Amazon Web Services account.
listConnectorsAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSPcaConnectorScepAsync
Retrieves the tags associated with the specified resource. Tags are key-value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.
listTagsForResourceAsync
in interface AWSPcaConnectorScepAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSPcaConnectorScepAsync
Retrieves the tags associated with the specified resource. Tags are key-value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.
listTagsForResourceAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSPcaConnectorScepAsync
Adds one or more tags to your resource.
tagResourceAsync
in interface AWSPcaConnectorScepAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSPcaConnectorScepAsync
Adds one or more tags to your resource.
tagResourceAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSPcaConnectorScepAsync
Removes one or more tags from your resource.
untagResourceAsync
in interface AWSPcaConnectorScepAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSPcaConnectorScepAsync
Removes one or more tags from your resource.
untagResourceAsync
in interface AWSPcaConnectorScepAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSPcaConnectorScep
shutdown
in class AWSPcaConnectorScepClient