aws-sdk-core 2.0.0.rc6 → 2.0.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +48 -18
- data/apis/AutoScaling-2011-01-01.json +14 -6
- data/apis/CloudFormation-2010-05-15.json +6 -6
- data/apis/CloudFront-2012-05-05.json +5 -6
- data/apis/CloudFront-2013-05-12.json +5 -6
- data/apis/CloudFront-2013-08-26.json +5 -6
- data/apis/CloudFront-2013-11-11.json +5 -6
- data/apis/CloudFront-2013-11-22.json +5557 -0
- data/apis/CloudFront-2014-01-31.json +5627 -0
- data/apis/CloudSearch-2011-02-01.json +136 -4
- data/apis/CloudSearch-2013-01-01.json +3515 -0
- data/apis/CloudTrail-2013-11-01.json +288 -0
- data/apis/CloudWatch-2010-08-01.json +6 -6
- data/apis/DataPipeline-2012-10-29.json +0 -1
- data/apis/DirectConnect-2012-10-25.json +5 -6
- data/apis/DynamoDB-2011-12-05.json +6 -6
- data/apis/DynamoDB-2012-08-10.json +307 -6
- data/apis/EC2-2013-06-15.json +6 -6
- data/apis/EC2-2013-10-01.json +6 -6
- data/apis/EC2-2013-10-15.json +6 -6
- data/apis/EC2-2014-02-01.json +15189 -0
- data/apis/EMR-2009-03-31.json +8 -8
- data/apis/ElastiCache-2012-11-15.json +6 -6
- data/apis/ElastiCache-2013-06-15.json +6 -6
- data/apis/ElastiCache-2014-03-24.json +4344 -0
- data/apis/ElasticBeanstalk-2010-12-01.json +6 -7
- data/apis/ElasticLoadBalancing-2012-06-01.json +216 -6
- data/apis/ElasticTranscoder-2012-09-25.json +4 -5
- data/apis/Glacier-2012-06-01.json +5 -5
- data/apis/IAM-2010-05-08.json +6 -6
- data/apis/ImportExport-2010-06-01.json +5 -6
- data/apis/Kinesis-2013-12-02.json +2 -3
- data/apis/OpsWorks-2013-02-18.json +149 -2
- data/apis/RDS-2013-01-10.json +6 -6
- data/apis/RDS-2013-02-12.json +6 -6
- data/apis/RDS-2013-05-15.json +6 -6
- data/apis/RDS-2013-09-09.json +6 -6
- data/apis/Redshift-2012-12-01.json +64 -5
- data/apis/Route53-2012-12-12.json +5 -6
- data/apis/Route53-2013-04-01.json +37 -6
- data/apis/S3-2006-03-01.json +8 -7
- data/apis/SDB-2009-04-15.json +5 -6
- data/apis/SES-2010-12-01.json +0 -1
- data/apis/SNS-2010-03-31.json +6 -6
- data/apis/SQS-2012-11-05.json +154 -6
- data/apis/STS-2011-06-15.json +14 -6
- data/apis/SWF-2012-01-25.json +6 -6
- data/apis/StorageGateway-2012-06-30.json +16 -16
- data/apis/StorageGateway-2013-06-30.json +21 -21
- data/apis/Support-2013-04-15.json +0 -1
- data/apis/configuration/endpoints.json +258 -154
- data/apis/source/autoscaling-2011-01-01.json +19 -19
- data/apis/source/cloudformation-2010-05-15.json +17 -17
- data/apis/source/cloudfront-2013-11-22.json +8898 -0
- data/apis/source/cloudfront-2013-11-22.paginators.json +32 -0
- data/apis/source/cloudfront-2013-11-22.waiters.json +29 -0
- data/apis/source/cloudfront-2014-01-31.json +8975 -0
- data/apis/source/cloudfront-2014-01-31.normal.json +2905 -0
- data/apis/source/cloudfront-2014-01-31.paginators.json +32 -0
- data/apis/source/cloudfront-2014-01-31.waiters.json +29 -0
- data/apis/source/cloudsearch-2011-02-01.json +286 -8
- data/apis/source/cloudsearch-2013-01-01.json +5547 -0
- data/apis/source/cloudsearch-2013-01-01.paginators.json +20 -0
- data/apis/source/cloudtrail-2013-11-01.json +539 -0
- data/apis/source/cloudtrail-2013-11-01.paginators.json +7 -0
- data/apis/source/dynamodb-2011-12-05.json +19 -0
- data/apis/source/dynamodb-2012-08-10.json +415 -2
- data/apis/source/ec2-2014-02-01.json +20576 -0
- data/apis/source/ec2-2014-02-01.paginators.json +126 -0
- data/apis/source/ec2-2014-02-01.waiters.json +146 -0
- data/apis/source/elasticache-2014-03-24.json +6463 -0
- data/apis/source/elasticache-2014-03-24.paginators.json +70 -0
- data/apis/source/elasticloadbalancing-2012-06-01.json +455 -164
- data/apis/source/elasticloadbalancing-2012-06-01.normal.json +2107 -0
- data/apis/source/kinesis-2013-12-02.json +5 -5
- data/apis/source/kinesis-2013-12-02.normal.json +761 -0
- data/apis/source/kinesis-2013-12-02.paginators.json +6 -6
- data/apis/source/opsworks-2013-02-18.json +242 -39
- data/apis/source/opsworks-2013-02-18.paginators.json +3 -0
- data/apis/source/redshift-2012-12-01.json +180 -91
- data/apis/source/route53-2013-04-01.json +68 -4
- data/apis/source/sqs-2012-11-05.json +237 -7
- data/apis/source/sts-2011-06-15.json +18 -2
- data/bin/aws.rb +7 -7
- data/doc-src/plugins/apis.rb +1 -1
- data/features/cloudtrail/client.feature +17 -0
- data/features/cloudtrail/step_definitions.rb +6 -0
- data/features/datapipeline/client.feature +1 -1
- data/lib/aws.rb +21 -5
- data/lib/aws/api/service_translators/s3.rb +1 -0
- data/lib/aws/api/translator.rb +1 -2
- data/lib/aws/credential_provider_chain.rb +62 -0
- data/lib/aws/credentials.rb +4 -1
- data/lib/aws/errors.rb +4 -0
- data/lib/aws/plugins/credentials.rb +24 -31
- data/lib/aws/plugins/s3_location_constraint.rb +38 -0
- data/lib/aws/shared_credentials.rb +105 -0
- data/lib/aws/structure.rb +1 -0
- data/lib/aws/util.rb +18 -19
- data/lib/aws/version.rb +1 -1
- data/spec/aws/credentials_spec.rb +8 -0
- data/spec/aws/plugins/credentials_spec.rb +71 -15
- data/spec/aws/plugins/s3_location_constraint_spec.rb +48 -0
- data/spec/aws/shared_credentials_spec.rb +68 -0
- data/spec/aws/util_spec.rb +107 -0
- data/spec/aws_spec.rb +6 -0
- data/spec/fixtures/credentials/mock_shared_credentials +14 -0
- data/spec/fixtures/operations/s3/create_bucket_with_implied_location_constraint.yml +23 -0
- data/spec/spec_helper.rb +4 -0
- data/tasks/test.rake +10 -7
- data/vendor/seahorse/lib/seahorse/client/param_converter.rb +2 -2
- metadata +43 -3
- data/lib/aws/plugins/instance_profile_credentials.rb +0 -14
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"DescribeAnalysisSchemes": {
|
4
|
+
"result_key": "AnalysisSchemes"
|
5
|
+
},
|
6
|
+
"DescribeDomains": {
|
7
|
+
"result_key": "DomainStatusList"
|
8
|
+
},
|
9
|
+
"DescribeExpressions": {
|
10
|
+
"result_key": "Expressions"
|
11
|
+
},
|
12
|
+
"DescribeIndexFields": {
|
13
|
+
"result_key": "IndexFields"
|
14
|
+
},
|
15
|
+
"DescribeSuggesters": {
|
16
|
+
"result_key": "Suggesters"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
@@ -0,0 +1,539 @@
|
|
1
|
+
{
|
2
|
+
"api_version": "2013-11-01",
|
3
|
+
"type": "json",
|
4
|
+
"json_version": 1.1,
|
5
|
+
"target_prefix": "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101",
|
6
|
+
"signature_version": "v4",
|
7
|
+
"service_full_name": "AWS CloudTrail",
|
8
|
+
"service_abbreviation": "CloudTrail",
|
9
|
+
"endpoint_prefix": "cloudtrail",
|
10
|
+
"xmlnamespace": "http://cloudtrail.amazonaws.com/doc/2013-11-01/",
|
11
|
+
"documentation": "\n <fullname>AWS Cloud Trail</fullname>\n <p>This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.</p> \n <p>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.</p>\n \n \n <note>\n As an alternative to using the API, you can use one of the AWS SDKs, which consist of libraries and sample code \n 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 \n signing requests, managing errors, and retrying requests automatically. For information about the AWS SDKs, including how to download and install them, see the <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services page</a>.\n </note>\n \n \n<p>See the CloudTrail User Guide for information about the data that is included with each AWS API call listed in the log files.</p>",
|
12
|
+
"operations": {
|
13
|
+
"CreateTrail": {
|
14
|
+
"name": "CreateTrail",
|
15
|
+
"input": {
|
16
|
+
"shape_name": "CreateTrailRequest",
|
17
|
+
"type": "structure",
|
18
|
+
"members": {
|
19
|
+
"Name": {
|
20
|
+
"shape_name": "String",
|
21
|
+
"type": "string",
|
22
|
+
"documentation": "\n <p>Specifies the name of the trail.</p>\n \n ",
|
23
|
+
"required": true
|
24
|
+
},
|
25
|
+
"S3BucketName": {
|
26
|
+
"shape_name": "String",
|
27
|
+
"type": "string",
|
28
|
+
"documentation": "\n <p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>\n ",
|
29
|
+
"required": true
|
30
|
+
},
|
31
|
+
"S3KeyPrefix": {
|
32
|
+
"shape_name": "String",
|
33
|
+
"type": "string",
|
34
|
+
"documentation": "\n <p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>\n "
|
35
|
+
},
|
36
|
+
"SnsTopicName": {
|
37
|
+
"shape_name": "String",
|
38
|
+
"type": "string",
|
39
|
+
"documentation": "\n <p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>\n "
|
40
|
+
},
|
41
|
+
"IncludeGlobalServiceEvents": {
|
42
|
+
"shape_name": "Boolean",
|
43
|
+
"type": "boolean",
|
44
|
+
"documentation": "\n <p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>\n "
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"documentation": "\n <p>Specifies the settings for each trail.</p>\n "
|
48
|
+
},
|
49
|
+
"output": {
|
50
|
+
"shape_name": "CreateTrailResponse",
|
51
|
+
"type": "structure",
|
52
|
+
"members": {
|
53
|
+
"Name": {
|
54
|
+
"shape_name": "String",
|
55
|
+
"type": "string",
|
56
|
+
"documentation": "\n <p>Specifies the name of the trail.</p>\n "
|
57
|
+
},
|
58
|
+
"S3BucketName": {
|
59
|
+
"shape_name": "String",
|
60
|
+
"type": "string",
|
61
|
+
"documentation": "\n <p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>\n "
|
62
|
+
},
|
63
|
+
"S3KeyPrefix": {
|
64
|
+
"shape_name": "String",
|
65
|
+
"type": "string",
|
66
|
+
"documentation": "\n <p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>\n "
|
67
|
+
},
|
68
|
+
"SnsTopicName": {
|
69
|
+
"shape_name": "String",
|
70
|
+
"type": "string",
|
71
|
+
"documentation": "\n <p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>\n "
|
72
|
+
},
|
73
|
+
"IncludeGlobalServiceEvents": {
|
74
|
+
"shape_name": "Boolean",
|
75
|
+
"type": "boolean",
|
76
|
+
"documentation": "\n <p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>\n "
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"documentation": "\n Returns the objects or data listed below if successful. Otherwise, returns an error.\n "
|
80
|
+
},
|
81
|
+
"errors": [
|
82
|
+
{
|
83
|
+
"shape_name": "MaximumNumberOfTrailsExceededException",
|
84
|
+
"type": "structure",
|
85
|
+
"members": {
|
86
|
+
},
|
87
|
+
"documentation": "\n\t\tThis exception is thrown when the maximum number of trails is reached.\n\t"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"shape_name": "TrailAlreadyExistsException",
|
91
|
+
"type": "structure",
|
92
|
+
"members": {
|
93
|
+
},
|
94
|
+
"documentation": "\n\t\tThis exception is thrown when the specified trail already exists.\n\t"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"shape_name": "S3BucketDoesNotExistException",
|
98
|
+
"type": "structure",
|
99
|
+
"members": {
|
100
|
+
},
|
101
|
+
"documentation": "\n\t\tThis exception is thrown when the specified S3 bucket does not exist.\n\t"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"shape_name": "InsufficientS3BucketPolicyException",
|
105
|
+
"type": "structure",
|
106
|
+
"members": {
|
107
|
+
},
|
108
|
+
"documentation": "\n\t\tThis exception is thrown when the policy on the S3 bucket is not sufficient.\n\t"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"shape_name": "InsufficientSnsTopicPolicyException",
|
112
|
+
"type": "structure",
|
113
|
+
"members": {
|
114
|
+
},
|
115
|
+
"documentation": "\n\t\tThis exception is thrown when the policy on the SNS topic is not sufficient.\n\t"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"shape_name": "InvalidS3BucketNameException",
|
119
|
+
"type": "structure",
|
120
|
+
"members": {
|
121
|
+
},
|
122
|
+
"documentation": "\n\t\tThis exception is thrown when the provided S3 bucket name is not valid.\n\t"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"shape_name": "InvalidS3PrefixException",
|
126
|
+
"type": "structure",
|
127
|
+
"members": {
|
128
|
+
},
|
129
|
+
"documentation": "\n\t\tThis exception is thrown when the provided S3 prefix is not valid.\n\t"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"shape_name": "InvalidSnsTopicNameException",
|
133
|
+
"type": "structure",
|
134
|
+
"members": {
|
135
|
+
},
|
136
|
+
"documentation": "\n\t\tThis exception is thrown when the provided SNS topic name is not valid.\n\t"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"shape_name": "InvalidTrailNameException",
|
140
|
+
"type": "structure",
|
141
|
+
"members": {
|
142
|
+
},
|
143
|
+
"documentation": "\n\t\tThis exception is thrown when the provided trail name is not valid.\n\t"
|
144
|
+
}
|
145
|
+
],
|
146
|
+
"documentation": "\n <p>From the command line, use <code>create-subscription</code>. </p>\n <p>Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. </p>\n \n \n \n "
|
147
|
+
},
|
148
|
+
"DeleteTrail": {
|
149
|
+
"name": "DeleteTrail",
|
150
|
+
"input": {
|
151
|
+
"shape_name": "DeleteTrailRequest",
|
152
|
+
"type": "structure",
|
153
|
+
"members": {
|
154
|
+
"Name": {
|
155
|
+
"shape_name": "String",
|
156
|
+
"type": "string",
|
157
|
+
"documentation": "\n <p>The name of a trail to be deleted.</p>\n ",
|
158
|
+
"required": true
|
159
|
+
}
|
160
|
+
},
|
161
|
+
"documentation": "\n <a>The request that specifies the name of a trail to delete.</a>\n "
|
162
|
+
},
|
163
|
+
"output": {
|
164
|
+
"shape_name": "DeleteTrailResponse",
|
165
|
+
"type": "structure",
|
166
|
+
"members": {
|
167
|
+
},
|
168
|
+
"documentation": "\n <p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>\n "
|
169
|
+
},
|
170
|
+
"errors": [
|
171
|
+
{
|
172
|
+
"shape_name": "TrailNotFoundException",
|
173
|
+
"type": "structure",
|
174
|
+
"members": {
|
175
|
+
},
|
176
|
+
"documentation": "\n\t\tThis exception is thrown when the trail with the given name is not found.\n\t"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"shape_name": "InvalidTrailNameException",
|
180
|
+
"type": "structure",
|
181
|
+
"members": {
|
182
|
+
},
|
183
|
+
"documentation": "\n\t\tThis exception is thrown when the provided trail name is not valid.\n\t"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"documentation": "\n <p>Deletes a trail.</p>\n "
|
187
|
+
},
|
188
|
+
"DescribeTrails": {
|
189
|
+
"name": "DescribeTrails",
|
190
|
+
"input": {
|
191
|
+
"shape_name": "DescribeTrailsRequest",
|
192
|
+
"type": "structure",
|
193
|
+
"members": {
|
194
|
+
"trailNameList": {
|
195
|
+
"shape_name": "TrailNameList",
|
196
|
+
"type": "list",
|
197
|
+
"members": {
|
198
|
+
"shape_name": "String",
|
199
|
+
"type": "string",
|
200
|
+
"documentation": null
|
201
|
+
},
|
202
|
+
"documentation": "\n <p>The list of trails.</p>\n "
|
203
|
+
}
|
204
|
+
},
|
205
|
+
"documentation": "\n <p>Returns the list of trails.</p>\n "
|
206
|
+
},
|
207
|
+
"output": {
|
208
|
+
"shape_name": "DescribeTrailsResponse",
|
209
|
+
"type": "structure",
|
210
|
+
"members": {
|
211
|
+
"trailList": {
|
212
|
+
"shape_name": "TrailList",
|
213
|
+
"type": "list",
|
214
|
+
"members": {
|
215
|
+
"shape_name": "Trail",
|
216
|
+
"type": "structure",
|
217
|
+
"members": {
|
218
|
+
"Name": {
|
219
|
+
"shape_name": "String",
|
220
|
+
"type": "string",
|
221
|
+
"documentation": "\n <p>Name of the trail set by calling <a>CreateTrail</a>.</p>\n "
|
222
|
+
},
|
223
|
+
"S3BucketName": {
|
224
|
+
"shape_name": "String",
|
225
|
+
"type": "string",
|
226
|
+
"documentation": "\n <p>Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. </p>\n "
|
227
|
+
},
|
228
|
+
"S3KeyPrefix": {
|
229
|
+
"shape_name": "String",
|
230
|
+
"type": "string",
|
231
|
+
"documentation": "\n <p>Value of the Amazon S3 prefix.</p>\n "
|
232
|
+
},
|
233
|
+
"SnsTopicName": {
|
234
|
+
"shape_name": "String",
|
235
|
+
"type": "string",
|
236
|
+
"documentation": "\n <p>Name of the existing Amazon SNS topic that CloudTrail uses to notify the account owner when new CloudTrail log files have been delivered. </p>\n "
|
237
|
+
},
|
238
|
+
"IncludeGlobalServiceEvents": {
|
239
|
+
"shape_name": "Boolean",
|
240
|
+
"type": "boolean",
|
241
|
+
"documentation": "\n <p>Set to <b>True</b> to include AWS API calls from AWS global services such as IAM. Otherwise, <b>False</b>.</p>\n "
|
242
|
+
}
|
243
|
+
},
|
244
|
+
"documentation": "\n <p>The settings for a trail.</p>\n "
|
245
|
+
},
|
246
|
+
"documentation": "\n <p>The list of trails.</p>\n "
|
247
|
+
}
|
248
|
+
},
|
249
|
+
"documentation": "\n <p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>\n "
|
250
|
+
},
|
251
|
+
"errors": [
|
252
|
+
|
253
|
+
],
|
254
|
+
"documentation": "\n <p>Retrieves the settings for some or all trails associated with an account. </p>\n "
|
255
|
+
},
|
256
|
+
"GetTrailStatus": {
|
257
|
+
"name": "GetTrailStatus",
|
258
|
+
"input": {
|
259
|
+
"shape_name": "GetTrailStatusRequest",
|
260
|
+
"type": "structure",
|
261
|
+
"members": {
|
262
|
+
"Name": {
|
263
|
+
"shape_name": "String",
|
264
|
+
"type": "string",
|
265
|
+
"documentation": "\n <p>The name of the trail for which you are requesting the current status.</p>\n ",
|
266
|
+
"required": true
|
267
|
+
}
|
268
|
+
},
|
269
|
+
"documentation": "\n <p>The name of a trail about which you want the current status.</p>\n "
|
270
|
+
},
|
271
|
+
"output": {
|
272
|
+
"shape_name": "GetTrailStatusResponse",
|
273
|
+
"type": "structure",
|
274
|
+
"members": {
|
275
|
+
"IsLogging": {
|
276
|
+
"shape_name": "Boolean",
|
277
|
+
"type": "boolean",
|
278
|
+
"documentation": "\n <p>Whether the CloudTrail is currently logging AWS API calls.</p>\n "
|
279
|
+
},
|
280
|
+
"LatestDeliveryError": {
|
281
|
+
"shape_name": "String",
|
282
|
+
"type": "string",
|
283
|
+
"documentation": "\n <p>Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information see the topic <a href=\"http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html\">Error Responses</a> in the Amazon S3 API Reference. </p>\n "
|
284
|
+
},
|
285
|
+
"LatestNotificationError": {
|
286
|
+
"shape_name": "String",
|
287
|
+
"type": "string",
|
288
|
+
"documentation": "\n <p>Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the <a href=\"http://docs.aws.amazon.com/sns/latest/dg/welcome.html\">Amazon SNS Developer Guide</a>. </p>\n "
|
289
|
+
},
|
290
|
+
"LatestDeliveryTime": {
|
291
|
+
"shape_name": "Date",
|
292
|
+
"type": "timestamp",
|
293
|
+
"documentation": "\n <p>Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.</p>\n "
|
294
|
+
},
|
295
|
+
"LatestNotificationTime": {
|
296
|
+
"shape_name": "Date",
|
297
|
+
"type": "timestamp",
|
298
|
+
"documentation": "\n <p>Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket. </p>\n "
|
299
|
+
},
|
300
|
+
"StartLoggingTime": {
|
301
|
+
"shape_name": "Date",
|
302
|
+
"type": "timestamp",
|
303
|
+
"documentation": "\n <p>Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account. </p>\n "
|
304
|
+
},
|
305
|
+
"StopLoggingTime": {
|
306
|
+
"shape_name": "Date",
|
307
|
+
"type": "timestamp",
|
308
|
+
"documentation": "\n <p>Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account. </p>\n "
|
309
|
+
}
|
310
|
+
},
|
311
|
+
"documentation": "\n <p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>\n "
|
312
|
+
},
|
313
|
+
"errors": [
|
314
|
+
{
|
315
|
+
"shape_name": "TrailNotFoundException",
|
316
|
+
"type": "structure",
|
317
|
+
"members": {
|
318
|
+
},
|
319
|
+
"documentation": "\n\t\tThis exception is thrown when the trail with the given name is not found.\n\t"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"shape_name": "InvalidTrailNameException",
|
323
|
+
"type": "structure",
|
324
|
+
"members": {
|
325
|
+
},
|
326
|
+
"documentation": "\n\t\tThis exception is thrown when the provided trail name is not valid.\n\t"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"documentation": "\n <p>Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. </p>\n \n \n\n\n "
|
330
|
+
},
|
331
|
+
"StartLogging": {
|
332
|
+
"name": "StartLogging",
|
333
|
+
"input": {
|
334
|
+
"shape_name": "StartLoggingRequest",
|
335
|
+
"type": "structure",
|
336
|
+
"members": {
|
337
|
+
"Name": {
|
338
|
+
"shape_name": "String",
|
339
|
+
"type": "string",
|
340
|
+
"documentation": "\n <p>The name of the trail for which CloudTrail logs AWS API calls.</p>\n ",
|
341
|
+
"required": true
|
342
|
+
}
|
343
|
+
},
|
344
|
+
"documentation": "\n <p>The request to CloudTrail to start logging AWS API calls for an account.</p>\n "
|
345
|
+
},
|
346
|
+
"output": {
|
347
|
+
"shape_name": "StartLoggingResponse",
|
348
|
+
"type": "structure",
|
349
|
+
"members": {
|
350
|
+
},
|
351
|
+
"documentation": "\n <p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>\n "
|
352
|
+
},
|
353
|
+
"errors": [
|
354
|
+
{
|
355
|
+
"shape_name": "TrailNotFoundException",
|
356
|
+
"type": "structure",
|
357
|
+
"members": {
|
358
|
+
},
|
359
|
+
"documentation": "\n\t\tThis exception is thrown when the trail with the given name is not found.\n\t"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"shape_name": "InvalidTrailNameException",
|
363
|
+
"type": "structure",
|
364
|
+
"members": {
|
365
|
+
},
|
366
|
+
"documentation": "\n\t\tThis exception is thrown when the provided trail name is not valid.\n\t"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"documentation": "\n <p>Starts the recording of AWS API calls and log file delivery for a trail.</p>\n "
|
370
|
+
},
|
371
|
+
"StopLogging": {
|
372
|
+
"name": "StopLogging",
|
373
|
+
"input": {
|
374
|
+
"shape_name": "StopLoggingRequest",
|
375
|
+
"type": "structure",
|
376
|
+
"members": {
|
377
|
+
"Name": {
|
378
|
+
"shape_name": "String",
|
379
|
+
"type": "string",
|
380
|
+
"documentation": "\n <p>Communicates to CloudTrail the name of the trail for which to stop logging AWS API calls.</p>\n ",
|
381
|
+
"required": true
|
382
|
+
}
|
383
|
+
},
|
384
|
+
"documentation": "\n <p>Passes the request to CloudTrail to stop logging AWS API calls for the specified account.</p>\n "
|
385
|
+
},
|
386
|
+
"output": {
|
387
|
+
"shape_name": "StopLoggingResponse",
|
388
|
+
"type": "structure",
|
389
|
+
"members": {
|
390
|
+
},
|
391
|
+
"documentation": "\n <p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>\n "
|
392
|
+
},
|
393
|
+
"errors": [
|
394
|
+
{
|
395
|
+
"shape_name": "TrailNotFoundException",
|
396
|
+
"type": "structure",
|
397
|
+
"members": {
|
398
|
+
},
|
399
|
+
"documentation": "\n\t\tThis exception is thrown when the trail with the given name is not found.\n\t"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"shape_name": "InvalidTrailNameException",
|
403
|
+
"type": "structure",
|
404
|
+
"members": {
|
405
|
+
},
|
406
|
+
"documentation": "\n\t\tThis exception is thrown when the provided trail name is not valid.\n\t"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"documentation": "\n <p>Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording.</p>\n "
|
410
|
+
},
|
411
|
+
"UpdateTrail": {
|
412
|
+
"name": "UpdateTrail",
|
413
|
+
"input": {
|
414
|
+
"shape_name": "UpdateTrailRequest",
|
415
|
+
"type": "structure",
|
416
|
+
"members": {
|
417
|
+
"Name": {
|
418
|
+
"shape_name": "String",
|
419
|
+
"type": "string",
|
420
|
+
"documentation": "\n <p>Specifies the name of the trail.</p>\n ",
|
421
|
+
"required": true
|
422
|
+
},
|
423
|
+
"S3BucketName": {
|
424
|
+
"shape_name": "String",
|
425
|
+
"type": "string",
|
426
|
+
"documentation": "\n <p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>\n "
|
427
|
+
},
|
428
|
+
"S3KeyPrefix": {
|
429
|
+
"shape_name": "String",
|
430
|
+
"type": "string",
|
431
|
+
"documentation": "\n <p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>\n "
|
432
|
+
},
|
433
|
+
"SnsTopicName": {
|
434
|
+
"shape_name": "String",
|
435
|
+
"type": "string",
|
436
|
+
"documentation": "\n <p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>\n "
|
437
|
+
},
|
438
|
+
"IncludeGlobalServiceEvents": {
|
439
|
+
"shape_name": "Boolean",
|
440
|
+
"type": "boolean",
|
441
|
+
"documentation": "\n <p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>\n "
|
442
|
+
}
|
443
|
+
},
|
444
|
+
"documentation": "\n <p>Specifies settings to update for the trail.</p>\n "
|
445
|
+
},
|
446
|
+
"output": {
|
447
|
+
"shape_name": "UpdateTrailResponse",
|
448
|
+
"type": "structure",
|
449
|
+
"members": {
|
450
|
+
"Name": {
|
451
|
+
"shape_name": "String",
|
452
|
+
"type": "string",
|
453
|
+
"documentation": "\n <p>Specifies the name of the trail.</p>\n "
|
454
|
+
},
|
455
|
+
"S3BucketName": {
|
456
|
+
"shape_name": "String",
|
457
|
+
"type": "string",
|
458
|
+
"documentation": "\n <p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>\n "
|
459
|
+
},
|
460
|
+
"S3KeyPrefix": {
|
461
|
+
"shape_name": "String",
|
462
|
+
"type": "string",
|
463
|
+
"documentation": "\n <p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>\n "
|
464
|
+
},
|
465
|
+
"SnsTopicName": {
|
466
|
+
"shape_name": "String",
|
467
|
+
"type": "string",
|
468
|
+
"documentation": "\n <p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>\n "
|
469
|
+
},
|
470
|
+
"IncludeGlobalServiceEvents": {
|
471
|
+
"shape_name": "Boolean",
|
472
|
+
"type": "boolean",
|
473
|
+
"documentation": "\n <p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>\n "
|
474
|
+
}
|
475
|
+
},
|
476
|
+
"documentation": "\n Returns the objects or data listed below if successful. Otherwise, returns an error.\n "
|
477
|
+
},
|
478
|
+
"errors": [
|
479
|
+
{
|
480
|
+
"shape_name": "S3BucketDoesNotExistException",
|
481
|
+
"type": "structure",
|
482
|
+
"members": {
|
483
|
+
},
|
484
|
+
"documentation": "\n\t\tThis exception is thrown when the specified S3 bucket does not exist.\n\t"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"shape_name": "InsufficientS3BucketPolicyException",
|
488
|
+
"type": "structure",
|
489
|
+
"members": {
|
490
|
+
},
|
491
|
+
"documentation": "\n\t\tThis exception is thrown when the policy on the S3 bucket is not sufficient.\n\t"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"shape_name": "InsufficientSnsTopicPolicyException",
|
495
|
+
"type": "structure",
|
496
|
+
"members": {
|
497
|
+
},
|
498
|
+
"documentation": "\n\t\tThis exception is thrown when the policy on the SNS topic is not sufficient.\n\t"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"shape_name": "TrailNotFoundException",
|
502
|
+
"type": "structure",
|
503
|
+
"members": {
|
504
|
+
},
|
505
|
+
"documentation": "\n\t\tThis exception is thrown when the trail with the given name is not found.\n\t"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"shape_name": "InvalidS3BucketNameException",
|
509
|
+
"type": "structure",
|
510
|
+
"members": {
|
511
|
+
},
|
512
|
+
"documentation": "\n\t\tThis exception is thrown when the provided S3 bucket name is not valid.\n\t"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"shape_name": "InvalidS3PrefixException",
|
516
|
+
"type": "structure",
|
517
|
+
"members": {
|
518
|
+
},
|
519
|
+
"documentation": "\n\t\tThis exception is thrown when the provided S3 prefix is not valid.\n\t"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"shape_name": "InvalidSnsTopicNameException",
|
523
|
+
"type": "structure",
|
524
|
+
"members": {
|
525
|
+
},
|
526
|
+
"documentation": "\n\t\tThis exception is thrown when the provided SNS topic name is not valid.\n\t"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"shape_name": "InvalidTrailNameException",
|
530
|
+
"type": "structure",
|
531
|
+
"members": {
|
532
|
+
},
|
533
|
+
"documentation": "\n\t\tThis exception is thrown when the provided trail name is not valid.\n\t"
|
534
|
+
}
|
535
|
+
],
|
536
|
+
"documentation": "\n <p>From the command line, use <code>update-subscription</code>.</p> \n <p>Updates the settings that specify delivery of log files. Changes to a trail do not require\n stopping the CloudTrail service. Use this action to designate an existing bucket for log\n delivery. If the existing bucket has previously been a target for CloudTrail log files,\n an IAM policy exists for the bucket. </p>\n \n \n "
|
537
|
+
}
|
538
|
+
}
|
539
|
+
}
|