aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,773 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2013-11-01",
4
- "endpointPrefix":"cloudtrail",
5
- "jsonVersion":"1.1",
6
- "serviceAbbreviation":"CloudTrail",
7
- "serviceFullName":"AWS CloudTrail",
8
- "signatureVersion":"v4",
9
- "targetPrefix":"com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101",
10
- "protocol":"json"
11
- },
12
- "documentation":"<fullname>AWS CloudTrail</fullname> <p>This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.</p> <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> <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>",
13
- "operations":{
14
- "CreateTrail":{
15
- "name":"CreateTrail",
16
- "http":{
17
- "method":"POST",
18
- "requestUri":"/"
19
- },
20
- "input":{
21
- "shape":"CreateTrailRequest",
22
- "documentation":"<p>Specifies the settings for each trail.</p>"
23
- },
24
- "output":{
25
- "shape":"CreateTrailResponse",
26
- "documentation":"Returns the objects or data listed below if successful. Otherwise, returns an error."
27
- },
28
- "errors":[
29
- {
30
- "shape":"MaximumNumberOfTrailsExceededException",
31
- "error":{
32
- "code":"MaximumNumberOfTrailsExceeded",
33
- "httpStatusCode":403,
34
- "senderFault":true
35
- },
36
- "exception":true,
37
- "documentation":"This exception is thrown when the maximum number of trails is reached."
38
- },
39
- {
40
- "shape":"TrailAlreadyExistsException",
41
- "error":{
42
- "code":"TrailAlreadyExists",
43
- "httpStatusCode":400,
44
- "senderFault":true
45
- },
46
- "exception":true,
47
- "documentation":"This exception is thrown when the specified trail already exists."
48
- },
49
- {
50
- "shape":"S3BucketDoesNotExistException",
51
- "error":{
52
- "code":"S3BucketDoesNotExist",
53
- "httpStatusCode":404,
54
- "senderFault":true
55
- },
56
- "exception":true,
57
- "documentation":"This exception is thrown when the specified S3 bucket does not exist."
58
- },
59
- {
60
- "shape":"InsufficientS3BucketPolicyException",
61
- "error":{
62
- "code":"InsufficientS3BucketPolicy",
63
- "httpStatusCode":403,
64
- "senderFault":true
65
- },
66
- "exception":true,
67
- "documentation":"This exception is thrown when the policy on the S3 bucket is not sufficient."
68
- },
69
- {
70
- "shape":"InsufficientSnsTopicPolicyException",
71
- "error":{
72
- "code":"InsufficientSnsTopicPolicy",
73
- "httpStatusCode":403,
74
- "senderFault":true
75
- },
76
- "exception":true,
77
- "documentation":"This exception is thrown when the policy on the SNS topic is not sufficient."
78
- },
79
- {
80
- "shape":"InvalidS3BucketNameException",
81
- "error":{
82
- "code":"InvalidS3BucketName",
83
- "httpStatusCode":400,
84
- "senderFault":true
85
- },
86
- "exception":true,
87
- "documentation":"This exception is thrown when the provided S3 bucket name is not valid."
88
- },
89
- {
90
- "shape":"InvalidS3PrefixException",
91
- "error":{
92
- "code":"InvalidS3Prefix",
93
- "httpStatusCode":400,
94
- "senderFault":true
95
- },
96
- "exception":true,
97
- "documentation":"This exception is thrown when the provided S3 prefix is not valid."
98
- },
99
- {
100
- "shape":"InvalidSnsTopicNameException",
101
- "error":{
102
- "code":"InvalidSnsTopicName",
103
- "httpStatusCode":400,
104
- "senderFault":true
105
- },
106
- "exception":true,
107
- "documentation":"This exception is thrown when the provided SNS topic name is not valid."
108
- },
109
- {
110
- "shape":"InvalidTrailNameException",
111
- "error":{
112
- "code":"InvalidTrailName",
113
- "httpStatusCode":400,
114
- "senderFault":true
115
- },
116
- "exception":true,
117
- "documentation":"This exception is thrown when the provided trail name is not valid."
118
- }
119
- ],
120
- "documentation":"<p>From the command line, use <code>create-subscription</code>. </p> <p>Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. </p>"
121
- },
122
- "DeleteTrail":{
123
- "name":"DeleteTrail",
124
- "http":{
125
- "method":"POST",
126
- "requestUri":"/"
127
- },
128
- "input":{
129
- "shape":"DeleteTrailRequest",
130
- "documentation":"<a>The request that specifies the name of a trail to delete.</a>"
131
- },
132
- "output":{
133
- "shape":"DeleteTrailResponse",
134
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
135
- },
136
- "errors":[
137
- {
138
- "shape":"TrailNotFoundException",
139
- "error":{
140
- "code":"TrailNotFound",
141
- "httpStatusCode":404,
142
- "senderFault":true
143
- },
144
- "exception":true,
145
- "documentation":"This exception is thrown when the trail with the given name is not found."
146
- },
147
- {
148
- "shape":"InvalidTrailNameException",
149
- "error":{
150
- "code":"InvalidTrailName",
151
- "httpStatusCode":400,
152
- "senderFault":true
153
- },
154
- "exception":true,
155
- "documentation":"This exception is thrown when the provided trail name is not valid."
156
- }
157
- ],
158
- "documentation":"<p>Deletes a trail.</p>"
159
- },
160
- "DescribeTrails":{
161
- "name":"DescribeTrails",
162
- "http":{
163
- "method":"POST",
164
- "requestUri":"/"
165
- },
166
- "input":{
167
- "shape":"DescribeTrailsRequest",
168
- "documentation":"<p>Returns information about the trail.</p>"
169
- },
170
- "output":{
171
- "shape":"DescribeTrailsResponse",
172
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
173
- },
174
- "documentation":"<p>Retrieves settings for the trail associated with the current region for your account.</p>"
175
- },
176
- "GetTrailStatus":{
177
- "name":"GetTrailStatus",
178
- "http":{
179
- "method":"POST",
180
- "requestUri":"/"
181
- },
182
- "input":{
183
- "shape":"GetTrailStatusRequest",
184
- "documentation":"<p>The name of a trail about which you want the current status.</p>"
185
- },
186
- "output":{
187
- "shape":"GetTrailStatusResponse",
188
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
189
- },
190
- "errors":[
191
- {
192
- "shape":"TrailNotFoundException",
193
- "error":{
194
- "code":"TrailNotFound",
195
- "httpStatusCode":404,
196
- "senderFault":true
197
- },
198
- "exception":true,
199
- "documentation":"This exception is thrown when the trail with the given name is not found."
200
- },
201
- {
202
- "shape":"InvalidTrailNameException",
203
- "error":{
204
- "code":"InvalidTrailName",
205
- "httpStatusCode":400,
206
- "senderFault":true
207
- },
208
- "exception":true,
209
- "documentation":"This exception is thrown when the provided trail name is not valid."
210
- }
211
- ],
212
- "documentation":"<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>"
213
- },
214
- "StartLogging":{
215
- "name":"StartLogging",
216
- "http":{
217
- "method":"POST",
218
- "requestUri":"/"
219
- },
220
- "input":{
221
- "shape":"StartLoggingRequest",
222
- "documentation":"<p>The request to CloudTrail to start logging AWS API calls for an account.</p>"
223
- },
224
- "output":{
225
- "shape":"StartLoggingResponse",
226
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
227
- },
228
- "errors":[
229
- {
230
- "shape":"TrailNotFoundException",
231
- "error":{
232
- "code":"TrailNotFound",
233
- "httpStatusCode":404,
234
- "senderFault":true
235
- },
236
- "exception":true,
237
- "documentation":"This exception is thrown when the trail with the given name is not found."
238
- },
239
- {
240
- "shape":"InvalidTrailNameException",
241
- "error":{
242
- "code":"InvalidTrailName",
243
- "httpStatusCode":400,
244
- "senderFault":true
245
- },
246
- "exception":true,
247
- "documentation":"This exception is thrown when the provided trail name is not valid."
248
- }
249
- ],
250
- "documentation":"<p>Starts the recording of AWS API calls and log file delivery for a trail.</p>"
251
- },
252
- "StopLogging":{
253
- "name":"StopLogging",
254
- "http":{
255
- "method":"POST",
256
- "requestUri":"/"
257
- },
258
- "input":{
259
- "shape":"StopLoggingRequest",
260
- "documentation":"<p>Passes the request to CloudTrail to stop logging AWS API calls for the specified account.</p>"
261
- },
262
- "output":{
263
- "shape":"StopLoggingResponse",
264
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
265
- },
266
- "errors":[
267
- {
268
- "shape":"TrailNotFoundException",
269
- "error":{
270
- "code":"TrailNotFound",
271
- "httpStatusCode":404,
272
- "senderFault":true
273
- },
274
- "exception":true,
275
- "documentation":"This exception is thrown when the trail with the given name is not found."
276
- },
277
- {
278
- "shape":"InvalidTrailNameException",
279
- "error":{
280
- "code":"InvalidTrailName",
281
- "httpStatusCode":400,
282
- "senderFault":true
283
- },
284
- "exception":true,
285
- "documentation":"This exception is thrown when the provided trail name is not valid."
286
- }
287
- ],
288
- "documentation":"<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>"
289
- },
290
- "UpdateTrail":{
291
- "name":"UpdateTrail",
292
- "http":{
293
- "method":"POST",
294
- "requestUri":"/"
295
- },
296
- "input":{
297
- "shape":"UpdateTrailRequest",
298
- "documentation":"<p>Specifies settings to update for the trail.</p>"
299
- },
300
- "output":{
301
- "shape":"UpdateTrailResponse",
302
- "documentation":"Returns the objects or data listed below if successful. Otherwise, returns an error."
303
- },
304
- "errors":[
305
- {
306
- "shape":"S3BucketDoesNotExistException",
307
- "error":{
308
- "code":"S3BucketDoesNotExist",
309
- "httpStatusCode":404,
310
- "senderFault":true
311
- },
312
- "exception":true,
313
- "documentation":"This exception is thrown when the specified S3 bucket does not exist."
314
- },
315
- {
316
- "shape":"InsufficientS3BucketPolicyException",
317
- "error":{
318
- "code":"InsufficientS3BucketPolicy",
319
- "httpStatusCode":403,
320
- "senderFault":true
321
- },
322
- "exception":true,
323
- "documentation":"This exception is thrown when the policy on the S3 bucket is not sufficient."
324
- },
325
- {
326
- "shape":"InsufficientSnsTopicPolicyException",
327
- "error":{
328
- "code":"InsufficientSnsTopicPolicy",
329
- "httpStatusCode":403,
330
- "senderFault":true
331
- },
332
- "exception":true,
333
- "documentation":"This exception is thrown when the policy on the SNS topic is not sufficient."
334
- },
335
- {
336
- "shape":"TrailNotFoundException",
337
- "error":{
338
- "code":"TrailNotFound",
339
- "httpStatusCode":404,
340
- "senderFault":true
341
- },
342
- "exception":true,
343
- "documentation":"This exception is thrown when the trail with the given name is not found."
344
- },
345
- {
346
- "shape":"InvalidS3BucketNameException",
347
- "error":{
348
- "code":"InvalidS3BucketName",
349
- "httpStatusCode":400,
350
- "senderFault":true
351
- },
352
- "exception":true,
353
- "documentation":"This exception is thrown when the provided S3 bucket name is not valid."
354
- },
355
- {
356
- "shape":"InvalidS3PrefixException",
357
- "error":{
358
- "code":"InvalidS3Prefix",
359
- "httpStatusCode":400,
360
- "senderFault":true
361
- },
362
- "exception":true,
363
- "documentation":"This exception is thrown when the provided S3 prefix is not valid."
364
- },
365
- {
366
- "shape":"InvalidSnsTopicNameException",
367
- "error":{
368
- "code":"InvalidSnsTopicName",
369
- "httpStatusCode":400,
370
- "senderFault":true
371
- },
372
- "exception":true,
373
- "documentation":"This exception is thrown when the provided SNS topic name is not valid."
374
- },
375
- {
376
- "shape":"InvalidTrailNameException",
377
- "error":{
378
- "code":"InvalidTrailName",
379
- "httpStatusCode":400,
380
- "senderFault":true
381
- },
382
- "exception":true,
383
- "documentation":"This exception is thrown when the provided trail name is not valid."
384
- }
385
- ],
386
- "documentation":"<p>From the command line, use <code>update-subscription</code>.</p> <p>Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. </p>"
387
- }
388
- },
389
- "shapes":{
390
- "Boolean":{"type":"boolean"},
391
- "CreateTrailRequest":{
392
- "type":"structure",
393
- "required":[
394
- "Name",
395
- "S3BucketName"
396
- ],
397
- "members":{
398
- "Name":{
399
- "shape":"String",
400
- "documentation":"<p>Specifies the name of the trail.</p>"
401
- },
402
- "S3BucketName":{
403
- "shape":"String",
404
- "documentation":"<p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>"
405
- },
406
- "S3KeyPrefix":{
407
- "shape":"String",
408
- "documentation":"<p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>"
409
- },
410
- "SnsTopicName":{
411
- "shape":"String",
412
- "documentation":"<p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>"
413
- },
414
- "IncludeGlobalServiceEvents":{
415
- "shape":"Boolean",
416
- "documentation":"<p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>"
417
- }
418
- },
419
- "documentation":"<p>Specifies the settings for each trail.</p>"
420
- },
421
- "CreateTrailResponse":{
422
- "type":"structure",
423
- "members":{
424
- "Name":{
425
- "shape":"String",
426
- "documentation":"<p>Specifies the name of the trail.</p>"
427
- },
428
- "S3BucketName":{
429
- "shape":"String",
430
- "documentation":"<p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>"
431
- },
432
- "S3KeyPrefix":{
433
- "shape":"String",
434
- "documentation":"<p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>"
435
- },
436
- "SnsTopicName":{
437
- "shape":"String",
438
- "documentation":"<p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>"
439
- },
440
- "IncludeGlobalServiceEvents":{
441
- "shape":"Boolean",
442
- "documentation":"<p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>"
443
- }
444
- },
445
- "documentation":"Returns the objects or data listed below if successful. Otherwise, returns an error."
446
- },
447
- "Date":{"type":"timestamp"},
448
- "DeleteTrailRequest":{
449
- "type":"structure",
450
- "required":["Name"],
451
- "members":{
452
- "Name":{
453
- "shape":"String",
454
- "documentation":"<p>The name of a trail to be deleted.</p>"
455
- }
456
- },
457
- "documentation":"<a>The request that specifies the name of a trail to delete.</a>"
458
- },
459
- "DeleteTrailResponse":{
460
- "type":"structure",
461
- "members":{
462
- },
463
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
464
- },
465
- "DescribeTrailsRequest":{
466
- "type":"structure",
467
- "members":{
468
- "trailNameList":{
469
- "shape":"TrailNameList",
470
- "documentation":"<p>The trail returned.</p>"
471
- }
472
- },
473
- "documentation":"<p>Returns information about the trail.</p>"
474
- },
475
- "DescribeTrailsResponse":{
476
- "type":"structure",
477
- "members":{
478
- "trailList":{
479
- "shape":"TrailList",
480
- "documentation":"<p>The list of trails.</p>"
481
- }
482
- },
483
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
484
- },
485
- "GetTrailStatusRequest":{
486
- "type":"structure",
487
- "required":["Name"],
488
- "members":{
489
- "Name":{
490
- "shape":"String",
491
- "documentation":"<p>The name of the trail for which you are requesting the current status.</p>"
492
- }
493
- },
494
- "documentation":"<p>The name of a trail about which you want the current status.</p>"
495
- },
496
- "GetTrailStatusResponse":{
497
- "type":"structure",
498
- "members":{
499
- "IsLogging":{
500
- "shape":"Boolean",
501
- "documentation":"<p>Whether the CloudTrail is currently logging AWS API calls.</p>"
502
- },
503
- "LatestDeliveryError":{
504
- "shape":"String",
505
- "documentation":"<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>"
506
- },
507
- "LatestNotificationError":{
508
- "shape":"String",
509
- "documentation":"<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>"
510
- },
511
- "LatestDeliveryTime":{
512
- "shape":"Date",
513
- "documentation":"<p>Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.</p>"
514
- },
515
- "LatestNotificationTime":{
516
- "shape":"Date",
517
- "documentation":"<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>"
518
- },
519
- "StartLoggingTime":{
520
- "shape":"Date",
521
- "documentation":"<p>Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account. </p>"
522
- },
523
- "StopLoggingTime":{
524
- "shape":"Date",
525
- "documentation":"<p>Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account. </p>"
526
- }
527
- },
528
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
529
- },
530
- "InsufficientS3BucketPolicyException":{
531
- "type":"structure",
532
- "members":{
533
- },
534
- "error":{
535
- "code":"InsufficientS3BucketPolicy",
536
- "httpStatusCode":403,
537
- "senderFault":true
538
- },
539
- "exception":true,
540
- "documentation":"This exception is thrown when the policy on the S3 bucket is not sufficient."
541
- },
542
- "InsufficientSnsTopicPolicyException":{
543
- "type":"structure",
544
- "members":{
545
- },
546
- "error":{
547
- "code":"InsufficientSnsTopicPolicy",
548
- "httpStatusCode":403,
549
- "senderFault":true
550
- },
551
- "exception":true,
552
- "documentation":"This exception is thrown when the policy on the SNS topic is not sufficient."
553
- },
554
- "InvalidS3BucketNameException":{
555
- "type":"structure",
556
- "members":{
557
- },
558
- "error":{
559
- "code":"InvalidS3BucketName",
560
- "httpStatusCode":400,
561
- "senderFault":true
562
- },
563
- "exception":true,
564
- "documentation":"This exception is thrown when the provided S3 bucket name is not valid."
565
- },
566
- "InvalidS3PrefixException":{
567
- "type":"structure",
568
- "members":{
569
- },
570
- "error":{
571
- "code":"InvalidS3Prefix",
572
- "httpStatusCode":400,
573
- "senderFault":true
574
- },
575
- "exception":true,
576
- "documentation":"This exception is thrown when the provided S3 prefix is not valid."
577
- },
578
- "InvalidSnsTopicNameException":{
579
- "type":"structure",
580
- "members":{
581
- },
582
- "error":{
583
- "code":"InvalidSnsTopicName",
584
- "httpStatusCode":400,
585
- "senderFault":true
586
- },
587
- "exception":true,
588
- "documentation":"This exception is thrown when the provided SNS topic name is not valid."
589
- },
590
- "InvalidTrailNameException":{
591
- "type":"structure",
592
- "members":{
593
- },
594
- "error":{
595
- "code":"InvalidTrailName",
596
- "httpStatusCode":400,
597
- "senderFault":true
598
- },
599
- "exception":true,
600
- "documentation":"This exception is thrown when the provided trail name is not valid."
601
- },
602
- "MaximumNumberOfTrailsExceededException":{
603
- "type":"structure",
604
- "members":{
605
- },
606
- "error":{
607
- "code":"MaximumNumberOfTrailsExceeded",
608
- "httpStatusCode":403,
609
- "senderFault":true
610
- },
611
- "exception":true,
612
- "documentation":"This exception is thrown when the maximum number of trails is reached."
613
- },
614
- "S3BucketDoesNotExistException":{
615
- "type":"structure",
616
- "members":{
617
- },
618
- "error":{
619
- "code":"S3BucketDoesNotExist",
620
- "httpStatusCode":404,
621
- "senderFault":true
622
- },
623
- "exception":true,
624
- "documentation":"This exception is thrown when the specified S3 bucket does not exist."
625
- },
626
- "StartLoggingRequest":{
627
- "type":"structure",
628
- "required":["Name"],
629
- "members":{
630
- "Name":{
631
- "shape":"String",
632
- "documentation":"<p>The name of the trail for which CloudTrail logs AWS API calls.</p>"
633
- }
634
- },
635
- "documentation":"<p>The request to CloudTrail to start logging AWS API calls for an account.</p>"
636
- },
637
- "StartLoggingResponse":{
638
- "type":"structure",
639
- "members":{
640
- },
641
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
642
- },
643
- "StopLoggingRequest":{
644
- "type":"structure",
645
- "required":["Name"],
646
- "members":{
647
- "Name":{
648
- "shape":"String",
649
- "documentation":"<p>Communicates to CloudTrail the name of the trail for which to stop logging AWS API calls.</p>"
650
- }
651
- },
652
- "documentation":"<p>Passes the request to CloudTrail to stop logging AWS API calls for the specified account.</p>"
653
- },
654
- "StopLoggingResponse":{
655
- "type":"structure",
656
- "members":{
657
- },
658
- "documentation":"<p>Returns the objects or data listed below if successful. Otherwise, returns an error.</p>"
659
- },
660
- "String":{"type":"string"},
661
- "Trail":{
662
- "type":"structure",
663
- "members":{
664
- "Name":{
665
- "shape":"String",
666
- "documentation":"<p>Name of the trail set by calling <a>CreateTrail</a>.</p>"
667
- },
668
- "S3BucketName":{
669
- "shape":"String",
670
- "documentation":"<p>Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. </p>"
671
- },
672
- "S3KeyPrefix":{
673
- "shape":"String",
674
- "documentation":"<p>Value of the Amazon S3 prefix.</p>"
675
- },
676
- "SnsTopicName":{
677
- "shape":"String",
678
- "documentation":"<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>"
679
- },
680
- "IncludeGlobalServiceEvents":{
681
- "shape":"Boolean",
682
- "documentation":"<p>Set to <b>True</b> to include AWS API calls from AWS global services such as IAM. Otherwise, <b>False</b>.</p>"
683
- }
684
- },
685
- "documentation":"<p>The settings for a trail.</p>"
686
- },
687
- "TrailAlreadyExistsException":{
688
- "type":"structure",
689
- "members":{
690
- },
691
- "error":{
692
- "code":"TrailAlreadyExists",
693
- "httpStatusCode":400,
694
- "senderFault":true
695
- },
696
- "exception":true,
697
- "documentation":"This exception is thrown when the specified trail already exists."
698
- },
699
- "TrailList":{
700
- "type":"list",
701
- "member":{"shape":"Trail"}
702
- },
703
- "TrailNameList":{
704
- "type":"list",
705
- "member":{"shape":"String"}
706
- },
707
- "TrailNotFoundException":{
708
- "type":"structure",
709
- "members":{
710
- },
711
- "error":{
712
- "code":"TrailNotFound",
713
- "httpStatusCode":404,
714
- "senderFault":true
715
- },
716
- "exception":true,
717
- "documentation":"This exception is thrown when the trail with the given name is not found."
718
- },
719
- "UpdateTrailRequest":{
720
- "type":"structure",
721
- "required":["Name"],
722
- "members":{
723
- "Name":{
724
- "shape":"String",
725
- "documentation":"<p>Specifies the name of the trail.</p>"
726
- },
727
- "S3BucketName":{
728
- "shape":"String",
729
- "documentation":"<p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>"
730
- },
731
- "S3KeyPrefix":{
732
- "shape":"String",
733
- "documentation":"<p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>"
734
- },
735
- "SnsTopicName":{
736
- "shape":"String",
737
- "documentation":"<p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>"
738
- },
739
- "IncludeGlobalServiceEvents":{
740
- "shape":"Boolean",
741
- "documentation":"<p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>"
742
- }
743
- },
744
- "documentation":"<p>Specifies settings to update for the trail.</p>"
745
- },
746
- "UpdateTrailResponse":{
747
- "type":"structure",
748
- "members":{
749
- "Name":{
750
- "shape":"String",
751
- "documentation":"<p>Specifies the name of the trail.</p>"
752
- },
753
- "S3BucketName":{
754
- "shape":"String",
755
- "documentation":"<p>Specifies the name of the Amazon S3 bucket designated for publishing log files.</p>"
756
- },
757
- "S3KeyPrefix":{
758
- "shape":"String",
759
- "documentation":"<p>Specifies the Amazon S3 key prefix that precedes the name of the bucket you have designated for log file delivery.</p>"
760
- },
761
- "SnsTopicName":{
762
- "shape":"String",
763
- "documentation":"<p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery.</p>"
764
- },
765
- "IncludeGlobalServiceEvents":{
766
- "shape":"Boolean",
767
- "documentation":"<p>Specifies whether the trail is publishing events from global services such as IAM to the log files. </p>"
768
- }
769
- },
770
- "documentation":"Returns the objects or data listed below if successful. Otherwise, returns an error."
771
- }
772
- }
773
- }