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 ElasticCompute Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeKeyPairs.html
- data DescribeKeyPairs
- describeKeyPairs :: DescribeKeyPairs
- dkp1DryRun :: Lens' DescribeKeyPairs (Maybe Bool)
- dkp1Filters :: Lens' DescribeKeyPairs [Filter]
- dkp1KeyNames :: Lens' DescribeKeyPairs [Text]
- data DescribeKeyPairsResponse
- describeKeyPairsResponse :: DescribeKeyPairsResponse
- dkprKeyPairs :: Lens' DescribeKeyPairsResponse [KeyPairInfo]
Request
data DescribeKeyPairs Source
Request constructor
describeKeyPairs :: DescribeKeyPairs Source
DescribeKeyPairs
constructor.
The fields accessible through corresponding lenses are:
dkp1DryRun
::
Maybe
Bool
dkp1Filters
::
[Filter
]dkp1KeyNames
::
[Text
]
Request lenses
dkp1DryRun :: 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
.
dkp1Filters :: Lens' DescribeKeyPairs [Filter] Source
One or more filters.
fingerprint
- The fingerprint of the key pair.
'key-name' - The name of the key pair.
dkp1KeyNames :: Lens' DescribeKeyPairs [Text] Source
One or more key pair names.
Default: Describes all your key pairs.
Response
Response constructor
describeKeyPairsResponse :: DescribeKeyPairsResponse Source
DescribeKeyPairsResponse
constructor.
The fields accessible through corresponding lenses are:
dkprKeyPairs
::
[KeyPairInfo
]
Response lenses
dkprKeyPairs :: Lens' DescribeKeyPairsResponse [KeyPairInfo] Source
Information about one or more key pairs.