Copyright | (c) 2013-2021 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 |
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.
This operation returns paginated results.
Synopsis
- data ListHsms = ListHsms' {}
- newListHsms :: ListHsms
- listHsms_nextToken :: Lens' ListHsms (Maybe Text)
- data ListHsmsResponse = ListHsmsResponse' {}
- newListHsmsResponse :: Int -> ListHsmsResponse
- listHsmsResponse_nextToken :: Lens' ListHsmsResponse (Maybe Text)
- listHsmsResponse_hsmList :: Lens' ListHsmsResponse (Maybe [Text])
- listHsmsResponse_httpStatus :: Lens' ListHsmsResponse Int
Creating a Request
See: newListHsms
smart constructor.
Instances
newListHsms :: ListHsms Source #
Create a value of ListHsms
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListHsms'
, listHsms_nextToken
- The NextToken
value from a previous call to ListHsms
. Pass null if
this is the first call.
Request Lenses
listHsms_nextToken :: 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
data ListHsmsResponse Source #
Contains the output of the ListHsms
operation.
See: newListHsmsResponse
smart constructor.
Instances
Create a value of ListHsmsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListHsms'
, listHsmsResponse_nextToken
- If not null, more results are available. Pass this value to ListHsms
to retrieve the next set of items.
$sel:hsmList:ListHsmsResponse'
, listHsmsResponse_hsmList
- The list of ARNs that identify the HSMs.
$sel:httpStatus:ListHsmsResponse'
, listHsmsResponse_httpStatus
- The response's http status code.
Response Lenses
listHsmsResponse_nextToken :: Lens' ListHsmsResponse (Maybe Text) Source #
If not null, more results are available. Pass this value to ListHsms
to retrieve the next set of items.
listHsmsResponse_hsmList :: Lens' ListHsmsResponse (Maybe [Text]) Source #
The list of ARNs that identify the HSMs.
listHsmsResponse_httpStatus :: Lens' ListHsmsResponse Int Source #
The response's http status code.