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 +4 -4
- data/CHANGELOG.md +7 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-finspacedata.rb +1 -1
- data/lib/aws-sdk-finspacedata/client.rb +3 -1
- data/lib/aws-sdk-finspacedata/plugins/content_type.rb +25 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0503d606cae59dfcab2d85aee3f58d25522908f97a2dcbbc9a9fed12418a94f
|
4
|
+
data.tar.gz: c9d8756715e255cc5d461dae813b6f6d9f21f3dfb98caa678817ac0d531df2ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
1.1.0
|
data/lib/aws-sdk-finspacedata.rb
CHANGED
@@ -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.
|
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.
|
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-
|
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
|