def confirm_subscription(self, topic, token,
                             authenticate_on_unsubscribe=False):
        params = {'ContentType' : 'JSON',
                  'TopicArn' : topic,
                  'Token' : token}
        if authenticate_on_unsubscribe:
            params['AuthenticateOnUnsubscribe'] = 'true'
        response = self.make_request('ConfirmSubscription', params, '/', 'GET')
        body = response.read()
        if response.status == 200:
            return json.loads(body)
        else:
            boto.log.error('%s %s' % (response.status, response.reason))
            boto.log.error('%s' % body)
            raise self.ResponseError(response.status, response.reason, body)
Returns accessor for given namespace and state tag.
dataset/ETHPy150Open darcyliu/storyboard/boto/sns/connection.py/SNSConnection.confirm_subscription--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/DataflowPythonSDK/google/cloud/dataflow/worker/windmillstate.py/WindmillStateInternals.access