Smaws_Client_SNS.ConfirmSubscriptionVerifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to "true".
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `FilterPolicyLimitExceededException of
Types.filter_policy_limit_exceeded_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotFoundException of Types.not_found_exception
| `ReplayLimitExceededException of Types.replay_limit_exceeded_exception
| `SubscriptionLimitExceededException of
Types.subscription_limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.confirm_subscription_input ->
(Types.confirm_subscription_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `FilterPolicyLimitExceededException of
Types.filter_policy_limit_exceeded_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotFoundException of Types.not_found_exception
| `ReplayLimitExceededException of Types.replay_limit_exceeded_exception
| `SubscriptionLimitExceededException of
Types.subscription_limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.confirm_subscription_input ->
(Types.confirm_subscription_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `FilterPolicyLimitExceededException of
Types.filter_policy_limit_exceeded_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotFoundException of Types.not_found_exception
| `ReplayLimitExceededException of Types.replay_limit_exceeded_exception
| `SubscriptionLimitExceededException of
Types.subscription_limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result