Smaws_Client_CloudHSMV2.DescribeClustersGets information about CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.
Cross-account use: No. You cannot perform this operation on CloudHSM clusters in a different Amazon Web Services account.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception
| `CloudHsmInternalFailureException of
Types.cloud_hsm_internal_failure_exception
| `CloudHsmInvalidRequestException of
Types.cloud_hsm_invalid_request_exception
| `CloudHsmServiceException of Types.cloud_hsm_service_exception
| `CloudHsmTagException of Types.cloud_hsm_tag_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_clusters_request ->
(Types.describe_clusters_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception
| `CloudHsmInternalFailureException of
Types.cloud_hsm_internal_failure_exception
| `CloudHsmInvalidRequestException of
Types.cloud_hsm_invalid_request_exception
| `CloudHsmServiceException of Types.cloud_hsm_service_exception
| `CloudHsmTagException of Types.cloud_hsm_tag_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_clusters_request ->
(Types.describe_clusters_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception
| `CloudHsmInternalFailureException of
Types.cloud_hsm_internal_failure_exception
| `CloudHsmInvalidRequestException of
Types.cloud_hsm_invalid_request_exception
| `CloudHsmServiceException of Types.cloud_hsm_service_exception
| `CloudHsmTagException of Types.cloud_hsm_tag_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result