/** * <p> * Gets a list of all customer master keys (CMKs) in the caller's AWS account and region. * </p> * * @param listKeysRequest * @return Result of the ListKeys operation returned by the service. * @throws DependencyTimeoutException * The system timed out while trying to fulfill the request. The request can be retried. * @throws KMSInternalException * The request was rejected because an internal exception occurred. The request can be retried. * @throws InvalidMarkerException * The request was rejected because the marker that specifies where pagination should next begin is not * valid. * @sample AWSKMS.ListKeys * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeys" target="_top">AWS API * Documentation</a> */ @Override public ListKeysResult listKeys(ListKeysRequest request) { request = beforeClientExecution(request); return executeListKeys(request); }
/** * <p> * Returns a list of all tags for the specified customer master key (CMK). * </p> * <p> * You cannot perform this operation on a CMK in a different AWS account. * </p> * * @param listResourceTagsRequest * @return Result of the ListResourceTags operation returned by the service. * @throws KMSInternalException * The request was rejected because an internal exception occurred. The request can be retried. * @throws NotFoundException * The request was rejected because the specified entity or resource could not be found. * @throws InvalidArnException * The request was rejected because a specified ARN was not valid. * @throws InvalidMarkerException * The request was rejected because the marker that specifies where pagination should next begin is not * valid. * @sample AWSKMS.ListResourceTags * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTags" target="_top">AWS API * Documentation</a> */ @Override public ListResourceTagsResult listResourceTags(ListResourceTagsRequest request) { request = beforeClientExecution(request); return executeListResourceTags(request); }
/** * <p> * Returns a list of all grants for which the grant's <code>RetiringPrincipal</code> matches the one specified. * </p> * <p> * A typical use is to list all grants that you are able to retire. To retire a grant, use <a>RetireGrant</a>. * </p> * * @param listRetirableGrantsRequest * @return Result of the ListRetirableGrants operation returned by the service. * @throws DependencyTimeoutException * The system timed out while trying to fulfill the request. The request can be retried. * @throws InvalidMarkerException * The request was rejected because the marker that specifies where pagination should next begin is not * valid. * @throws InvalidArnException * The request was rejected because a specified ARN was not valid. * @throws NotFoundException * The request was rejected because the specified entity or resource could not be found. * @throws KMSInternalException * The request was rejected because an internal exception occurred. The request can be retried. * @sample AWSKMS.ListRetirableGrants * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrants" target="_top">AWS API * Documentation</a> */ @Override public ListRetirableGrantsResult listRetirableGrants(ListRetirableGrantsRequest request) { request = beforeClientExecution(request); return executeListRetirableGrants(request); }
request = beforeClientExecution(request); return executeGetKeyPolicy(request);
request = beforeClientExecution(request); return executeListKeyPolicies(request);
request = beforeClientExecution(request); return executeDescribeKey(request);
request = beforeClientExecution(request); return executeUpdateKeyDescription(request);
request = beforeClientExecution(request); return executeRevokeGrant(request);
request = beforeClientExecution(request); return executeDeleteAlias(request);
request = beforeClientExecution(request); return executeListAliases(request);
request = beforeClientExecution(request); return executeDisableKey(request);
request = beforeClientExecution(request); return executeListGrants(request);
request = beforeClientExecution(request); return executeEnableKey(request);
request = beforeClientExecution(request); return executeUntagResource(request);
request = beforeClientExecution(request); return executeCancelKeyDeletion(request);
request = beforeClientExecution(request); return executeDisableKeyRotation(request);
request = beforeClientExecution(request); return executePutKeyPolicy(request);
request = beforeClientExecution(request); return executeEnableKeyRotation(request);
request = beforeClientExecution(request); return executeCreateGrant(request);
request = beforeClientExecution(request); return executeUpdateAlias(request);