def confirm_subscription(options = {})
      options = options.merge(topic_arn: @arn)
      resp = @client.confirm_subscription(options)
      Subscription.new(
        arn: resp.data.subscription_arn,
        client: @client
      )
    end
def confirm_subscription(options = {})
      options = options.merge(topic_arn: @arn)
      resp = @client.confirm_subscription(options)
      Subscription.new(
        arn: resp.data.subscription_arn,
        client: @client
      )
    end
@example Request syntax with placeholder values

   subscription = topic.confirm_subscription({
     token: "token", # required
     authenticate_on_unsubscribe: "authenticateOnUnsubscribe",
   })
 @param [Hash] options ({})
 @option options [required, String] :token
   Short-lived token sent to an endpoint during the `Subscribe` action.
 @option options [String] :authenticate_on_unsubscribe
   Disallows unauthenticated unsubscribes of the subscription. If the
   value of this parameter is `true` and the request has an AWS
   signature, then only the topic owner and the subscription owner can
   unsubscribe the endpoint. The unsubscribe action requires AWS
   authentication.
 @return [Subscription]