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

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

Returns a list of all grants for which the grant's RetiringPrincipal matches the one specified.

A typical use is to list all grants that you are able to retire. To retire a grant, use RetireGrant.

/// 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 marker that specifies where pagination should /// next begin is not valid. /// /// The request was rejected because an internal exception occurred. The request can be /// retried. /// /// The request was rejected because the specified entity or resource could not be found. ///
public ListRetirableGrants ( string retiringPrincipal ) : ListRetirableGrantsResponse
retiringPrincipal string The retiring principal for which to list grants. To specify the retiring principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the Amazon Web Services General Reference.
Результат ListRetirableGrantsResponse
        public ListRetirableGrantsResponse ListRetirableGrants(string retiringPrincipal)
        {
            var request = new ListRetirableGrantsRequest();
            request.RetiringPrincipal = retiringPrincipal;
            return ListRetirableGrants(request);
        }

Same methods

AmazonKeyManagementServiceClient::ListRetirableGrants ( ) : ListRetirableGrantsResponse
AmazonKeyManagementServiceClient::ListRetirableGrants ( ListRetirableGrantsRequest request ) : ListRetirableGrantsResponse
AmazonKeyManagementServiceClient