Copyright | (c) 2013-2015 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 |
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.
See: AWS API Reference for ListHSMs.
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:
See: listHSMs
smart constructor.
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
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:
data ListHSMsResponse Source
Contains the output of the ListHsms action.
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.
lhsmrsStatus :: Lens' ListHSMsResponse Int Source
The response status code.