Module Smaws_Client_Organizations.CancelHandshake

Cancels a Handshake.

Only the account that sent a handshake can call this operation. The recipient of the handshake can't cancel it, but can use DeclineHandshake to decline. After a handshake is canceled, the recipient can no longer respond to the handshake.

You can view canceled handshakes in API responses for 30 days before they are deleted.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `HandshakeAlreadyInStateException of Types.handshake_already_in_state_exception | `HandshakeNotFoundException of Types.handshake_not_found_exception | `InvalidHandshakeTransitionException of Types.invalid_handshake_transition_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.cancel_handshake_request -> (Types.cancel_handshake_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `HandshakeAlreadyInStateException of Types.handshake_already_in_state_exception | `HandshakeNotFoundException of Types.handshake_not_found_exception | `InvalidHandshakeTransitionException of Types.invalid_handshake_transition_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.cancel_handshake_request -> (Types.cancel_handshake_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `HandshakeAlreadyInStateException of Types.handshake_already_in_state_exception | `HandshakeNotFoundException of Types.handshake_not_found_exception | `InvalidHandshakeTransitionException of Types.invalid_handshake_transition_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