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.
- checksums.yaml +4 -4
- data/README.md +32 -3
- data/apis/AutoScaling.api.json +1943 -0
- data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
- data/apis/CloudFormation.api.json +785 -0
- data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
- data/apis/CloudFront.api.json +2581 -0
- data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
- data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
- data/apis/CloudSearch.api.json +1955 -0
- data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
- data/apis/CloudSearchDomain.api.json +349 -0
- data/apis/CloudTrail.api.json +559 -0
- data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
- data/apis/CloudWatch.api.json +917 -0
- data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
- data/apis/CloudWatchLogs.api.json +816 -0
- data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
- data/apis/CognitoIdentity.api.json +631 -0
- data/apis/CognitoSync.api.json +721 -0
- data/apis/DataPipeline.api.json +940 -0
- data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
- data/apis/DirectConnect.api.json +833 -0
- data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
- data/apis/DynamoDB.api.json +1210 -0
- data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
- data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
- data/apis/EC2.api.json +9914 -0
- data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
- data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
- data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
- data/apis/EMR.api.json +1339 -0
- data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
- data/apis/ElastiCache.api.json +3410 -0
- data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
- data/apis/ElasticBeanstalk.api.json +1540 -0
- data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
- data/apis/ElasticLoadBalancing.api.json +2131 -0
- data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
- data/apis/ElasticTranscoder.api.json +1647 -0
- data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
- data/apis/Glacier.api.json +1456 -0
- data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
- data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
- data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
- data/apis/IAM.api.json +4033 -0
- data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
- data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
- data/apis/ImportExport.api.json +515 -0
- data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
- data/apis/Kinesis.api.json +548 -0
- data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
- data/apis/OpsWorks.api.json +2524 -0
- data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
- data/apis/RDS.api.json +4473 -0
- data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
- data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
- data/apis/Redshift.api.json +4482 -0
- data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
- data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
- data/apis/Route53.api.json +1935 -0
- data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
- data/apis/Route53Domains.api.json +1129 -0
- data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
- data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
- data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
- data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
- data/apis/SES.api.json +644 -0
- data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
- data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
- data/apis/SNS.api.json +1760 -0
- data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
- data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
- data/apis/SQS.api.json +1113 -0
- data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
- data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
- data/apis/STS.api.json +594 -0
- data/apis/SWF.api.json +2656 -0
- data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
- data/apis/SimpleDB.api.json +954 -0
- data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
- data/apis/StorageGateway.api.json +2311 -0
- data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
- data/apis/Support.api.json +869 -0
- data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
- data/lib/aws.rb +96 -53
- data/lib/aws/api/documenter.rb +238 -0
- data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
- data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
- data/lib/aws/api/service_customizations.rb +3 -1
- data/lib/aws/client.rb +38 -0
- data/lib/aws/credential_provider_chain.rb +1 -0
- data/lib/aws/dynamodb/attribute_value.rb +87 -0
- data/lib/aws/empty_structure.rb +4 -3
- data/lib/aws/endpoint_provider.rb +1 -0
- data/lib/aws/errors.rb +2 -0
- data/lib/aws/instance_profile_credentials.rb +1 -1
- data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
- data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
- data/lib/aws/plugins/global_configuration.rb +13 -3
- data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
- data/lib/aws/plugins/regional_endpoint.rb +1 -1
- data/lib/aws/plugins/request_signer.rb +13 -6
- data/lib/aws/plugins/response_paging.rb +1 -2
- data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
- data/lib/aws/plugins/user_agent.rb +1 -2
- data/lib/aws/signers/v4.rb +1 -1
- data/lib/aws/structure.rb +49 -2
- data/lib/aws/version.rb +1 -1
- data/lib/aws/xml/builder.rb +1 -0
- data/lib/seahorse.rb +2 -1
- data/lib/seahorse/client/handler_list.rb +10 -3
- data/lib/seahorse/client/http/request.rb +0 -8
- data/lib/seahorse/client/xml/builder.rb +0 -1
- data/lib/seahorse/model/shape_map.rb +1 -0
- data/lib/seahorse/model/shapes.rb +5 -0
- metadata +93 -107
- data/apis/autoscaling-2011-01-01.api.json +0 -3063
- data/apis/cloudformation-2010-05-15.api.json +0 -1306
- data/apis/cloudfront-2014-01-31.api.json +0 -3478
- data/apis/cloudfront-2014-01-31.paginators.json +0 -32
- data/apis/cloudfront-2014-05-31.api.json +0 -3540
- data/apis/cloudfront-2014-05-31.waiters.json +0 -29
- data/apis/cloudsearch-2011-02-01.api.json +0 -2093
- data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
- data/apis/cloudsearch-2013-01-01.api.json +0 -2655
- data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
- data/apis/cloudtrail-2013-11-01.api.json +0 -773
- data/apis/cognito-identity-2014-06-30.api.json +0 -884
- data/apis/cognito-sync-2014-06-30.api.json +0 -1029
- data/apis/datapipeline-2012-10-29.api.json +0 -1432
- data/apis/directconnect-2012-10-25.api.json +0 -1174
- data/apis/dynamodb-2011-12-05.api.json +0 -1208
- data/apis/dynamodb-2011-12-05.waiters.json +0 -27
- data/apis/dynamodb-2012-08-10.api.json +0 -1857
- data/apis/dynamodb-2012-08-10.paginators.json +0 -26
- data/apis/ec2-2014-06-15.api.json +0 -11670
- data/apis/elasticache-2014-03-24.api.json +0 -4789
- data/apis/elasticache-2014-07-15.api.json +0 -4826
- data/apis/elasticache-2014-07-15.paginators.json +0 -76
- data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
- data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
- data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
- data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
- data/apis/email-2010-12-01.api.json +0 -954
- data/apis/glacier-2012-06-01.api.json +0 -2012
- data/apis/iam-2010-05-08.api.json +0 -5322
- data/apis/importexport-2010-06-01.api.json +0 -687
- data/apis/kinesis-2013-12-02.api.json +0 -769
- data/apis/logs-2014-03-28.api.json +0 -942
- data/apis/manifest.json +0 -259
- data/apis/monitoring-2010-08-01.api.json +0 -1338
- data/apis/opsworks-2013-02-18.api.json +0 -4348
- data/apis/rds-2013-01-10.api.json +0 -6074
- data/apis/rds-2013-01-10.paginators.json +0 -97
- data/apis/rds-2013-02-12.api.json +0 -6392
- data/apis/rds-2013-09-09.api.json +0 -6564
- data/apis/rds-2013-09-09.paginators.json +0 -110
- data/apis/redshift-2012-12-01.api.json +0 -6318
- data/apis/route53-2013-04-01.api.json +0 -2493
- data/apis/route53domains-2014-05-15.api.json +0 -1622
- data/apis/sdb-2009-04-15.api.json +0 -1178
- data/apis/sns-2010-03-31.api.json +0 -2275
- data/apis/sqs-2012-11-05.api.json +0 -1438
- data/apis/storagegateway-2013-06-30.api.json +0 -3153
- data/apis/sts-2011-06-15.api.json +0 -786
- data/apis/support-2013-04-15.api.json +0 -1379
- data/apis/swf-2012-01-25.api.json +0 -4463
- data/lib/aws/api/manifest.rb +0 -29
- data/lib/aws/api/manifest_builder.rb +0 -57
- data/lib/aws/api/minifier.rb +0 -42
- data/lib/aws/response_handler.rb +0 -38
- data/lib/aws/service_builder.rb +0 -56
File without changes
|
@@ -0,0 +1,349 @@
|
|
1
|
+
{
|
2
|
+
"metadata":{
|
3
|
+
"apiVersion":"2013-01-01",
|
4
|
+
"endpointPrefix":"cloudsearchdomain",
|
5
|
+
"jsonVersion":"1.1",
|
6
|
+
"serviceFullName":"Amazon CloudSearch Domain",
|
7
|
+
"signatureVersion":"v4",
|
8
|
+
"signingName":"cloudsearch",
|
9
|
+
"protocol":"rest-json"
|
10
|
+
},
|
11
|
+
"operations":{
|
12
|
+
"Search":{
|
13
|
+
"name":"Search",
|
14
|
+
"http":{
|
15
|
+
"method":"GET",
|
16
|
+
"requestUri":"/2013-01-01/search?format=sdk&pretty=true"
|
17
|
+
},
|
18
|
+
"input":{"shape":"SearchRequest"},
|
19
|
+
"output":{"shape":"SearchResponse"},
|
20
|
+
"errors":[
|
21
|
+
{
|
22
|
+
"shape":"SearchException",
|
23
|
+
"exception":true
|
24
|
+
}
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"Suggest":{
|
28
|
+
"name":"Suggest",
|
29
|
+
"http":{
|
30
|
+
"method":"GET",
|
31
|
+
"requestUri":"/2013-01-01/suggest?format=sdk&pretty=true"
|
32
|
+
},
|
33
|
+
"input":{"shape":"SuggestRequest"},
|
34
|
+
"output":{"shape":"SuggestResponse"},
|
35
|
+
"errors":[
|
36
|
+
{
|
37
|
+
"shape":"SearchException",
|
38
|
+
"exception":true
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"UploadDocuments":{
|
43
|
+
"name":"UploadDocuments",
|
44
|
+
"http":{
|
45
|
+
"method":"POST",
|
46
|
+
"requestUri":"/2013-01-01/documents/batch?format=sdk"
|
47
|
+
},
|
48
|
+
"input":{"shape":"UploadDocumentsRequest"},
|
49
|
+
"output":{"shape":"UploadDocumentsResponse"},
|
50
|
+
"errors":[
|
51
|
+
{
|
52
|
+
"shape":"DocumentServiceException",
|
53
|
+
"exception":true
|
54
|
+
}
|
55
|
+
]
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"shapes":{
|
59
|
+
"Adds":{"type":"long"},
|
60
|
+
"Blob":{
|
61
|
+
"type":"blob",
|
62
|
+
"streaming":true
|
63
|
+
},
|
64
|
+
"Bucket":{
|
65
|
+
"type":"structure",
|
66
|
+
"members":{
|
67
|
+
"value":{"shape":"String"},
|
68
|
+
"count":{"shape":"Long"}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"BucketInfo":{
|
72
|
+
"type":"structure",
|
73
|
+
"members":{
|
74
|
+
"buckets":{"shape":"BucketList"}
|
75
|
+
}
|
76
|
+
},
|
77
|
+
"BucketList":{
|
78
|
+
"type":"list",
|
79
|
+
"member":{"shape":"Bucket"}
|
80
|
+
},
|
81
|
+
"ContentType":{
|
82
|
+
"type":"string",
|
83
|
+
"enum":[
|
84
|
+
"application/json",
|
85
|
+
"application/xml"
|
86
|
+
]
|
87
|
+
},
|
88
|
+
"Cursor":{"type":"string"},
|
89
|
+
"Deletes":{"type":"long"},
|
90
|
+
"DocumentServiceException":{
|
91
|
+
"type":"structure",
|
92
|
+
"members":{
|
93
|
+
"status":{"shape":"String"},
|
94
|
+
"message":{"shape":"String"}
|
95
|
+
},
|
96
|
+
"exception":true
|
97
|
+
},
|
98
|
+
"DocumentServiceWarning":{
|
99
|
+
"type":"structure",
|
100
|
+
"members":{
|
101
|
+
"message":{"shape":"String"}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"DocumentServiceWarnings":{
|
105
|
+
"type":"list",
|
106
|
+
"member":{"shape":"DocumentServiceWarning"}
|
107
|
+
},
|
108
|
+
"Expr":{"type":"string"},
|
109
|
+
"Facet":{"type":"string"},
|
110
|
+
"Facets":{
|
111
|
+
"type":"map",
|
112
|
+
"key":{"shape":"String"},
|
113
|
+
"value":{"shape":"BucketInfo"}
|
114
|
+
},
|
115
|
+
"FieldValue":{
|
116
|
+
"type":"list",
|
117
|
+
"member":{"shape":"String"}
|
118
|
+
},
|
119
|
+
"Fields":{
|
120
|
+
"type":"map",
|
121
|
+
"key":{"shape":"String"},
|
122
|
+
"value":{"shape":"FieldValue"}
|
123
|
+
},
|
124
|
+
"FilterQuery":{"type":"string"},
|
125
|
+
"Highlight":{"type":"string"},
|
126
|
+
"Highlights":{
|
127
|
+
"type":"map",
|
128
|
+
"key":{"shape":"String"},
|
129
|
+
"value":{"shape":"String"}
|
130
|
+
},
|
131
|
+
"Hit":{
|
132
|
+
"type":"structure",
|
133
|
+
"members":{
|
134
|
+
"id":{"shape":"String"},
|
135
|
+
"fields":{"shape":"Fields"},
|
136
|
+
"highlights":{"shape":"Highlights"}
|
137
|
+
}
|
138
|
+
},
|
139
|
+
"HitList":{
|
140
|
+
"type":"list",
|
141
|
+
"member":{"shape":"Hit"}
|
142
|
+
},
|
143
|
+
"Hits":{
|
144
|
+
"type":"structure",
|
145
|
+
"members":{
|
146
|
+
"found":{"shape":"Long"},
|
147
|
+
"start":{"shape":"Long"},
|
148
|
+
"cursor":{"shape":"String"},
|
149
|
+
"hit":{"shape":"HitList"}
|
150
|
+
}
|
151
|
+
},
|
152
|
+
"Long":{"type":"long"},
|
153
|
+
"Partial":{"type":"boolean"},
|
154
|
+
"Query":{"type":"string"},
|
155
|
+
"QueryOptions":{"type":"string"},
|
156
|
+
"QueryParser":{
|
157
|
+
"type":"string",
|
158
|
+
"enum":[
|
159
|
+
"simple",
|
160
|
+
"structured",
|
161
|
+
"lucene",
|
162
|
+
"dismax"
|
163
|
+
]
|
164
|
+
},
|
165
|
+
"Return":{"type":"string"},
|
166
|
+
"SearchException":{
|
167
|
+
"type":"structure",
|
168
|
+
"members":{
|
169
|
+
"message":{"shape":"String"}
|
170
|
+
},
|
171
|
+
"exception":true
|
172
|
+
},
|
173
|
+
"SearchRequest":{
|
174
|
+
"type":"structure",
|
175
|
+
"required":["query"],
|
176
|
+
"members":{
|
177
|
+
"cursor":{
|
178
|
+
"shape":"Cursor",
|
179
|
+
"location":"querystring",
|
180
|
+
"locationName":"cursor"
|
181
|
+
},
|
182
|
+
"expr":{
|
183
|
+
"shape":"Expr",
|
184
|
+
"location":"querystring",
|
185
|
+
"locationName":"expr"
|
186
|
+
},
|
187
|
+
"facet":{
|
188
|
+
"shape":"Facet",
|
189
|
+
"location":"querystring",
|
190
|
+
"locationName":"facet"
|
191
|
+
},
|
192
|
+
"filterQuery":{
|
193
|
+
"shape":"FilterQuery",
|
194
|
+
"location":"querystring",
|
195
|
+
"locationName":"fq"
|
196
|
+
},
|
197
|
+
"highlight":{
|
198
|
+
"shape":"Highlight",
|
199
|
+
"location":"querystring",
|
200
|
+
"locationName":"highlight"
|
201
|
+
},
|
202
|
+
"partial":{
|
203
|
+
"shape":"Partial",
|
204
|
+
"location":"querystring",
|
205
|
+
"locationName":"partial"
|
206
|
+
},
|
207
|
+
"query":{
|
208
|
+
"shape":"Query",
|
209
|
+
"location":"querystring",
|
210
|
+
"locationName":"q"
|
211
|
+
},
|
212
|
+
"queryOptions":{
|
213
|
+
"shape":"QueryOptions",
|
214
|
+
"location":"querystring",
|
215
|
+
"locationName":"q.options"
|
216
|
+
},
|
217
|
+
"queryParser":{
|
218
|
+
"shape":"QueryParser",
|
219
|
+
"location":"querystring",
|
220
|
+
"locationName":"q.parser"
|
221
|
+
},
|
222
|
+
"return":{
|
223
|
+
"shape":"Return",
|
224
|
+
"location":"querystring",
|
225
|
+
"locationName":"return"
|
226
|
+
},
|
227
|
+
"size":{
|
228
|
+
"shape":"Size",
|
229
|
+
"location":"querystring",
|
230
|
+
"locationName":"size"
|
231
|
+
},
|
232
|
+
"sort":{
|
233
|
+
"shape":"Sort",
|
234
|
+
"location":"querystring",
|
235
|
+
"locationName":"sort"
|
236
|
+
},
|
237
|
+
"start":{
|
238
|
+
"shape":"Start",
|
239
|
+
"location":"querystring",
|
240
|
+
"locationName":"start"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
},
|
244
|
+
"SearchResponse":{
|
245
|
+
"type":"structure",
|
246
|
+
"members":{
|
247
|
+
"status":{"shape":"SearchStatus"},
|
248
|
+
"hits":{"shape":"Hits"},
|
249
|
+
"facets":{"shape":"Facets"}
|
250
|
+
}
|
251
|
+
},
|
252
|
+
"SearchStatus":{
|
253
|
+
"type":"structure",
|
254
|
+
"members":{
|
255
|
+
"timems":{"shape":"Long"},
|
256
|
+
"rid":{"shape":"String"}
|
257
|
+
}
|
258
|
+
},
|
259
|
+
"Size":{"type":"long"},
|
260
|
+
"Sort":{"type":"string"},
|
261
|
+
"Start":{"type":"long"},
|
262
|
+
"String":{"type":"string"},
|
263
|
+
"SuggestModel":{
|
264
|
+
"type":"structure",
|
265
|
+
"members":{
|
266
|
+
"query":{"shape":"String"},
|
267
|
+
"found":{"shape":"Long"},
|
268
|
+
"suggestions":{"shape":"Suggestions"}
|
269
|
+
}
|
270
|
+
},
|
271
|
+
"SuggestRequest":{
|
272
|
+
"type":"structure",
|
273
|
+
"required":[
|
274
|
+
"query",
|
275
|
+
"suggester"
|
276
|
+
],
|
277
|
+
"members":{
|
278
|
+
"query":{
|
279
|
+
"shape":"Query",
|
280
|
+
"location":"querystring",
|
281
|
+
"locationName":"q"
|
282
|
+
},
|
283
|
+
"suggester":{
|
284
|
+
"shape":"Suggester",
|
285
|
+
"location":"querystring",
|
286
|
+
"locationName":"suggester"
|
287
|
+
},
|
288
|
+
"size":{
|
289
|
+
"shape":"SuggestionsSize",
|
290
|
+
"location":"querystring",
|
291
|
+
"locationName":"size"
|
292
|
+
}
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"SuggestResponse":{
|
296
|
+
"type":"structure",
|
297
|
+
"members":{
|
298
|
+
"status":{"shape":"SuggestStatus"},
|
299
|
+
"suggest":{"shape":"SuggestModel"}
|
300
|
+
}
|
301
|
+
},
|
302
|
+
"SuggestStatus":{
|
303
|
+
"type":"structure",
|
304
|
+
"members":{
|
305
|
+
"timems":{"shape":"Long"},
|
306
|
+
"rid":{"shape":"String"}
|
307
|
+
}
|
308
|
+
},
|
309
|
+
"Suggester":{"type":"string"},
|
310
|
+
"SuggestionMatch":{
|
311
|
+
"type":"structure",
|
312
|
+
"members":{
|
313
|
+
"suggestion":{"shape":"String"},
|
314
|
+
"score":{"shape":"Long"},
|
315
|
+
"id":{"shape":"String"}
|
316
|
+
}
|
317
|
+
},
|
318
|
+
"Suggestions":{
|
319
|
+
"type":"list",
|
320
|
+
"member":{"shape":"SuggestionMatch"}
|
321
|
+
},
|
322
|
+
"SuggestionsSize":{"type":"long"},
|
323
|
+
"UploadDocumentsRequest":{
|
324
|
+
"type":"structure",
|
325
|
+
"required":[
|
326
|
+
"documents",
|
327
|
+
"contentType"
|
328
|
+
],
|
329
|
+
"members":{
|
330
|
+
"documents":{"shape":"Blob"},
|
331
|
+
"contentType":{
|
332
|
+
"shape":"ContentType",
|
333
|
+
"location":"header",
|
334
|
+
"locationName":"Content-Type"
|
335
|
+
}
|
336
|
+
},
|
337
|
+
"payload":"documents"
|
338
|
+
},
|
339
|
+
"UploadDocumentsResponse":{
|
340
|
+
"type":"structure",
|
341
|
+
"members":{
|
342
|
+
"status":{"shape":"String"},
|
343
|
+
"adds":{"shape":"Adds"},
|
344
|
+
"deletes":{"shape":"Deletes"},
|
345
|
+
"warnings":{"shape":"DocumentServiceWarnings"}
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
}
|
@@ -0,0 +1,559 @@
|
|
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
|
+
"operations":{
|
13
|
+
"CreateTrail":{
|
14
|
+
"name":"CreateTrail",
|
15
|
+
"http":{
|
16
|
+
"method":"POST",
|
17
|
+
"requestUri":"/"
|
18
|
+
},
|
19
|
+
"input":{"shape":"CreateTrailRequest"},
|
20
|
+
"output":{"shape":"CreateTrailResponse"},
|
21
|
+
"errors":[
|
22
|
+
{
|
23
|
+
"shape":"MaximumNumberOfTrailsExceededException",
|
24
|
+
"error":{
|
25
|
+
"code":"MaximumNumberOfTrailsExceeded",
|
26
|
+
"httpStatusCode":403,
|
27
|
+
"senderFault":true
|
28
|
+
},
|
29
|
+
"exception":true
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"shape":"TrailAlreadyExistsException",
|
33
|
+
"error":{
|
34
|
+
"code":"TrailAlreadyExists",
|
35
|
+
"httpStatusCode":400,
|
36
|
+
"senderFault":true
|
37
|
+
},
|
38
|
+
"exception":true
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"shape":"S3BucketDoesNotExistException",
|
42
|
+
"error":{
|
43
|
+
"code":"S3BucketDoesNotExist",
|
44
|
+
"httpStatusCode":404,
|
45
|
+
"senderFault":true
|
46
|
+
},
|
47
|
+
"exception":true
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"shape":"InsufficientS3BucketPolicyException",
|
51
|
+
"error":{
|
52
|
+
"code":"InsufficientS3BucketPolicy",
|
53
|
+
"httpStatusCode":403,
|
54
|
+
"senderFault":true
|
55
|
+
},
|
56
|
+
"exception":true
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"shape":"InsufficientSnsTopicPolicyException",
|
60
|
+
"error":{
|
61
|
+
"code":"InsufficientSnsTopicPolicy",
|
62
|
+
"httpStatusCode":403,
|
63
|
+
"senderFault":true
|
64
|
+
},
|
65
|
+
"exception":true
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"shape":"InvalidS3BucketNameException",
|
69
|
+
"error":{
|
70
|
+
"code":"InvalidS3BucketName",
|
71
|
+
"httpStatusCode":400,
|
72
|
+
"senderFault":true
|
73
|
+
},
|
74
|
+
"exception":true
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"shape":"InvalidS3PrefixException",
|
78
|
+
"error":{
|
79
|
+
"code":"InvalidS3Prefix",
|
80
|
+
"httpStatusCode":400,
|
81
|
+
"senderFault":true
|
82
|
+
},
|
83
|
+
"exception":true
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"shape":"InvalidSnsTopicNameException",
|
87
|
+
"error":{
|
88
|
+
"code":"InvalidSnsTopicName",
|
89
|
+
"httpStatusCode":400,
|
90
|
+
"senderFault":true
|
91
|
+
},
|
92
|
+
"exception":true
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"shape":"InvalidTrailNameException",
|
96
|
+
"error":{
|
97
|
+
"code":"InvalidTrailName",
|
98
|
+
"httpStatusCode":400,
|
99
|
+
"senderFault":true
|
100
|
+
},
|
101
|
+
"exception":true
|
102
|
+
}
|
103
|
+
]
|
104
|
+
},
|
105
|
+
"DeleteTrail":{
|
106
|
+
"name":"DeleteTrail",
|
107
|
+
"http":{
|
108
|
+
"method":"POST",
|
109
|
+
"requestUri":"/"
|
110
|
+
},
|
111
|
+
"input":{"shape":"DeleteTrailRequest"},
|
112
|
+
"output":{"shape":"DeleteTrailResponse"},
|
113
|
+
"errors":[
|
114
|
+
{
|
115
|
+
"shape":"TrailNotFoundException",
|
116
|
+
"error":{
|
117
|
+
"code":"TrailNotFound",
|
118
|
+
"httpStatusCode":404,
|
119
|
+
"senderFault":true
|
120
|
+
},
|
121
|
+
"exception":true
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"shape":"InvalidTrailNameException",
|
125
|
+
"error":{
|
126
|
+
"code":"InvalidTrailName",
|
127
|
+
"httpStatusCode":400,
|
128
|
+
"senderFault":true
|
129
|
+
},
|
130
|
+
"exception":true
|
131
|
+
}
|
132
|
+
]
|
133
|
+
},
|
134
|
+
"DescribeTrails":{
|
135
|
+
"name":"DescribeTrails",
|
136
|
+
"http":{
|
137
|
+
"method":"POST",
|
138
|
+
"requestUri":"/"
|
139
|
+
},
|
140
|
+
"input":{"shape":"DescribeTrailsRequest"},
|
141
|
+
"output":{"shape":"DescribeTrailsResponse"}
|
142
|
+
},
|
143
|
+
"GetTrailStatus":{
|
144
|
+
"name":"GetTrailStatus",
|
145
|
+
"http":{
|
146
|
+
"method":"POST",
|
147
|
+
"requestUri":"/"
|
148
|
+
},
|
149
|
+
"input":{"shape":"GetTrailStatusRequest"},
|
150
|
+
"output":{"shape":"GetTrailStatusResponse"},
|
151
|
+
"errors":[
|
152
|
+
{
|
153
|
+
"shape":"TrailNotFoundException",
|
154
|
+
"error":{
|
155
|
+
"code":"TrailNotFound",
|
156
|
+
"httpStatusCode":404,
|
157
|
+
"senderFault":true
|
158
|
+
},
|
159
|
+
"exception":true
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"shape":"InvalidTrailNameException",
|
163
|
+
"error":{
|
164
|
+
"code":"InvalidTrailName",
|
165
|
+
"httpStatusCode":400,
|
166
|
+
"senderFault":true
|
167
|
+
},
|
168
|
+
"exception":true
|
169
|
+
}
|
170
|
+
]
|
171
|
+
},
|
172
|
+
"StartLogging":{
|
173
|
+
"name":"StartLogging",
|
174
|
+
"http":{
|
175
|
+
"method":"POST",
|
176
|
+
"requestUri":"/"
|
177
|
+
},
|
178
|
+
"input":{"shape":"StartLoggingRequest"},
|
179
|
+
"output":{"shape":"StartLoggingResponse"},
|
180
|
+
"errors":[
|
181
|
+
{
|
182
|
+
"shape":"TrailNotFoundException",
|
183
|
+
"error":{
|
184
|
+
"code":"TrailNotFound",
|
185
|
+
"httpStatusCode":404,
|
186
|
+
"senderFault":true
|
187
|
+
},
|
188
|
+
"exception":true
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"shape":"InvalidTrailNameException",
|
192
|
+
"error":{
|
193
|
+
"code":"InvalidTrailName",
|
194
|
+
"httpStatusCode":400,
|
195
|
+
"senderFault":true
|
196
|
+
},
|
197
|
+
"exception":true
|
198
|
+
}
|
199
|
+
]
|
200
|
+
},
|
201
|
+
"StopLogging":{
|
202
|
+
"name":"StopLogging",
|
203
|
+
"http":{
|
204
|
+
"method":"POST",
|
205
|
+
"requestUri":"/"
|
206
|
+
},
|
207
|
+
"input":{"shape":"StopLoggingRequest"},
|
208
|
+
"output":{"shape":"StopLoggingResponse"},
|
209
|
+
"errors":[
|
210
|
+
{
|
211
|
+
"shape":"TrailNotFoundException",
|
212
|
+
"error":{
|
213
|
+
"code":"TrailNotFound",
|
214
|
+
"httpStatusCode":404,
|
215
|
+
"senderFault":true
|
216
|
+
},
|
217
|
+
"exception":true
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"shape":"InvalidTrailNameException",
|
221
|
+
"error":{
|
222
|
+
"code":"InvalidTrailName",
|
223
|
+
"httpStatusCode":400,
|
224
|
+
"senderFault":true
|
225
|
+
},
|
226
|
+
"exception":true
|
227
|
+
}
|
228
|
+
]
|
229
|
+
},
|
230
|
+
"UpdateTrail":{
|
231
|
+
"name":"UpdateTrail",
|
232
|
+
"http":{
|
233
|
+
"method":"POST",
|
234
|
+
"requestUri":"/"
|
235
|
+
},
|
236
|
+
"input":{"shape":"UpdateTrailRequest"},
|
237
|
+
"output":{"shape":"UpdateTrailResponse"},
|
238
|
+
"errors":[
|
239
|
+
{
|
240
|
+
"shape":"S3BucketDoesNotExistException",
|
241
|
+
"error":{
|
242
|
+
"code":"S3BucketDoesNotExist",
|
243
|
+
"httpStatusCode":404,
|
244
|
+
"senderFault":true
|
245
|
+
},
|
246
|
+
"exception":true
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"shape":"InsufficientS3BucketPolicyException",
|
250
|
+
"error":{
|
251
|
+
"code":"InsufficientS3BucketPolicy",
|
252
|
+
"httpStatusCode":403,
|
253
|
+
"senderFault":true
|
254
|
+
},
|
255
|
+
"exception":true
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"shape":"InsufficientSnsTopicPolicyException",
|
259
|
+
"error":{
|
260
|
+
"code":"InsufficientSnsTopicPolicy",
|
261
|
+
"httpStatusCode":403,
|
262
|
+
"senderFault":true
|
263
|
+
},
|
264
|
+
"exception":true
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"shape":"TrailNotFoundException",
|
268
|
+
"error":{
|
269
|
+
"code":"TrailNotFound",
|
270
|
+
"httpStatusCode":404,
|
271
|
+
"senderFault":true
|
272
|
+
},
|
273
|
+
"exception":true
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"shape":"InvalidS3BucketNameException",
|
277
|
+
"error":{
|
278
|
+
"code":"InvalidS3BucketName",
|
279
|
+
"httpStatusCode":400,
|
280
|
+
"senderFault":true
|
281
|
+
},
|
282
|
+
"exception":true
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"shape":"InvalidS3PrefixException",
|
286
|
+
"error":{
|
287
|
+
"code":"InvalidS3Prefix",
|
288
|
+
"httpStatusCode":400,
|
289
|
+
"senderFault":true
|
290
|
+
},
|
291
|
+
"exception":true
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"shape":"InvalidSnsTopicNameException",
|
295
|
+
"error":{
|
296
|
+
"code":"InvalidSnsTopicName",
|
297
|
+
"httpStatusCode":400,
|
298
|
+
"senderFault":true
|
299
|
+
},
|
300
|
+
"exception":true
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"shape":"InvalidTrailNameException",
|
304
|
+
"error":{
|
305
|
+
"code":"InvalidTrailName",
|
306
|
+
"httpStatusCode":400,
|
307
|
+
"senderFault":true
|
308
|
+
},
|
309
|
+
"exception":true
|
310
|
+
}
|
311
|
+
]
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"shapes":{
|
315
|
+
"Boolean":{"type":"boolean"},
|
316
|
+
"CreateTrailRequest":{
|
317
|
+
"type":"structure",
|
318
|
+
"required":[
|
319
|
+
"Name",
|
320
|
+
"S3BucketName"
|
321
|
+
],
|
322
|
+
"members":{
|
323
|
+
"Name":{"shape":"String"},
|
324
|
+
"S3BucketName":{"shape":"String"},
|
325
|
+
"S3KeyPrefix":{"shape":"String"},
|
326
|
+
"SnsTopicName":{"shape":"String"},
|
327
|
+
"IncludeGlobalServiceEvents":{"shape":"Boolean"}
|
328
|
+
}
|
329
|
+
},
|
330
|
+
"CreateTrailResponse":{
|
331
|
+
"type":"structure",
|
332
|
+
"members":{
|
333
|
+
"Name":{"shape":"String"},
|
334
|
+
"S3BucketName":{"shape":"String"},
|
335
|
+
"S3KeyPrefix":{"shape":"String"},
|
336
|
+
"SnsTopicName":{"shape":"String"},
|
337
|
+
"IncludeGlobalServiceEvents":{"shape":"Boolean"}
|
338
|
+
}
|
339
|
+
},
|
340
|
+
"Date":{"type":"timestamp"},
|
341
|
+
"DeleteTrailRequest":{
|
342
|
+
"type":"structure",
|
343
|
+
"required":["Name"],
|
344
|
+
"members":{
|
345
|
+
"Name":{"shape":"String"}
|
346
|
+
}
|
347
|
+
},
|
348
|
+
"DeleteTrailResponse":{
|
349
|
+
"type":"structure",
|
350
|
+
"members":{
|
351
|
+
}
|
352
|
+
},
|
353
|
+
"DescribeTrailsRequest":{
|
354
|
+
"type":"structure",
|
355
|
+
"members":{
|
356
|
+
"trailNameList":{"shape":"TrailNameList"}
|
357
|
+
}
|
358
|
+
},
|
359
|
+
"DescribeTrailsResponse":{
|
360
|
+
"type":"structure",
|
361
|
+
"members":{
|
362
|
+
"trailList":{"shape":"TrailList"}
|
363
|
+
}
|
364
|
+
},
|
365
|
+
"GetTrailStatusRequest":{
|
366
|
+
"type":"structure",
|
367
|
+
"required":["Name"],
|
368
|
+
"members":{
|
369
|
+
"Name":{"shape":"String"}
|
370
|
+
}
|
371
|
+
},
|
372
|
+
"GetTrailStatusResponse":{
|
373
|
+
"type":"structure",
|
374
|
+
"members":{
|
375
|
+
"IsLogging":{"shape":"Boolean"},
|
376
|
+
"LatestDeliveryError":{"shape":"String"},
|
377
|
+
"LatestNotificationError":{"shape":"String"},
|
378
|
+
"LatestDeliveryTime":{"shape":"Date"},
|
379
|
+
"LatestNotificationTime":{"shape":"Date"},
|
380
|
+
"StartLoggingTime":{"shape":"Date"},
|
381
|
+
"StopLoggingTime":{"shape":"Date"}
|
382
|
+
}
|
383
|
+
},
|
384
|
+
"InsufficientS3BucketPolicyException":{
|
385
|
+
"type":"structure",
|
386
|
+
"members":{
|
387
|
+
},
|
388
|
+
"error":{
|
389
|
+
"code":"InsufficientS3BucketPolicy",
|
390
|
+
"httpStatusCode":403,
|
391
|
+
"senderFault":true
|
392
|
+
},
|
393
|
+
"exception":true
|
394
|
+
},
|
395
|
+
"InsufficientSnsTopicPolicyException":{
|
396
|
+
"type":"structure",
|
397
|
+
"members":{
|
398
|
+
},
|
399
|
+
"error":{
|
400
|
+
"code":"InsufficientSnsTopicPolicy",
|
401
|
+
"httpStatusCode":403,
|
402
|
+
"senderFault":true
|
403
|
+
},
|
404
|
+
"exception":true
|
405
|
+
},
|
406
|
+
"InvalidS3BucketNameException":{
|
407
|
+
"type":"structure",
|
408
|
+
"members":{
|
409
|
+
},
|
410
|
+
"error":{
|
411
|
+
"code":"InvalidS3BucketName",
|
412
|
+
"httpStatusCode":400,
|
413
|
+
"senderFault":true
|
414
|
+
},
|
415
|
+
"exception":true
|
416
|
+
},
|
417
|
+
"InvalidS3PrefixException":{
|
418
|
+
"type":"structure",
|
419
|
+
"members":{
|
420
|
+
},
|
421
|
+
"error":{
|
422
|
+
"code":"InvalidS3Prefix",
|
423
|
+
"httpStatusCode":400,
|
424
|
+
"senderFault":true
|
425
|
+
},
|
426
|
+
"exception":true
|
427
|
+
},
|
428
|
+
"InvalidSnsTopicNameException":{
|
429
|
+
"type":"structure",
|
430
|
+
"members":{
|
431
|
+
},
|
432
|
+
"error":{
|
433
|
+
"code":"InvalidSnsTopicName",
|
434
|
+
"httpStatusCode":400,
|
435
|
+
"senderFault":true
|
436
|
+
},
|
437
|
+
"exception":true
|
438
|
+
},
|
439
|
+
"InvalidTrailNameException":{
|
440
|
+
"type":"structure",
|
441
|
+
"members":{
|
442
|
+
},
|
443
|
+
"error":{
|
444
|
+
"code":"InvalidTrailName",
|
445
|
+
"httpStatusCode":400,
|
446
|
+
"senderFault":true
|
447
|
+
},
|
448
|
+
"exception":true
|
449
|
+
},
|
450
|
+
"MaximumNumberOfTrailsExceededException":{
|
451
|
+
"type":"structure",
|
452
|
+
"members":{
|
453
|
+
},
|
454
|
+
"error":{
|
455
|
+
"code":"MaximumNumberOfTrailsExceeded",
|
456
|
+
"httpStatusCode":403,
|
457
|
+
"senderFault":true
|
458
|
+
},
|
459
|
+
"exception":true
|
460
|
+
},
|
461
|
+
"S3BucketDoesNotExistException":{
|
462
|
+
"type":"structure",
|
463
|
+
"members":{
|
464
|
+
},
|
465
|
+
"error":{
|
466
|
+
"code":"S3BucketDoesNotExist",
|
467
|
+
"httpStatusCode":404,
|
468
|
+
"senderFault":true
|
469
|
+
},
|
470
|
+
"exception":true
|
471
|
+
},
|
472
|
+
"StartLoggingRequest":{
|
473
|
+
"type":"structure",
|
474
|
+
"required":["Name"],
|
475
|
+
"members":{
|
476
|
+
"Name":{"shape":"String"}
|
477
|
+
}
|
478
|
+
},
|
479
|
+
"StartLoggingResponse":{
|
480
|
+
"type":"structure",
|
481
|
+
"members":{
|
482
|
+
}
|
483
|
+
},
|
484
|
+
"StopLoggingRequest":{
|
485
|
+
"type":"structure",
|
486
|
+
"required":["Name"],
|
487
|
+
"members":{
|
488
|
+
"Name":{"shape":"String"}
|
489
|
+
}
|
490
|
+
},
|
491
|
+
"StopLoggingResponse":{
|
492
|
+
"type":"structure",
|
493
|
+
"members":{
|
494
|
+
}
|
495
|
+
},
|
496
|
+
"String":{"type":"string"},
|
497
|
+
"Trail":{
|
498
|
+
"type":"structure",
|
499
|
+
"members":{
|
500
|
+
"Name":{"shape":"String"},
|
501
|
+
"S3BucketName":{"shape":"String"},
|
502
|
+
"S3KeyPrefix":{"shape":"String"},
|
503
|
+
"SnsTopicName":{"shape":"String"},
|
504
|
+
"IncludeGlobalServiceEvents":{"shape":"Boolean"}
|
505
|
+
}
|
506
|
+
},
|
507
|
+
"TrailAlreadyExistsException":{
|
508
|
+
"type":"structure",
|
509
|
+
"members":{
|
510
|
+
},
|
511
|
+
"error":{
|
512
|
+
"code":"TrailAlreadyExists",
|
513
|
+
"httpStatusCode":400,
|
514
|
+
"senderFault":true
|
515
|
+
},
|
516
|
+
"exception":true
|
517
|
+
},
|
518
|
+
"TrailList":{
|
519
|
+
"type":"list",
|
520
|
+
"member":{"shape":"Trail"}
|
521
|
+
},
|
522
|
+
"TrailNameList":{
|
523
|
+
"type":"list",
|
524
|
+
"member":{"shape":"String"}
|
525
|
+
},
|
526
|
+
"TrailNotFoundException":{
|
527
|
+
"type":"structure",
|
528
|
+
"members":{
|
529
|
+
},
|
530
|
+
"error":{
|
531
|
+
"code":"TrailNotFound",
|
532
|
+
"httpStatusCode":404,
|
533
|
+
"senderFault":true
|
534
|
+
},
|
535
|
+
"exception":true
|
536
|
+
},
|
537
|
+
"UpdateTrailRequest":{
|
538
|
+
"type":"structure",
|
539
|
+
"required":["Name"],
|
540
|
+
"members":{
|
541
|
+
"Name":{"shape":"String"},
|
542
|
+
"S3BucketName":{"shape":"String"},
|
543
|
+
"S3KeyPrefix":{"shape":"String"},
|
544
|
+
"SnsTopicName":{"shape":"String"},
|
545
|
+
"IncludeGlobalServiceEvents":{"shape":"Boolean"}
|
546
|
+
}
|
547
|
+
},
|
548
|
+
"UpdateTrailResponse":{
|
549
|
+
"type":"structure",
|
550
|
+
"members":{
|
551
|
+
"Name":{"shape":"String"},
|
552
|
+
"S3BucketName":{"shape":"String"},
|
553
|
+
"S3KeyPrefix":{"shape":"String"},
|
554
|
+
"SnsTopicName":{"shape":"String"},
|
555
|
+
"IncludeGlobalServiceEvents":{"shape":"Boolean"}
|
556
|
+
}
|
557
|
+
}
|
558
|
+
}
|
559
|
+
}
|