aws-sdk-comprehend 1.7.0 → 1.8.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
  SHA1:
3
- metadata.gz: c75e32ffd1cb7deb3ba8d3b32ab5b95cf62d0489
4
- data.tar.gz: eaea6743fcf0fbe362afdbc0bcfb174fe93e902a
3
+ metadata.gz: d4e377255780bebb275897479d7d95235442ca79
4
+ data.tar.gz: 2247a1dba469e80a53b9ddcf3f1b95f6cb8815d3
5
5
  SHA512:
6
- metadata.gz: d67ba5ba15c85eee7b6970140b6eebf695f9bd8205d5a3d40df3ef9af15798579e05dd511522fdcab70850cab6ca06dbd7eaff754b51de2b21a1006cc94e0d28
7
- data.tar.gz: 8d21ab6bbdc924879c79f763b6a11070b2912b1a28ee2889ec0274d61e17ea2d1f3becaa7d630dc54270aa12e7c9645035e0b9e4d170b617cbbba3eb9ce82b9b
6
+ metadata.gz: a5ccdd5c1e3c8383530ebbef98376a1556b095bbd41a80f81b33d113bad40ce664f33d0bea176cad3a18e9a6009815889f43f22cacd8f7fbd8c92259795cc192
7
+ data.tar.gz: '094e9130b6d24db36d3efc0a0f9e8eb22f4bae2a397e6f3868a7640fe10305389a30388029a7105c7d25d3de29459513ea5efe84883e949d98ed41bead4bf92e'
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-comprehend/customizations'
42
42
  # @service
43
43
  module Aws::Comprehend
44
44
 
45
- GEM_VERSION = '1.7.0'
45
+ GEM_VERSION = '1.8.0'
46
46
 
47
47
  end
@@ -54,131 +54,133 @@ module Aws::Comprehend
54
54
  add_plugin(Aws::Plugins::SignatureV4)
55
55
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
56
56
 
57
- # @option options [required, Aws::CredentialProvider] :credentials
58
- # Your AWS credentials. This can be an instance of any one of the
59
- # following classes:
57
+ # @overload initialize(options)
58
+ # @param [Hash] options
59
+ # @option options [required, Aws::CredentialProvider] :credentials
60
+ # Your AWS credentials. This can be an instance of any one of the
61
+ # following classes:
60
62
  #
61
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
62
- # credentials.
63
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
64
+ # credentials.
63
65
  #
64
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
65
- # from an EC2 IMDS on an EC2 instance.
66
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
67
+ # from an EC2 IMDS on an EC2 instance.
66
68
  #
67
- # * `Aws::SharedCredentials` - Used for loading credentials from a
68
- # shared file, such as `~/.aws/config`.
69
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
70
+ # shared file, such as `~/.aws/config`.
69
71
  #
70
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
72
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
71
73
  #
72
- # When `:credentials` are not configured directly, the following
73
- # locations will be searched for credentials:
74
+ # When `:credentials` are not configured directly, the following
75
+ # locations will be searched for credentials:
76
+ #
77
+ # * `Aws.config[:credentials]`
78
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
79
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
80
+ # * `~/.aws/credentials`
81
+ # * `~/.aws/config`
82
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
83
+ # very aggressive. Construct and pass an instance of
84
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
85
+ # timeouts.
74
86
  #
75
- # * `Aws.config[:credentials]`
76
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
77
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
78
- # * `~/.aws/credentials`
79
- # * `~/.aws/config`
80
- # * EC2 IMDS instance profile - When used by default, the timeouts are
81
- # very aggressive. Construct and pass an instance of
82
- # `Aws::InstanceProfileCredentails` to enable retries and extended
83
- # timeouts.
87
+ # @option options [required, String] :region
88
+ # The AWS region to connect to. The configured `:region` is
89
+ # used to determine the service `:endpoint`. When not passed,
90
+ # a default `:region` is search for in the following locations:
84
91
  #
85
- # @option options [required, String] :region
86
- # The AWS region to connect to. The configured `:region` is
87
- # used to determine the service `:endpoint`. When not passed,
88
- # a default `:region` is search for in the following locations:
92
+ # * `Aws.config[:region]`
93
+ # * `ENV['AWS_REGION']`
94
+ # * `ENV['AMAZON_REGION']`
95
+ # * `ENV['AWS_DEFAULT_REGION']`
96
+ # * `~/.aws/credentials`
97
+ # * `~/.aws/config`
89
98
  #
90
- # * `Aws.config[:region]`
91
- # * `ENV['AWS_REGION']`
92
- # * `ENV['AMAZON_REGION']`
93
- # * `ENV['AWS_DEFAULT_REGION']`
94
- # * `~/.aws/credentials`
95
- # * `~/.aws/config`
99
+ # @option options [String] :access_key_id
96
100
  #
97
- # @option options [String] :access_key_id
101
+ # @option options [Boolean] :client_side_monitoring (false)
102
+ # When `true`, client-side metrics will be collected for all API requests from
103
+ # this client.
98
104
  #
99
- # @option options [Boolean] :client_side_monitoring (false)
100
- # When `true`, client-side metrics will be collected for all API requests from
101
- # this client.
105
+ # @option options [String] :client_side_monitoring_client_id ("")
106
+ # Allows you to provide an identifier for this client which will be attached to
107
+ # all generated client side metrics. Defaults to an empty string.
102
108
  #
103
- # @option options [String] :client_side_monitoring_client_id ("")
104
- # Allows you to provide an identifier for this client which will be attached to
105
- # all generated client side metrics. Defaults to an empty string.
109
+ # @option options [Integer] :client_side_monitoring_port (31000)
110
+ # Required for publishing client metrics. The port that the client side monitoring
111
+ # agent is running on, where client metrics will be published via UDP.
106
112
  #
107
- # @option options [Integer] :client_side_monitoring_port (31000)
108
- # Required for publishing client metrics. The port that the client side monitoring
109
- # agent is running on, where client metrics will be published via UDP.
113
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
114
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
115
+ # will use the Client Side Monitoring Agent Publisher.
110
116
  #
111
- # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
112
- # Allows you to provide a custom client-side monitoring publisher class. By default,
113
- # will use the Client Side Monitoring Agent Publisher.
117
+ # @option options [Boolean] :convert_params (true)
118
+ # When `true`, an attempt is made to coerce request parameters into
119
+ # the required types.
114
120
  #
115
- # @option options [Boolean] :convert_params (true)
116
- # When `true`, an attempt is made to coerce request parameters into
117
- # the required types.
121
+ # @option options [String] :endpoint
122
+ # The client endpoint is normally constructed from the `:region`
123
+ # option. You should only configure an `:endpoint` when connecting
124
+ # to test endpoints. This should be avalid HTTP(S) URI.
118
125
  #
119
- # @option options [String] :endpoint
120
- # The client endpoint is normally constructed from the `:region`
121
- # option. You should only configure an `:endpoint` when connecting
122
- # to test endpoints. This should be avalid HTTP(S) URI.
126
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
127
+ # The log formatter.
123
128
  #
124
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
125
- # The log formatter.
129
+ # @option options [Symbol] :log_level (:info)
130
+ # The log level to send messages to the `:logger` at.
126
131
  #
127
- # @option options [Symbol] :log_level (:info)
128
- # The log level to send messages to the `:logger` at.
132
+ # @option options [Logger] :logger
133
+ # The Logger instance to send log messages to. If this option
134
+ # is not set, logging will be disabled.
129
135
  #
130
- # @option options [Logger] :logger
131
- # The Logger instance to send log messages to. If this option
132
- # is not set, logging will be disabled.
136
+ # @option options [String] :profile ("default")
137
+ # Used when loading credentials from the shared credentials file
138
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
133
139
  #
134
- # @option options [String] :profile ("default")
135
- # Used when loading credentials from the shared credentials file
136
- # at HOME/.aws/credentials. When not specified, 'default' is used.
140
+ # @option options [Float] :retry_base_delay (0.3)
141
+ # The base delay in seconds used by the default backoff function.
137
142
  #
138
- # @option options [Float] :retry_base_delay (0.3)
139
- # The base delay in seconds used by the default backoff function.
143
+ # @option options [Symbol] :retry_jitter (:none)
144
+ # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
140
145
  #
141
- # @option options [Symbol] :retry_jitter (:none)
142
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
146
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
143
147
  #
144
- # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
148
+ # @option options [Integer] :retry_limit (3)
149
+ # The maximum number of times to retry failed requests. Only
150
+ # ~ 500 level server errors and certain ~ 400 level client errors
151
+ # are retried. Generally, these are throttling errors, data
152
+ # checksum errors, networking errors, timeout errors and auth
153
+ # errors from expired credentials.
145
154
  #
146
- # @option options [Integer] :retry_limit (3)
147
- # The maximum number of times to retry failed requests. Only
148
- # ~ 500 level server errors and certain ~ 400 level client errors
149
- # are retried. Generally, these are throttling errors, data
150
- # checksum errors, networking errors, timeout errors and auth
151
- # errors from expired credentials.
155
+ # @option options [Integer] :retry_max_delay (0)
156
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
152
157
  #
153
- # @option options [Integer] :retry_max_delay (0)
154
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
158
+ # @option options [String] :secret_access_key
155
159
  #
156
- # @option options [String] :secret_access_key
160
+ # @option options [String] :session_token
157
161
  #
158
- # @option options [String] :session_token
162
+ # @option options [Boolean] :simple_json (false)
163
+ # Disables request parameter conversion, validation, and formatting.
164
+ # Also disable response data type conversions. This option is useful
165
+ # when you want to ensure the highest level of performance by
166
+ # avoiding overhead of walking request parameters and response data
167
+ # structures.
159
168
  #
160
- # @option options [Boolean] :simple_json (false)
161
- # Disables request parameter conversion, validation, and formatting.
162
- # Also disable response data type conversions. This option is useful
163
- # when you want to ensure the highest level of performance by
164
- # avoiding overhead of walking request parameters and response data
165
- # structures.
169
+ # When `:simple_json` is enabled, the request parameters hash must
170
+ # be formatted exactly as the DynamoDB API expects.
166
171
  #
167
- # When `:simple_json` is enabled, the request parameters hash must
168
- # be formatted exactly as the DynamoDB API expects.
172
+ # @option options [Boolean] :stub_responses (false)
173
+ # Causes the client to return stubbed responses. By default
174
+ # fake responses are generated and returned. You can specify
175
+ # the response data to return or errors to raise by calling
176
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
177
+ #
178
+ # ** Please note ** When response stubbing is enabled, no HTTP
179
+ # requests are made, and retries are disabled.
169
180
  #
170
- # @option options [Boolean] :stub_responses (false)
171
- # Causes the client to return stubbed responses. By default
172
- # fake responses are generated and returned. You can specify
173
- # the response data to return or errors to raise by calling
174
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
175
- #
176
- # ** Please note ** When response stubbing is enabled, no HTTP
177
- # requests are made, and retries are disabled.
178
- #
179
- # @option options [Boolean] :validate_params (true)
180
- # When `true`, request parameters are validated before
181
- # sending the request.
181
+ # @option options [Boolean] :validate_params (true)
182
+ # When `true`, request parameters are validated before
183
+ # sending the request.
182
184
  #
183
185
  def initialize(*args)
184
186
  super
@@ -1621,7 +1623,7 @@ module Aws::Comprehend
1621
1623
  params: params,
1622
1624
  config: config)
1623
1625
  context[:gem_name] = 'aws-sdk-comprehend'
1624
- context[:gem_version] = '1.7.0'
1626
+ context[:gem_version] = '1.8.0'
1625
1627
  Seahorse::Client::Request.new(handlers, context)
1626
1628
  end
1627
1629
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-comprehend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.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: 2018-10-23 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core