amazonka-kms-0.0.6: Amazon Key Management Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.ListGrants

Contents

Description

Synopsis

Request

Request constructor

listGrants Source

Arguments

:: Text

lgKeyId

-> ListGrants 

ListGrants constructor.

The fields accessible through corresponding lenses are:

Request lenses

lgKeyId :: Lens' ListGrants Text Source

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

lgLimit :: Lens' ListGrants (Maybe Natural) Source

Specify this parameter only when paginating results to indicate the maximum number of grants you want listed in the response. If there are additional grants beyond the maximum you specify, the Truncated response element will be set to 'true.'

lgMarker :: Lens' ListGrants (Maybe Text) Source

Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the NextMarker in the response you just received.

Response

Response constructor

listGrantsResponse :: ListGrantsResponse Source

ListGrantsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

lgrNextMarker :: Lens' ListGrantsResponse (Maybe Text) Source

If Truncated is true, this value is present and contains the value to use for the Marker request parameter in a subsequent pagination request.

lgrTruncated :: Lens' ListGrantsResponse (Maybe Bool) Source

A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more grants in the list.