aws-sdk-core 2.0.48 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/apis/autoscaling/2011-01-01/api-2.json +636 -33
  3. data/apis/cloudhsm/2014-05-30/api-2.json +3 -6
  4. data/apis/ec2/2014-10-01/api-2.json +10267 -0
  5. data/apis/ec2/2014-10-01/paginators-1.json +125 -0
  6. data/apis/ec2/2014-10-01/resources-1.json +2289 -0
  7. data/apis/ec2/2014-10-01/waiters-2.json +453 -0
  8. data/apis/ec2/2015-03-01/api-2.json +11245 -0
  9. data/apis/ec2/2015-03-01/paginators-1.json +125 -0
  10. data/apis/ec2/2015-03-01/resources-1.json +2479 -0
  11. data/apis/ec2/2015-03-01/waiters-2.json +458 -0
  12. data/apis/ec2/2015-04-15/api-2.json +182 -2
  13. data/apis/ecs/2014-11-13/api-2.json +316 -7
  14. data/apis/ecs/2014-11-13/paginators-1.json +40 -0
  15. data/apis/ecs/2014-11-13/waiters-2.json +93 -0
  16. data/apis/redshift/2012-12-01/waiters-2.json +19 -0
  17. data/apis/s3/2006-03-01/api-2.json +1 -2
  18. data/apis/sqs/2012-11-05/api-2.json +5 -6
  19. data/ca-bundle.crt +3554 -0
  20. data/lib/aws-sdk-core.rb +127 -44
  21. data/lib/aws-sdk-core/api/builder.rb +95 -0
  22. data/lib/aws-sdk-core/api/customizations.rb +152 -0
  23. data/lib/aws-sdk-core/api/docs/builder.rb +220 -0
  24. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +109 -0
  25. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +66 -0
  26. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +107 -0
  27. data/lib/aws-sdk-core/api/docs/param_formatter.rb +163 -0
  28. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +22 -0
  29. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +91 -0
  30. data/lib/aws-sdk-core/api/docs/utils.rb +133 -0
  31. data/lib/aws-sdk-core/api/shape_map.rb +140 -0
  32. data/lib/aws-sdk-core/assume_role_credentials.rb +9 -6
  33. data/lib/aws-sdk-core/client.rb +9 -6
  34. data/lib/aws-sdk-core/client_stubs.rb +127 -133
  35. data/lib/aws-sdk-core/client_waiters.rb +1 -1
  36. data/lib/aws-sdk-core/credential_provider.rb +44 -0
  37. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -2
  38. data/lib/aws-sdk-core/credentials.rb +5 -0
  39. data/lib/aws-sdk-core/deprecations.rb +69 -0
  40. data/lib/aws-sdk-core/dynamodb.rb +12 -0
  41. data/lib/aws-sdk-core/eager_loader.rb +31 -0
  42. data/lib/aws-sdk-core/ecs.rb +2 -0
  43. data/lib/aws-sdk-core/empty_structure.rb +1 -82
  44. data/lib/aws-sdk-core/endpoint_provider.rb +1 -1
  45. data/lib/aws-sdk-core/instance_profile_credentials.rb +9 -10
  46. data/lib/aws-sdk-core/json.rb +56 -0
  47. data/lib/aws-sdk-core/json/builder.rb +33 -34
  48. data/lib/aws-sdk-core/json/error_handler.rb +2 -2
  49. data/lib/aws-sdk-core/json/handler.rb +67 -0
  50. data/lib/aws-sdk-core/json/json_engine.rb +15 -0
  51. data/lib/aws-sdk-core/json/oj_engine.rb +15 -0
  52. data/lib/aws-sdk-core/json/parser.rb +30 -38
  53. data/lib/aws-sdk-core/pageable_response.rb +9 -12
  54. data/lib/aws-sdk-core/pager.rb +69 -0
  55. data/lib/aws-sdk-core/param_converter.rb +203 -0
  56. data/lib/aws-sdk-core/param_validator.rb +148 -0
  57. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +21 -18
  58. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +9 -1
  59. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +2 -3
  60. data/lib/aws-sdk-core/plugins/param_converter.rb +27 -0
  61. data/lib/aws-sdk-core/plugins/param_validator.rb +28 -0
  62. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +3 -7
  63. data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +1 -2
  64. data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +1 -1
  65. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +1 -1
  66. data/lib/aws-sdk-core/plugins/request_signer.rb +5 -5
  67. data/lib/aws-sdk-core/plugins/response_paging.rb +20 -11
  68. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +1 -1
  69. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +1 -2
  70. data/lib/aws-sdk-core/plugins/stub_responses.rb +25 -27
  71. data/lib/aws-sdk-core/query/ec2_param_builder.rb +29 -34
  72. data/lib/aws-sdk-core/query/handler.rb +32 -18
  73. data/lib/aws-sdk-core/query/param_builder.rb +45 -53
  74. data/lib/aws-sdk-core/refreshing_credentials.rb +3 -15
  75. data/lib/aws-sdk-core/rest/handler.rb +22 -0
  76. data/lib/aws-sdk-core/rest/request/body.rb +58 -0
  77. data/lib/aws-sdk-core/rest/request/builder.rb +50 -0
  78. data/lib/aws-sdk-core/rest/request/endpoint.rb +70 -0
  79. data/lib/aws-sdk-core/rest/request/headers.rb +48 -0
  80. data/lib/aws-sdk-core/rest/response/body.rb +43 -0
  81. data/lib/aws-sdk-core/rest/response/headers.rb +60 -0
  82. data/lib/aws-sdk-core/rest/response/parser.rb +47 -0
  83. data/lib/aws-sdk-core/rest/response/status_code.rb +24 -0
  84. data/lib/aws-sdk-core/shared_credentials.rb +11 -6
  85. data/lib/aws-sdk-core/signers/base.rb +1 -1
  86. data/lib/aws-sdk-core/signers/s3.rb +2 -3
  87. data/lib/aws-sdk-core/signers/v2.rb +7 -4
  88. data/lib/aws-sdk-core/signers/v4.rb +11 -22
  89. data/lib/aws-sdk-core/structure.rb +26 -145
  90. data/lib/aws-sdk-core/stubbing/data_applicator.rb +46 -0
  91. data/lib/aws-sdk-core/stubbing/empty_stub.rb +53 -0
  92. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +49 -0
  93. data/lib/aws-sdk-core/stubbing/protocols/json.rb +40 -0
  94. data/lib/aws-sdk-core/stubbing/protocols/query.rb +40 -0
  95. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +67 -0
  96. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +25 -0
  97. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +38 -0
  98. data/lib/aws-sdk-core/stubbing/stub_data.rb +34 -0
  99. data/lib/aws-sdk-core/version.rb +1 -1
  100. data/lib/aws-sdk-core/xml/builder.rb +58 -52
  101. data/lib/aws-sdk-core/xml/default_map.rb +10 -0
  102. data/lib/aws-sdk-core/xml/doc_builder.rb +86 -0
  103. data/lib/aws-sdk-core/xml/error_handler.rb +7 -2
  104. data/lib/aws-sdk-core/xml/parser.rb +4 -4
  105. data/lib/aws-sdk-core/xml/parser/frame.rb +75 -70
  106. data/lib/aws-sdk-core/xml/parser/stack.rb +4 -4
  107. data/lib/seahorse.rb +0 -11
  108. data/lib/seahorse/client/base.rb +3 -12
  109. data/lib/seahorse/client/http/request.rb +9 -5
  110. data/lib/seahorse/client/plugins/endpoint.rb +5 -56
  111. data/lib/seahorse/client/plugins/restful_bindings.rb +38 -31
  112. data/lib/seahorse/client/request_context.rb +2 -2
  113. data/lib/seahorse/client/response.rb +6 -5
  114. data/lib/seahorse/model/api.rb +18 -61
  115. data/lib/seahorse/model/operation.rb +24 -54
  116. data/lib/seahorse/model/shapes.rb +120 -364
  117. data/lib/seahorse/util.rb +2 -6
  118. metadata +56 -109
  119. data/apis/autoscaling/2011-01-01/docs-2.json +0 -1246
  120. data/apis/cloudformation/2010-05-15/docs-2.json +0 -725
  121. data/apis/cloudfront/2014-11-06/docs-2.json +0 -1125
  122. data/apis/cloudhsm/2014-05-30/docs-2.json +0 -472
  123. data/apis/cloudsearch/2013-01-01/docs-2.json +0 -865
  124. data/apis/cloudsearchdomain/2013-01-01/docs-2.json +0 -311
  125. data/apis/cloudtrail/2013-11-01/docs-2.json +0 -328
  126. data/apis/codedeploy/2014-10-06/docs-2.json +0 -1261
  127. data/apis/cognito-identity/2014-06-30/docs-2.json +0 -506
  128. data/apis/cognito-sync/2014-06-30/docs-2.json +0 -582
  129. data/apis/config/2014-10-17/docs-2.json +0 -513
  130. data/apis/config/2014-11-12/docs-2.json +0 -514
  131. data/apis/datapipeline/2012-10-29/docs-2.json +0 -607
  132. data/apis/directconnect/2012-10-25/docs-2.json +0 -494
  133. data/apis/ds/2015-04-16/docs-2.json +0 -753
  134. data/apis/dynamodb/2011-12-05/api-2.json +0 -949
  135. data/apis/dynamodb/2011-12-05/docs-2.json +0 -606
  136. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  137. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  138. data/apis/dynamodb/2012-08-10/docs-2.json +0 -977
  139. data/apis/ec2/2015-04-15/docs-2.json +0 -5368
  140. data/apis/ecs/2014-11-13/docs-2.json +0 -791
  141. data/apis/elasticache/2015-02-02/docs-2.json +0 -1390
  142. data/apis/elasticbeanstalk/2010-12-01/docs-2.json +0 -1114
  143. data/apis/elasticfilesystem/2015-02-01/docs-2.json +0 -414
  144. data/apis/elasticloadbalancing/2012-06-01/docs-2.json +0 -1078
  145. data/apis/elasticmapreduce/2009-03-31/docs-2.json +0 -969
  146. data/apis/elastictranscoder/2012-09-25/docs-2.json +0 -1152
  147. data/apis/email/2010-12-01/docs-2.json +0 -441
  148. data/apis/glacier/2012-06-01/docs-2.json +0 -575
  149. data/apis/iam/2010-05-08/docs-2.json +0 -2138
  150. data/apis/importexport/2010-06-01/docs-2.json +0 -432
  151. data/apis/kinesis/2013-12-02/docs-2.json +0 -424
  152. data/apis/kms/2014-11-01/docs-2.json +0 -628
  153. data/apis/lambda/2014-11-11/docs-2.json +0 -303
  154. data/apis/lambda/2015-03-31/docs-2.json +0 -490
  155. data/apis/logs/2014-03-28/docs-2.json +0 -599
  156. data/apis/machinelearning/2014-12-12/docs-2.json +0 -1034
  157. data/apis/monitoring/2010-08-01/docs-2.json +0 -514
  158. data/apis/opsworks/2013-02-18/docs-2.json +0 -1592
  159. data/apis/rds/2014-10-31/docs-2.json +0 -2074
  160. data/apis/redshift/2012-12-01/docs-2.json +0 -1890
  161. data/apis/route53/2013-04-01/docs-2.json +0 -1159
  162. data/apis/route53domains/2014-05-15/docs-2.json +0 -620
  163. data/apis/s3/2006-03-01/docs-2.json +0 -2213
  164. data/apis/sdb/2009-04-15/docs-2.json +0 -339
  165. data/apis/sns/2010-03-31/docs-2.json +0 -564
  166. data/apis/sqs/2012-11-05/docs-2.json +0 -503
  167. data/apis/ssm/2014-11-06/docs-2.json +0 -440
  168. data/apis/storagegateway/2013-06-30/docs-2.json +0 -1331
  169. data/apis/sts/2011-06-15/docs-2.json +0 -351
  170. data/apis/support/2013-04-15/docs-2.json +0 -680
  171. data/apis/swf/2012-01-25/docs-2.json +0 -1569
  172. data/apis/workspaces/2015-04-08/docs-2.json +0 -457
  173. data/lib/aws-sdk-core/api/customizer.rb +0 -75
  174. data/lib/aws-sdk-core/api/docstrings.rb +0 -38
  175. data/lib/aws-sdk-core/api/documenter.rb +0 -241
  176. data/lib/aws-sdk-core/api/operation_documenter.rb +0 -173
  177. data/lib/aws-sdk-core/api/operation_example.rb +0 -133
  178. data/lib/aws-sdk-core/api/service_customizations.rb +0 -140
  179. data/lib/aws-sdk-core/client_paging.rb +0 -31
  180. data/lib/aws-sdk-core/json/rest_handler.rb +0 -20
  181. data/lib/aws-sdk-core/json/rpc_body_handler.rb +0 -38
  182. data/lib/aws-sdk-core/json/rpc_headers_handler.rb +0 -34
  183. data/lib/aws-sdk-core/json/simple_body_handler.rb +0 -34
  184. data/lib/aws-sdk-core/paging/null_pager.rb +0 -20
  185. data/lib/aws-sdk-core/paging/null_provider.rb +0 -13
  186. data/lib/aws-sdk-core/paging/pager.rb +0 -70
  187. data/lib/aws-sdk-core/paging/provider.rb +0 -22
  188. data/lib/aws-sdk-core/rest_body_handler.rb +0 -111
  189. data/lib/aws-sdk-core/signers/handler.rb +0 -18
  190. data/lib/aws-sdk-core/xml/rest_handler.rb +0 -20
  191. data/lib/seahorse/client/param_converter.rb +0 -207
  192. data/lib/seahorse/client/param_validator.rb +0 -139
  193. data/lib/seahorse/client/plugins/json_simple.rb +0 -33
  194. data/lib/seahorse/client/plugins/param_conversion.rb +0 -29
  195. data/lib/seahorse/client/plugins/param_validation.rb +0 -30
  196. data/lib/seahorse/client/xml/builder.rb +0 -91
  197. data/lib/seahorse/model/shape_map.rb +0 -47
@@ -240,6 +240,15 @@
240
240
  "input":{"shape":"CreateDhcpOptionsRequest"},
241
241
  "output":{"shape":"CreateDhcpOptionsResult"}
242
242
  },
243
+ "CreateFlowLogs":{
244
+ "name":"CreateFlowLogs",
245
+ "http":{
246
+ "method":"POST",
247
+ "requestUri":"/"
248
+ },
249
+ "input":{"shape":"CreateFlowLogsRequest"},
250
+ "output":{"shape":"CreateFlowLogsResult"}
251
+ },
243
252
  "CreateImage":{
244
253
  "name":"CreateImage",
245
254
  "http":{
@@ -468,6 +477,15 @@
468
477
  },
469
478
  "input":{"shape":"DeleteDhcpOptionsRequest"}
470
479
  },
480
+ "DeleteFlowLogs":{
481
+ "name":"DeleteFlowLogs",
482
+ "http":{
483
+ "method":"POST",
484
+ "requestUri":"/"
485
+ },
486
+ "input":{"shape":"DeleteFlowLogsRequest"},
487
+ "output":{"shape":"DeleteFlowLogsResult"}
488
+ },
471
489
  "DeleteInternetGateway":{
472
490
  "name":"DeleteInternetGateway",
473
491
  "http":{
@@ -719,6 +737,15 @@
719
737
  "input":{"shape":"DescribeExportTasksRequest"},
720
738
  "output":{"shape":"DescribeExportTasksResult"}
721
739
  },
740
+ "DescribeFlowLogs":{
741
+ "name":"DescribeFlowLogs",
742
+ "http":{
743
+ "method":"POST",
744
+ "requestUri":"/"
745
+ },
746
+ "input":{"shape":"DescribeFlowLogsRequest"},
747
+ "output":{"shape":"DescribeFlowLogsResult"}
748
+ },
722
749
  "DescribeImageAttribute":{
723
750
  "name":"DescribeImageAttribute",
724
751
  "http":{
@@ -2769,6 +2796,44 @@
2769
2796
  }
2770
2797
  }
2771
2798
  },
2799
+ "CreateFlowLogsRequest":{
2800
+ "type":"structure",
2801
+ "required":[
2802
+ "ResourceIds",
2803
+ "ResourceType",
2804
+ "TrafficType",
2805
+ "LogGroupName",
2806
+ "DeliverLogsPermissionArn"
2807
+ ],
2808
+ "members":{
2809
+ "ResourceIds":{
2810
+ "shape":"ValueStringList",
2811
+ "locationName":"ResourceId"
2812
+ },
2813
+ "ResourceType":{"shape":"FlowLogsResourceType"},
2814
+ "TrafficType":{"shape":"TrafficType"},
2815
+ "LogGroupName":{"shape":"String"},
2816
+ "DeliverLogsPermissionArn":{"shape":"String"},
2817
+ "ClientToken":{"shape":"String"}
2818
+ }
2819
+ },
2820
+ "CreateFlowLogsResult":{
2821
+ "type":"structure",
2822
+ "members":{
2823
+ "FlowLogIds":{
2824
+ "shape":"ValueStringList",
2825
+ "locationName":"flowLogIdSet"
2826
+ },
2827
+ "ClientToken":{
2828
+ "shape":"String",
2829
+ "locationName":"clientToken"
2830
+ },
2831
+ "Unsuccessful":{
2832
+ "shape":"UnsuccessfulItemSet",
2833
+ "locationName":"unsuccessful"
2834
+ }
2835
+ }
2836
+ },
2772
2837
  "CreateImageRequest":{
2773
2838
  "type":"structure",
2774
2839
  "required":[
@@ -3504,6 +3569,25 @@
3504
3569
  "DhcpOptionsId":{"shape":"String"}
3505
3570
  }
3506
3571
  },
3572
+ "DeleteFlowLogsRequest":{
3573
+ "type":"structure",
3574
+ "required":["FlowLogIds"],
3575
+ "members":{
3576
+ "FlowLogIds":{
3577
+ "shape":"ValueStringList",
3578
+ "locationName":"FlowLogId"
3579
+ }
3580
+ }
3581
+ },
3582
+ "DeleteFlowLogsResult":{
3583
+ "type":"structure",
3584
+ "members":{
3585
+ "Unsuccessful":{
3586
+ "shape":"UnsuccessfulItemSet",
3587
+ "locationName":"unsuccessful"
3588
+ }
3589
+ }
3590
+ },
3507
3591
  "DeleteInternetGatewayRequest":{
3508
3592
  "type":"structure",
3509
3593
  "required":["InternetGatewayId"],
@@ -4046,6 +4130,31 @@
4046
4130
  }
4047
4131
  }
4048
4132
  },
4133
+ "DescribeFlowLogsRequest":{
4134
+ "type":"structure",
4135
+ "members":{
4136
+ "FlowLogIds":{
4137
+ "shape":"ValueStringList",
4138
+ "locationName":"FlowLogId"
4139
+ },
4140
+ "Filter":{"shape":"FilterList"},
4141
+ "NextToken":{"shape":"String"},
4142
+ "MaxResults":{"shape":"Integer"}
4143
+ }
4144
+ },
4145
+ "DescribeFlowLogsResult":{
4146
+ "type":"structure",
4147
+ "members":{
4148
+ "FlowLogs":{
4149
+ "shape":"FlowLogSet",
4150
+ "locationName":"flowLogSet"
4151
+ },
4152
+ "NextToken":{
4153
+ "shape":"String",
4154
+ "locationName":"nextToken"
4155
+ }
4156
+ }
4157
+ },
4049
4158
  "DescribeImageAttributeRequest":{
4050
4159
  "type":"structure",
4051
4160
  "required":[
@@ -5961,6 +6070,62 @@
5961
6070
  }
5962
6071
  },
5963
6072
  "Float":{"type":"float"},
6073
+ "FlowLog":{
6074
+ "type":"structure",
6075
+ "members":{
6076
+ "CreationTime":{
6077
+ "shape":"DateTime",
6078
+ "locationName":"creationTime"
6079
+ },
6080
+ "FlowLogId":{
6081
+ "shape":"String",
6082
+ "locationName":"flowLogId"
6083
+ },
6084
+ "FlowLogStatus":{
6085
+ "shape":"String",
6086
+ "locationName":"flowLogStatus"
6087
+ },
6088
+ "ResourceId":{
6089
+ "shape":"String",
6090
+ "locationName":"resourceId"
6091
+ },
6092
+ "TrafficType":{
6093
+ "shape":"TrafficType",
6094
+ "locationName":"trafficType"
6095
+ },
6096
+ "LogGroupName":{
6097
+ "shape":"String",
6098
+ "locationName":"logGroupName"
6099
+ },
6100
+ "DeliverLogsStatus":{
6101
+ "shape":"String",
6102
+ "locationName":"deliverLogsStatus"
6103
+ },
6104
+ "DeliverLogsErrorMessage":{
6105
+ "shape":"String",
6106
+ "locationName":"deliverLogsErrorMessage"
6107
+ },
6108
+ "DeliverLogsPermissionArn":{
6109
+ "shape":"String",
6110
+ "locationName":"deliverLogsPermissionArn"
6111
+ }
6112
+ }
6113
+ },
6114
+ "FlowLogSet":{
6115
+ "type":"list",
6116
+ "member":{
6117
+ "shape":"FlowLog",
6118
+ "locationName":"item"
6119
+ }
6120
+ },
6121
+ "FlowLogsResourceType":{
6122
+ "type":"string",
6123
+ "enum":[
6124
+ "VPC",
6125
+ "Subnet",
6126
+ "NetworkInterface"
6127
+ ]
6128
+ },
5964
6129
  "GatewayType":{
5965
6130
  "type":"string",
5966
6131
  "enum":["ipsec.1"]
@@ -7470,6 +7635,11 @@
7470
7635
  "m3.large",
7471
7636
  "m3.xlarge",
7472
7637
  "m3.2xlarge",
7638
+ "m4.large",
7639
+ "m4.xlarge",
7640
+ "m4.2xlarge",
7641
+ "m4.4xlarge",
7642
+ "m4.10xlarge",
7473
7643
  "t2.micro",
7474
7644
  "t2.small",
7475
7645
  "t2.medium",
@@ -10578,7 +10748,8 @@
10578
10748
  "enum":[
10579
10749
  "passed",
10580
10750
  "failed",
10581
- "insufficient-data"
10751
+ "insufficient-data",
10752
+ "initializing"
10582
10753
  ]
10583
10754
  },
10584
10755
  "StopInstancesRequest":{
@@ -10683,7 +10854,8 @@
10683
10854
  "ok",
10684
10855
  "impaired",
10685
10856
  "insufficient-data",
10686
- "not-applicable"
10857
+ "not-applicable",
10858
+ "initializing"
10687
10859
  ]
10688
10860
  },
10689
10861
  "Tag":{
@@ -10771,6 +10943,14 @@
10771
10943
  }
10772
10944
  }
10773
10945
  },
10946
+ "TrafficType":{
10947
+ "type":"string",
10948
+ "enum":[
10949
+ "ACCEPT",
10950
+ "REJECT",
10951
+ "ALL"
10952
+ ]
10953
+ },
10774
10954
  "UnassignPrivateIpAddressesRequest":{
10775
10955
  "type":"structure",
10776
10956
  "required":[
@@ -28,6 +28,10 @@
28
28
  {
29
29
  "shape":"ClientException",
30
30
  "exception":true
31
+ },
32
+ {
33
+ "shape":"InvalidParameterException",
34
+ "exception":true
31
35
  }
32
36
  ]
33
37
  },
@@ -48,6 +52,14 @@
48
52
  {
49
53
  "shape":"ClientException",
50
54
  "exception":true
55
+ },
56
+ {
57
+ "shape":"InvalidParameterException",
58
+ "exception":true
59
+ },
60
+ {
61
+ "shape":"ClusterNotFoundException",
62
+ "exception":true
51
63
  }
52
64
  ]
53
65
  },
@@ -68,6 +80,22 @@
68
80
  {
69
81
  "shape":"ClientException",
70
82
  "exception":true
83
+ },
84
+ {
85
+ "shape":"InvalidParameterException",
86
+ "exception":true
87
+ },
88
+ {
89
+ "shape":"ClusterNotFoundException",
90
+ "exception":true
91
+ },
92
+ {
93
+ "shape":"ClusterContainsContainerInstancesException",
94
+ "exception":true
95
+ },
96
+ {
97
+ "shape":"ClusterContainsServicesException",
98
+ "exception":true
71
99
  }
72
100
  ]
73
101
  },
@@ -88,6 +116,18 @@
88
116
  {
89
117
  "shape":"ClientException",
90
118
  "exception":true
119
+ },
120
+ {
121
+ "shape":"InvalidParameterException",
122
+ "exception":true
123
+ },
124
+ {
125
+ "shape":"ClusterNotFoundException",
126
+ "exception":true
127
+ },
128
+ {
129
+ "shape":"ServiceNotFoundException",
130
+ "exception":true
91
131
  }
92
132
  ]
93
133
  },
@@ -108,6 +148,14 @@
108
148
  {
109
149
  "shape":"ClientException",
110
150
  "exception":true
151
+ },
152
+ {
153
+ "shape":"InvalidParameterException",
154
+ "exception":true
155
+ },
156
+ {
157
+ "shape":"ClusterNotFoundException",
158
+ "exception":true
111
159
  }
112
160
  ]
113
161
  },
@@ -128,6 +176,10 @@
128
176
  {
129
177
  "shape":"ClientException",
130
178
  "exception":true
179
+ },
180
+ {
181
+ "shape":"InvalidParameterException",
182
+ "exception":true
131
183
  }
132
184
  ]
133
185
  },
@@ -148,6 +200,10 @@
148
200
  {
149
201
  "shape":"ClientException",
150
202
  "exception":true
203
+ },
204
+ {
205
+ "shape":"InvalidParameterException",
206
+ "exception":true
151
207
  }
152
208
  ]
153
209
  },
@@ -168,6 +224,14 @@
168
224
  {
169
225
  "shape":"ClientException",
170
226
  "exception":true
227
+ },
228
+ {
229
+ "shape":"InvalidParameterException",
230
+ "exception":true
231
+ },
232
+ {
233
+ "shape":"ClusterNotFoundException",
234
+ "exception":true
171
235
  }
172
236
  ]
173
237
  },
@@ -188,6 +252,14 @@
188
252
  {
189
253
  "shape":"ClientException",
190
254
  "exception":true
255
+ },
256
+ {
257
+ "shape":"InvalidParameterException",
258
+ "exception":true
259
+ },
260
+ {
261
+ "shape":"ClusterNotFoundException",
262
+ "exception":true
191
263
  }
192
264
  ]
193
265
  },
@@ -208,6 +280,10 @@
208
280
  {
209
281
  "shape":"ClientException",
210
282
  "exception":true
283
+ },
284
+ {
285
+ "shape":"InvalidParameterException",
286
+ "exception":true
211
287
  }
212
288
  ]
213
289
  },
@@ -228,6 +304,14 @@
228
304
  {
229
305
  "shape":"ClientException",
230
306
  "exception":true
307
+ },
308
+ {
309
+ "shape":"InvalidParameterException",
310
+ "exception":true
311
+ },
312
+ {
313
+ "shape":"ClusterNotFoundException",
314
+ "exception":true
231
315
  }
232
316
  ]
233
317
  },
@@ -268,6 +352,10 @@
268
352
  {
269
353
  "shape":"ClientException",
270
354
  "exception":true
355
+ },
356
+ {
357
+ "shape":"InvalidParameterException",
358
+ "exception":true
271
359
  }
272
360
  ]
273
361
  },
@@ -288,6 +376,14 @@
288
376
  {
289
377
  "shape":"ClientException",
290
378
  "exception":true
379
+ },
380
+ {
381
+ "shape":"InvalidParameterException",
382
+ "exception":true
383
+ },
384
+ {
385
+ "shape":"ClusterNotFoundException",
386
+ "exception":true
291
387
  }
292
388
  ]
293
389
  },
@@ -308,6 +404,14 @@
308
404
  {
309
405
  "shape":"ClientException",
310
406
  "exception":true
407
+ },
408
+ {
409
+ "shape":"InvalidParameterException",
410
+ "exception":true
411
+ },
412
+ {
413
+ "shape":"ClusterNotFoundException",
414
+ "exception":true
311
415
  }
312
416
  ]
313
417
  },
@@ -328,6 +432,10 @@
328
432
  {
329
433
  "shape":"ClientException",
330
434
  "exception":true
435
+ },
436
+ {
437
+ "shape":"InvalidParameterException",
438
+ "exception":true
331
439
  }
332
440
  ]
333
441
  },
@@ -348,6 +456,10 @@
348
456
  {
349
457
  "shape":"ClientException",
350
458
  "exception":true
459
+ },
460
+ {
461
+ "shape":"InvalidParameterException",
462
+ "exception":true
351
463
  }
352
464
  ]
353
465
  },
@@ -368,6 +480,14 @@
368
480
  {
369
481
  "shape":"ClientException",
370
482
  "exception":true
483
+ },
484
+ {
485
+ "shape":"InvalidParameterException",
486
+ "exception":true
487
+ },
488
+ {
489
+ "shape":"ClusterNotFoundException",
490
+ "exception":true
371
491
  }
372
492
  ]
373
493
  },
@@ -408,6 +528,10 @@
408
528
  {
409
529
  "shape":"ClientException",
410
530
  "exception":true
531
+ },
532
+ {
533
+ "shape":"InvalidParameterException",
534
+ "exception":true
411
535
  }
412
536
  ]
413
537
  },
@@ -428,6 +552,14 @@
428
552
  {
429
553
  "shape":"ClientException",
430
554
  "exception":true
555
+ },
556
+ {
557
+ "shape":"InvalidParameterException",
558
+ "exception":true
559
+ },
560
+ {
561
+ "shape":"ClusterNotFoundException",
562
+ "exception":true
431
563
  }
432
564
  ]
433
565
  },
@@ -448,6 +580,14 @@
448
580
  {
449
581
  "shape":"ClientException",
450
582
  "exception":true
583
+ },
584
+ {
585
+ "shape":"InvalidParameterException",
586
+ "exception":true
587
+ },
588
+ {
589
+ "shape":"ClusterNotFoundException",
590
+ "exception":true
451
591
  }
452
592
  ]
453
593
  },
@@ -468,6 +608,14 @@
468
608
  {
469
609
  "shape":"ClientException",
470
610
  "exception":true
611
+ },
612
+ {
613
+ "shape":"InvalidParameterException",
614
+ "exception":true
615
+ },
616
+ {
617
+ "shape":"ClusterNotFoundException",
618
+ "exception":true
471
619
  }
472
620
  ]
473
621
  },
@@ -511,6 +659,46 @@
511
659
  }
512
660
  ]
513
661
  },
662
+ "UpdateContainerAgent":{
663
+ "name":"UpdateContainerAgent",
664
+ "http":{
665
+ "method":"POST",
666
+ "requestUri":"/"
667
+ },
668
+ "input":{"shape":"UpdateContainerAgentRequest"},
669
+ "output":{"shape":"UpdateContainerAgentResponse"},
670
+ "errors":[
671
+ {
672
+ "shape":"ServerException",
673
+ "exception":true,
674
+ "fault":true
675
+ },
676
+ {
677
+ "shape":"ClientException",
678
+ "exception":true
679
+ },
680
+ {
681
+ "shape":"InvalidParameterException",
682
+ "exception":true
683
+ },
684
+ {
685
+ "shape":"ClusterNotFoundException",
686
+ "exception":true
687
+ },
688
+ {
689
+ "shape":"UpdateInProgressException",
690
+ "exception":true
691
+ },
692
+ {
693
+ "shape":"NoUpdateAvailableException",
694
+ "exception":true
695
+ },
696
+ {
697
+ "shape":"MissingVersionException",
698
+ "exception":true
699
+ }
700
+ ]
701
+ },
514
702
  "UpdateService":{
515
703
  "name":"UpdateService",
516
704
  "http":{
@@ -528,11 +716,38 @@
528
716
  {
529
717
  "shape":"ClientException",
530
718
  "exception":true
719
+ },
720
+ {
721
+ "shape":"InvalidParameterException",
722
+ "exception":true
723
+ },
724
+ {
725
+ "shape":"ClusterNotFoundException",
726
+ "exception":true
727
+ },
728
+ {
729
+ "shape":"ServiceNotFoundException",
730
+ "exception":true
731
+ },
732
+ {
733
+ "shape":"ServiceNotActiveException",
734
+ "exception":true
531
735
  }
532
736
  ]
533
737
  }
534
738
  },
535
739
  "shapes":{
740
+ "AgentUpdateStatus":{
741
+ "type":"string",
742
+ "enum":[
743
+ "PENDING",
744
+ "STAGING",
745
+ "STAGED",
746
+ "UPDATING",
747
+ "UPDATED",
748
+ "FAILED"
749
+ ]
750
+ },
536
751
  "Boolean":{"type":"boolean"},
537
752
  "BoxedBoolean":{
538
753
  "type":"boolean",
@@ -557,9 +772,28 @@
557
772
  "status":{"shape":"String"},
558
773
  "registeredContainerInstancesCount":{"shape":"Integer"},
559
774
  "runningTasksCount":{"shape":"Integer"},
560
- "pendingTasksCount":{"shape":"Integer"}
775
+ "pendingTasksCount":{"shape":"Integer"},
776
+ "activeServicesCount":{"shape":"Integer"}
561
777
  }
562
778
  },
779
+ "ClusterContainsContainerInstancesException":{
780
+ "type":"structure",
781
+ "members":{
782
+ },
783
+ "exception":true
784
+ },
785
+ "ClusterContainsServicesException":{
786
+ "type":"structure",
787
+ "members":{
788
+ },
789
+ "exception":true
790
+ },
791
+ "ClusterNotFoundException":{
792
+ "type":"structure",
793
+ "members":{
794
+ },
795
+ "exception":true
796
+ },
563
797
  "Clusters":{
564
798
  "type":"list",
565
799
  "member":{"shape":"Cluster"}
@@ -602,12 +836,14 @@
602
836
  "members":{
603
837
  "containerInstanceArn":{"shape":"String"},
604
838
  "ec2InstanceId":{"shape":"String"},
839
+ "versionInfo":{"shape":"VersionInfo"},
605
840
  "remainingResources":{"shape":"Resources"},
606
841
  "registeredResources":{"shape":"Resources"},
607
842
  "status":{"shape":"String"},
608
843
  "agentConnected":{"shape":"Boolean"},
609
844
  "runningTasksCount":{"shape":"Integer"},
610
- "pendingTasksCount":{"shape":"Integer"}
845
+ "pendingTasksCount":{"shape":"Integer"},
846
+ "agentUpdateStatus":{"shape":"AgentUpdateStatus"}
611
847
  }
612
848
  },
613
849
  "ContainerInstances":{
@@ -643,7 +879,11 @@
643
879
  },
644
880
  "CreateServiceRequest":{
645
881
  "type":"structure",
646
- "required":["serviceName"],
882
+ "required":[
883
+ "serviceName",
884
+ "taskDefinition",
885
+ "desiredCount"
886
+ ],
647
887
  "members":{
648
888
  "cluster":{"shape":"String"},
649
889
  "serviceName":{"shape":"String"},
@@ -803,6 +1043,14 @@
803
1043
  "failures":{"shape":"Failures"}
804
1044
  }
805
1045
  },
1046
+ "DesiredStatus":{
1047
+ "type":"string",
1048
+ "enum":[
1049
+ "RUNNING",
1050
+ "PENDING",
1051
+ "STOPPED"
1052
+ ]
1053
+ },
806
1054
  "DiscoverPollEndpointRequest":{
807
1055
  "type":"structure",
808
1056
  "members":{
@@ -813,7 +1061,8 @@
813
1061
  "DiscoverPollEndpointResponse":{
814
1062
  "type":"structure",
815
1063
  "members":{
816
- "endpoint":{"shape":"String"}
1064
+ "endpoint":{"shape":"String"},
1065
+ "telemetryEndpoint":{"shape":"String"}
817
1066
  }
818
1067
  },
819
1068
  "Double":{"type":"double"},
@@ -839,6 +1088,12 @@
839
1088
  }
840
1089
  },
841
1090
  "Integer":{"type":"integer"},
1091
+ "InvalidParameterException":{
1092
+ "type":"structure",
1093
+ "members":{
1094
+ },
1095
+ "exception":true
1096
+ },
842
1097
  "KeyValuePair":{
843
1098
  "type":"structure",
844
1099
  "members":{
@@ -929,7 +1184,8 @@
929
1184
  "nextToken":{"shape":"String"},
930
1185
  "maxResults":{"shape":"BoxedInteger"},
931
1186
  "startedBy":{"shape":"String"},
932
- "serviceName":{"shape":"String"}
1187
+ "serviceName":{"shape":"String"},
1188
+ "desiredStatus":{"shape":"DesiredStatus"}
933
1189
  }
934
1190
  },
935
1191
  "ListTasksResponse":{
@@ -952,6 +1208,12 @@
952
1208
  "member":{"shape":"LoadBalancer"}
953
1209
  },
954
1210
  "Long":{"type":"long"},
1211
+ "MissingVersionException":{
1212
+ "type":"structure",
1213
+ "members":{
1214
+ },
1215
+ "exception":true
1216
+ },
955
1217
  "MountPoint":{
956
1218
  "type":"structure",
957
1219
  "members":{
@@ -969,18 +1231,26 @@
969
1231
  "members":{
970
1232
  "bindIP":{"shape":"String"},
971
1233
  "containerPort":{"shape":"BoxedInteger"},
972
- "hostPort":{"shape":"BoxedInteger"}
1234
+ "hostPort":{"shape":"BoxedInteger"},
1235
+ "protocol":{"shape":"TransportProtocol"}
973
1236
  }
974
1237
  },
975
1238
  "NetworkBindings":{
976
1239
  "type":"list",
977
1240
  "member":{"shape":"NetworkBinding"}
978
1241
  },
1242
+ "NoUpdateAvailableException":{
1243
+ "type":"structure",
1244
+ "members":{
1245
+ },
1246
+ "exception":true
1247
+ },
979
1248
  "PortMapping":{
980
1249
  "type":"structure",
981
1250
  "members":{
982
1251
  "containerPort":{"shape":"Integer"},
983
- "hostPort":{"shape":"Integer"}
1252
+ "hostPort":{"shape":"Integer"},
1253
+ "protocol":{"shape":"TransportProtocol"}
984
1254
  }
985
1255
  },
986
1256
  "PortMappingList":{
@@ -1091,6 +1361,18 @@
1091
1361
  "type":"list",
1092
1362
  "member":{"shape":"ServiceEvent"}
1093
1363
  },
1364
+ "ServiceNotActiveException":{
1365
+ "type":"structure",
1366
+ "members":{
1367
+ },
1368
+ "exception":true
1369
+ },
1370
+ "ServiceNotFoundException":{
1371
+ "type":"structure",
1372
+ "members":{
1373
+ },
1374
+ "exception":true
1375
+ },
1094
1376
  "Services":{
1095
1377
  "type":"list",
1096
1378
  "member":{"shape":"Service"}
@@ -1203,6 +1485,33 @@
1203
1485
  "member":{"shape":"Task"}
1204
1486
  },
1205
1487
  "Timestamp":{"type":"timestamp"},
1488
+ "TransportProtocol":{
1489
+ "type":"string",
1490
+ "enum":[
1491
+ "tcp",
1492
+ "udp"
1493
+ ]
1494
+ },
1495
+ "UpdateContainerAgentRequest":{
1496
+ "type":"structure",
1497
+ "required":["containerInstance"],
1498
+ "members":{
1499
+ "cluster":{"shape":"String"},
1500
+ "containerInstance":{"shape":"String"}
1501
+ }
1502
+ },
1503
+ "UpdateContainerAgentResponse":{
1504
+ "type":"structure",
1505
+ "members":{
1506
+ "containerInstance":{"shape":"ContainerInstance"}
1507
+ }
1508
+ },
1509
+ "UpdateInProgressException":{
1510
+ "type":"structure",
1511
+ "members":{
1512
+ },
1513
+ "exception":true
1514
+ },
1206
1515
  "UpdateServiceRequest":{
1207
1516
  "type":"structure",
1208
1517
  "required":["service"],