File: //lib/python3/dist-packages/boto/sns/__pycache__/connection.cpython-312.pyc
�
ckF[�� � �V � d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlZ G d� de� Z y)� N)�AWSQueryConnection)�
RegionInfo)�jsonc � � � e Zd ZdZej
j
ddd� Zej
j
ddd� Zej
j
ddd� Z d%� fd � Z
d
� Zd� Zd&d�Z
d
� Zd� Zd� Zd� Zd� Zd� Z d'd�Zd� Zd� Z d(d�Zd� Zd&d�Zd&d�Z d)d�Z d*d�Z d&d�Zd&d�Z d*d�Zd&d�Z d+d �Z!d&d!�Z"d*d"�Z#d&d#�Z$d,d$�Z%� xZ&S )-�
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-31c �� �� |s't | | j | j t �� }|| _ t
t | � ||||||||| j j | |
||
||�� y )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__s ��5/usr/lib/python3/dist-packages/boto/sns/connection.pyr zSNSConnection.__init__9 sv �� � ���d�&<�&<� $� :� :�/<�>�F� ���
�m�T�+�,=�$9�$-�t�U�J�$.�
�$(�K�K�$8�$8�%�$<�d�3A�3A�1=� ,� ?� c �� � t |j � d� �� }t |t t dt |� dz � � � D ]! \ }}|\ }}|�d|��} ||d| z <