aws-sdk-finspacedata 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5881c8b44cbf4c794107ae0ddbef0a3d7e8b513cb5e9591400d4f5b9ce2a3f87
4
- data.tar.gz: 1e446a19fddfadd45fc942c175cf811a2832af8f912faf723b44e850d0965e53
3
+ metadata.gz: f0503d606cae59dfcab2d85aee3f58d25522908f97a2dcbbc9a9fed12418a94f
4
+ data.tar.gz: c9d8756715e255cc5d461dae813b6f6d9f21f3dfb98caa678817ac0d531df2ba
5
5
  SHA512:
6
- metadata.gz: f8661bfd0b701cae5a1e2b8befe785ce7061465e8fcf6d9942867e4316d6fc31539b0af77933c9ca7588fc86a05c008ce2337b61e72c5546e0955d5271d2b376
7
- data.tar.gz: 865065efc0a913edea7bf569082336db38a5f856f21c100b05abb73d81af4c3e248a035cea56b9192b225966c1c95da8e1b12825539dc8efb337ff279f75d0b6
6
+ metadata.gz: 0cf6bdef3f7046aaa95af7618f415bbdf3d44466a8ecbbc3ad750642f1dcc15bb33da9bae6b5c0eee762172fcf22a8d7ed95e6d2668663e4c155bef65ef69b1c
7
+ data.tar.gz: 3637f237c3393c5a915805d2aeb036b5a5b2e94a01f2819b04028364852e1145b112b02b2f3df4d8b8ba49db8228c33d894e75237edfeae571367ed4a9fa22c7
data/CHANGELOG.md CHANGED
@@ -1,8 +1,14 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.1.0 (2021-05-05)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for FinSpaceData API.
8
+
9
+ * Issue - Add a `Content-Type` header to mitigate a service side issue.
10
+
4
11
  1.0.0 (2021-05-03)
5
12
  ------------------
6
13
 
7
14
  * Feature - Initial release of `aws-sdk-finspacedata`.
8
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-finspacedata/customizations'
48
48
  # @!group service
49
49
  module Aws::FinSpaceData
50
50
 
51
- GEM_VERSION = '1.0.0'
51
+ GEM_VERSION = '1.1.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-finspacedata/plugins/content_type.rb'
32
33
 
33
34
  Aws::Plugins::GlobalConfiguration.add_identifier(:finspacedata)
34
35
 
@@ -75,6 +76,7 @@ module Aws::FinSpaceData
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::FinSpaceData::Plugins::ContentType)
78
80
 
79
81
  # @overload initialize(options)
80
82
  # @param [Hash] options
@@ -505,7 +507,7 @@ module Aws::FinSpaceData
505
507
  params: params,
506
508
  config: config)
507
509
  context[:gem_name] = 'aws-sdk-finspacedata'
508
- context[:gem_version] = '1.0.0'
510
+ context[:gem_version] = '1.1.0'
509
511
  Seahorse::Client::Request.new(handlers, context)
510
512
  end
511
513
 
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aws
4
+ module FinSpaceData
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-finspacedata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.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-finspacedata/client_api.rb
61
61
  - lib/aws-sdk-finspacedata/customizations.rb
62
62
  - lib/aws-sdk-finspacedata/errors.rb
63
+ - lib/aws-sdk-finspacedata/plugins/content_type.rb
63
64
  - lib/aws-sdk-finspacedata/resource.rb
64
65
  - lib/aws-sdk-finspacedata/types.rb
65
66
  homepage: https://github.com/aws/aws-sdk-ruby