Smaws_Client_Organizations.ListHandshakesForAccountLists the recent handshakes that you have received.
You can view CANCELED, ACCEPTED, DECLINED, or EXPIRED handshakes in API responses for 30 days before they are deleted.
You can call this operation from any account in a organization.
When calling List* operations, always check the NextToken response parameter value, even if you receive an empty result set. These operations can occasionally return an empty set of results even when more results are available. Continue making requests until NextToken returns null. A null NextToken value indicates that you have retrieved all available results.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `InvalidInputException of Types.invalid_input_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_handshakes_for_account_request ->
(Types.list_handshakes_for_account_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `InvalidInputException of Types.invalid_input_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_handshakes_for_account_request ->
(Types.list_handshakes_for_account_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `InvalidInputException of Types.invalid_input_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result