| 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 |
Network.AWS.CloudHSM.ListHSMs
Description
This is documentation for AWS CloudHSM Classic . For more information, see AWS CloudHSM Classic FAQs , the AWS CloudHSM Classic User Guide , and the AWS CloudHSM Classic API Reference .
For information about the current version of AWS CloudHSM , see AWS CloudHSM , the AWS CloudHSM User Guide , and the AWS CloudHSM API Reference .
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
Creating a Request
Creates a value of ListHSMs with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhsmNextToken- TheNextTokenvalue from a previous call toListHsms. Pass null if this is the first call.
See: listHSMs smart constructor.
Instances
Request Lenses
lhsmNextToken :: Lens' ListHSMs (Maybe Text) Source #
The NextToken value from a previous call to ListHsms . Pass null if this is the first call.
Destructuring the Response
Arguments
| :: Int | |
| -> ListHSMsResponse |
Creates a value of ListHSMsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhsmrsNextToken- If not null, more results are available. Pass this value toListHsmsto retrieve the next set of items.lhsmrsHSMList- The list of ARNs that identify the HSMs.lhsmrsResponseStatus- -- | The response status code.
data ListHSMsResponse Source #
Contains the output of the ListHsms operation.
See: listHSMsResponse smart constructor.
Response Lenses
lhsmrsNextToken :: Lens' ListHSMsResponse (Maybe Text) Source #
If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
lhsmrsHSMList :: Lens' ListHSMsResponse [Text] Source #
The list of ARNs that identify the HSMs.
lhsmrsResponseStatus :: Lens' ListHSMsResponse Int Source #
- - | The response status code.