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 |
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
- The NextToken value from a previous call toListHsms
. Pass null if this is the first call.
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:
lhsmrsNextToken
- If not null, more results are available. Pass this value toListHsms
to 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.