File: //usr/lib/python3/dist-packages/boto/cloudtrail/__pycache__/layer1.cpython-310.pyc
o
ckF[jB � @ sX d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m
Z
G dd� de�ZdS ) � N)�AWSQueryConnection)�
RegionInfo)�JSONResponseError)�
exceptions)�jsonc s0 e Zd ZdZdZdZdZdZdZe Z
i dej�dej
�d ej�d
ej�dej�dej�d
ej�dej�dej�dej�dej�dej�dej�dej�dej�dej�dej�Z� fdd�Zdd� Z d/dd�Z dd � Z!d0d!d"�Z"d#d$� Z# d/d%d&�Z$d'd(� Z%d)d*� Z& d1d+d,�Z'd-d.� Z(� Z)S )2�CloudTrailConnectiona�
AWS CloudTrail
This is the CloudTrail API Reference. It provides descriptions of
actions, data types, common parameters, and common errors for
CloudTrail.
CloudTrail is a web service that records AWS API calls for your
AWS account and delivers log files to an Amazon S3 bucket. The
recorded information includes the identity of the user, the start
time of the AWS API call, the source IP address, the request
parameters, and the response elements returned by the service.
As an alternative to using the API, you can use one of the AWS
SDKs, which consist of libraries and sample code for various
programming languages and platforms (Java, Ruby, .NET, iOS,
Android, etc.). The SDKs provide a convenient way to create
programmatic access to AWSCloudTrail. For example, the SDKs take
care of cryptographically signing requests, managing errors, and
retrying requests automatically. For information about the AWS
SDKs, including how to download and install them, see the `Tools
for Amazon Web Services page`_.
See the CloudTrail User Guide for information about the data that
is included with each AWS API call listed in the log files.
z
2013-11-01z us-east-1z"cloudtrail.us-east-1.amazonaws.com�
CloudTrailz6com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101�InvalidMaxResultsException�InvalidSnsTopicNameException�InvalidS3BucketNameException�TrailAlreadyExistsException�InvalidTimeRangeException� InvalidLookupAttributesException�#InsufficientSnsTopicPolicyException�)InvalidCloudWatchLogsLogGroupArnException�%InvalidCloudWatchLogsRoleArnException�InvalidTrailNameException�*CloudWatchLogsDeliveryUnavailableException�TrailNotFoundException�S3BucketDoesNotExistException�InvalidNextTokenException�InvalidS3PrefixException�&MaximumNumberOfTrailsExceededException�#InsufficientS3BucketPolicyExceptionc s^ |� dd �}|st| | j| j�}d|vs|d d u r|j|d<