Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes one or more of your key pairs.
For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide.
- describeKeyPairs :: DescribeKeyPairs
- data DescribeKeyPairs
- dkpsFilters :: Lens' DescribeKeyPairs [Filter]
- dkpsKeyNames :: Lens' DescribeKeyPairs [Text]
- dkpsDryRun :: Lens' DescribeKeyPairs (Maybe Bool)
- describeKeyPairsResponse :: Int -> DescribeKeyPairsResponse
- data DescribeKeyPairsResponse
- dkprsKeyPairs :: Lens' DescribeKeyPairsResponse [KeyPairInfo]
- dkprsResponseStatus :: Lens' DescribeKeyPairsResponse Int
Creating a Request
describeKeyPairs :: DescribeKeyPairs Source #
Creates a value of DescribeKeyPairs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeKeyPairs Source #
Contains the parameters for DescribeKeyPairs.
See: describeKeyPairs
smart constructor.
Request Lenses
dkpsFilters :: Lens' DescribeKeyPairs [Filter] Source #
One or more filters.
fingerprint
- The fingerprint of the key pair.- 'key-name' - The name of the key pair.
dkpsKeyNames :: Lens' DescribeKeyPairs [Text] Source #
One or more key pair names.
Default: Describes all your key pairs.
dkpsDryRun :: Lens' DescribeKeyPairs (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Destructuring the Response
describeKeyPairsResponse Source #
Creates a value of DescribeKeyPairsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeKeyPairsResponse Source #
Contains the output of DescribeKeyPairs.
See: describeKeyPairsResponse
smart constructor.
Response Lenses
dkprsKeyPairs :: Lens' DescribeKeyPairsResponse [KeyPairInfo] Source #
Information about one or more key pairs.
dkprsResponseStatus :: Lens' DescribeKeyPairsResponse Int Source #
The response status code.