aws-sdk-core 2.9.44 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (630) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core/client_stubs.rb +1 -2
  4. data/lib/aws-sdk-core/credential_provider.rb +2 -0
  5. data/lib/aws-sdk-core/credential_provider_chain.rb +2 -1
  6. data/lib/aws-sdk-core/errors.rb +19 -8
  7. data/lib/aws-sdk-core/ini_parser.rb +1 -0
  8. data/lib/aws-sdk-core/json/handler.rb +3 -2
  9. data/lib/aws-sdk-core/json/parser.rb +1 -1
  10. data/lib/aws-sdk-core/json.rb +4 -5
  11. data/lib/aws-sdk-core/log/param_filter.rb +4 -3
  12. data/lib/aws-sdk-core/pageable_response.rb +1 -0
  13. data/lib/aws-sdk-core/pager.rb +30 -25
  14. data/lib/aws-sdk-core/param_converter.rb +3 -3
  15. data/lib/aws-sdk-core/param_validator.rb +10 -4
  16. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +62 -0
  17. data/lib/aws-sdk-core/plugins/global_configuration.rb +19 -10
  18. data/lib/aws-sdk-core/plugins/idempotency_token.rb +1 -2
  19. data/lib/aws-sdk-core/plugins/logging.rb +18 -18
  20. data/lib/aws-sdk-core/plugins/param_converter.rb +9 -5
  21. data/lib/aws-sdk-core/plugins/param_validator.rb +8 -5
  22. data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -1
  23. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +13 -12
  24. data/lib/aws-sdk-core/plugins/protocols/query.rb +2 -2
  25. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +23 -15
  26. data/lib/aws-sdk-core/plugins/response_paging.rb +5 -18
  27. data/lib/aws-sdk-core/plugins/retry_errors.rb +11 -8
  28. data/lib/aws-sdk-core/plugins/signature_v2.rb +51 -0
  29. data/lib/aws-sdk-core/plugins/signature_v4.rb +139 -0
  30. data/lib/aws-sdk-core/plugins/stub_responses.rb +13 -11
  31. data/lib/aws-sdk-core/plugins/user_agent.rb +17 -6
  32. data/lib/aws-sdk-core/query/handler.rb +15 -16
  33. data/lib/aws-sdk-core/query/param_builder.rb +1 -1
  34. data/lib/aws-sdk-core/query.rb +5 -0
  35. data/lib/aws-sdk-core/resources/collection.rb +121 -0
  36. data/lib/aws-sdk-core/rest/handler.rb +1 -0
  37. data/lib/aws-sdk-core/rest/response/parser.rb +14 -14
  38. data/lib/aws-sdk-core/rest.rb +10 -0
  39. data/lib/aws-sdk-core/shared_config.rb +1 -1
  40. data/lib/aws-sdk-core/shared_credentials.rb +2 -0
  41. data/lib/aws-sdk-core/structure.rb +17 -12
  42. data/lib/aws-sdk-core/stubbing/data_applicator.rb +1 -1
  43. data/lib/aws-sdk-core/stubbing/empty_stub.rb +6 -2
  44. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +1 -1
  45. data/lib/aws-sdk-core/stubbing/stub_data.rb +4 -0
  46. data/lib/aws-sdk-core/util.rb +39 -0
  47. data/lib/aws-sdk-core/version.rb +1 -1
  48. data/lib/aws-sdk-core/waiters/poller.rb +5 -9
  49. data/lib/aws-sdk-core/waiters/waiter.rb +1 -0
  50. data/lib/aws-sdk-core/waiters.rb +3 -0
  51. data/lib/aws-sdk-core/xml/builder.rb +2 -2
  52. data/lib/aws-sdk-core/xml/error_handler.rb +1 -2
  53. data/lib/aws-sdk-core/xml/parser/frame.rb +4 -4
  54. data/lib/aws-sdk-core/xml/parser.rb +1 -11
  55. data/lib/aws-sdk-core/xml.rb +9 -0
  56. data/lib/aws-sdk-core.rb +66 -454
  57. data/lib/aws-sdk-sts/client.rb +1439 -0
  58. data/lib/aws-sdk-sts/client_api.rb +264 -0
  59. data/lib/aws-sdk-sts/customizations.rb +0 -0
  60. data/lib/aws-sdk-sts/errors.rb +14 -0
  61. data/lib/aws-sdk-sts/resource.rb +23 -0
  62. data/lib/aws-sdk-sts/types.rb +919 -0
  63. data/lib/aws-sdk-sts.rb +45 -0
  64. data/lib/seahorse/client/base.rb +1 -7
  65. data/lib/seahorse/client/logging/formatter.rb +2 -0
  66. data/lib/seahorse/client/logging/handler.rb +2 -0
  67. data/lib/seahorse/client/net_http/connection_pool.rb +3 -0
  68. data/lib/seahorse/client/net_http/handler.rb +2 -0
  69. data/lib/seahorse/client/net_http/patches.rb +1 -0
  70. data/lib/seahorse/client/plugin.rb +66 -6
  71. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  72. data/lib/seahorse/client/plugins/logging.rb +17 -19
  73. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  74. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  75. data/lib/seahorse/client/plugins/response_target.rb +2 -0
  76. data/lib/seahorse/model/api.rb +4 -0
  77. data/lib/seahorse/model/shapes.rb +18 -2
  78. data/lib/seahorse/util.rb +0 -20
  79. data/lib/seahorse.rb +50 -60
  80. metadata +36 -557
  81. data/apis/acm/2015-12-08/api-2.json +0 -595
  82. data/apis/acm/2015-12-08/examples-1.json +0 -5
  83. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  84. data/apis/apigateway/2015-07-09/api-2.json +0 -4733
  85. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  86. data/apis/apigateway/2015-07-09/paginators-1.json +0 -70
  87. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -601
  88. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -257
  89. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -22
  90. data/apis/appstream/2016-12-01/api-2.json +0 -944
  91. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  92. data/apis/appstream/2016-12-01/paginators-1.json +0 -4
  93. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  94. data/apis/athena/2017-05-18/api-2.json +0 -615
  95. data/apis/athena/2017-05-18/examples-1.json +0 -5
  96. data/apis/athena/2017-05-18/paginators-1.json +0 -19
  97. data/apis/autoscaling/2011-01-01/api-2.json +0 -2172
  98. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  99. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  100. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  101. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  102. data/apis/batch/2016-08-10/api-2.json +0 -920
  103. data/apis/batch/2016-08-10/examples-1.json +0 -589
  104. data/apis/batch/2016-08-10/paginators-1.json +0 -4
  105. data/apis/budgets/2016-10-20/api-2.json +0 -697
  106. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  107. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  108. data/apis/clouddirectory/2016-05-10/api-2.json +0 -3595
  109. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  110. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  111. data/apis/cloudformation/2010-05-15/api-2.json +0 -1464
  112. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  113. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -37
  114. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  115. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
  116. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  117. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  118. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  119. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  120. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  121. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  122. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  123. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  124. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  125. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  126. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  127. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  128. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  129. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  130. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  131. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  132. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  133. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  134. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  135. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  136. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  137. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  138. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  139. data/apis/cloudfront/2017-03-25/api-2.json +0 -2689
  140. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  141. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  142. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  143. data/apis/cloudhsm/2014-05-30/api-2.json +0 -878
  144. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  145. data/apis/cloudsearch/2013-01-01/api-2.json +0 -2002
  146. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
  147. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  148. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  149. data/apis/cloudtrail/2013-11-01/api-2.json +0 -912
  150. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  151. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -13
  152. data/apis/codebuild/2016-10-06/api-2.json +0 -704
  153. data/apis/codebuild/2016-10-06/examples-1.json +0 -5
  154. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  155. data/apis/codecommit/2015-04-13/api-2.json +0 -1112
  156. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  157. data/apis/codecommit/2015-04-13/paginators-1.json +0 -19
  158. data/apis/codedeploy/2014-10-06/api-2.json +0 -2380
  159. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  160. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  161. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  162. data/apis/codepipeline/2015-07-09/api-2.json +0 -1714
  163. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  164. data/apis/codestar/2017-04-19/api-2.json +0 -755
  165. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  166. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  167. data/apis/cognito-identity/2014-06-30/api-2.json +0 -943
  168. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  169. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  170. data/apis/cognito-idp/2016-04-18/api-2.json +0 -3847
  171. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  172. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -4
  173. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  174. data/apis/config/2014-11-12/api-2.json +0 -1418
  175. data/apis/config/2014-11-12/examples-1.json +0 -5
  176. data/apis/config/2014-11-12/paginators-1.json +0 -10
  177. data/apis/cur/2017-01-06/api-2.json +0 -226
  178. data/apis/cur/2017-01-06/examples-1.json +0 -5
  179. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  180. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  181. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  182. data/apis/devicefarm/2015-06-23/api-2.json +0 -2312
  183. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  184. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  185. data/apis/directconnect/2012-10-25/api-2.json +0 -1351
  186. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  187. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  188. data/apis/discovery/2015-11-01/api-2.json +0 -938
  189. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  190. data/apis/discovery/2015-11-01/paginators-1.json +0 -4
  191. data/apis/dms/2016-01-01/api-2.json +0 -1881
  192. data/apis/dms/2016-01-01/examples-1.json +0 -1053
  193. data/apis/dms/2016-01-01/paginators-1.json +0 -64
  194. data/apis/ds/2015-04-16/api-2.json +0 -1972
  195. data/apis/ds/2015-04-16/examples-1.json +0 -5
  196. data/apis/dynamodb/2011-12-05/api-2.json +0 -802
  197. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  198. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  199. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  200. data/apis/dynamodb/2012-08-10/api-2.json +0 -1405
  201. data/apis/dynamodb/2012-08-10/examples-1.json +0 -628
  202. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  203. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  204. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  205. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  206. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  207. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  208. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  209. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  210. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  211. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  212. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  213. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  214. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  215. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  216. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  217. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  218. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  219. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  220. data/apis/ec2/2016-11-15/api-2.json +0 -15590
  221. data/apis/ec2/2016-11-15/examples-1.json +0 -3740
  222. data/apis/ec2/2016-11-15/paginators-1.json +0 -144
  223. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  224. data/apis/ec2/2016-11-15/waiters-2.json +0 -611
  225. data/apis/ecr/2015-09-21/api-2.json +0 -947
  226. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  227. data/apis/ecr/2015-09-21/paginators-1.json +0 -22
  228. data/apis/ecs/2014-11-13/api-2.json +0 -1629
  229. data/apis/ecs/2014-11-13/examples-1.json +0 -883
  230. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  231. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  232. data/apis/elasticache/2015-02-02/api-2.json +0 -2550
  233. data/apis/elasticache/2015-02-02/examples-1.json +0 -3145
  234. data/apis/elasticache/2015-02-02/paginators-1.json +0 -76
  235. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  236. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2332
  237. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  238. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  239. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -714
  240. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -222
  241. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1629
  242. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  243. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  244. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -49
  245. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -1867
  246. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  247. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  248. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -64
  249. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2056
  250. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  251. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -37
  252. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  253. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1483
  254. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  255. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  256. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  257. data/apis/email/2010-12-01/api-2.json +0 -2212
  258. data/apis/email/2010-12-01/examples-1.json +0 -953
  259. data/apis/email/2010-12-01/paginators-1.json +0 -13
  260. data/apis/email/2010-12-01/waiters-2.json +0 -18
  261. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  262. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  263. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  264. data/apis/es/2015-01-01/api-2.json +0 -862
  265. data/apis/es/2015-01-01/examples-1.json +0 -5
  266. data/apis/es/2015-01-01/paginators-1.json +0 -14
  267. data/apis/events/2015-10-07/api-2.json +0 -649
  268. data/apis/events/2015-10-07/examples-1.json +0 -5
  269. data/apis/events/2015-10-07/paginators-1.json +0 -4
  270. data/apis/firehose/2015-08-04/api-2.json +0 -866
  271. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  272. data/apis/gamelift/2015-10-01/api-2.json +0 -2316
  273. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  274. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  275. data/apis/glacier/2012-06-01/api-2.json +0 -1734
  276. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  277. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  278. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  279. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  280. data/apis/greengrass/2017-06-07/api-2.json +0 -3451
  281. data/apis/health/2016-08-04/api-2.json +0 -547
  282. data/apis/health/2016-08-04/examples-1.json +0 -5
  283. data/apis/health/2016-08-04/paginators-1.json +0 -31
  284. data/apis/iam/2010-05-08/api-2.json +0 -4832
  285. data/apis/iam/2010-05-08/examples-1.json +0 -1191
  286. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  287. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  288. data/apis/iam/2010-05-08/waiters-2.json +0 -39
  289. data/apis/importexport/2010-06-01/api-2.json +0 -667
  290. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  291. data/apis/inspector/2016-02-16/api-2.json +0 -2051
  292. data/apis/inspector/2016-02-16/examples-1.json +0 -1147
  293. data/apis/inspector/2016-02-16/paginators-1.json +0 -4
  294. data/apis/iot/2015-05-28/api-2.json +0 -2928
  295. data/apis/iot/2015-05-28/examples-1.json +0 -5
  296. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  297. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  298. data/apis/kinesis/2013-12-02/api-2.json +0 -890
  299. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  300. data/apis/kinesis/2013-12-02/paginators-1.json +0 -18
  301. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  302. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1175
  303. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  304. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  305. data/apis/kms/2014-11-01/api-2.json +0 -1492
  306. data/apis/kms/2014-11-01/examples-1.json +0 -904
  307. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  308. data/apis/lambda/2014-11-11/api-2.json +0 -668
  309. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  310. data/apis/lambda/2015-03-31/api-2.json +0 -1647
  311. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  312. data/apis/lambda/2015-03-31/paginators-1.json +0 -16
  313. data/apis/lex-models/2017-04-19/api-2.json +0 -2033
  314. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  315. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  316. data/apis/lightsail/2016-11-28/api-2.json +0 -2187
  317. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  318. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  319. data/apis/logs/2014-03-28/api-2.json +0 -1246
  320. data/apis/logs/2014-03-28/examples-1.json +0 -5
  321. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  322. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  323. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  324. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  325. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  326. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -171
  327. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  328. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  329. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -263
  330. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  331. data/apis/monitoring/2010-08-01/api-2.json +0 -827
  332. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  333. data/apis/monitoring/2010-08-01/paginators-1.json +0 -24
  334. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  335. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  336. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1665
  337. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  338. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  339. data/apis/opsworks/2013-02-18/api-2.json +0 -2839
  340. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  341. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  342. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  343. data/apis/opsworks/2013-02-18/waiters-2.json +0 -295
  344. data/apis/opsworkscm/2016-11-01/api-2.json +0 -730
  345. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  346. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  347. data/apis/organizations/2016-11-28/api-2.json +0 -2006
  348. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  349. data/apis/organizations/2016-11-28/paginators-1.json +0 -64
  350. data/apis/pinpoint/2016-12-01/api-2.json +0 -3949
  351. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  352. data/apis/polly/2016-06-10/api-2.json +0 -539
  353. data/apis/polly/2016-06-10/examples-1.json +0 -171
  354. data/apis/polly/2016-06-10/paginators-1.json +0 -4
  355. data/apis/rds/2013-01-10/api-2.json +0 -2902
  356. data/apis/rds/2013-01-10/examples-1.json +0 -5
  357. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  358. data/apis/rds/2013-02-12/api-2.json +0 -3058
  359. data/apis/rds/2013-02-12/examples-1.json +0 -5
  360. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  361. data/apis/rds/2013-09-09/api-2.json +0 -3159
  362. data/apis/rds/2013-09-09/examples-1.json +0 -5
  363. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  364. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  365. data/apis/rds/2014-09-01/api-2.json +0 -3272
  366. data/apis/rds/2014-09-01/examples-1.json +0 -5
  367. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  368. data/apis/rds/2014-10-31/api-2.json +0 -5187
  369. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  370. data/apis/rds/2014-10-31/paginators-1.json +0 -110
  371. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  372. data/apis/rds/2014-10-31/waiters-2.json +0 -90
  373. data/apis/redshift/2012-12-01/api-2.json +0 -3840
  374. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  375. data/apis/redshift/2012-12-01/paginators-1.json +0 -94
  376. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  377. data/apis/rekognition/2016-06-27/api-2.json +0 -992
  378. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  379. data/apis/rekognition/2016-06-27/paginators-1.json +0 -16
  380. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -328
  381. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  382. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  383. data/apis/route53/2013-04-01/api-2.json +0 -3312
  384. data/apis/route53/2013-04-01/examples-1.json +0 -762
  385. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  386. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  387. data/apis/route53domains/2014-05-15/api-2.json +0 -1323
  388. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  389. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  390. data/apis/runtime.lex/2016-11-28/api-2.json +0 -390
  391. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  392. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  393. data/apis/s3/2006-03-01/api-2.json +0 -5368
  394. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  395. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  396. data/apis/s3/2006-03-01/resources-1.json +0 -1176
  397. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  398. data/apis/sdb/2009-04-15/api-2.json +0 -955
  399. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  400. data/apis/servicecatalog/2015-12-10/api-2.json +0 -2022
  401. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  402. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -4
  403. data/apis/shield/2016-06-02/api-2.json +0 -494
  404. data/apis/shield/2016-06-02/examples-1.json +0 -5
  405. data/apis/sms/2016-10-24/api-2.json +0 -612
  406. data/apis/sms/2016-10-24/examples-1.json +0 -5
  407. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  408. data/apis/snowball/2016-06-30/api-2.json +0 -855
  409. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  410. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  411. data/apis/sns/2010-03-31/api-2.json +0 -1145
  412. data/apis/sns/2010-03-31/examples-1.json +0 -5
  413. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  414. data/apis/sns/2010-03-31/resources-1.json +0 -327
  415. data/apis/sqs/2012-11-05/api-2.json +0 -988
  416. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  417. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  418. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  419. data/apis/ssm/2014-11-06/api-2.json +0 -5317
  420. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  421. data/apis/ssm/2014-11-06/paginators-1.json +0 -40
  422. data/apis/states/2016-11-23/api-2.json +0 -1021
  423. data/apis/states/2016-11-23/examples-1.json +0 -5
  424. data/apis/states/2016-11-23/paginators-1.json +0 -28
  425. data/apis/storagegateway/2013-06-30/api-2.json +0 -2591
  426. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  427. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -52
  428. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  429. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  430. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  431. data/apis/sts/2011-06-15/api-2.json +0 -522
  432. data/apis/sts/2011-06-15/examples-1.json +0 -206
  433. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  434. data/apis/support/2013-04-15/api-2.json +0 -772
  435. data/apis/support/2013-04-15/examples-1.json +0 -5
  436. data/apis/support/2013-04-15/paginators-1.json +0 -25
  437. data/apis/swf/2012-01-25/api-2.json +0 -2839
  438. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  439. data/apis/waf/2015-08-24/api-2.json +0 -1959
  440. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  441. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  442. data/apis/waf-regional/2016-11-28/api-2.json +0 -2090
  443. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  444. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  445. data/apis/workdocs/2016-05-01/api-2.json +0 -2684
  446. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  447. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  448. data/apis/workspaces/2015-04-08/api-2.json +0 -840
  449. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  450. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  451. data/apis/xray/2016-04-12/api-2.json +0 -492
  452. data/apis/xray/2016-04-12/examples-1.json +0 -5
  453. data/apis/xray/2016-04-12/paginators-1.json +0 -4
  454. data/bin/aws.rb +0 -180
  455. data/endpoints.json +0 -1935
  456. data/lib/aws-sdk-core/acm.rb +0 -6
  457. data/lib/aws-sdk-core/api/builder.rb +0 -106
  458. data/lib/aws-sdk-core/api/customizations.rb +0 -262
  459. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  460. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  461. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  462. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  463. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  464. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  465. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  466. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  467. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  468. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  469. data/lib/aws-sdk-core/api/shape_map.rb +0 -142
  470. data/lib/aws-sdk-core/apigateway.rb +0 -6
  471. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  472. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  473. data/lib/aws-sdk-core/appstream.rb +0 -7
  474. data/lib/aws-sdk-core/athena.rb +0 -6
  475. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  476. data/lib/aws-sdk-core/batch.rb +0 -6
  477. data/lib/aws-sdk-core/budgets.rb +0 -6
  478. data/lib/aws-sdk-core/checksums.rb +0 -51
  479. data/lib/aws-sdk-core/client.rb +0 -60
  480. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  481. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  482. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  483. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  484. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  485. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  486. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  487. data/lib/aws-sdk-core/cloudhsm.rb +0 -5
  488. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  489. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  490. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  491. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  492. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  493. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  494. data/lib/aws-sdk-core/codebuild.rb +0 -6
  495. data/lib/aws-sdk-core/codecommit.rb +0 -6
  496. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  497. data/lib/aws-sdk-core/codepipeline.rb +0 -5
  498. data/lib/aws-sdk-core/codestar.rb +0 -6
  499. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  500. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  501. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  502. data/lib/aws-sdk-core/configservice.rb +0 -6
  503. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  504. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -6
  505. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  506. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  507. data/lib/aws-sdk-core/directconnect.rb +0 -6
  508. data/lib/aws-sdk-core/directoryservice.rb +0 -5
  509. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  510. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  511. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  512. data/lib/aws-sdk-core/ec2.rb +0 -8
  513. data/lib/aws-sdk-core/ecr.rb +0 -6
  514. data/lib/aws-sdk-core/ecs.rb +0 -7
  515. data/lib/aws-sdk-core/efs.rb +0 -5
  516. data/lib/aws-sdk-core/elasticache.rb +0 -7
  517. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  518. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  519. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  520. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  521. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  522. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  523. data/lib/aws-sdk-core/emr.rb +0 -7
  524. data/lib/aws-sdk-core/endpoint_provider.rb +0 -104
  525. data/lib/aws-sdk-core/firehose.rb +0 -5
  526. data/lib/aws-sdk-core/gamelift.rb +0 -6
  527. data/lib/aws-sdk-core/glacier.rb +0 -8
  528. data/lib/aws-sdk-core/greengrass.rb +0 -4
  529. data/lib/aws-sdk-core/health.rb +0 -6
  530. data/lib/aws-sdk-core/iam.rb +0 -8
  531. data/lib/aws-sdk-core/importexport.rb +0 -5
  532. data/lib/aws-sdk-core/inspector.rb +0 -6
  533. data/lib/aws-sdk-core/iot.rb +0 -6
  534. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  535. data/lib/aws-sdk-core/kinesis.rb +0 -7
  536. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  537. data/lib/aws-sdk-core/kms.rb +0 -6
  538. data/lib/aws-sdk-core/lambda.rb +0 -6
  539. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  540. data/lib/aws-sdk-core/lex.rb +0 -6
  541. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  542. data/lib/aws-sdk-core/lightsail.rb +0 -6
  543. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  544. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  545. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  546. data/lib/aws-sdk-core/marketplacemetering.rb +0 -5
  547. data/lib/aws-sdk-core/mturk.rb +0 -6
  548. data/lib/aws-sdk-core/opsworks.rb +0 -8
  549. data/lib/aws-sdk-core/opsworkscm.rb +0 -6
  550. data/lib/aws-sdk-core/organizations.rb +0 -6
  551. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  552. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  553. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  554. data/lib/aws-sdk-core/partitions/service.rb +0 -74
  555. data/lib/aws-sdk-core/partitions.rb +0 -174
  556. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  557. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  558. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  559. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  560. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  561. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  562. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  563. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  564. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  565. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  566. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  567. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  568. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  569. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  570. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  571. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  572. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  573. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  574. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  575. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  576. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  577. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  578. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  579. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  580. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  581. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  582. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  583. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  584. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  585. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  586. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -162
  587. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  588. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  589. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  590. data/lib/aws-sdk-core/polly.rb +0 -14
  591. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  592. data/lib/aws-sdk-core/rds.rb +0 -16
  593. data/lib/aws-sdk-core/redshift.rb +0 -7
  594. data/lib/aws-sdk-core/rekognition.rb +0 -6
  595. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  596. data/lib/aws-sdk-core/route53.rb +0 -7
  597. data/lib/aws-sdk-core/route53domains.rb +0 -6
  598. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  599. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  600. data/lib/aws-sdk-core/s3.rb +0 -26
  601. data/lib/aws-sdk-core/service.rb +0 -4
  602. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  603. data/lib/aws-sdk-core/ses.rb +0 -7
  604. data/lib/aws-sdk-core/shield.rb +0 -5
  605. data/lib/aws-sdk-core/signers/base.rb +0 -31
  606. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  607. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  608. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  609. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  610. data/lib/aws-sdk-core/simpledb.rb +0 -5
  611. data/lib/aws-sdk-core/sms.rb +0 -6
  612. data/lib/aws-sdk-core/snowball.rb +0 -6
  613. data/lib/aws-sdk-core/sns.rb +0 -7
  614. data/lib/aws-sdk-core/sqs.rb +0 -7
  615. data/lib/aws-sdk-core/ssm.rb +0 -6
  616. data/lib/aws-sdk-core/states.rb +0 -6
  617. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  618. data/lib/aws-sdk-core/sts.rb +0 -6
  619. data/lib/aws-sdk-core/support.rb +0 -6
  620. data/lib/aws-sdk-core/swf.rb +0 -5
  621. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  622. data/lib/aws-sdk-core/waf.rb +0 -6
  623. data/lib/aws-sdk-core/wafregional.rb +0 -6
  624. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  625. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  626. data/lib/aws-sdk-core/workdocs.rb +0 -6
  627. data/lib/aws-sdk-core/workspaces.rb +0 -6
  628. data/lib/aws-sdk-core/xray.rb +0 -6
  629. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  630. data/service-models.json +0 -405
@@ -1,1876 +0,0 @@
1
- {
2
- "version": "1.0",
3
- "examples": {
4
- "AbortMultipartUpload": [
5
- {
6
- "input": {
7
- "Bucket": "examplebucket",
8
- "Key": "bigobject",
9
- "UploadId": "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
10
- },
11
- "output": {
12
- },
13
- "comments": {
14
- "input": {
15
- },
16
- "output": {
17
- }
18
- },
19
- "description": "The following example aborts a multipart upload.",
20
- "id": "to-abort-a-multipart-upload-1481853354987",
21
- "title": "To abort a multipart upload"
22
- }
23
- ],
24
- "CompleteMultipartUpload": [
25
- {
26
- "input": {
27
- "Bucket": "examplebucket",
28
- "Key": "bigobject",
29
- "MultipartUpload": {
30
- "Parts": [
31
- {
32
- "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
33
- "PartNumber": "1"
34
- },
35
- {
36
- "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
37
- "PartNumber": "2"
38
- }
39
- ]
40
- },
41
- "UploadId": "7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
42
- },
43
- "output": {
44
- "Bucket": "acexamplebucket",
45
- "ETag": "\"4d9031c7644d8081c2829f4ea23c55f7-2\"",
46
- "Key": "bigobject",
47
- "Location": "https://examplebucket.s3.amazonaws.com/bigobject"
48
- },
49
- "comments": {
50
- "input": {
51
- },
52
- "output": {
53
- }
54
- },
55
- "description": "The following example completes a multipart upload.",
56
- "id": "to-complete-multipart-upload-1481851590483",
57
- "title": "To complete multipart upload"
58
- }
59
- ],
60
- "CopyObject": [
61
- {
62
- "input": {
63
- "Bucket": "destinationbucket",
64
- "CopySource": "/sourcebucket/HappyFacejpg",
65
- "Key": "HappyFaceCopyjpg"
66
- },
67
- "output": {
68
- "CopyObjectResult": {
69
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
70
- "LastModified": "2016-12-15T17:38:53.000Z"
71
- }
72
- },
73
- "comments": {
74
- "input": {
75
- },
76
- "output": {
77
- }
78
- },
79
- "description": "The following example copies an object from one bucket to another.",
80
- "id": "to-copy-an-object-1481823186878",
81
- "title": "To copy an object"
82
- }
83
- ],
84
- "CreateBucket": [
85
- {
86
- "input": {
87
- "Bucket": "examplebucket",
88
- "CreateBucketConfiguration": {
89
- "LocationConstraint": "eu-west-1"
90
- }
91
- },
92
- "output": {
93
- "Location": "http://examplebucket.s3.amazonaws.com/"
94
- },
95
- "comments": {
96
- "input": {
97
- },
98
- "output": {
99
- }
100
- },
101
- "description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.",
102
- "id": "to-create-a-bucket-in-a-specific-region-1483399072992",
103
- "title": "To create a bucket in a specific region"
104
- },
105
- {
106
- "input": {
107
- "Bucket": "examplebucket"
108
- },
109
- "output": {
110
- "Location": "/examplebucket"
111
- },
112
- "comments": {
113
- "input": {
114
- },
115
- "output": {
116
- }
117
- },
118
- "description": "The following example creates a bucket.",
119
- "id": "to-create-a-bucket--1472851826060",
120
- "title": "To create a bucket "
121
- }
122
- ],
123
- "CreateMultipartUpload": [
124
- {
125
- "input": {
126
- "Bucket": "examplebucket",
127
- "Key": "largeobject"
128
- },
129
- "output": {
130
- "Bucket": "examplebucket",
131
- "Key": "largeobject",
132
- "UploadId": "ibZBv_75gd9r8lH_gqXatLdxMVpAlj6ZQjEs.OwyF3953YdwbcQnMA2BLGn8Lx12fQNICtMw5KyteFeHw.Sjng--"
133
- },
134
- "comments": {
135
- "input": {
136
- },
137
- "output": {
138
- }
139
- },
140
- "description": "The following example initiates a multipart upload.",
141
- "id": "to-initiate-a-multipart-upload-1481836794513",
142
- "title": "To initiate a multipart upload"
143
- }
144
- ],
145
- "DeleteBucket": [
146
- {
147
- "input": {
148
- "Bucket": "forrandall2"
149
- },
150
- "comments": {
151
- "input": {
152
- },
153
- "output": {
154
- }
155
- },
156
- "description": "The following example deletes the specified bucket.",
157
- "id": "to-delete-a-bucket-1473108514262",
158
- "title": "To delete a bucket"
159
- }
160
- ],
161
- "DeleteBucketCors": [
162
- {
163
- "input": {
164
- "Bucket": "examplebucket"
165
- },
166
- "comments": {
167
- "input": {
168
- },
169
- "output": {
170
- }
171
- },
172
- "description": "The following example deletes CORS configuration on a bucket.",
173
- "id": "to-delete-cors-configuration-on-a-bucket-1483042856112",
174
- "title": "To delete cors configuration on a bucket."
175
- }
176
- ],
177
- "DeleteBucketLifecycle": [
178
- {
179
- "input": {
180
- "Bucket": "examplebucket"
181
- },
182
- "comments": {
183
- "input": {
184
- },
185
- "output": {
186
- }
187
- },
188
- "description": "The following example deletes lifecycle configuration on a bucket.",
189
- "id": "to-delete-lifecycle-configuration-on-a-bucket-1483043310583",
190
- "title": "To delete lifecycle configuration on a bucket."
191
- }
192
- ],
193
- "DeleteBucketPolicy": [
194
- {
195
- "input": {
196
- "Bucket": "examplebucket"
197
- },
198
- "comments": {
199
- "input": {
200
- },
201
- "output": {
202
- }
203
- },
204
- "description": "The following example deletes bucket policy on the specified bucket.",
205
- "id": "to-delete-bucket-policy-1483043406577",
206
- "title": "To delete bucket policy"
207
- }
208
- ],
209
- "DeleteBucketReplication": [
210
- {
211
- "input": {
212
- "Bucket": "example"
213
- },
214
- "comments": {
215
- "input": {
216
- },
217
- "output": {
218
- }
219
- },
220
- "description": "The following example deletes replication configuration set on bucket.",
221
- "id": "to-delete-bucket-replication-configuration-1483043684668",
222
- "title": "To delete bucket replication configuration"
223
- }
224
- ],
225
- "DeleteBucketTagging": [
226
- {
227
- "input": {
228
- "Bucket": "examplebucket"
229
- },
230
- "comments": {
231
- "input": {
232
- },
233
- "output": {
234
- }
235
- },
236
- "description": "The following example deletes bucket tags.",
237
- "id": "to-delete-bucket-tags-1483043846509",
238
- "title": "To delete bucket tags"
239
- }
240
- ],
241
- "DeleteBucketWebsite": [
242
- {
243
- "input": {
244
- "Bucket": "examplebucket"
245
- },
246
- "comments": {
247
- "input": {
248
- },
249
- "output": {
250
- }
251
- },
252
- "description": "The following example deletes bucket website configuration.",
253
- "id": "to-delete-bucket-website-configuration-1483043937825",
254
- "title": "To delete bucket website configuration"
255
- }
256
- ],
257
- "DeleteObject": [
258
- {
259
- "input": {
260
- "Bucket": "ExampleBucket",
261
- "Key": "HappyFace.jpg"
262
- },
263
- "comments": {
264
- "input": {
265
- },
266
- "output": {
267
- }
268
- },
269
- "description": "The following example deletes an object from a non-versioned bucket.",
270
- "id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089",
271
- "title": "To delete an object (from a non-versioned bucket)"
272
- },
273
- {
274
- "input": {
275
- "Bucket": "examplebucket",
276
- "Key": "objectkey.jpg"
277
- },
278
- "output": {
279
- },
280
- "comments": {
281
- "input": {
282
- },
283
- "output": {
284
- }
285
- },
286
- "description": "The following example deletes an object from an S3 bucket.",
287
- "id": "to-delete-an-object-1472850136595",
288
- "title": "To delete an object"
289
- }
290
- ],
291
- "DeleteObjectTagging": [
292
- {
293
- "input": {
294
- "Bucket": "examplebucket",
295
- "Key": "HappyFace.jpg",
296
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
297
- },
298
- "output": {
299
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
300
- },
301
- "comments": {
302
- "input": {
303
- },
304
- "output": {
305
- }
306
- },
307
- "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
308
- "id": "to-remove-tag-set-from-an-object-version-1483145285913",
309
- "title": "To remove tag set from an object version"
310
- },
311
- {
312
- "input": {
313
- "Bucket": "examplebucket",
314
- "Key": "HappyFace.jpg"
315
- },
316
- "output": {
317
- "VersionId": "null"
318
- },
319
- "comments": {
320
- "input": {
321
- },
322
- "output": {
323
- }
324
- },
325
- "description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
326
- "id": "to-remove-tag-set-from-an-object-1483145342862",
327
- "title": "To remove tag set from an object"
328
- }
329
- ],
330
- "DeleteObjects": [
331
- {
332
- "input": {
333
- "Bucket": "examplebucket",
334
- "Delete": {
335
- "Objects": [
336
- {
337
- "Key": "HappyFace.jpg",
338
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
339
- },
340
- {
341
- "Key": "HappyFace.jpg",
342
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
343
- }
344
- ],
345
- "Quiet": false
346
- }
347
- },
348
- "output": {
349
- "Deleted": [
350
- {
351
- "Key": "HappyFace.jpg",
352
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
353
- },
354
- {
355
- "Key": "HappyFace.jpg",
356
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
357
- }
358
- ]
359
- },
360
- "comments": {
361
- "input": {
362
- },
363
- "output": {
364
- }
365
- },
366
- "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
367
- "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
368
- "title": "To delete multiple object versions from a versioned bucket"
369
- },
370
- {
371
- "input": {
372
- "Bucket": "examplebucket",
373
- "Delete": {
374
- "Objects": [
375
- {
376
- "Key": "objectkey1"
377
- },
378
- {
379
- "Key": "objectkey2"
380
- }
381
- ],
382
- "Quiet": false
383
- }
384
- },
385
- "output": {
386
- "Deleted": [
387
- {
388
- "DeleteMarker": "true",
389
- "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
390
- "Key": "objectkey1"
391
- },
392
- {
393
- "DeleteMarker": "true",
394
- "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
395
- "Key": "objectkey2"
396
- }
397
- ]
398
- },
399
- "comments": {
400
- "input": {
401
- },
402
- "output": {
403
- }
404
- },
405
- "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
406
- "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
407
- "title": "To delete multiple objects from a versioned bucket"
408
- }
409
- ],
410
- "GetBucketCors": [
411
- {
412
- "input": {
413
- "Bucket": "examplebucket"
414
- },
415
- "output": {
416
- "CORSRules": [
417
- {
418
- "AllowedHeaders": [
419
- "Authorization"
420
- ],
421
- "AllowedMethods": [
422
- "GET"
423
- ],
424
- "AllowedOrigins": [
425
- "*"
426
- ],
427
- "MaxAgeSeconds": 3000
428
- }
429
- ]
430
- },
431
- "comments": {
432
- "input": {
433
- },
434
- "output": {
435
- }
436
- },
437
- "description": "The following example returns cross-origin resource sharing (CORS) configuration set on a bucket.",
438
- "id": "to-get-cors-configuration-set-on-a-bucket-1481596855475",
439
- "title": "To get cors configuration set on a bucket"
440
- }
441
- ],
442
- "GetBucketLifecycle": [
443
- {
444
- "input": {
445
- "Bucket": "acl1"
446
- },
447
- "output": {
448
- "Rules": [
449
- {
450
- "Expiration": {
451
- "Days": 1
452
- },
453
- "ID": "delete logs",
454
- "Prefix": "123/",
455
- "Status": "Enabled"
456
- }
457
- ]
458
- },
459
- "comments": {
460
- "input": {
461
- },
462
- "output": {
463
- }
464
- },
465
- "description": "The following example gets ACL on the specified bucket.",
466
- "id": "to-get-a-bucket-acl-1474413606503",
467
- "title": "To get a bucket acl"
468
- }
469
- ],
470
- "GetBucketLifecycleConfiguration": [
471
- {
472
- "input": {
473
- "Bucket": "examplebucket"
474
- },
475
- "output": {
476
- "Rules": [
477
- {
478
- "ID": "Rule for TaxDocs/",
479
- "Prefix": "TaxDocs",
480
- "Status": "Enabled",
481
- "Transitions": [
482
- {
483
- "Days": 365,
484
- "StorageClass": "STANDARD_IA"
485
- }
486
- ]
487
- }
488
- ]
489
- },
490
- "comments": {
491
- "input": {
492
- },
493
- "output": {
494
- }
495
- },
496
- "description": "The following example retrieves lifecycle configuration on set on a bucket. ",
497
- "id": "to-get-lifecycle-configuration-on-a-bucket-1481666063200",
498
- "title": "To get lifecycle configuration on a bucket"
499
- }
500
- ],
501
- "GetBucketLocation": [
502
- {
503
- "input": {
504
- "Bucket": "examplebucket"
505
- },
506
- "output": {
507
- "LocationConstraint": "us-west-2"
508
- },
509
- "comments": {
510
- "input": {
511
- },
512
- "output": {
513
- }
514
- },
515
- "description": "The following example returns bucket location.",
516
- "id": "to-get-bucket-location-1481594573609",
517
- "title": "To get bucket location"
518
- }
519
- ],
520
- "GetBucketNotification": [
521
- {
522
- "input": {
523
- "Bucket": "examplebucket"
524
- },
525
- "output": {
526
- "QueueConfiguration": {
527
- "Event": "s3:ObjectCreated:Put",
528
- "Events": [
529
- "s3:ObjectCreated:Put"
530
- ],
531
- "Id": "MDQ2OGQ4NDEtOTBmNi00YTM4LTk0NzYtZDIwN2I3NWQ1NjIx",
532
- "Queue": "arn:aws:sqs:us-east-1:acct-id:S3ObjectCreatedEventQueue"
533
- },
534
- "TopicConfiguration": {
535
- "Event": "s3:ObjectCreated:Copy",
536
- "Events": [
537
- "s3:ObjectCreated:Copy"
538
- ],
539
- "Id": "YTVkMWEzZGUtNTY1NS00ZmE2LWJjYjktMmRlY2QwODFkNTJi",
540
- "Topic": "arn:aws:sns:us-east-1:acct-id:S3ObjectCreatedEventTopic"
541
- }
542
- },
543
- "comments": {
544
- "input": {
545
- },
546
- "output": {
547
- }
548
- },
549
- "description": "The following example returns notification configuration set on a bucket.",
550
- "id": "to-get-notification-configuration-set-on-a-bucket-1481594028667",
551
- "title": "To get notification configuration set on a bucket"
552
- },
553
- {
554
- "input": {
555
- "Bucket": "examplebucket"
556
- },
557
- "output": {
558
- "QueueConfiguration": {
559
- "Event": "s3:ObjectCreated:Put",
560
- "Events": [
561
- "s3:ObjectCreated:Put"
562
- ],
563
- "Id": "MDQ2OGQ4NDEtOTBmNi00YTM4LTk0NzYtZDIwN2I3NWQ1NjIx",
564
- "Queue": "arn:aws:sqs:us-east-1:acct-id:S3ObjectCreatedEventQueue"
565
- },
566
- "TopicConfiguration": {
567
- "Event": "s3:ObjectCreated:Copy",
568
- "Events": [
569
- "s3:ObjectCreated:Copy"
570
- ],
571
- "Id": "YTVkMWEzZGUtNTY1NS00ZmE2LWJjYjktMmRlY2QwODFkNTJi",
572
- "Topic": "arn:aws:sns:us-east-1:acct-id:S3ObjectCreatedEventTopic"
573
- }
574
- },
575
- "comments": {
576
- "input": {
577
- },
578
- "output": {
579
- }
580
- },
581
- "description": "The following example returns notification configuration set on a bucket.",
582
- "id": "to-get-notification-configuration-set-on-a-bucket-1481594028667",
583
- "title": "To get notification configuration set on a bucket"
584
- }
585
- ],
586
- "GetBucketPolicy": [
587
- {
588
- "input": {
589
- "Bucket": "examplebucket"
590
- },
591
- "output": {
592
- "Policy": "{\"Version\":\"2008-10-17\",\"Id\":\"LogPolicy\",\"Statement\":[{\"Sid\":\"Enables the log delivery group to publish logs to your bucket \",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"111122223333\"},\"Action\":[\"s3:GetBucketAcl\",\"s3:GetObjectAcl\",\"s3:PutObject\"],\"Resource\":[\"arn:aws:s3:::policytest1/*\",\"arn:aws:s3:::policytest1\"]}]}"
593
- },
594
- "comments": {
595
- "input": {
596
- },
597
- "output": {
598
- }
599
- },
600
- "description": "The following example returns bucket policy associated with a bucket.",
601
- "id": "to-get-bucket-policy-1481595098424",
602
- "title": "To get bucket policy"
603
- }
604
- ],
605
- "GetBucketReplication": [
606
- {
607
- "input": {
608
- "Bucket": "examplebucket"
609
- },
610
- "output": {
611
- "ReplicationConfiguration": {
612
- "Role": "arn:aws:iam::acct-id:role/example-role",
613
- "Rules": [
614
- {
615
- "Destination": {
616
- "Bucket": "arn:aws:s3:::destination-bucket"
617
- },
618
- "ID": "MWIwNTkwZmItMTE3MS00ZTc3LWJkZDEtNzRmODQwYzc1OTQy",
619
- "Prefix": "Tax",
620
- "Status": "Enabled"
621
- }
622
- ]
623
- }
624
- },
625
- "comments": {
626
- "input": {
627
- },
628
- "output": {
629
- }
630
- },
631
- "description": "The following example returns replication configuration set on a bucket.",
632
- "id": "to-get-replication-configuration-set-on-a-bucket-1481593597175",
633
- "title": "To get replication configuration set on a bucket"
634
- }
635
- ],
636
- "GetBucketRequestPayment": [
637
- {
638
- "input": {
639
- "Bucket": "examplebucket"
640
- },
641
- "output": {
642
- "Payer": "BucketOwner"
643
- },
644
- "comments": {
645
- "input": {
646
- },
647
- "output": {
648
- }
649
- },
650
- "description": "The following example retrieves bucket versioning configuration.",
651
- "id": "to-get-bucket-versioning-configuration-1483037183929",
652
- "title": "To get bucket versioning configuration"
653
- }
654
- ],
655
- "GetBucketTagging": [
656
- {
657
- "input": {
658
- "Bucket": "examplebucket"
659
- },
660
- "output": {
661
- "TagSet": [
662
- {
663
- "Key": "key1",
664
- "Value": "value1"
665
- },
666
- {
667
- "Key": "key2",
668
- "Value": "value2"
669
- }
670
- ]
671
- },
672
- "comments": {
673
- "input": {
674
- },
675
- "output": {
676
- }
677
- },
678
- "description": "The following example returns tag set associated with a bucket",
679
- "id": "to-get-tag-set-associated-with-a-bucket-1481593232107",
680
- "title": "To get tag set associated with a bucket"
681
- }
682
- ],
683
- "GetBucketVersioning": [
684
- {
685
- "input": {
686
- "Bucket": "examplebucket"
687
- },
688
- "output": {
689
- "MFADelete": "Disabled",
690
- "Status": "Enabled"
691
- },
692
- "comments": {
693
- "input": {
694
- },
695
- "output": {
696
- }
697
- },
698
- "description": "The following example retrieves bucket versioning configuration.",
699
- "id": "to-get-bucket-versioning-configuration-1483037183929",
700
- "title": "To get bucket versioning configuration"
701
- }
702
- ],
703
- "GetBucketWebsite": [
704
- {
705
- "input": {
706
- "Bucket": "examplebucket"
707
- },
708
- "output": {
709
- "ErrorDocument": {
710
- "Key": "error.html"
711
- },
712
- "IndexDocument": {
713
- "Suffix": "index.html"
714
- }
715
- },
716
- "comments": {
717
- "input": {
718
- },
719
- "output": {
720
- }
721
- },
722
- "description": "The following example retrieves website configuration of a bucket.",
723
- "id": "to-get-bucket-website-configuration-1483037016926",
724
- "title": "To get bucket website configuration"
725
- }
726
- ],
727
- "GetObject": [
728
- {
729
- "input": {
730
- "Bucket": "examplebucket",
731
- "Key": "HappyFace.jpg"
732
- },
733
- "output": {
734
- "AcceptRanges": "bytes",
735
- "ContentLength": "3191",
736
- "ContentType": "image/jpeg",
737
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
738
- "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
739
- "Metadata": {
740
- },
741
- "TagCount": 2,
742
- "VersionId": "null"
743
- },
744
- "comments": {
745
- "input": {
746
- },
747
- "output": {
748
- }
749
- },
750
- "description": "The following example retrieves an object for an S3 bucket.",
751
- "id": "to-retrieve-an-object-1481827837012",
752
- "title": "To retrieve an object"
753
- },
754
- {
755
- "input": {
756
- "Bucket": "examplebucket",
757
- "Key": "SampleFile.txt",
758
- "Range": "bytes=0-9"
759
- },
760
- "output": {
761
- "AcceptRanges": "bytes",
762
- "ContentLength": "10",
763
- "ContentRange": "bytes 0-9/43",
764
- "ContentType": "text/plain",
765
- "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
766
- "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
767
- "Metadata": {
768
- },
769
- "VersionId": "null"
770
- },
771
- "comments": {
772
- "input": {
773
- },
774
- "output": {
775
- }
776
- },
777
- "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.",
778
- "id": "to-retrieve-a-byte-range-of-an-object--1481832674603",
779
- "title": "To retrieve a byte range of an object "
780
- }
781
- ],
782
- "GetObjectAcl": [
783
- {
784
- "input": {
785
- "Bucket": "examplebucket",
786
- "Key": "HappyFace.jpg"
787
- },
788
- "output": {
789
- "Grants": [
790
- {
791
- "Grantee": {
792
- "DisplayName": "owner-display-name",
793
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
794
- "Type": "CanonicalUser"
795
- },
796
- "Permission": "WRITE"
797
- },
798
- {
799
- "Grantee": {
800
- "DisplayName": "owner-display-name",
801
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
802
- "Type": "CanonicalUser"
803
- },
804
- "Permission": "WRITE_ACP"
805
- },
806
- {
807
- "Grantee": {
808
- "DisplayName": "owner-display-name",
809
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
810
- "Type": "CanonicalUser"
811
- },
812
- "Permission": "READ"
813
- },
814
- {
815
- "Grantee": {
816
- "DisplayName": "owner-display-name",
817
- "ID": "852b113eexamplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
818
- "Type": "CanonicalUser"
819
- },
820
- "Permission": "READ_ACP"
821
- }
822
- ],
823
- "Owner": {
824
- "DisplayName": "owner-display-name",
825
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
826
- }
827
- },
828
- "comments": {
829
- "input": {
830
- },
831
- "output": {
832
- }
833
- },
834
- "description": "The following example retrieves access control list (ACL) of an object.",
835
- "id": "to-retrieve-object-acl-1481833557740",
836
- "title": "To retrieve object ACL"
837
- }
838
- ],
839
- "GetObjectTagging": [
840
- {
841
- "input": {
842
- "Bucket": "examplebucket",
843
- "Key": "HappyFace.jpg"
844
- },
845
- "output": {
846
- "TagSet": [
847
- {
848
- "Key": "Key4",
849
- "Value": "Value4"
850
- },
851
- {
852
- "Key": "Key3",
853
- "Value": "Value3"
854
- }
855
- ],
856
- "VersionId": "null"
857
- },
858
- "comments": {
859
- "input": {
860
- },
861
- "output": {
862
- }
863
- },
864
- "description": "The following example retrieves tag set of an object.",
865
- "id": "to-retrieve-tag-set-of-an-object-1481833847896",
866
- "title": "To retrieve tag set of an object"
867
- },
868
- {
869
- "input": {
870
- "Bucket": "examplebucket",
871
- "Key": "exampleobject",
872
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
873
- },
874
- "output": {
875
- "TagSet": [
876
- {
877
- "Key": "Key1",
878
- "Value": "Value1"
879
- }
880
- ],
881
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
882
- },
883
- "comments": {
884
- "input": {
885
- },
886
- "output": {
887
- }
888
- },
889
- "description": "The following example retrieves tag set of an object. The request specifies object version.",
890
- "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
891
- "title": "To retrieve tag set of a specific object version"
892
- }
893
- ],
894
- "GetObjectTorrent": [
895
- {
896
- "input": {
897
- "Bucket": "examplebucket",
898
- "Key": "HappyFace.jpg"
899
- },
900
- "output": {
901
- },
902
- "comments": {
903
- "input": {
904
- },
905
- "output": {
906
- }
907
- },
908
- "description": "The following example retrieves torrent files of an object.",
909
- "id": "to-retrieve-torrent-files-for-an-object-1481834115959",
910
- "title": "To retrieve torrent files for an object"
911
- }
912
- ],
913
- "HeadBucket": [
914
- {
915
- "input": {
916
- "Bucket": "acl1"
917
- },
918
- "comments": {
919
- "input": {
920
- },
921
- "output": {
922
- }
923
- },
924
- "description": "This operation checks to see if a bucket exists.",
925
- "id": "to-determine-if-bucket-exists-1473110292262",
926
- "title": "To determine if bucket exists"
927
- }
928
- ],
929
- "HeadObject": [
930
- {
931
- "input": {
932
- "Bucket": "examplebucket",
933
- "Key": "HappyFace.jpg"
934
- },
935
- "output": {
936
- "AcceptRanges": "bytes",
937
- "ContentLength": "3191",
938
- "ContentType": "image/jpeg",
939
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
940
- "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
941
- "Metadata": {
942
- },
943
- "VersionId": "null"
944
- },
945
- "comments": {
946
- "input": {
947
- },
948
- "output": {
949
- }
950
- },
951
- "description": "The following example retrieves an object metadata.",
952
- "id": "to-retrieve-metadata-of-an-object-without-returning-the-object-itself-1481834820480",
953
- "title": "To retrieve metadata of an object without returning the object itself"
954
- }
955
- ],
956
- "ListBuckets": [
957
- {
958
- "output": {
959
- "Buckets": [
960
- {
961
- "CreationDate": "2012-02-15T21: 03: 02.000Z",
962
- "Name": "examplebucket"
963
- },
964
- {
965
- "CreationDate": "2011-07-24T19: 33: 50.000Z",
966
- "Name": "examplebucket2"
967
- },
968
- {
969
- "CreationDate": "2010-12-17T00: 56: 49.000Z",
970
- "Name": "examplebucket3"
971
- }
972
- ],
973
- "Owner": {
974
- "DisplayName": "own-display-name",
975
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31"
976
- }
977
- },
978
- "comments": {
979
- "input": {
980
- },
981
- "output": {
982
- }
983
- },
984
- "description": "The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.",
985
- "id": "to-list-object-versions-1481910996058",
986
- "title": "To list object versions"
987
- }
988
- ],
989
- "ListMultipartUploads": [
990
- {
991
- "input": {
992
- "Bucket": "examplebucket"
993
- },
994
- "output": {
995
- "Uploads": [
996
- {
997
- "Initiated": "2014-05-01T05:40:58.000Z",
998
- "Initiator": {
999
- "DisplayName": "display-name",
1000
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1001
- },
1002
- "Key": "JavaFile",
1003
- "Owner": {
1004
- "DisplayName": "display-name",
1005
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1006
- },
1007
- "StorageClass": "STANDARD",
1008
- "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1009
- },
1010
- {
1011
- "Initiated": "2014-05-01T05:41:27.000Z",
1012
- "Initiator": {
1013
- "DisplayName": "display-name",
1014
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1015
- },
1016
- "Key": "JavaFile",
1017
- "Owner": {
1018
- "DisplayName": "display-name",
1019
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1020
- },
1021
- "StorageClass": "STANDARD",
1022
- "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1023
- }
1024
- ]
1025
- },
1026
- "comments": {
1027
- "input": {
1028
- },
1029
- "output": {
1030
- }
1031
- },
1032
- "description": "The following example lists in-progress multipart uploads on a specific bucket.",
1033
- "id": "to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260",
1034
- "title": "To list in-progress multipart uploads on a bucket"
1035
- },
1036
- {
1037
- "input": {
1038
- "Bucket": "examplebucket",
1039
- "KeyMarker": "nextkeyfrompreviousresponse",
1040
- "MaxUploads": "2",
1041
- "UploadIdMarker": "valuefrompreviousresponse"
1042
- },
1043
- "output": {
1044
- "Bucket": "acl1",
1045
- "IsTruncated": true,
1046
- "KeyMarker": "",
1047
- "MaxUploads": "2",
1048
- "NextKeyMarker": "someobjectkey",
1049
- "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
1050
- "UploadIdMarker": "",
1051
- "Uploads": [
1052
- {
1053
- "Initiated": "2014-05-01T05:40:58.000Z",
1054
- "Initiator": {
1055
- "DisplayName": "ownder-display-name",
1056
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1057
- },
1058
- "Key": "JavaFile",
1059
- "Owner": {
1060
- "DisplayName": "mohanataws",
1061
- "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1062
- },
1063
- "StorageClass": "STANDARD",
1064
- "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1065
- },
1066
- {
1067
- "Initiated": "2014-05-01T05:41:27.000Z",
1068
- "Initiator": {
1069
- "DisplayName": "ownder-display-name",
1070
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1071
- },
1072
- "Key": "JavaFile",
1073
- "Owner": {
1074
- "DisplayName": "ownder-display-name",
1075
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1076
- },
1077
- "StorageClass": "STANDARD",
1078
- "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1079
- }
1080
- ]
1081
- },
1082
- "comments": {
1083
- "input": {
1084
- },
1085
- "output": {
1086
- }
1087
- },
1088
- "description": "The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.",
1089
- "id": "list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748",
1090
- "title": "List next set of multipart uploads when previous result is truncated"
1091
- }
1092
- ],
1093
- "ListObjectVersions": [
1094
- {
1095
- "input": {
1096
- "Bucket": "examplebucket",
1097
- "Prefix": "HappyFace.jpg"
1098
- },
1099
- "output": {
1100
- "Versions": [
1101
- {
1102
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1103
- "IsLatest": true,
1104
- "Key": "HappyFace.jpg",
1105
- "LastModified": "2016-12-15T01:19:41.000Z",
1106
- "Owner": {
1107
- "DisplayName": "owner-display-name",
1108
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1109
- },
1110
- "Size": 3191,
1111
- "StorageClass": "STANDARD",
1112
- "VersionId": "null"
1113
- },
1114
- {
1115
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1116
- "IsLatest": false,
1117
- "Key": "HappyFace.jpg",
1118
- "LastModified": "2016-12-13T00:58:26.000Z",
1119
- "Owner": {
1120
- "DisplayName": "owner-display-name",
1121
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1122
- },
1123
- "Size": 3191,
1124
- "StorageClass": "STANDARD",
1125
- "VersionId": "PHtexPGjH2y.zBgT8LmB7wwLI2mpbz.k"
1126
- }
1127
- ]
1128
- },
1129
- "comments": {
1130
- "input": {
1131
- },
1132
- "output": {
1133
- }
1134
- },
1135
- "description": "The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.",
1136
- "id": "to-list-object-versions-1481910996058",
1137
- "title": "To list object versions"
1138
- }
1139
- ],
1140
- "ListObjects": [
1141
- {
1142
- "input": {
1143
- "Bucket": "examplebucket",
1144
- "MaxKeys": "2"
1145
- },
1146
- "output": {
1147
- "Contents": [
1148
- {
1149
- "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"",
1150
- "Key": "example1.jpg",
1151
- "LastModified": "2014-11-21T19:40:05.000Z",
1152
- "Owner": {
1153
- "DisplayName": "myname",
1154
- "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1155
- },
1156
- "Size": 11,
1157
- "StorageClass": "STANDARD"
1158
- },
1159
- {
1160
- "ETag": "\"9c8af9a76df052144598c115ef33e511\"",
1161
- "Key": "example2.jpg",
1162
- "LastModified": "2013-11-15T01:10:49.000Z",
1163
- "Owner": {
1164
- "DisplayName": "myname",
1165
- "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1166
- },
1167
- "Size": 713193,
1168
- "StorageClass": "STANDARD"
1169
- }
1170
- ],
1171
- "NextMarker": "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ=="
1172
- },
1173
- "comments": {
1174
- "input": {
1175
- },
1176
- "output": {
1177
- }
1178
- },
1179
- "description": "The following example list two objects in a bucket.",
1180
- "id": "to-list-objects-in-a-bucket-1473447646507",
1181
- "title": "To list objects in a bucket"
1182
- }
1183
- ],
1184
- "ListObjectsV2": [
1185
- {
1186
- "input": {
1187
- "Bucket": "examplebucket",
1188
- "MaxKeys": "2"
1189
- },
1190
- "output": {
1191
- "Contents": [
1192
- {
1193
- "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"",
1194
- "Key": "happyface.jpg",
1195
- "LastModified": "2014-11-21T19:40:05.000Z",
1196
- "Size": 11,
1197
- "StorageClass": "STANDARD"
1198
- },
1199
- {
1200
- "ETag": "\"becf17f89c30367a9a44495d62ed521a-1\"",
1201
- "Key": "test.jpg",
1202
- "LastModified": "2014-05-02T04:51:50.000Z",
1203
- "Size": 4192256,
1204
- "StorageClass": "STANDARD"
1205
- }
1206
- ],
1207
- "IsTruncated": true,
1208
- "KeyCount": "2",
1209
- "MaxKeys": "2",
1210
- "Name": "examplebucket",
1211
- "NextContinuationToken": "1w41l63U0xa8q7smH50vCxyTQqdxo69O3EmK28Bi5PcROI4wI/EyIJg==",
1212
- "Prefix": ""
1213
- },
1214
- "comments": {
1215
- "input": {
1216
- },
1217
- "output": {
1218
- }
1219
- },
1220
- "description": "The following example retrieves object list. The request specifies max keys to limit response to include only 2 object keys. ",
1221
- "id": "to-get-object-list",
1222
- "title": "To get object list"
1223
- }
1224
- ],
1225
- "ListParts": [
1226
- {
1227
- "input": {
1228
- "Bucket": "examplebucket",
1229
- "Key": "bigobject",
1230
- "UploadId": "example7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
1231
- },
1232
- "output": {
1233
- "Initiator": {
1234
- "DisplayName": "owner-display-name",
1235
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1236
- },
1237
- "Owner": {
1238
- "DisplayName": "owner-display-name",
1239
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1240
- },
1241
- "Parts": [
1242
- {
1243
- "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
1244
- "LastModified": "2016-12-16T00:11:42.000Z",
1245
- "PartNumber": "1",
1246
- "Size": 26246026
1247
- },
1248
- {
1249
- "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
1250
- "LastModified": "2016-12-16T00:15:01.000Z",
1251
- "PartNumber": "2",
1252
- "Size": 26246026
1253
- }
1254
- ],
1255
- "StorageClass": "STANDARD"
1256
- },
1257
- "comments": {
1258
- "input": {
1259
- },
1260
- "output": {
1261
- }
1262
- },
1263
- "description": "The following example lists parts uploaded for a specific multipart upload.",
1264
- "id": "to-list-parts-of-a-multipart-upload-1481852006923",
1265
- "title": "To list parts of a multipart upload."
1266
- }
1267
- ],
1268
- "PutBucketAcl": [
1269
- {
1270
- "input": {
1271
- "Bucket": "examplebucket",
1272
- "GrantFullControl": "id=examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484",
1273
- "GrantWrite": "uri=http://acs.amazonaws.com/groups/s3/LogDelivery"
1274
- },
1275
- "comments": {
1276
- "input": {
1277
- },
1278
- "output": {
1279
- }
1280
- },
1281
- "description": "The following example replaces existing ACL on a bucket. The ACL grants the bucket owner (specified using the owner ID) and write permission to the LogDelivery group. Because this is a replace operation, you must specify all the grants in your request. To incrementally add or remove ACL grants, you might use the console.",
1282
- "id": "put-bucket-acl-1482260397033",
1283
- "title": "Put bucket acl"
1284
- }
1285
- ],
1286
- "PutBucketCors": [
1287
- {
1288
- "input": {
1289
- "Bucket": "",
1290
- "CORSConfiguration": {
1291
- "CORSRules": [
1292
- {
1293
- "AllowedHeaders": [
1294
- "*"
1295
- ],
1296
- "AllowedMethods": [
1297
- "PUT",
1298
- "POST",
1299
- "DELETE"
1300
- ],
1301
- "AllowedOrigins": [
1302
- "http://www.example.com"
1303
- ],
1304
- "ExposeHeaders": [
1305
- "x-amz-server-side-encryption"
1306
- ],
1307
- "MaxAgeSeconds": 3000
1308
- },
1309
- {
1310
- "AllowedHeaders": [
1311
- "Authorization"
1312
- ],
1313
- "AllowedMethods": [
1314
- "GET"
1315
- ],
1316
- "AllowedOrigins": [
1317
- "*"
1318
- ],
1319
- "MaxAgeSeconds": 3000
1320
- }
1321
- ]
1322
- },
1323
- "ContentMD5": ""
1324
- },
1325
- "comments": {
1326
- "input": {
1327
- },
1328
- "output": {
1329
- }
1330
- },
1331
- "description": "The following example enables PUT, POST, and DELETE requests from www.example.com, and enables GET requests from any domain.",
1332
- "id": "to-set-cors-configuration-on-a-bucket-1483037818805",
1333
- "title": "To set cors configuration on a bucket."
1334
- }
1335
- ],
1336
- "PutBucketLifecycleConfiguration": [
1337
- {
1338
- "input": {
1339
- "Bucket": "examplebucket",
1340
- "LifecycleConfiguration": {
1341
- "Rules": [
1342
- {
1343
- "Expiration": {
1344
- "Days": 3650
1345
- },
1346
- "Filter": {
1347
- "Prefix": "documents/"
1348
- },
1349
- "ID": "TestOnly",
1350
- "Status": "Enabled",
1351
- "Transitions": [
1352
- {
1353
- "Days": 365,
1354
- "StorageClass": "GLACIER"
1355
- }
1356
- ]
1357
- }
1358
- ]
1359
- }
1360
- },
1361
- "comments": {
1362
- "input": {
1363
- },
1364
- "output": {
1365
- }
1366
- },
1367
- "description": "The following example replaces existing lifecycle configuration, if any, on the specified bucket. ",
1368
- "id": "put-bucket-lifecycle-1482264533092",
1369
- "title": "Put bucket lifecycle"
1370
- }
1371
- ],
1372
- "PutBucketLogging": [
1373
- {
1374
- "input": {
1375
- "Bucket": "sourcebucket",
1376
- "BucketLoggingStatus": {
1377
- "LoggingEnabled": {
1378
- "TargetBucket": "targetbucket",
1379
- "TargetGrants": [
1380
- {
1381
- "Grantee": {
1382
- "Type": "Group",
1383
- "URI": "http://acs.amazonaws.com/groups/global/AllUsers"
1384
- },
1385
- "Permission": "READ"
1386
- }
1387
- ],
1388
- "TargetPrefix": "MyBucketLogs/"
1389
- }
1390
- }
1391
- },
1392
- "comments": {
1393
- "input": {
1394
- },
1395
- "output": {
1396
- }
1397
- },
1398
- "description": "The following example sets logging policy on a bucket. For the Log Delivery group to deliver logs to the destination bucket, it needs permission for the READ_ACP action which the policy grants.",
1399
- "id": "set-logging-configuration-for-a-bucket-1482269119909",
1400
- "title": "Set logging configuration for a bucket"
1401
- }
1402
- ],
1403
- "PutBucketNotificationConfiguration": [
1404
- {
1405
- "input": {
1406
- "Bucket": "examplebucket",
1407
- "NotificationConfiguration": {
1408
- "TopicConfigurations": [
1409
- {
1410
- "Events": [
1411
- "s3:ObjectCreated:*"
1412
- ],
1413
- "TopicArn": "arn:aws:sns:us-west-2:123456789012:s3-notification-topic"
1414
- }
1415
- ]
1416
- }
1417
- },
1418
- "comments": {
1419
- "input": {
1420
- },
1421
- "output": {
1422
- }
1423
- },
1424
- "description": "The following example sets notification configuration on a bucket to publish the object created events to an SNS topic.",
1425
- "id": "set-notification-configuration-for-a-bucket-1482270296426",
1426
- "title": "Set notification configuration for a bucket"
1427
- }
1428
- ],
1429
- "PutBucketPolicy": [
1430
- {
1431
- "input": {
1432
- "Bucket": "examplebucket",
1433
- "Policy": "{\"Version\": \"2012-10-17\", \"Statement\": [{ \"Sid\": \"id-1\",\"Effect\": \"Allow\",\"Principal\": {\"AWS\": \"arn:aws:iam::123456789012:root\"}, \"Action\": [ \"s3:PutObject\",\"s3:PutObjectAcl\"], \"Resource\": [\"arn:aws:s3:::acl3/*\" ] } ]}"
1434
- },
1435
- "comments": {
1436
- "input": {
1437
- },
1438
- "output": {
1439
- }
1440
- },
1441
- "description": "The following example sets a permission policy on a bucket.",
1442
- "id": "set-bucket-policy-1482448903302",
1443
- "title": "Set bucket policy"
1444
- }
1445
- ],
1446
- "PutBucketReplication": [
1447
- {
1448
- "input": {
1449
- "Bucket": "examplebucket",
1450
- "ReplicationConfiguration": {
1451
- "Role": "arn:aws:iam::123456789012:role/examplerole",
1452
- "Rules": [
1453
- {
1454
- "Destination": {
1455
- "Bucket": "arn:aws:s3:::destinationbucket",
1456
- "StorageClass": "STANDARD"
1457
- },
1458
- "Prefix": "",
1459
- "Status": "Enabled"
1460
- }
1461
- ]
1462
- }
1463
- },
1464
- "comments": {
1465
- "input": {
1466
- },
1467
- "output": {
1468
- }
1469
- },
1470
- "description": "The following example sets replication configuration on a bucket.",
1471
- "id": "id-1",
1472
- "title": "Set replication configuration on a bucket"
1473
- }
1474
- ],
1475
- "PutBucketRequestPayment": [
1476
- {
1477
- "input": {
1478
- "Bucket": "examplebucket",
1479
- "RequestPaymentConfiguration": {
1480
- "Payer": "Requester"
1481
- }
1482
- },
1483
- "comments": {
1484
- "input": {
1485
- },
1486
- "output": {
1487
- }
1488
- },
1489
- "description": "The following example sets request payment configuration on a bucket so that person requesting the download is charged.",
1490
- "id": "set-request-payment-configuration-on-a-bucket-1482343596680",
1491
- "title": "Set request payment configuration on a bucket."
1492
- }
1493
- ],
1494
- "PutBucketTagging": [
1495
- {
1496
- "input": {
1497
- "Bucket": "examplebucket",
1498
- "Tagging": {
1499
- "TagSet": [
1500
- {
1501
- "Key": "Key1",
1502
- "Value": "Value1"
1503
- },
1504
- {
1505
- "Key": "Key2",
1506
- "Value": "Value2"
1507
- }
1508
- ]
1509
- }
1510
- },
1511
- "comments": {
1512
- "input": {
1513
- },
1514
- "output": {
1515
- }
1516
- },
1517
- "description": "The following example sets tags on a bucket. Any existing tags are replaced.",
1518
- "id": "set-tags-on-a-bucket-1482346269066",
1519
- "title": "Set tags on a bucket"
1520
- }
1521
- ],
1522
- "PutBucketVersioning": [
1523
- {
1524
- "input": {
1525
- "Bucket": "examplebucket",
1526
- "VersioningConfiguration": {
1527
- "MFADelete": "Disabled",
1528
- "Status": "Enabled"
1529
- }
1530
- },
1531
- "comments": {
1532
- "input": {
1533
- },
1534
- "output": {
1535
- }
1536
- },
1537
- "description": "The following example sets versioning configuration on bucket. The configuration enables versioning on the bucket.",
1538
- "id": "set-versioning-configuration-on-a-bucket-1482344186279",
1539
- "title": "Set versioning configuration on a bucket"
1540
- }
1541
- ],
1542
- "PutBucketWebsite": [
1543
- {
1544
- "input": {
1545
- "Bucket": "examplebucket",
1546
- "ContentMD5": "",
1547
- "WebsiteConfiguration": {
1548
- "ErrorDocument": {
1549
- "Key": "error.html"
1550
- },
1551
- "IndexDocument": {
1552
- "Suffix": "index.html"
1553
- }
1554
- }
1555
- },
1556
- "comments": {
1557
- "input": {
1558
- },
1559
- "output": {
1560
- }
1561
- },
1562
- "description": "The following example adds website configuration to a bucket.",
1563
- "id": "set-website-configuration-on-a-bucket-1482346836261",
1564
- "title": "Set website configuration on a bucket"
1565
- }
1566
- ],
1567
- "PutObject": [
1568
- {
1569
- "input": {
1570
- "Body": "filetoupload",
1571
- "Bucket": "examplebucket",
1572
- "Key": "exampleobject",
1573
- "ServerSideEncryption": "AES256",
1574
- "Tagging": "key1=value1&key2=value2"
1575
- },
1576
- "output": {
1577
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1578
- "ServerSideEncryption": "AES256",
1579
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1580
- },
1581
- "comments": {
1582
- "input": {
1583
- },
1584
- "output": {
1585
- }
1586
- },
1587
- "description": "The following example uploads and object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
1588
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1589
- "title": "To upload an object and specify server-side encryption and object tags"
1590
- },
1591
- {
1592
- "input": {
1593
- "ACL": "authenticated-read",
1594
- "Body": "filetoupload",
1595
- "Bucket": "examplebucket",
1596
- "Key": "exampleobject"
1597
- },
1598
- "output": {
1599
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1600
- "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1601
- },
1602
- "comments": {
1603
- "input": {
1604
- },
1605
- "output": {
1606
- }
1607
- },
1608
- "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
1609
- "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1610
- "title": "To upload an object and specify canned ACL."
1611
- },
1612
- {
1613
- "input": {
1614
- "Body": "HappyFace.jpg",
1615
- "Bucket": "examplebucket",
1616
- "Key": "HappyFace.jpg"
1617
- },
1618
- "output": {
1619
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1620
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1621
- },
1622
- "comments": {
1623
- "input": {
1624
- },
1625
- "output": {
1626
- }
1627
- },
1628
- "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
1629
- "id": "to-upload-an-object-1481760101010",
1630
- "title": "To upload an object"
1631
- },
1632
- {
1633
- "input": {
1634
- "Body": "filetoupload",
1635
- "Bucket": "examplebucket",
1636
- "Key": "objectkey"
1637
- },
1638
- "output": {
1639
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1640
- "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1641
- },
1642
- "comments": {
1643
- "input": {
1644
- },
1645
- "output": {
1646
- }
1647
- },
1648
- "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1649
- "id": "to-create-an-object-1483147613675",
1650
- "title": "To create an object."
1651
- },
1652
- {
1653
- "input": {
1654
- "Body": "c:\\HappyFace.jpg",
1655
- "Bucket": "examplebucket",
1656
- "Key": "HappyFace.jpg",
1657
- "Tagging": "key1=value1&key2=value2"
1658
- },
1659
- "output": {
1660
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1661
- "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1662
- },
1663
- "comments": {
1664
- "input": {
1665
- },
1666
- "output": {
1667
- }
1668
- },
1669
- "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
1670
- "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1671
- "title": "To upload an object and specify optional tags"
1672
- },
1673
- {
1674
- "input": {
1675
- "Body": "filetoupload",
1676
- "Bucket": "examplebucket",
1677
- "Key": "exampleobject",
1678
- "Metadata": {
1679
- "metadata1": "value1",
1680
- "metadata2": "value2"
1681
- }
1682
- },
1683
- "output": {
1684
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1685
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1686
- },
1687
- "comments": {
1688
- "input": {
1689
- },
1690
- "output": {
1691
- }
1692
- },
1693
- "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1694
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1695
- "title": "To upload object and specify user-defined metadata"
1696
- },
1697
- {
1698
- "input": {
1699
- "Body": "HappyFace.jpg",
1700
- "Bucket": "examplebucket",
1701
- "Key": "HappyFace.jpg",
1702
- "ServerSideEncryption": "AES256",
1703
- "StorageClass": "STANDARD_IA"
1704
- },
1705
- "output": {
1706
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1707
- "ServerSideEncryption": "AES256",
1708
- "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1709
- },
1710
- "comments": {
1711
- "input": {
1712
- },
1713
- "output": {
1714
- }
1715
- },
1716
- "description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.",
1717
- "id": "to-upload-an-object-(specify-optional-headers)",
1718
- "title": "To upload an object (specify optional headers)"
1719
- }
1720
- ],
1721
- "PutObjectAcl": [
1722
- {
1723
- "input": {
1724
- "AccessControlPolicy": {
1725
- },
1726
- "Bucket": "examplebucket",
1727
- "GrantFullControl": "emailaddress=user1@example.com,emailaddress=user2@example.com",
1728
- "GrantRead": "uri=http://acs.amazonaws.com/groups/global/AllUsers",
1729
- "Key": "HappyFace.jpg"
1730
- },
1731
- "output": {
1732
- },
1733
- "comments": {
1734
- "input": {
1735
- },
1736
- "output": {
1737
- }
1738
- },
1739
- "description": "The following example adds grants to an object ACL. The first permission grants user1 and user2 FULL_CONTROL and the AllUsers group READ permission.",
1740
- "id": "to-grant-permissions-using-object-acl-1481835549285",
1741
- "title": "To grant permissions using object ACL"
1742
- }
1743
- ],
1744
- "PutObjectTagging": [
1745
- {
1746
- "input": {
1747
- "Bucket": "examplebucket",
1748
- "Key": "HappyFace.jpg",
1749
- "Tagging": {
1750
- "TagSet": [
1751
- {
1752
- "Key": "Key3",
1753
- "Value": "Value3"
1754
- },
1755
- {
1756
- "Key": "Key4",
1757
- "Value": "Value4"
1758
- }
1759
- ]
1760
- }
1761
- },
1762
- "output": {
1763
- "VersionId": "null"
1764
- },
1765
- "comments": {
1766
- "input": {
1767
- },
1768
- "output": {
1769
- }
1770
- },
1771
- "description": "The following example adds tags to an existing object.",
1772
- "id": "to-add-tags-to-an-existing-object-1481764668793",
1773
- "title": "To add tags to an existing object"
1774
- }
1775
- ],
1776
- "RestoreObject": [
1777
- {
1778
- "input": {
1779
- "Bucket": "examplebucket",
1780
- "Key": "archivedobjectkey",
1781
- "RestoreRequest": {
1782
- "Days": 1,
1783
- "GlacierJobParameters": {
1784
- "Tier": "Expedited"
1785
- }
1786
- }
1787
- },
1788
- "output": {
1789
- },
1790
- "comments": {
1791
- "input": {
1792
- },
1793
- "output": {
1794
- }
1795
- },
1796
- "description": "The following example restores for one day an archived copy of an object back into Amazon S3 bucket.",
1797
- "id": "to-restore-an-archived-object-1483049329953",
1798
- "title": "To restore an archived object"
1799
- }
1800
- ],
1801
- "UploadPart": [
1802
- {
1803
- "input": {
1804
- "Body": "fileToUpload",
1805
- "Bucket": "examplebucket",
1806
- "Key": "examplelargeobject",
1807
- "PartNumber": "1",
1808
- "UploadId": "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
1809
- },
1810
- "output": {
1811
- "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\""
1812
- },
1813
- "comments": {
1814
- "input": {
1815
- },
1816
- "output": {
1817
- }
1818
- },
1819
- "description": "The following example uploads part 1 of a multipart upload. The example specifies a file name for the part data. The Upload ID is same that is returned by the initiate multipart upload.",
1820
- "id": "to-upload-a-part-1481847914943",
1821
- "title": "To upload a part"
1822
- }
1823
- ],
1824
- "UploadPartCopy": [
1825
- {
1826
- "input": {
1827
- "Bucket": "examplebucket",
1828
- "CopySource": "/bucketname/sourceobjectkey",
1829
- "CopySourceRange": "bytes=1-100000",
1830
- "Key": "examplelargeobject",
1831
- "PartNumber": "2",
1832
- "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
1833
- },
1834
- "output": {
1835
- "CopyPartResult": {
1836
- "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
1837
- "LastModified": "2016-12-29T21:44:28.000Z"
1838
- }
1839
- },
1840
- "comments": {
1841
- "input": {
1842
- },
1843
- "output": {
1844
- }
1845
- },
1846
- "description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.",
1847
- "id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594",
1848
- "title": "To upload a part by copying byte range from an existing object as data source"
1849
- },
1850
- {
1851
- "input": {
1852
- "Bucket": "examplebucket",
1853
- "CopySource": "bucketname/sourceobjectkey",
1854
- "Key": "examplelargeobject",
1855
- "PartNumber": "1",
1856
- "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
1857
- },
1858
- "output": {
1859
- "CopyPartResult": {
1860
- "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
1861
- "LastModified": "2016-12-29T21:24:43.000Z"
1862
- }
1863
- },
1864
- "comments": {
1865
- "input": {
1866
- },
1867
- "output": {
1868
- }
1869
- },
1870
- "description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
1871
- "id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
1872
- "title": "To upload a part by copying data from an existing object as data source"
1873
- }
1874
- ]
1875
- }
1876
- }