aws-sdk-lexmodelsv2 1.10.0 → 1.14.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 +22 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +1184 -116
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +136 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +2073 -282
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +4 -5
- data/lib/aws-sdk-lexmodelsv2/plugins/content_type.rb +0 -25
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.14.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-
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +60,6 @@ files:
|
|
60
60
|
- lib/aws-sdk-lexmodelsv2/client_api.rb
|
61
61
|
- lib/aws-sdk-lexmodelsv2/customizations.rb
|
62
62
|
- lib/aws-sdk-lexmodelsv2/errors.rb
|
63
|
-
- lib/aws-sdk-lexmodelsv2/plugins/content_type.rb
|
64
63
|
- lib/aws-sdk-lexmodelsv2/resource.rb
|
65
64
|
- lib/aws-sdk-lexmodelsv2/types.rb
|
66
65
|
- lib/aws-sdk-lexmodelsv2/waiters.rb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Aws
|
4
|
-
module LexModelsV2
|
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
|