aws-sdk-dynamodb 1.14.0 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99d5d8db65bac7c72b50c821c649b216c853f53e
4
- data.tar.gz: 700af0c4d299ce48da635fe8612b24c2bf85d4d0
3
+ metadata.gz: f9ac15692afac1f70f41899aa22df9f5551f34e5
4
+ data.tar.gz: 7988966211927fe7b35df4580a8cc2d749bade5f
5
5
  SHA512:
6
- metadata.gz: 3e7473171fec65a5c1f65781d63019c9e95b77b6c2d331424f3a3422857cdbab61cea23a34431a41f99ec72acd64be2739fbd8d57292f8a4e2542fcf8806ab3f
7
- data.tar.gz: c257ee5e8a3b1f3c3ce10e40a20469d4bf324c87180c5e4edb0a910cc1752f2b37536b29eee2fd418cf3a6fd99ef812c79623ccd0c590f83a0c9617a63f0820a
6
+ metadata.gz: db18a8c67a182383ab86ab47c84a7fee9de8b93e7a1ae866a2a252564c05204a2ee1e6b318413feadc297f8d6cb59611e8ffc4dd5cb07eb06214e815e9c9bd12
7
+ data.tar.gz: 93c1447c7ceede816f03b1e7a81e8a908188cba3b784a2d373e906f5cdf79944b4f5418dc1c421a0c9b36b45899646e140f8c29cca1bf9f436ddfd8008392ac6
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
44
44
  # @service
45
45
  module Aws::DynamoDB
46
46
 
47
- GEM_VERSION = '1.14.0'
47
+ GEM_VERSION = '1.15.0'
48
48
 
49
49
  end
@@ -60,152 +60,154 @@ module Aws::DynamoDB
60
60
  add_plugin(Aws::DynamoDB::Plugins::SimpleAttributes)
61
61
  add_plugin(Aws::DynamoDB::Plugins::CRC32Validation)
62
62
 
63
- # @option options [required, Aws::CredentialProvider] :credentials
64
- # Your AWS credentials. This can be an instance of any one of the
65
- # following classes:
66
- #
67
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
68
- # credentials.
69
- #
70
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
71
- # from an EC2 IMDS on an EC2 instance.
72
- #
73
- # * `Aws::SharedCredentials` - Used for loading credentials from a
74
- # shared file, such as `~/.aws/config`.
75
- #
76
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
63
+ # @overload initialize(options)
64
+ # @param [Hash] options
65
+ # @option options [required, Aws::CredentialProvider] :credentials
66
+ # Your AWS credentials. This can be an instance of any one of the
67
+ # following classes:
68
+ #
69
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
70
+ # credentials.
71
+ #
72
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
73
+ # from an EC2 IMDS on an EC2 instance.
74
+ #
75
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
76
+ # shared file, such as `~/.aws/config`.
77
+ #
78
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
79
+ #
80
+ # When `:credentials` are not configured directly, the following
81
+ # locations will be searched for credentials:
82
+ #
83
+ # * `Aws.config[:credentials]`
84
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
85
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
86
+ # * `~/.aws/credentials`
87
+ # * `~/.aws/config`
88
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
89
+ # very aggressive. Construct and pass an instance of
90
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
91
+ # timeouts.
92
+ #
93
+ # @option options [required, String] :region
94
+ # The AWS region to connect to. The configured `:region` is
95
+ # used to determine the service `:endpoint`. When not passed,
96
+ # a default `:region` is search for in the following locations:
97
+ #
98
+ # * `Aws.config[:region]`
99
+ # * `ENV['AWS_REGION']`
100
+ # * `ENV['AMAZON_REGION']`
101
+ # * `ENV['AWS_DEFAULT_REGION']`
102
+ # * `~/.aws/credentials`
103
+ # * `~/.aws/config`
104
+ #
105
+ # @option options [String] :access_key_id
106
+ #
107
+ # @option options [Boolean] :client_side_monitoring (false)
108
+ # When `true`, client-side metrics will be collected for all API requests from
109
+ # this client.
110
+ #
111
+ # @option options [String] :client_side_monitoring_client_id ("")
112
+ # Allows you to provide an identifier for this client which will be attached to
113
+ # all generated client side metrics. Defaults to an empty string.
114
+ #
115
+ # @option options [Integer] :client_side_monitoring_port (31000)
116
+ # Required for publishing client metrics. The port that the client side monitoring
117
+ # agent is running on, where client metrics will be published via UDP.
118
+ #
119
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
120
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
121
+ # will use the Client Side Monitoring Agent Publisher.
122
+ #
123
+ # @option options [Boolean] :compute_checksums (true)
124
+ # When `true`, a CRC32 checksum is computed of every HTTP
125
+ # response body and compared against the `X-Amz-Crc32` header.
126
+ # If the checksums do not match, the request is re-sent.
127
+ # Failures can be retried up to `:retry_limit` times.
128
+ #
129
+ # @option options [Boolean] :convert_params (true)
130
+ # When `true`, an attempt is made to coerce request parameters into
131
+ # the required types.
132
+ #
133
+ # @option options [String] :endpoint
134
+ # The client endpoint is normally constructed from the `:region`
135
+ # option. You should only configure an `:endpoint` when connecting
136
+ # to test endpoints. This should be avalid HTTP(S) URI.
137
+ #
138
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
139
+ # The log formatter.
140
+ #
141
+ # @option options [Symbol] :log_level (:info)
142
+ # The log level to send messages to the `:logger` at.
143
+ #
144
+ # @option options [Logger] :logger
145
+ # The Logger instance to send log messages to. If this option
146
+ # is not set, logging will be disabled.
147
+ #
148
+ # @option options [String] :profile ("default")
149
+ # Used when loading credentials from the shared credentials file
150
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
151
+ #
152
+ # @option options [Float] :retry_base_delay (0.3)
153
+ # The base delay in seconds used by the default backoff function.
154
+ #
155
+ # @option options [Symbol] :retry_jitter (:none)
156
+ # 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.
157
+ #
158
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
159
+ #
160
+ # @option options [Integer] :retry_limit (3)
161
+ # The maximum number of times to retry failed requests. Only
162
+ # ~ 500 level server errors and certain ~ 400 level client errors
163
+ # are retried. Generally, these are throttling errors, data
164
+ # checksum errors, networking errors, timeout errors and auth
165
+ # errors from expired credentials.
77
166
  #
78
- # When `:credentials` are not configured directly, the following
79
- # locations will be searched for credentials:
167
+ # @option options [Integer] :retry_limit (10)
168
+ # The maximum number of times to retry failed requests. Only
169
+ # ~ 500 level server errors and certain ~ 400 level client errors
170
+ # are retried. Generally, these are throttling errors, data
171
+ # checksum errors, networking errors, timeout errors and auth
172
+ # errors from expired credentials.
80
173
  #
81
- # * `Aws.config[:credentials]`
82
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
83
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
84
- # * `~/.aws/credentials`
85
- # * `~/.aws/config`
86
- # * EC2 IMDS instance profile - When used by default, the timeouts are
87
- # very aggressive. Construct and pass an instance of
88
- # `Aws::InstanceProfileCredentails` to enable retries and extended
89
- # timeouts.
90
- #
91
- # @option options [required, String] :region
92
- # The AWS region to connect to. The configured `:region` is
93
- # used to determine the service `:endpoint`. When not passed,
94
- # a default `:region` is search for in the following locations:
95
- #
96
- # * `Aws.config[:region]`
97
- # * `ENV['AWS_REGION']`
98
- # * `ENV['AMAZON_REGION']`
99
- # * `ENV['AWS_DEFAULT_REGION']`
100
- # * `~/.aws/credentials`
101
- # * `~/.aws/config`
102
- #
103
- # @option options [String] :access_key_id
104
- #
105
- # @option options [Boolean] :client_side_monitoring (false)
106
- # When `true`, client-side metrics will be collected for all API requests from
107
- # this client.
108
- #
109
- # @option options [String] :client_side_monitoring_client_id ("")
110
- # Allows you to provide an identifier for this client which will be attached to
111
- # all generated client side metrics. Defaults to an empty string.
174
+ # @option options [Integer] :retry_max_delay (0)
175
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
176
+ #
177
+ # @option options [String] :secret_access_key
178
+ #
179
+ # @option options [String] :session_token
180
+ #
181
+ # @option options [Boolean] :simple_attributes (true)
182
+ # Enables working with DynamoDB attribute values using
183
+ # hashes, arrays, sets, integers, floats, booleans, and nil.
184
+ #
185
+ # Disabling this option requires that all attribute values have
186
+ # their types specified, e.g. `{ s: 'abc' }` instead of simply
187
+ # `'abc'`.
188
+ #
189
+ # @option options [Boolean] :simple_json (false)
190
+ # Disables request parameter conversion, validation, and formatting.
191
+ # Also disable response data type conversions. This option is useful
192
+ # when you want to ensure the highest level of performance by
193
+ # avoiding overhead of walking request parameters and response data
194
+ # structures.
112
195
  #
113
- # @option options [Integer] :client_side_monitoring_port (31000)
114
- # Required for publishing client metrics. The port that the client side monitoring
115
- # agent is running on, where client metrics will be published via UDP.
196
+ # When `:simple_json` is enabled, the request parameters hash must
197
+ # be formatted exactly as the DynamoDB API expects.
116
198
  #
117
- # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
118
- # Allows you to provide a custom client-side monitoring publisher class. By default,
119
- # will use the Client Side Monitoring Agent Publisher.
199
+ # @option options [Boolean] :stub_responses (false)
200
+ # Causes the client to return stubbed responses. By default
201
+ # fake responses are generated and returned. You can specify
202
+ # the response data to return or errors to raise by calling
203
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
120
204
  #
121
- # @option options [Boolean] :compute_checksums (true)
122
- # When `true`, a CRC32 checksum is computed of every HTTP
123
- # response body and compared against the `X-Amz-Crc32` header.
124
- # If the checksums do not match, the request is re-sent.
125
- # Failures can be retried up to `:retry_limit` times.
205
+ # ** Please note ** When response stubbing is enabled, no HTTP
206
+ # requests are made, and retries are disabled.
126
207
  #
127
- # @option options [Boolean] :convert_params (true)
128
- # When `true`, an attempt is made to coerce request parameters into
129
- # the required types.
130
- #
131
- # @option options [String] :endpoint
132
- # The client endpoint is normally constructed from the `:region`
133
- # option. You should only configure an `:endpoint` when connecting
134
- # to test endpoints. This should be avalid HTTP(S) URI.
135
- #
136
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
137
- # The log formatter.
138
- #
139
- # @option options [Symbol] :log_level (:info)
140
- # The log level to send messages to the `:logger` at.
141
- #
142
- # @option options [Logger] :logger
143
- # The Logger instance to send log messages to. If this option
144
- # is not set, logging will be disabled.
145
- #
146
- # @option options [String] :profile ("default")
147
- # Used when loading credentials from the shared credentials file
148
- # at HOME/.aws/credentials. When not specified, 'default' is used.
149
- #
150
- # @option options [Float] :retry_base_delay (0.3)
151
- # The base delay in seconds used by the default backoff function.
152
- #
153
- # @option options [Symbol] :retry_jitter (:none)
154
- # 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.
155
- #
156
- # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
157
- #
158
- # @option options [Integer] :retry_limit (3)
159
- # The maximum number of times to retry failed requests. Only
160
- # ~ 500 level server errors and certain ~ 400 level client errors
161
- # are retried. Generally, these are throttling errors, data
162
- # checksum errors, networking errors, timeout errors and auth
163
- # errors from expired credentials.
164
- #
165
- # @option options [Integer] :retry_limit (10)
166
- # The maximum number of times to retry failed requests. Only
167
- # ~ 500 level server errors and certain ~ 400 level client errors
168
- # are retried. Generally, these are throttling errors, data
169
- # checksum errors, networking errors, timeout errors and auth
170
- # errors from expired credentials.
171
- #
172
- # @option options [Integer] :retry_max_delay (0)
173
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
174
- #
175
- # @option options [String] :secret_access_key
176
- #
177
- # @option options [String] :session_token
178
- #
179
- # @option options [Boolean] :simple_attributes (true)
180
- # Enables working with DynamoDB attribute values using
181
- # hashes, arrays, sets, integers, floats, booleans, and nil.
182
- #
183
- # Disabling this option requires that all attribute values have
184
- # their types specified, e.g. `{ s: 'abc' }` instead of simply
185
- # `'abc'`.
186
- #
187
- # @option options [Boolean] :simple_json (false)
188
- # Disables request parameter conversion, validation, and formatting.
189
- # Also disable response data type conversions. This option is useful
190
- # when you want to ensure the highest level of performance by
191
- # avoiding overhead of walking request parameters and response data
192
- # structures.
193
- #
194
- # When `:simple_json` is enabled, the request parameters hash must
195
- # be formatted exactly as the DynamoDB API expects.
196
- #
197
- # @option options [Boolean] :stub_responses (false)
198
- # Causes the client to return stubbed responses. By default
199
- # fake responses are generated and returned. You can specify
200
- # the response data to return or errors to raise by calling
201
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
202
- #
203
- # ** Please note ** When response stubbing is enabled, no HTTP
204
- # requests are made, and retries are disabled.
205
- #
206
- # @option options [Boolean] :validate_params (true)
207
- # When `true`, request parameters are validated before
208
- # sending the request.
208
+ # @option options [Boolean] :validate_params (true)
209
+ # When `true`, request parameters are validated before
210
+ # sending the request.
209
211
  #
210
212
  def initialize(*args)
211
213
  super
@@ -5387,7 +5389,7 @@ module Aws::DynamoDB
5387
5389
  params: params,
5388
5390
  config: config)
5389
5391
  context[:gem_name] = 'aws-sdk-dynamodb'
5390
- context[:gem_version] = '1.14.0'
5392
+ context[:gem_version] = '1.15.0'
5391
5393
  Seahorse::Client::Request.new(handlers, context)
5392
5394
  end
5393
5395
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.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