aws-sdk-nimblestudio 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: 04a681b9b64e30ca4cfce21de71621dcffd85a547cb78a526947189b5f72159c
4
- data.tar.gz: d789fec02239be5335d7f2579d4e9a92bdf734f91ade12fd303fcaced1e48106
3
+ metadata.gz: 63583b65bc750960f3de166604f986f914eceb29b43c9a62ad680acdd7f7e770
4
+ data.tar.gz: b98d207eb5abf12d2a617117dbad00f52b9c1d9c78e7afc3a8bbbb41bc20d609
5
5
  SHA512:
6
- metadata.gz: 7772a4298e51a6936d6f86bfdcb33c1d30600f21bfdbace6665ee1cd8e6503b3af288baf5226892cac230f7d638fc5ca06c19511e35fb44cd6af7bec30478475
7
- data.tar.gz: 37279d7f4eef3a9031387cadb373d3f4be402b8660d19410567257002923575a491d2d636509eee3e863e7a2e315f95e208333908f57a2c59070ba5d3d0f39d8
6
+ metadata.gz: 1b1aafc49f2840a40a004343d1e63ee572dff944e80ae4490d51bc9c8f39a186f15253bdf822ca004025ebb9d54fbe81fa4d0a48000b7c88889510f02121686d
7
+ data.tar.gz: 2250f200f18a4a4bffd85181bde7d6d9c143b5001673feb4347ce454eb432bc869ec0c0aec86b27c3d9ecc88e2d85a1862deedc5df0e6ece56db70278621e0c4
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 Amazon Nimble Studio.
8
+
9
+ * Issue - Add a `Content-Type` header to mitigate a service side issue.
10
+
4
11
  1.0.0 (2021-04-28)
5
12
  ------------------
6
13
 
7
14
  * Feature - Initial release of `aws-sdk-nimblestudio`.
8
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-nimblestudio/customizations'
48
48
  # @!group service
49
49
  module Aws::NimbleStudio
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-nimblestudio/plugins/content_type.rb'
32
33
 
33
34
  Aws::Plugins::GlobalConfiguration.add_identifier(:nimblestudio)
34
35
 
@@ -75,6 +76,7 @@ module Aws::NimbleStudio
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::NimbleStudio::Plugins::ContentType)
78
80
 
79
81
  # @overload initialize(options)
80
82
  # @param [Hash] options
@@ -2837,7 +2839,7 @@ module Aws::NimbleStudio
2837
2839
  params: params,
2838
2840
  config: config)
2839
2841
  context[:gem_name] = 'aws-sdk-nimblestudio'
2840
- context[:gem_version] = '1.0.0'
2842
+ context[:gem_version] = '1.1.0'
2841
2843
  Seahorse::Client::Request.new(handlers, context)
2842
2844
  end
2843
2845
 
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aws
4
+ module NimbleStudio
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-nimblestudio
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-04-28 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-nimblestudio/client_api.rb
61
61
  - lib/aws-sdk-nimblestudio/customizations.rb
62
62
  - lib/aws-sdk-nimblestudio/errors.rb
63
+ - lib/aws-sdk-nimblestudio/plugins/content_type.rb
63
64
  - lib/aws-sdk-nimblestudio/resource.rb
64
65
  - lib/aws-sdk-nimblestudio/types.rb
65
66
  homepage: https://github.com/aws/aws-sdk-ruby