Amazon.KeyManagementService.AmazonKeyManagementServiceClient.ListKeyPolicies C# (CSharp) Méthode

ListKeyPolicies() public méthode

Retrieves a list of policies attached to a key.
/// 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 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 ListKeyPolicies ( ListKeyPoliciesRequest request ) : ListKeyPoliciesResponse
request ListKeyPoliciesRequest Container for the necessary parameters to execute the ListKeyPolicies service method.
Résultat ListKeyPoliciesResponse
        public ListKeyPoliciesResponse ListKeyPolicies(ListKeyPoliciesRequest request)
        {
            var marshaller = new ListKeyPoliciesRequestMarshaller();
            var unmarshaller = ListKeyPoliciesResponseUnmarshaller.Instance;

            return Invoke<ListKeyPoliciesRequest,ListKeyPoliciesResponse>(request, marshaller, unmarshaller);
        }
AmazonKeyManagementServiceClient