com.amazonaws.services.kms.AbstractAWSKMSAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-kms Show documentation
Show all versions of aws-java-sdk-kms Show documentation
The AWS Java SDK for AWS KMS module holds the client classes that are used for communicating with AWS Key Management Service
The newest version!
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.kms;
import javax.annotation.Generated;
import com.amazonaws.services.kms.model.*;
/**
* Abstract implementation of {@code AWSKMSAsync}. Convenient method forms pass through to the corresponding overload
* that takes a request object and an {@code AsyncHandler}, which throws an {@code UnsupportedOperationException}.
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class AbstractAWSKMSAsync extends AbstractAWSKMS implements AWSKMSAsync {
protected AbstractAWSKMSAsync() {
}
@Override
public java.util.concurrent.Future cancelKeyDeletionAsync(CancelKeyDeletionRequest request) {
return cancelKeyDeletionAsync(request, null);
}
@Override
public java.util.concurrent.Future cancelKeyDeletionAsync(CancelKeyDeletionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future connectCustomKeyStoreAsync(ConnectCustomKeyStoreRequest request) {
return connectCustomKeyStoreAsync(request, null);
}
@Override
public java.util.concurrent.Future connectCustomKeyStoreAsync(ConnectCustomKeyStoreRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createAliasAsync(CreateAliasRequest request) {
return createAliasAsync(request, null);
}
@Override
public java.util.concurrent.Future createAliasAsync(CreateAliasRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createCustomKeyStoreAsync(CreateCustomKeyStoreRequest request) {
return createCustomKeyStoreAsync(request, null);
}
@Override
public java.util.concurrent.Future createCustomKeyStoreAsync(CreateCustomKeyStoreRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createGrantAsync(CreateGrantRequest request) {
return createGrantAsync(request, null);
}
@Override
public java.util.concurrent.Future createGrantAsync(CreateGrantRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createKeyAsync(CreateKeyRequest request) {
return createKeyAsync(request, null);
}
@Override
public java.util.concurrent.Future createKeyAsync(CreateKeyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the CreateKey operation.
*
* @see #createKeyAsync(CreateKeyRequest)
*/
@Override
public java.util.concurrent.Future createKeyAsync() {
return createKeyAsync(new CreateKeyRequest());
}
/**
* Simplified method form for invoking the CreateKey operation with an AsyncHandler.
*
* @see #createKeyAsync(CreateKeyRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future createKeyAsync(com.amazonaws.handlers.AsyncHandler asyncHandler) {
return createKeyAsync(new CreateKeyRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future decryptAsync(DecryptRequest request) {
return decryptAsync(request, null);
}
@Override
public java.util.concurrent.Future decryptAsync(DecryptRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteAliasAsync(DeleteAliasRequest request) {
return deleteAliasAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteAliasAsync(DeleteAliasRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteCustomKeyStoreAsync(DeleteCustomKeyStoreRequest request) {
return deleteCustomKeyStoreAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteCustomKeyStoreAsync(DeleteCustomKeyStoreRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteImportedKeyMaterialAsync(DeleteImportedKeyMaterialRequest request) {
return deleteImportedKeyMaterialAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteImportedKeyMaterialAsync(DeleteImportedKeyMaterialRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deriveSharedSecretAsync(DeriveSharedSecretRequest request) {
return deriveSharedSecretAsync(request, null);
}
@Override
public java.util.concurrent.Future deriveSharedSecretAsync(DeriveSharedSecretRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeCustomKeyStoresAsync(DescribeCustomKeyStoresRequest request) {
return describeCustomKeyStoresAsync(request, null);
}
@Override
public java.util.concurrent.Future describeCustomKeyStoresAsync(DescribeCustomKeyStoresRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeKeyAsync(DescribeKeyRequest request) {
return describeKeyAsync(request, null);
}
@Override
public java.util.concurrent.Future describeKeyAsync(DescribeKeyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future disableKeyAsync(DisableKeyRequest request) {
return disableKeyAsync(request, null);
}
@Override
public java.util.concurrent.Future disableKeyAsync(DisableKeyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future disableKeyRotationAsync(DisableKeyRotationRequest request) {
return disableKeyRotationAsync(request, null);
}
@Override
public java.util.concurrent.Future disableKeyRotationAsync(DisableKeyRotationRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future disconnectCustomKeyStoreAsync(DisconnectCustomKeyStoreRequest request) {
return disconnectCustomKeyStoreAsync(request, null);
}
@Override
public java.util.concurrent.Future disconnectCustomKeyStoreAsync(DisconnectCustomKeyStoreRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future enableKeyAsync(EnableKeyRequest request) {
return enableKeyAsync(request, null);
}
@Override
public java.util.concurrent.Future enableKeyAsync(EnableKeyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future enableKeyRotationAsync(EnableKeyRotationRequest request) {
return enableKeyRotationAsync(request, null);
}
@Override
public java.util.concurrent.Future enableKeyRotationAsync(EnableKeyRotationRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future encryptAsync(EncryptRequest request) {
return encryptAsync(request, null);
}
@Override
public java.util.concurrent.Future encryptAsync(EncryptRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future generateDataKeyAsync(GenerateDataKeyRequest request) {
return generateDataKeyAsync(request, null);
}
@Override
public java.util.concurrent.Future generateDataKeyAsync(GenerateDataKeyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future generateDataKeyPairAsync(GenerateDataKeyPairRequest request) {
return generateDataKeyPairAsync(request, null);
}
@Override
public java.util.concurrent.Future generateDataKeyPairAsync(GenerateDataKeyPairRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future generateDataKeyPairWithoutPlaintextAsync(
GenerateDataKeyPairWithoutPlaintextRequest request) {
return generateDataKeyPairWithoutPlaintextAsync(request, null);
}
@Override
public java.util.concurrent.Future generateDataKeyPairWithoutPlaintextAsync(
GenerateDataKeyPairWithoutPlaintextRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future generateDataKeyWithoutPlaintextAsync(
GenerateDataKeyWithoutPlaintextRequest request) {
return generateDataKeyWithoutPlaintextAsync(request, null);
}
@Override
public java.util.concurrent.Future generateDataKeyWithoutPlaintextAsync(
GenerateDataKeyWithoutPlaintextRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future generateMacAsync(GenerateMacRequest request) {
return generateMacAsync(request, null);
}
@Override
public java.util.concurrent.Future generateMacAsync(GenerateMacRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future generateRandomAsync(GenerateRandomRequest request) {
return generateRandomAsync(request, null);
}
@Override
public java.util.concurrent.Future generateRandomAsync(GenerateRandomRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the GenerateRandom operation.
*
* @see #generateRandomAsync(GenerateRandomRequest)
*/
@Override
public java.util.concurrent.Future generateRandomAsync() {
return generateRandomAsync(new GenerateRandomRequest());
}
/**
* Simplified method form for invoking the GenerateRandom operation with an AsyncHandler.
*
* @see #generateRandomAsync(GenerateRandomRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future generateRandomAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return generateRandomAsync(new GenerateRandomRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future getKeyPolicyAsync(GetKeyPolicyRequest request) {
return getKeyPolicyAsync(request, null);
}
@Override
public java.util.concurrent.Future getKeyPolicyAsync(GetKeyPolicyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getKeyRotationStatusAsync(GetKeyRotationStatusRequest request) {
return getKeyRotationStatusAsync(request, null);
}
@Override
public java.util.concurrent.Future getKeyRotationStatusAsync(GetKeyRotationStatusRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getParametersForImportAsync(GetParametersForImportRequest request) {
return getParametersForImportAsync(request, null);
}
@Override
public java.util.concurrent.Future getParametersForImportAsync(GetParametersForImportRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getPublicKeyAsync(GetPublicKeyRequest request) {
return getPublicKeyAsync(request, null);
}
@Override
public java.util.concurrent.Future getPublicKeyAsync(GetPublicKeyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future importKeyMaterialAsync(ImportKeyMaterialRequest request) {
return importKeyMaterialAsync(request, null);
}
@Override
public java.util.concurrent.Future importKeyMaterialAsync(ImportKeyMaterialRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listAliasesAsync(ListAliasesRequest request) {
return listAliasesAsync(request, null);
}
@Override
public java.util.concurrent.Future listAliasesAsync(ListAliasesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the ListAliases operation.
*
* @see #listAliasesAsync(ListAliasesRequest)
*/
@Override
public java.util.concurrent.Future listAliasesAsync() {
return listAliasesAsync(new ListAliasesRequest());
}
/**
* Simplified method form for invoking the ListAliases operation with an AsyncHandler.
*
* @see #listAliasesAsync(ListAliasesRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future listAliasesAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listAliasesAsync(new ListAliasesRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future listGrantsAsync(ListGrantsRequest request) {
return listGrantsAsync(request, null);
}
@Override
public java.util.concurrent.Future listGrantsAsync(ListGrantsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listKeyPoliciesAsync(ListKeyPoliciesRequest request) {
return listKeyPoliciesAsync(request, null);
}
@Override
public java.util.concurrent.Future listKeyPoliciesAsync(ListKeyPoliciesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listKeyRotationsAsync(ListKeyRotationsRequest request) {
return listKeyRotationsAsync(request, null);
}
@Override
public java.util.concurrent.Future listKeyRotationsAsync(ListKeyRotationsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listKeysAsync(ListKeysRequest request) {
return listKeysAsync(request, null);
}
@Override
public java.util.concurrent.Future listKeysAsync(ListKeysRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the ListKeys operation.
*
* @see #listKeysAsync(ListKeysRequest)
*/
@Override
public java.util.concurrent.Future listKeysAsync() {
return listKeysAsync(new ListKeysRequest());
}
/**
* Simplified method form for invoking the ListKeys operation with an AsyncHandler.
*
* @see #listKeysAsync(ListKeysRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future listKeysAsync(com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listKeysAsync(new ListKeysRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future listResourceTagsAsync(ListResourceTagsRequest request) {
return listResourceTagsAsync(request, null);
}
@Override
public java.util.concurrent.Future listResourceTagsAsync(ListResourceTagsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listRetirableGrantsAsync(ListRetirableGrantsRequest request) {
return listRetirableGrantsAsync(request, null);
}
@Override
public java.util.concurrent.Future listRetirableGrantsAsync(ListRetirableGrantsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putKeyPolicyAsync(PutKeyPolicyRequest request) {
return putKeyPolicyAsync(request, null);
}
@Override
public java.util.concurrent.Future putKeyPolicyAsync(PutKeyPolicyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future reEncryptAsync(ReEncryptRequest request) {
return reEncryptAsync(request, null);
}
@Override
public java.util.concurrent.Future reEncryptAsync(ReEncryptRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future replicateKeyAsync(ReplicateKeyRequest request) {
return replicateKeyAsync(request, null);
}
@Override
public java.util.concurrent.Future replicateKeyAsync(ReplicateKeyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future retireGrantAsync(RetireGrantRequest request) {
return retireGrantAsync(request, null);
}
@Override
public java.util.concurrent.Future retireGrantAsync(RetireGrantRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the RetireGrant operation.
*
* @see #retireGrantAsync(RetireGrantRequest)
*/
@Override
public java.util.concurrent.Future retireGrantAsync() {
return retireGrantAsync(new RetireGrantRequest());
}
/**
* Simplified method form for invoking the RetireGrant operation with an AsyncHandler.
*
* @see #retireGrantAsync(RetireGrantRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future retireGrantAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return retireGrantAsync(new RetireGrantRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future revokeGrantAsync(RevokeGrantRequest request) {
return revokeGrantAsync(request, null);
}
@Override
public java.util.concurrent.Future revokeGrantAsync(RevokeGrantRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future rotateKeyOnDemandAsync(RotateKeyOnDemandRequest request) {
return rotateKeyOnDemandAsync(request, null);
}
@Override
public java.util.concurrent.Future rotateKeyOnDemandAsync(RotateKeyOnDemandRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future scheduleKeyDeletionAsync(ScheduleKeyDeletionRequest request) {
return scheduleKeyDeletionAsync(request, null);
}
@Override
public java.util.concurrent.Future scheduleKeyDeletionAsync(ScheduleKeyDeletionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future signAsync(SignRequest request) {
return signAsync(request, null);
}
@Override
public java.util.concurrent.Future signAsync(SignRequest request, com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future tagResourceAsync(TagResourceRequest request) {
return tagResourceAsync(request, null);
}
@Override
public java.util.concurrent.Future tagResourceAsync(TagResourceRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future untagResourceAsync(UntagResourceRequest request) {
return untagResourceAsync(request, null);
}
@Override
public java.util.concurrent.Future untagResourceAsync(UntagResourceRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updateAliasAsync(UpdateAliasRequest request) {
return updateAliasAsync(request, null);
}
@Override
public java.util.concurrent.Future updateAliasAsync(UpdateAliasRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updateCustomKeyStoreAsync(UpdateCustomKeyStoreRequest request) {
return updateCustomKeyStoreAsync(request, null);
}
@Override
public java.util.concurrent.Future updateCustomKeyStoreAsync(UpdateCustomKeyStoreRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updateKeyDescriptionAsync(UpdateKeyDescriptionRequest request) {
return updateKeyDescriptionAsync(request, null);
}
@Override
public java.util.concurrent.Future updateKeyDescriptionAsync(UpdateKeyDescriptionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updatePrimaryRegionAsync(UpdatePrimaryRegionRequest request) {
return updatePrimaryRegionAsync(request, null);
}
@Override
public java.util.concurrent.Future updatePrimaryRegionAsync(UpdatePrimaryRegionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future verifyAsync(VerifyRequest request) {
return verifyAsync(request, null);
}
@Override
public java.util.concurrent.Future verifyAsync(VerifyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future verifyMacAsync(VerifyMacRequest request) {
return verifyMacAsync(request, null);
}
@Override
public java.util.concurrent.Future verifyMacAsync(VerifyMacRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
}