File: //usr/lib/python3/dist-packages/boto/sns/__pycache__/connection.cpython-310.pyc
o
ckF[�� � @ sP d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlZG dd� de�Z dS )� N)�AWSQueryConnection)�
RegionInfo)�jsonc sp e Zd ZdZej�ddd�Zej�ddd�Zej�ddd�Z
dG� fd
d� Z
dd� Zdd� ZdHdd�Z
dd� Zdd� Zdd� Zdd� Zdd� Zdd � Z dId!d"�Zd#d$� Zd%d&� Z 'dJd(d)�Zd*d+� ZdHd,d-�ZdHd.d/�Z dKd0d1�Z dLd2d3�Z dHd4d5�ZdHd6d7�Z dLd8d9�ZdHd:d;�Z dMd<d=�Z!dHd>d?�Z"dLd@dA�Z#dHdBdC�Z$dNdEdF�Z%� Z&S )O�
SNSConnectiona�
Amazon Simple Notification Service
Amazon Simple Notification Service (Amazon SNS) is a web service
that enables you to build distributed web-enabled applications.
Applications can use Amazon SNS to easily push real-time
notification messages to interested subscribers over multiple
delivery protocols. For more information about this product see
`http://aws.amazon.com/sns`_. For detailed information about
Amazon SNS features and their associated API calls, see the
`Amazon SNS Developer Guide`_.
We also provide SDKs that enable you to access Amazon SNS from
your preferred programming language. The SDKs contain
functionality that automatically takes care of tasks such as:
cryptographically signing your service requests, retrying
requests, and handling error responses. For a list of available
SDKs, go to `Tools for Amazon Web Services`_.
�Boto�sns_region_namez us-east-1�sns_region_endpointzsns.us-east-1.amazonaws.com�sns_versionz
2010-03-31NTr �/c sT |st | | j| jtd�}|| _tt| �j||||||||| jj| |
||
||d� d S )N)�connection_cls)�security_token�validate_certs�profile_name)r �DefaultRegionName�DefaultRegionEndpointr �region�super�__init__�endpoint)�self�aws_access_key_id�aws_secret_access_key� is_secure�port�proxy�
proxy_port�
proxy_user�
proxy_pass�debug�https_connection_factoryr �pathr r
r �� __class__� �5/usr/lib/python3/dist-packages/boto/sns/connection.pyr 9 s �
�zSNSConnection.__init__c
C sj t |�� dd� d�}t|ttdt|�d ���D ]\}}|\}}d||f } ||d| <