aws-sdk-finspace 1.1.0 → 1.2.0

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
  SHA256:
3
- metadata.gz: 8eabe014007e9054ddb644692c507a7c630d757086e56ccbd0fcca2baa73ef63
4
- data.tar.gz: b294f1308fec41b2030e9aeb34b943db2858c97c8b9e249ac2ad865461be7990
3
+ metadata.gz: 9e947840cddbeff0f2b48feb044ccbf6055498fdaf608d815eaaf712dca3d475
4
+ data.tar.gz: be327e6f96cb684a7454d7e529ef0d6e3785c0f69638cc199c8d6c29b2b6bb2f
5
5
  SHA512:
6
- metadata.gz: 76a94aced14c8bc46c8c04565f3e4dabad69a98e43db12a7c2709651ff5f0895a0bb7c516d40de68eec8e59452adc2d7e683c815171980db967c5881c0196221
7
- data.tar.gz: e3b531ecef658c3a7184f1a353ff04b6d343dc65a7ab6b180736bb54b12fa09aaa3b69a70d78ae86984645fbbde1baa73c828eaf9e248c640c07d940e8abd8bc
6
+ metadata.gz: 5d440e856e854ae582c0f2ce3a7766c0f2b165ff65cf96f95c9cc843d8a27cbaae5ac601ee1c97d8da7ab439ed370a990f785d5b59d1a5d28950dfe5837db1cc
7
+ data.tar.gz: f8b9bec31a07de45e9b36c72bc67c26eb208e4b09377260b367b3403a9e9a7b6d0fe496c5502cf101bba2cfd113ca6c23e657810090d50e2f450cf73f5747986
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.0 (2021-05-05)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for FinSpace API.
8
+
9
+ * Issue - Add a `Content-Type` header to mitigate a service side issue.
10
+
4
11
  1.1.0 (2021-05-03)
5
12
  ------------------
6
13
 
@@ -10,4 +17,3 @@ Unreleased Changes
10
17
  ------------------
11
18
 
12
19
  * Feature - Initial release of `aws-sdk-finspace`.
13
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-finspace/customizations'
48
48
  # @!group service
49
49
  module Aws::Finspace
50
50
 
51
- GEM_VERSION = '1.1.0'
51
+ GEM_VERSION = '1.2.0'
52
52
 
53
53
  end
@@ -29,6 +29,7 @@ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
+ require 'aws-sdk-finspace/plugins/content_type.rb'
32
33
 
33
34
  Aws::Plugins::GlobalConfiguration.add_identifier(:finspace)
34
35
 
@@ -75,6 +76,7 @@ module Aws::Finspace
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
76
77
  add_plugin(Aws::Plugins::SignatureV4)
77
78
  add_plugin(Aws::Plugins::Protocols::RestJson)
79
+ add_plugin(Aws::Finspace::Plugins::ContentType)
78
80
 
79
81
  # @overload initialize(options)
80
82
  # @param [Hash] options
@@ -691,7 +693,7 @@ module Aws::Finspace
691
693
  params: params,
692
694
  config: config)
693
695
  context[:gem_name] = 'aws-sdk-finspace'
694
- context[:gem_version] = '1.1.0'
696
+ context[:gem_version] = '1.2.0'
695
697
  Seahorse::Client::Request.new(handlers, context)
696
698
  end
697
699
 
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aws
4
+ module Finspace
5
+ module Plugins
6
+ class ContentType < Seahorse::Client::Plugin
7
+
8
+ def add_handlers(handlers, _config)
9
+ handlers.add(Handler)
10
+ end
11
+
12
+ class Handler < Seahorse::Client::Handler
13
+ def call(context)
14
+ # Some operations break when given an empty content-type header.
15
+ # The SDK adds this blank content-type header
16
+ # since Net::HTTP provides a default that can break services.
17
+ # We're setting one here even though it's not used or necessary.
18
+ context.http_request.headers['content-type'] = 'application/x-amz-json-1.1'
19
+ @handler.call(context)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-finspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
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: 2021-05-03 00:00:00.000000000 Z
11
+ date: 2021-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -60,6 +60,7 @@ files:
60
60
  - lib/aws-sdk-finspace/client_api.rb
61
61
  - lib/aws-sdk-finspace/customizations.rb
62
62
  - lib/aws-sdk-finspace/errors.rb
63
+ - lib/aws-sdk-finspace/plugins/content_type.rb
63
64
  - lib/aws-sdk-finspace/resource.rb
64
65
  - lib/aws-sdk-finspace/types.rb
65
66
  homepage: https://github.com/aws/aws-sdk-ruby