Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.
- listPublicKeys :: ListPublicKeys
- data ListPublicKeys
- lpkStartTime :: Lens' ListPublicKeys (Maybe UTCTime)
- lpkNextToken :: Lens' ListPublicKeys (Maybe Text)
- lpkEndTime :: Lens' ListPublicKeys (Maybe UTCTime)
- listPublicKeysResponse :: Int -> ListPublicKeysResponse
- data ListPublicKeysResponse
- lpkrsPublicKeyList :: Lens' ListPublicKeysResponse [PublicKey]
- lpkrsNextToken :: Lens' ListPublicKeysResponse (Maybe Text)
- lpkrsResponseStatus :: Lens' ListPublicKeysResponse Int
Creating a Request
listPublicKeys :: ListPublicKeys Source #
Creates a value of ListPublicKeys
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpkStartTime
- Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.lpkNextToken
- Reserved for future use.lpkEndTime
- Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used.
data ListPublicKeys Source #
Requests the public keys for a specified time range.
See: listPublicKeys
smart constructor.
Request Lenses
lpkStartTime :: Lens' ListPublicKeys (Maybe UTCTime) Source #
Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
lpkNextToken :: Lens' ListPublicKeys (Maybe Text) Source #
Reserved for future use.
lpkEndTime :: Lens' ListPublicKeys (Maybe UTCTime) Source #
Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used.
Destructuring the Response
listPublicKeysResponse Source #
Creates a value of ListPublicKeysResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpkrsPublicKeyList
- Contains an array of PublicKey objects.lpkrsNextToken
- Reserved for future use.lpkrsResponseStatus
- -- | The response status code.
data ListPublicKeysResponse Source #
Returns the objects or data listed below if successful. Otherwise, returns an error.
See: listPublicKeysResponse
smart constructor.
Response Lenses
lpkrsPublicKeyList :: Lens' ListPublicKeysResponse [PublicKey] Source #
Contains an array of PublicKey objects.
lpkrsNextToken :: Lens' ListPublicKeysResponse (Maybe Text) Source #
Reserved for future use.
lpkrsResponseStatus :: Lens' ListPublicKeysResponse Int Source #
- - | The response status code.