Amazon.KeyManagementService.AmazonKeyManagementServiceClient.RevokeGrant C# (CSharp) Метод

RevokeGrant() публичный Метод

Revokes a grant. You can revoke a grant to actively deny operations that depend on it.
/// The system timed out while trying to fulfill the request. The request can be retried. /// /// The request was rejected because a specified ARN was not valid. /// /// The request was rejected because the specified GrantId is not valid. /// /// The request was rejected because an internal exception occurred. The request can be /// retried. /// /// The request was rejected because the state of the specified resource is not valid /// for this request. /// /// /// /// For more information about how key state affects the use of a CMK, see How /// Key State Affects Use of a Customer Master Key in the AWS Key Management Service /// Developer Guide. /// /// /// The request was rejected because the specified entity or resource could not be found. ///
public RevokeGrant ( RevokeGrantRequest request ) : RevokeGrantResponse
request RevokeGrantRequest Container for the necessary parameters to execute the RevokeGrant service method.
Результат RevokeGrantResponse
        public RevokeGrantResponse RevokeGrant(RevokeGrantRequest request)
        {
            var marshaller = new RevokeGrantRequestMarshaller();
            var unmarshaller = RevokeGrantResponseUnmarshaller.Instance;

            return Invoke<RevokeGrantRequest,RevokeGrantResponse>(request, marshaller, unmarshaller);
        }

Same methods

AmazonKeyManagementServiceClient::RevokeGrant ( string grantId, string keyId ) : RevokeGrantResponse
AmazonKeyManagementServiceClient