aws-sdk-core 2.8.1 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 059076f5bd8e0ddc4a995825c055366737aa97e8
4
- data.tar.gz: 946c021dc6f95240babfcbca520110e60802aa48
3
+ metadata.gz: fea2dc40b12d4d1cdbbb9e4a50bf1a436e69d279
4
+ data.tar.gz: 8fbbdd306aa8da1e591f7451f322bbf27f1f60b4
5
5
  SHA512:
6
- metadata.gz: 93be6e3f9fa3d96f3f4449201527ff990229aa4323b61709b730ba12c54d349a89c0384a5a06ce57ae6bea8bbb8268e67f538054004796e1b087543cf0bb3686
7
- data.tar.gz: e7f156cb3e0c0cec847f960f6107aeecf05afee0a1ea38aca9796dee183105ef8a92437ce8fb18d254de2588fc4709ebca7f2a7497f7cf6a5b38278dc4b905e7
6
+ metadata.gz: bdd4c9191109abbd9b2c94b5db29c1e23f7af4b6112a1a696bc085191974ad493281b32d1b02775780789afade7ec6115456d74a416275cc1c03b28046abb750
7
+ data.tar.gz: 39aa48366311e2279725e81a481d9b5cdca2975e3e8a7ad25f84e813882721a0a4c2d75f68ff76baf0fabafbdbc09fdd6191036426a10a0f627ca8a4f9084a38
@@ -1745,6 +1745,9 @@
1745
1745
  "members":{
1746
1746
  "SourceDBClusterSnapshotIdentifier":{"shape":"String"},
1747
1747
  "TargetDBClusterSnapshotIdentifier":{"shape":"String"},
1748
+ "KmsKeyId":{"shape":"String"},
1749
+ "PreSignedUrl":{"shape":"String"},
1750
+ "CopyTags":{"shape":"BooleanOptional"},
1748
1751
  "Tags":{"shape":"TagList"}
1749
1752
  }
1750
1753
  },
@@ -1841,7 +1844,8 @@
1841
1844
  "ReplicationSourceIdentifier":{"shape":"String"},
1842
1845
  "Tags":{"shape":"TagList"},
1843
1846
  "StorageEncrypted":{"shape":"BooleanOptional"},
1844
- "KmsKeyId":{"shape":"String"}
1847
+ "KmsKeyId":{"shape":"String"},
1848
+ "PreSignedUrl":{"shape":"String"}
1845
1849
  }
1846
1850
  },
1847
1851
  "CreateDBClusterParameterGroupMessage":{
@@ -795,6 +795,7 @@
795
795
  "ap-southeast-2": {},
796
796
  "eu-central-1": {},
797
797
  "eu-west-1": {},
798
+ "eu-west-2": {},
798
799
  "us-east-1": {},
799
800
  "us-east-2": {},
800
801
  "us-west-2": {}
@@ -977,6 +978,18 @@
977
978
  "us-west-2": {}
978
979
  }
979
980
  },
981
+ "organizations": {
982
+ "endpoints": {
983
+ "aws-global": {
984
+ "credentialScope": {
985
+ "region": "us-east-1"
986
+ },
987
+ "hostname": "organizations.us-east-1.amazonaws.com"
988
+ }
989
+ },
990
+ "isRegionalized": false,
991
+ "partitionEndpoint": "aws-global"
992
+ },
980
993
  "pinpoint": {
981
994
  "defaults": {
982
995
  "credentialScope": {
@@ -186,6 +186,7 @@ module Aws
186
186
  module Plugins
187
187
  autoload :APIGatewayHeader, 'aws-sdk-core/plugins/api_gateway_header'
188
188
  autoload :CSDConditionalSigning, 'aws-sdk-core/plugins/csd_conditional_signing'
189
+ autoload :CSDSwitchToPost, 'aws-sdk-core/plugins/csd_switch_to_post'
189
190
  autoload :DynamoDBExtendedRetries, 'aws-sdk-core/plugins/dynamodb_extended_retries'
190
191
  autoload :DynamoDBSimpleAttributes, 'aws-sdk-core/plugins/dynamodb_simple_attributes'
191
192
  autoload :DynamoDBCRC32Validation, 'aws-sdk-core/plugins/dynamodb_crc32_validation'
@@ -64,7 +64,8 @@ module Aws
64
64
  end
65
65
 
66
66
  plugins('cloudsearchdomain',
67
- add: %w(Aws::Plugins::CSDConditionalSigning),
67
+ add: %w(Aws::Plugins::CSDConditionalSigning
68
+ Aws::Plugins::CSDSwitchToPost),
68
69
  remove: %w(Aws::Plugins::RegionalEndpoint),
69
70
  )
70
71
 
@@ -152,6 +153,10 @@ module Aws
152
153
  {"shape" => "String"}
153
154
  api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['DestinationRegion'] =
154
155
  {"shape" => "String"}
156
+ api['shapes']['CopyDBClusterSnapshotMessage']['members']['DestinationRegion'] =
157
+ {"shape" => "String"}
158
+ api['shapes']['CreateDBClusterMessage']['members']['DestinationRegion'] =
159
+ {"shape" => "String"}
155
160
  end
156
161
 
157
162
  doc('rds') do |docs|
@@ -163,6 +168,14 @@ module Aws
163
168
  "<p>The region which you are copying an encrypted snapshot from.</p>" +
164
169
  "<p>This is a required paramter that allows SDK to compute a pre-signed Url and" +
165
170
  " populate <code>PreSignedURL</code> parameter on your behalf.</p>"
171
+ docs['shapes']['String']['refs']['CopyDBClusterSnapshotMessage$SourceRegion'] =
172
+ "<p>The region which you are copying an encrypted snapshot from.</p>" +
173
+ "<p>This is a required paramter that allows SDK to compute a pre-signed Url and" +
174
+ " populate <code>PreSignedURL</code> parameter on your behalf.</p>"
175
+ docs['shapes']['String']['refs']['CreateDBClusterMessage$SourceRegion'] =
176
+ "<p>The region which you are copying an encrypted snapshot from.</p>" +
177
+ "<p>This is a required paramter that allows SDK to compute a pre-signed Url and" +
178
+ " populate <code>PreSignedURL</code> parameter on your behalf.</p>"
166
179
  end
167
180
 
168
181
  api('s3') do |api|
@@ -0,0 +1,36 @@
1
+ module Aws
2
+ module Plugins
3
+
4
+ # CloudSearchDomain has query length limits for #search in GET
5
+ # Convert #search operation request from GET to POST
6
+ class CSDSwitchToPost < Seahorse::Client::Plugin
7
+
8
+ # @api private
9
+ class Handler < Seahorse::Client::Handler
10
+
11
+ def call(context)
12
+ convert_get_2_post(context)
13
+ @handler.call(context)
14
+ end
15
+
16
+ private
17
+
18
+ def convert_get_2_post(context)
19
+ context.http_request.http_method = 'POST'
20
+ uri = context.http_request.endpoint
21
+ context.http_request.body = uri.query
22
+ context.http_request.headers['Content-Length'] = uri.query.length
23
+ context.http_request.headers['Content-Type'] = 'application/x-www-form-urlencoded'
24
+ context.http_request.endpoint.query = nil
25
+ end
26
+
27
+ end
28
+
29
+ handler(
30
+ Handler,
31
+ step: :build,
32
+ operations: [:search]
33
+ )
34
+ end
35
+ end
36
+ end
@@ -57,7 +57,12 @@ module Aws
57
57
  handler(
58
58
  Handler,
59
59
  step: :initialize,
60
- operations: [:copy_db_snapshot, :create_db_instance_read_replica]
60
+ operations: [
61
+ :copy_db_snapshot,
62
+ :create_db_instance_read_replica,
63
+ :copy_db_cluster_snapshot,
64
+ :create_db_cluster
65
+ ]
61
66
  )
62
67
  end
63
68
  end
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.8.1'
2
+ VERSION = '2.8.2'
3
3
  end
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.8.1
4
+ version: 2.8.2
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: 2017-03-06 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -508,6 +508,7 @@ files:
508
508
  - lib/aws-sdk-core/pinpoint.rb
509
509
  - lib/aws-sdk-core/plugins/api_gateway_header.rb
510
510
  - lib/aws-sdk-core/plugins/csd_conditional_signing.rb
511
+ - lib/aws-sdk-core/plugins/csd_switch_to_post.rb
511
512
  - lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb
512
513
  - lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb
513
514
  - lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb