aws-sdk-core 2.11.304 → 2.11.390

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/apis/alexaforbusiness/2017-11-09/api-2.json +85 -11
  3. data/apis/amplify/2017-07-25/api-2.json +753 -35
  4. data/apis/apigateway/2015-07-09/api-2.json +4 -2
  5. data/apis/apigatewaymanagementapi/2018-11-29/api-2.json +103 -7
  6. data/apis/apigatewayv2/2018-11-29/api-2.json +12 -0
  7. data/apis/application-autoscaling/2016-02-06/api-2.json +13 -2
  8. data/apis/application-autoscaling/2016-02-06/examples-1.json +137 -10
  9. data/apis/application-autoscaling/2016-02-06/paginators-1.json +6 -0
  10. data/apis/application-insights/2018-11-25/api-2.json +38 -1
  11. data/apis/appmesh/2019-01-25/api-2.json +353 -0
  12. data/apis/appstream/2016-12-01/api-2.json +67 -13
  13. data/apis/appsync/2017-07-25/api-2.json +2 -1
  14. data/apis/athena/2017-05-18/api-2.json +7 -4
  15. data/apis/batch/2016-08-10/api-2.json +44 -2
  16. data/apis/batch/2016-08-10/paginators-1.json +24 -0
  17. data/apis/ce/2017-10-25/api-2.json +195 -1
  18. data/apis/chime/2018-05-01/api-2.json +611 -14
  19. data/apis/chime/2018-05-01/paginators-1.json +10 -0
  20. data/apis/cloud9/2017-09-23/api-2.json +3 -1
  21. data/apis/cloud9/2017-09-23/examples-1.json +7 -0
  22. data/apis/cloudtrail/2013-11-01/api-2.json +71 -1
  23. data/apis/cloudtrail/2013-11-01/paginators-1.json +15 -0
  24. data/apis/codebuild/2016-10-06/api-2.json +4 -2
  25. data/apis/codecommit/2015-04-13/api-2.json +86 -0
  26. data/apis/codepipeline/2015-07-09/api-2.json +25 -1
  27. data/apis/codestar-notifications/2019-10-15/api-2.json +724 -0
  28. data/apis/codestar-notifications/2019-10-15/examples-1.json +5 -0
  29. data/apis/codestar-notifications/2019-10-15/paginators-1.json +22 -0
  30. data/apis/cognito-idp/2016-04-18/api-2.json +40 -18
  31. data/apis/cognito-idp/2016-04-18/paginators-1.json +6 -0
  32. data/apis/comprehend/2017-11-27/api-2.json +11 -1
  33. data/apis/comprehendmedical/2018-10-30/api-2.json +437 -4
  34. data/apis/config/2014-11-12/api-2.json +585 -19
  35. data/apis/config/2014-11-12/paginators-1.json +5 -0
  36. data/apis/connect/2017-08-08/api-2.json +547 -0
  37. data/apis/connect/2017-08-08/paginators-1.json +52 -4
  38. data/apis/cur/2017-01-06/api-2.json +31 -1
  39. data/apis/datasync/2018-11-09/api-2.json +173 -12
  40. data/apis/devicefarm/2015-06-23/examples-1.json +3 -3
  41. data/apis/directconnect/2012-10-25/api-2.json +62 -19
  42. data/apis/dms/2016-01-01/api-2.json +49 -4
  43. data/apis/dms/2016-01-01/examples-1.json +21 -0
  44. data/apis/docdb/2014-10-31/api-2.json +128 -7
  45. data/apis/ec2-instance-connect/2018-04-02/api-2.json +119 -0
  46. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +34 -0
  47. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +4 -0
  48. data/apis/ec2/2016-11-15/api-2.json +1358 -282
  49. data/apis/ecr/2015-09-21/api-2.json +295 -8
  50. data/apis/ecr/2015-09-21/paginators-1.json +26 -0
  51. data/apis/ecs/2014-11-13/api-2.json +123 -10
  52. data/apis/eks/2017-11-01/api-2.json +155 -2
  53. data/apis/eks/2017-11-01/paginators-1.json +13 -1
  54. data/apis/elasticache/2015-02-02/api-2.json +192 -22
  55. data/apis/elasticfilesystem/2015-02-01/api-2.json +6 -1
  56. data/apis/elasticmapreduce/2009-03-31/api-2.json +95 -0
  57. data/apis/es/2015-01-01/api-2.json +49 -4
  58. data/apis/eventbridge/2015-10-07/api-2.json +1462 -0
  59. data/apis/eventbridge/2015-10-07/examples-1.json +5 -0
  60. data/apis/eventbridge/2015-10-07/paginators-1.json +4 -0
  61. data/apis/eventbridge/2015-10-07/smoke.json +18 -0
  62. data/apis/events/2015-10-07/api-2.json +506 -12
  63. data/apis/firehose/2015-08-04/api-2.json +11 -4
  64. data/apis/fms/2018-01-01/api-2.json +12 -3
  65. data/apis/forecast/2018-06-26/api-2.json +1373 -0
  66. data/apis/forecast/2018-06-26/examples-1.json +5 -0
  67. data/apis/forecast/2018-06-26/paginators-1.json +40 -0
  68. data/apis/forecastquery/2018-06-26/api-2.json +154 -0
  69. data/apis/forecastquery/2018-06-26/examples-1.json +5 -0
  70. data/apis/forecastquery/2018-06-26/paginators-1.json +4 -0
  71. data/apis/gamelift/2015-10-01/api-2.json +67 -10
  72. data/apis/globalaccelerator/2018-08-08/api-2.json +25 -5
  73. data/apis/glue/2017-03-31/api-2.json +898 -14
  74. data/apis/glue/2017-03-31/paginators-1.json +15 -0
  75. data/apis/greengrass/2017-06-07/api-2.json +108 -102
  76. data/apis/guardduty/2017-11-28/api-2.json +34 -0
  77. data/apis/iam/2010-05-08/api-2.json +1 -4
  78. data/apis/iam/2010-05-08/examples-1.json +1 -1
  79. data/apis/iot/2015-05-28/api-2.json +726 -7
  80. data/apis/iotanalytics/2017-11-27/api-2.json +2 -1
  81. data/apis/iotevents/2018-07-27/api-2.json +58 -6
  82. data/apis/kafka/2018-11-14/api-2.json +1636 -1384
  83. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +96 -12
  84. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +7 -1
  85. data/apis/kinesisvideo/2017-09-30/api-2.json +2 -1
  86. data/apis/kinesisvideo/2017-09-30/paginators-1.json +7 -1
  87. data/apis/lakeformation/2017-03-31/api-2.json +708 -0
  88. data/apis/lakeformation/2017-03-31/examples-1.json +5 -0
  89. data/apis/lakeformation/2017-03-31/paginators-1.json +19 -0
  90. data/apis/lambda/2015-03-31/api-2.json +9 -1
  91. data/apis/lambda/2015-03-31/paginators-1.json +24 -0
  92. data/apis/lightsail/2016-11-28/api-2.json +245 -11
  93. data/apis/logs/2014-03-28/api-2.json +15 -3
  94. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -0
  95. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +17 -0
  96. data/apis/mediaconnect/2018-11-14/api-2.json +47 -3
  97. data/apis/mediaconvert/2017-08-29/api-2.json +489 -58
  98. data/apis/medialive/2017-10-14/api-2.json +498 -20
  99. data/apis/mediapackage-vod/2018-11-07/api-2.json +4 -0
  100. data/apis/mediapackage/2017-10-12/api-2.json +1296 -868
  101. data/apis/mediapackage/2017-10-12/paginators-1.json +6 -0
  102. data/apis/mediastore/2017-09-01/api-2.json +117 -4
  103. data/apis/mediastore/2017-09-01/paginators-1.json +5 -0
  104. data/apis/monitoring/2010-08-01/api-2.json +177 -6
  105. data/apis/mq/2017-11-27/api-2.json +89 -1
  106. data/apis/opsworkscm/2016-11-01/api-2.json +59 -8
  107. data/apis/organizations/2016-11-28/api-2.json +4 -0
  108. data/apis/personalize-runtime/2018-05-22/api-2.json +2 -5
  109. data/apis/personalize/2018-05-22/api-2.json +21 -4
  110. data/apis/pinpoint-email/2018-07-26/api-2.json +14 -1
  111. data/apis/pinpoint/2016-12-01/api-2.json +9621 -5894
  112. data/apis/polly/2016-06-10/api-2.json +38 -6
  113. data/apis/qldb-session/2019-07-11/api-2.json +259 -0
  114. data/apis/qldb-session/2019-07-11/examples-1.json +5 -0
  115. data/apis/qldb-session/2019-07-11/paginators-1.json +4 -0
  116. data/apis/qldb/2019-01-02/api-2.json +776 -0
  117. data/apis/qldb/2019-01-02/examples-1.json +5 -0
  118. data/apis/qldb/2019-01-02/paginators-1.json +19 -0
  119. data/apis/quicksight/2018-04-01/api-2.json +6 -1
  120. data/apis/ram/2018-01-04/api-2.json +61 -4
  121. data/apis/ram/2018-01-04/paginators-1.json +5 -0
  122. data/apis/rds-data/2018-08-01/api-2.json +466 -713
  123. data/apis/rds-data/2018-08-01/examples-1.json +3 -2
  124. data/apis/rds-data/2018-08-01/paginators-1.json +3 -2
  125. data/apis/rds/2014-10-31/api-2.json +321 -12
  126. data/apis/rds/2014-10-31/paginators-1.json +12 -0
  127. data/apis/rds/2014-10-31/waiters-2.json +91 -6
  128. data/apis/redshift/2012-12-01/api-2.json +111 -2
  129. data/apis/redshift/2012-12-01/paginators-1.json +6 -0
  130. data/apis/rekognition/2016-06-27/api-2.json +2 -1
  131. data/apis/robomaker/2018-06-29/api-2.json +174 -26
  132. data/apis/route53/2013-04-01/api-2.json +3 -0
  133. data/apis/runtime.lex/2016-11-28/api-2.json +274 -0
  134. data/apis/s3/2006-03-01/api-2.json +47 -2
  135. data/apis/s3/2006-03-01/examples-1.json +106 -106
  136. data/apis/s3/2006-03-01/resources-1.json +1 -1
  137. data/apis/sagemaker/2017-07-24/api-2.json +125 -13
  138. data/apis/secretsmanager/2017-10-17/api-2.json +14 -6
  139. data/apis/securityhub/2018-10-26/api-2.json +11 -1
  140. data/apis/servicecatalog/2015-12-10/api-2.json +73 -1
  141. data/apis/shield/2016-06-02/api-2.json +3 -1
  142. data/apis/snowball/2016-06-30/api-2.json +26 -0
  143. data/apis/sqs/2012-11-05/api-2.json +51 -1
  144. data/apis/ssm/2014-11-06/api-2.json +14 -8
  145. data/apis/states/2016-11-23/api-2.json +58 -21
  146. data/apis/storagegateway/2013-06-30/api-2.json +12 -4
  147. data/apis/sts/2011-06-15/api-2.json +25 -0
  148. data/apis/support/2013-04-15/api-2.json +3 -2
  149. data/apis/support/2013-04-15/paginators-1.json +3 -3
  150. data/apis/support/2013-04-15/smoke.json +22 -0
  151. data/apis/swf/2012-01-25/api-2.json +183 -4
  152. data/apis/transcribe-streaming/2017-10-26/api-2.json +262 -0
  153. data/apis/transcribe-streaming/2017-10-26/examples-1.json +5 -0
  154. data/apis/transcribe-streaming/2017-10-26/paginators-1.json +4 -0
  155. data/apis/transcribe/2017-10-26/api-2.json +17 -5
  156. data/apis/transfer/2018-11-05/api-2.json +105 -16
  157. data/apis/waf-regional/2016-11-28/api-2.json +198 -15
  158. data/apis/waf/2015-08-24/api-2.json +198 -15
  159. data/apis/workmailmessageflow/2019-05-01/api-2.json +67 -0
  160. data/apis/workmailmessageflow/2019-05-01/examples-1.json +5 -0
  161. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +4 -0
  162. data/apis/workspaces/2015-04-08/api-2.json +111 -3
  163. data/endpoints.json +1207 -36
  164. data/lib/aws-sdk-core.rb +10 -0
  165. data/lib/aws-sdk-core/api/customizations.rb +4 -0
  166. data/lib/aws-sdk-core/codestarnotifications.rb +6 -0
  167. data/lib/aws-sdk-core/ec2instanceconnect.rb +6 -0
  168. data/lib/aws-sdk-core/endpoint_provider.rb +33 -6
  169. data/lib/aws-sdk-core/eventbridge.rb +6 -0
  170. data/lib/aws-sdk-core/forecastqueryservice.rb +6 -0
  171. data/lib/aws-sdk-core/forecastservice.rb +6 -0
  172. data/lib/aws-sdk-core/lakeformation.rb +6 -0
  173. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +2 -0
  174. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +3 -1
  175. data/lib/aws-sdk-core/plugins/sts_regional_endpoints.rb +30 -0
  176. data/lib/aws-sdk-core/qldb.rb +6 -0
  177. data/lib/aws-sdk-core/qldbsession.rb +6 -0
  178. data/lib/aws-sdk-core/shared_config.rb +15 -0
  179. data/lib/aws-sdk-core/version.rb +1 -1
  180. data/lib/aws-sdk-core/workmailmessageflow.rb +6 -0
  181. data/service-models.json +36 -0
  182. metadata +45 -2
@@ -60,6 +60,7 @@ module Aws
60
60
  CodeDeploy
61
61
  CodePipeline
62
62
  CodeStar
63
+ CodeStarNotifications
63
64
  CognitoIdentity
64
65
  CognitoIdentityProvider
65
66
  CognitoSync
@@ -81,6 +82,7 @@ module Aws
81
82
  DynamoDB
82
83
  DynamoDBStreams
83
84
  EC2
85
+ EC2InstanceConnect
84
86
  ECR
85
87
  ECS
86
88
  EFS
@@ -92,9 +94,12 @@ module Aws
92
94
  ElasticLoadBalancingV2
93
95
  ElasticTranscoder
94
96
  ElasticsearchService
97
+ EventBridge
95
98
  FMS
96
99
  FSx
97
100
  Firehose
101
+ ForecastQueryService
102
+ ForecastService
98
103
  GameLift
99
104
  Glacier
100
105
  GlobalAccelerator
@@ -123,6 +128,7 @@ module Aws
123
128
  KinesisVideo
124
129
  KinesisVideoArchivedMedia
125
130
  KinesisVideoMedia
131
+ LakeFormation
126
132
  Lambda
127
133
  LambdaPreview
128
134
  Lex
@@ -160,6 +166,8 @@ module Aws
160
166
  PinpointSMSVoice
161
167
  Polly
162
168
  Pricing
169
+ QLDB
170
+ QLDBSession
163
171
  QuickSight
164
172
  RAM
165
173
  RDS
@@ -205,6 +213,7 @@ module Aws
205
213
  WorkDocs
206
214
  WorkLink
207
215
  WorkMail
216
+ WorkMailMessageFlow
208
217
  WorkSpaces
209
218
  XRay
210
219
  )
@@ -319,6 +328,7 @@ module Aws
319
328
  autoload :S3RequestSigner, 'aws-sdk-core/plugins/s3_request_signer'
320
329
  autoload :S3SseCpk, 'aws-sdk-core/plugins/s3_sse_cpk'
321
330
  autoload :S3UrlEncodedKeys, 'aws-sdk-core/plugins/s3_url_encoded_keys'
331
+ autoload :STSRegionalEndpoints, 'aws-sdk-core/plugins/sts_regional_endpoints'
322
332
  autoload :SQSQueueUrls, 'aws-sdk-core/plugins/sqs_queue_urls'
323
333
  autoload :SQSMd5s, 'aws-sdk-core/plugins/sqs_md5s'
324
334
  autoload :StubResponses, 'aws-sdk-core/plugins/stub_responses'
@@ -274,6 +274,10 @@ module Aws
274
274
  Aws::Plugins::S3RequestSigner
275
275
  ))
276
276
 
277
+ plugins('AWS Security Token Service', add: %w(
278
+ Aws::Plugins::STSRegionalEndpoints
279
+ ))
280
+
277
281
  plugins('AWS S3 Control', add: %w(
278
282
  Aws::Plugins::S3HostId
279
283
  Aws::Plugins::S3ControlDns
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:CodeStarNotifications, {
2
+ api: "#{Aws::API_DIR}/codestar-notifications/2019-10-15/api-2.json",
3
+ docs: "#{Aws::API_DIR}/codestar-notifications/2019-10-15/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/codestar-notifications/2019-10-15/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/codestar-notifications/2019-10-15/paginators-1.json",
6
+ })
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:EC2InstanceConnect, {
2
+ api: "#{Aws::API_DIR}/ec2-instance-connect/2018-04-02/api-2.json",
3
+ docs: "#{Aws::API_DIR}/ec2-instance-connect/2018-04-02/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/ec2-instance-connect/2018-04-02/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/ec2-instance-connect/2018-04-02/paginators-1.json",
6
+ })
@@ -2,12 +2,34 @@ module Aws
2
2
  # @api private
3
3
  class EndpointProvider
4
4
 
5
+ # when sts_regional_endpoint set to `legacy`
6
+ # endpoint pattern stays global for
7
+ # following regions
8
+ STS_LEGACY_REGIONS = %w(
9
+ ap-northeast-1
10
+ ap-south-1
11
+ ap-southeast-1
12
+ ap-southeast-2
13
+ aws-global
14
+ ca-central-1
15
+ eu-central-1
16
+ eu-north-1
17
+ eu-west-1
18
+ eu-west-2
19
+ eu-west-3
20
+ sa-east-1
21
+ us-east-1
22
+ us-east-2
23
+ us-west-1
24
+ us-west-2
25
+ )
26
+
5
27
  def initialize(rules)
6
28
  @rules = rules
7
29
  end
8
30
 
9
- def resolve(region, service)
10
- "https://" + endpoint_for(region, service)
31
+ def resolve(region, service, sts_regional_endpoints = nil)
32
+ "https://" + endpoint_for(region, service, sts_regional_endpoints)
11
33
  end
12
34
 
13
35
  def signing_region(region, service)
@@ -27,7 +49,7 @@ module Aws
27
49
 
28
50
  private
29
51
 
30
- def endpoint_for(region, service)
52
+ def endpoint_for(region, service, sts_regional_endpoints)
31
53
  partition = get_partition(region)
32
54
  endpoint = default_endpoint(partition, service, region)
33
55
  service_cfg = partition.fetch("services", {}).fetch(service, {})
@@ -35,8 +57,13 @@ module Aws
35
57
  # Check for service-level default endpoint.
36
58
  endpoint = service_cfg.fetch("defaults", {}).fetch("hostname", endpoint)
37
59
 
60
+ # Check for sts legacy behavior
61
+ sts_legacy = service == 'sts' &&
62
+ sts_regional_endpoints == 'legacy' &&
63
+ STS_LEGACY_REGIONS.include?(region)
64
+
38
65
  # Check for global endpoint.
39
- if service_cfg["isRegionalized"] == false
66
+ if sts_legacy || service_cfg["isRegionalized"] == false
40
67
  region = service_cfg.fetch("partitionEndpoint", region)
41
68
  end
42
69
 
@@ -81,8 +108,8 @@ module Aws
81
108
 
82
109
  class << self
83
110
 
84
- def resolve(region, service)
85
- default_provider.resolve(region, service)
111
+ def resolve(region, service, sts_regional_endpoints = nil)
112
+ default_provider.resolve(region, service, sts_regional_endpoints)
86
113
  end
87
114
 
88
115
  def signing_region(region, service)
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:EventBridge, {
2
+ api: "#{Aws::API_DIR}/eventbridge/2015-10-07/api-2.json",
3
+ docs: "#{Aws::API_DIR}/eventbridge/2015-10-07/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/eventbridge/2015-10-07/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/eventbridge/2015-10-07/paginators-1.json",
6
+ })
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:ForecastQueryService, {
2
+ api: "#{Aws::API_DIR}/forecastquery/2018-06-26/api-2.json",
3
+ docs: "#{Aws::API_DIR}/forecastquery/2018-06-26/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/forecastquery/2018-06-26/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/forecastquery/2018-06-26/paginators-1.json",
6
+ })
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:ForecastService, {
2
+ api: "#{Aws::API_DIR}/forecast/2018-06-26/api-2.json",
3
+ docs: "#{Aws::API_DIR}/forecast/2018-06-26/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/forecast/2018-06-26/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/forecast/2018-06-26/paginators-1.json",
6
+ })
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:LakeFormation, {
2
+ api: "#{Aws::API_DIR}/lakeformation/2017-03-31/api-2.json",
3
+ docs: "#{Aws::API_DIR}/lakeformation/2017-03-31/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/lakeformation/2017-03-31/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/lakeformation/2017-03-31/paginators-1.json",
6
+ })
@@ -26,6 +26,8 @@ module Aws
26
26
  endpoint_prefix = cfg.api.metadata['endpointPrefix']
27
27
  if cfg.region && endpoint_prefix
28
28
  EndpointProvider.resolve(cfg.region, endpoint_prefix)
29
+ sts_regional = cfg.respond_to?(:sts_regional_endpoints) ? cfg.sts_regional_endpoints : nil
30
+ EndpointProvider.resolve(cfg.region, endpoint_prefix, sts_regional)
29
31
  end
30
32
  end
31
33
 
@@ -56,7 +56,9 @@ module Aws
56
56
 
57
57
  def validate_single_message(body, attributes, response)
58
58
  validate_body(body, response)
59
- validate_attributes(attributes, response) unless attributes.nil?
59
+ unless attributes.nil? || attributes.empty?
60
+ validate_attributes(attributes, response)
61
+ end
60
62
  end
61
63
 
62
64
  def validate_body(body, response)
@@ -0,0 +1,30 @@
1
+ module Aws
2
+ module Plugins
3
+
4
+ class STSRegionalEndpoints < Seahorse::Client::Plugin
5
+
6
+ option(:sts_regional_endpoints,
7
+ default: 'legacy',
8
+ doc_type: String,
9
+ docstring: <<-DOCS) do |cfg|
10
+ Passing in 'regional' to enable regional endpoint for STS for all supported
11
+ regions (except 'aws-global'), defaults to 'legacy' mode, using global endpoint
12
+ for legacy regions.
13
+ DOCS
14
+ resolve_sts_regional_endpoints(cfg)
15
+ end
16
+
17
+ private
18
+
19
+ def self.resolve_sts_regional_endpoints(cfg)
20
+ env_mode = ENV['AWS_STS_REGIONAL_ENDPOINTS']
21
+ env_mode = nil if env_mode == ''
22
+ cfg_mode = Aws.shared_config.sts_regional_endpoints(
23
+ profile: cfg.profile)
24
+ env_mode || cfg_mode || 'legacy'
25
+ end
26
+
27
+ end
28
+
29
+ end
30
+ end
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:QLDB, {
2
+ api: "#{Aws::API_DIR}/qldb/2019-01-02/api-2.json",
3
+ docs: "#{Aws::API_DIR}/qldb/2019-01-02/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/qldb/2019-01-02/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/qldb/2019-01-02/paginators-1.json",
6
+ })
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:QLDBSession, {
2
+ api: "#{Aws::API_DIR}/qldb-session/2019-07-11/api-2.json",
3
+ docs: "#{Aws::API_DIR}/qldb-session/2019-07-11/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/qldb-session/2019-07-11/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/qldb-session/2019-07-11/paginators-1.json",
6
+ })
@@ -128,6 +128,21 @@ module Aws
128
128
  end
129
129
  end
130
130
 
131
+ def sts_regional_endpoints(opts = {})
132
+ p = opts[:profile] || @profile_name
133
+ if @config_enabled
134
+ if @parsed_credentials
135
+ mode = @parsed_credentials.fetch(p, {})["sts_regional_endpoints"]
136
+ end
137
+ if @parsed_config
138
+ mode ||= @parsed_config.fetch(p, {})["sts_regional_endpoints"]
139
+ end
140
+ mode
141
+ else
142
+ nil
143
+ end
144
+ end
145
+
131
146
  def endpoint_discovery(opts = {})
132
147
  p = opts[:profile] || @profile_name
133
148
  if @config_enabled && @parsed_config
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.11.304'
2
+ VERSION = '2.11.390'
3
3
  end
@@ -0,0 +1,6 @@
1
+ Aws.add_service(:WorkMailMessageFlow, {
2
+ api: "#{Aws::API_DIR}/workmailmessageflow/2019-05-01/api-2.json",
3
+ docs: "#{Aws::API_DIR}/workmailmessageflow/2019-05-01/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/workmailmessageflow/2019-05-01/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/workmailmessageflow/2019-05-01/paginators-1.json",
6
+ })
@@ -146,6 +146,10 @@
146
146
  "models": "codestar/2017-04-19",
147
147
  "endpoint": "codestar"
148
148
  },
149
+ "CodeStarNotifications": {
150
+ "models": "codestar-notifications/2019-10-15",
151
+ "endpoint": "codestar-notifications"
152
+ },
149
153
  "CognitoIdentity": {
150
154
  "models": "cognito-identity/2014-06-30",
151
155
  "endpoint": "cognito-identity"
@@ -230,6 +234,10 @@
230
234
  "models": "ec2/2016-11-15",
231
235
  "endpoint": "ec2"
232
236
  },
237
+ "EC2InstanceConnect": {
238
+ "models": "ec2-instance-connect/2018-04-02",
239
+ "endpoint": "ec2-instance-connect"
240
+ },
233
241
  "ECR": {
234
242
  "models": "ecr/2015-09-21",
235
243
  "endpoint": "ecr"
@@ -274,6 +282,10 @@
274
282
  "models": "es/2015-01-01",
275
283
  "endpoint": "es"
276
284
  },
285
+ "EventBridge": {
286
+ "models": "eventbridge/2015-10-07",
287
+ "endpoint": "events"
288
+ },
277
289
  "FMS": {
278
290
  "models": "fms/2018-01-01",
279
291
  "endpoint": "fms"
@@ -286,6 +298,14 @@
286
298
  "models": "firehose/2015-08-04",
287
299
  "endpoint": "firehose"
288
300
  },
301
+ "ForecastQueryService": {
302
+ "models": "forecastquery/2018-06-26",
303
+ "endpoint": "forecastquery"
304
+ },
305
+ "ForecastService": {
306
+ "models": "forecast/2018-06-26",
307
+ "endpoint": "forecast"
308
+ },
289
309
  "GameLift": {
290
310
  "models": "gamelift/2015-10-01",
291
311
  "endpoint": "gamelift"
@@ -398,6 +418,10 @@
398
418
  "models": "kinesis-video-media/2017-09-30",
399
419
  "endpoint": "kinesisvideo"
400
420
  },
421
+ "LakeFormation": {
422
+ "models": "lakeformation/2017-03-31",
423
+ "endpoint": "lakeformation"
424
+ },
401
425
  "Lambda": {
402
426
  "models": "lambda/2015-03-31",
403
427
  "endpoint": "lambda"
@@ -546,6 +570,14 @@
546
570
  "models": "pricing/2017-10-15",
547
571
  "endpoint": "api.pricing"
548
572
  },
573
+ "QLDB": {
574
+ "models": "qldb/2019-01-02",
575
+ "endpoint": "qldb"
576
+ },
577
+ "QLDBSession": {
578
+ "models": "qldb-session/2019-07-11",
579
+ "endpoint": "session.qldb"
580
+ },
549
581
  "QuickSight": {
550
582
  "models": "quicksight/2018-04-01",
551
583
  "endpoint": "quicksight"
@@ -726,6 +758,10 @@
726
758
  "models": "workmail/2017-10-01",
727
759
  "endpoint": "workmail"
728
760
  },
761
+ "WorkMailMessageFlow": {
762
+ "models": "workmailmessageflow/2019-05-01",
763
+ "endpoint": "workmailmessageflow"
764
+ },
729
765
  "WorkSpaces": {
730
766
  "models": "workspaces/2015-04-08",
731
767
  "endpoint": "workspaces"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.304
4
+ version: 2.11.390
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-27 00:00:00.000000000 Z
11
+ date: 2019-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -216,6 +216,9 @@ files:
216
216
  - apis/codepipeline/2015-07-09/examples-1.json
217
217
  - apis/codepipeline/2015-07-09/paginators-1.json
218
218
  - apis/codepipeline/2015-07-09/smoke.json
219
+ - apis/codestar-notifications/2019-10-15/api-2.json
220
+ - apis/codestar-notifications/2019-10-15/examples-1.json
221
+ - apis/codestar-notifications/2019-10-15/paginators-1.json
219
222
  - apis/codestar/2017-04-19/api-2.json
220
223
  - apis/codestar/2017-04-19/examples-1.json
221
224
  - apis/codestar/2017-04-19/paginators-1.json
@@ -293,6 +296,9 @@ files:
293
296
  - apis/dynamodb/2012-08-10/resources-1.json
294
297
  - apis/dynamodb/2012-08-10/smoke.json
295
298
  - apis/dynamodb/2012-08-10/waiters-2.json
299
+ - apis/ec2-instance-connect/2018-04-02/api-2.json
300
+ - apis/ec2-instance-connect/2018-04-02/examples-1.json
301
+ - apis/ec2-instance-connect/2018-04-02/paginators-1.json
296
302
  - apis/ec2/2015-10-01/api-2.json
297
303
  - apis/ec2/2015-10-01/examples-1.json
298
304
  - apis/ec2/2015-10-01/paginators-1.json
@@ -372,6 +378,10 @@ files:
372
378
  - apis/es/2015-01-01/examples-1.json
373
379
  - apis/es/2015-01-01/paginators-1.json
374
380
  - apis/es/2015-01-01/smoke.json
381
+ - apis/eventbridge/2015-10-07/api-2.json
382
+ - apis/eventbridge/2015-10-07/examples-1.json
383
+ - apis/eventbridge/2015-10-07/paginators-1.json
384
+ - apis/eventbridge/2015-10-07/smoke.json
375
385
  - apis/events/2015-10-07/api-2.json
376
386
  - apis/events/2015-10-07/examples-1.json
377
387
  - apis/events/2015-10-07/paginators-1.json
@@ -383,6 +393,12 @@ files:
383
393
  - apis/fms/2018-01-01/api-2.json
384
394
  - apis/fms/2018-01-01/examples-1.json
385
395
  - apis/fms/2018-01-01/paginators-1.json
396
+ - apis/forecast/2018-06-26/api-2.json
397
+ - apis/forecast/2018-06-26/examples-1.json
398
+ - apis/forecast/2018-06-26/paginators-1.json
399
+ - apis/forecastquery/2018-06-26/api-2.json
400
+ - apis/forecastquery/2018-06-26/examples-1.json
401
+ - apis/forecastquery/2018-06-26/paginators-1.json
386
402
  - apis/fsx/2018-03-01/api-2.json
387
403
  - apis/fsx/2018-03-01/examples-1.json
388
404
  - apis/fsx/2018-03-01/paginators-1.json
@@ -476,6 +492,9 @@ files:
476
492
  - apis/kms/2014-11-01/examples-1.json
477
493
  - apis/kms/2014-11-01/paginators-1.json
478
494
  - apis/kms/2014-11-01/smoke.json
495
+ - apis/lakeformation/2017-03-31/api-2.json
496
+ - apis/lakeformation/2017-03-31/examples-1.json
497
+ - apis/lakeformation/2017-03-31/paginators-1.json
479
498
  - apis/lambda/2014-11-11/api-2.json
480
499
  - apis/lambda/2014-11-11/paginators-1.json
481
500
  - apis/lambda/2015-03-31/api-2.json
@@ -510,6 +529,7 @@ files:
510
529
  - apis/marketplacecommerceanalytics/2015-07-01/api-2.json
511
530
  - apis/marketplacecommerceanalytics/2015-07-01/examples-1.json
512
531
  - apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json
532
+ - apis/marketplacecommerceanalytics/2015-07-01/smoke.json
513
533
  - apis/mediaconnect/2018-11-14/api-2.json
514
534
  - apis/mediaconnect/2018-11-14/paginators-1.json
515
535
  - apis/mediaconvert/2017-08-29/api-2.json
@@ -588,6 +608,12 @@ files:
588
608
  - apis/pricing/2017-10-15/api-2.json
589
609
  - apis/pricing/2017-10-15/examples-1.json
590
610
  - apis/pricing/2017-10-15/paginators-1.json
611
+ - apis/qldb-session/2019-07-11/api-2.json
612
+ - apis/qldb-session/2019-07-11/examples-1.json
613
+ - apis/qldb-session/2019-07-11/paginators-1.json
614
+ - apis/qldb/2019-01-02/api-2.json
615
+ - apis/qldb/2019-01-02/examples-1.json
616
+ - apis/qldb/2019-01-02/paginators-1.json
591
617
  - apis/quicksight/2018-04-01/api-2.json
592
618
  - apis/quicksight/2018-04-01/examples-1.json
593
619
  - apis/quicksight/2018-04-01/paginators-1.json
@@ -743,12 +769,16 @@ files:
743
769
  - apis/support/2013-04-15/api-2.json
744
770
  - apis/support/2013-04-15/examples-1.json
745
771
  - apis/support/2013-04-15/paginators-1.json
772
+ - apis/support/2013-04-15/smoke.json
746
773
  - apis/swf/2012-01-25/api-2.json
747
774
  - apis/swf/2012-01-25/examples-1.json
748
775
  - apis/swf/2012-01-25/paginators-1.json
749
776
  - apis/textract/2018-06-27/api-2.json
750
777
  - apis/textract/2018-06-27/examples-1.json
751
778
  - apis/textract/2018-06-27/paginators-1.json
779
+ - apis/transcribe-streaming/2017-10-26/api-2.json
780
+ - apis/transcribe-streaming/2017-10-26/examples-1.json
781
+ - apis/transcribe-streaming/2017-10-26/paginators-1.json
752
782
  - apis/transcribe/2017-10-26/api-2.json
753
783
  - apis/transcribe/2017-10-26/examples-1.json
754
784
  - apis/transcribe/2017-10-26/paginators-1.json
@@ -775,6 +805,9 @@ files:
775
805
  - apis/workmail/2017-10-01/api-2.json
776
806
  - apis/workmail/2017-10-01/examples-1.json
777
807
  - apis/workmail/2017-10-01/paginators-1.json
808
+ - apis/workmailmessageflow/2019-05-01/api-2.json
809
+ - apis/workmailmessageflow/2019-05-01/examples-1.json
810
+ - apis/workmailmessageflow/2019-05-01/paginators-1.json
778
811
  - apis/workspaces/2015-04-08/api-2.json
779
812
  - apis/workspaces/2015-04-08/examples-1.json
780
813
  - apis/workspaces/2015-04-08/paginators-1.json
@@ -844,6 +877,7 @@ files:
844
877
  - lib/aws-sdk-core/codedeploy.rb
845
878
  - lib/aws-sdk-core/codepipeline.rb
846
879
  - lib/aws-sdk-core/codestar.rb
880
+ - lib/aws-sdk-core/codestarnotifications.rb
847
881
  - lib/aws-sdk-core/cognitoidentity.rb
848
882
  - lib/aws-sdk-core/cognitoidentityprovider.rb
849
883
  - lib/aws-sdk-core/cognitosync.rb
@@ -871,6 +905,7 @@ files:
871
905
  - lib/aws-sdk-core/dynamodbstreams.rb
872
906
  - lib/aws-sdk-core/eager_loader.rb
873
907
  - lib/aws-sdk-core/ec2.rb
908
+ - lib/aws-sdk-core/ec2instanceconnect.rb
874
909
  - lib/aws-sdk-core/ecr.rb
875
910
  - lib/aws-sdk-core/ecs.rb
876
911
  - lib/aws-sdk-core/ecs_credentials.rb
@@ -887,8 +922,11 @@ files:
887
922
  - lib/aws-sdk-core/endpoint_cache.rb
888
923
  - lib/aws-sdk-core/endpoint_provider.rb
889
924
  - lib/aws-sdk-core/errors.rb
925
+ - lib/aws-sdk-core/eventbridge.rb
890
926
  - lib/aws-sdk-core/firehose.rb
891
927
  - lib/aws-sdk-core/fms.rb
928
+ - lib/aws-sdk-core/forecastqueryservice.rb
929
+ - lib/aws-sdk-core/forecastservice.rb
892
930
  - lib/aws-sdk-core/fsx.rb
893
931
  - lib/aws-sdk-core/gamelift.rb
894
932
  - lib/aws-sdk-core/glacier.rb
@@ -927,6 +965,7 @@ files:
927
965
  - lib/aws-sdk-core/kinesisvideoarchivedmedia.rb
928
966
  - lib/aws-sdk-core/kinesisvideomedia.rb
929
967
  - lib/aws-sdk-core/kms.rb
968
+ - lib/aws-sdk-core/lakeformation.rb
930
969
  - lib/aws-sdk-core/lambda.rb
931
970
  - lib/aws-sdk-core/lambdapreview.rb
932
971
  - lib/aws-sdk-core/lex.rb
@@ -1026,12 +1065,15 @@ files:
1026
1065
  - lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb
1027
1066
  - lib/aws-sdk-core/plugins/sqs_md5s.rb
1028
1067
  - lib/aws-sdk-core/plugins/sqs_queue_urls.rb
1068
+ - lib/aws-sdk-core/plugins/sts_regional_endpoints.rb
1029
1069
  - lib/aws-sdk-core/plugins/stub_responses.rb
1030
1070
  - lib/aws-sdk-core/plugins/swf_read_timeouts.rb
1031
1071
  - lib/aws-sdk-core/plugins/user_agent.rb
1032
1072
  - lib/aws-sdk-core/polly.rb
1033
1073
  - lib/aws-sdk-core/polly/presigner.rb
1034
1074
  - lib/aws-sdk-core/pricing.rb
1075
+ - lib/aws-sdk-core/qldb.rb
1076
+ - lib/aws-sdk-core/qldbsession.rb
1035
1077
  - lib/aws-sdk-core/query/ec2_param_builder.rb
1036
1078
  - lib/aws-sdk-core/query/handler.rb
1037
1079
  - lib/aws-sdk-core/query/param.rb
@@ -1123,6 +1165,7 @@ files:
1123
1165
  - lib/aws-sdk-core/workdocs.rb
1124
1166
  - lib/aws-sdk-core/worklink.rb
1125
1167
  - lib/aws-sdk-core/workmail.rb
1168
+ - lib/aws-sdk-core/workmailmessageflow.rb
1126
1169
  - lib/aws-sdk-core/workspaces.rb
1127
1170
  - lib/aws-sdk-core/xml/builder.rb
1128
1171
  - lib/aws-sdk-core/xml/default_list.rb