aws-sdk-lookoutmetrics 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-lookoutmetrics.rb +1 -1
- data/lib/aws-sdk-lookoutmetrics/client.rb +3 -1
- data/lib/aws-sdk-lookoutmetrics/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: 2f4ef8a56c83c0548b9311704b45db3e778b603c1541971b164a3ee4a3770ac9
|
4
|
+
data.tar.gz: 42c241ab654898964ae900e4c9a8e8643a8378f413423f1d035cd58a16724d23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ebed1ff593cc006dfe0c68d89e23bb75847023be5c0b91ec21165a5e3bb78e2ac80dc3b07d8c9389c62adb517b1c77310253099b3b7da66eb4e8d1867df0277
|
7
|
+
data.tar.gz: 678d7c2ea2bc632dd2408a2fad8460805dd90b268f937eccbf9291479dbe86d8cb330c2a5bbf7147190f088ee3581b249d3ab00fa7bcfffaef701123b9a21e67
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.1.0 (2021-03-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Allowing uppercase alphabets for RDS and Redshift database names.
|
8
|
+
|
9
|
+
* Issue - Add a `Content-Type` header to mitigate a service side issue.
|
10
|
+
|
4
11
|
1.0.0 (2021-03-25)
|
5
12
|
------------------
|
6
13
|
|
7
14
|
* Feature - Initial release of `aws-sdk-lookoutmetrics`.
|
8
|
-
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
@@ -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-lookoutmetrics/plugins/content_type.rb'
|
32
33
|
|
33
34
|
Aws::Plugins::GlobalConfiguration.add_identifier(:lookoutmetrics)
|
34
35
|
|
@@ -75,6 +76,7 @@ module Aws::LookoutMetrics
|
|
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::LookoutMetrics::Plugins::ContentType)
|
78
80
|
|
79
81
|
# @overload initialize(options)
|
80
82
|
# @param [Hash] options
|
@@ -1612,7 +1614,7 @@ module Aws::LookoutMetrics
|
|
1612
1614
|
params: params,
|
1613
1615
|
config: config)
|
1614
1616
|
context[:gem_name] = 'aws-sdk-lookoutmetrics'
|
1615
|
-
context[:gem_version] = '1.
|
1617
|
+
context[:gem_version] = '1.1.0'
|
1616
1618
|
Seahorse::Client::Request.new(handlers, context)
|
1617
1619
|
end
|
1618
1620
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
module LookoutMetrics
|
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-lookoutmetrics
|
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-03-
|
11
|
+
date: 2021-03-26 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-lookoutmetrics/client_api.rb
|
61
61
|
- lib/aws-sdk-lookoutmetrics/customizations.rb
|
62
62
|
- lib/aws-sdk-lookoutmetrics/errors.rb
|
63
|
+
- lib/aws-sdk-lookoutmetrics/plugins/content_type.rb
|
63
64
|
- lib/aws-sdk-lookoutmetrics/resource.rb
|
64
65
|
- lib/aws-sdk-lookoutmetrics/types.rb
|
65
66
|
homepage: https://github.com/aws/aws-sdk-ruby
|