aws-sdk-kms 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-kms.rb +1 -1
- data/lib/aws-sdk-kms/client.rb +31 -20
- data/lib/aws-sdk-kms/resource.rb +1 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6f9fb075e7541f20c076227a864a0116365a75e5fe67cc746c8609170a677773
|
4
|
+
data.tar.gz: 1be616e07faab45e182b86d1c07bdc23e38bb54e5ebf6714c49c8556083383fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aedc634868d8da6f72d8cae30afe8b8cebd3784b28a427c08d054fa091c233f28bcc5737ac7ca49646cdbb84f8ab04a275dc4a00b0a6fb3d062fd8d162827a9b
|
7
|
+
data.tar.gz: 848518cefbc700f6d3b7241e7b28c75e223cbe47f411b51473f35668003fd46f2f77bdae0b148d5d01a7f88be3b07eb7a0e0b672f674a0a6e92a96a40b6f2278
|
data/lib/aws-sdk-kms.rb
CHANGED
data/lib/aws-sdk-kms/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:kms)
|
|
32
32
|
module Aws::KMS
|
33
33
|
# An API client for KMS. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::KMS::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::KMS
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::KMS
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::KMS
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::KMS
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::KMS
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -3569,6 +3572,8 @@ module Aws::KMS
|
|
3569
3572
|
# * {Types::ListAliasesResponse#next_marker #next_marker} => String
|
3570
3573
|
# * {Types::ListAliasesResponse#truncated #truncated} => Boolean
|
3571
3574
|
#
|
3575
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3576
|
+
#
|
3572
3577
|
#
|
3573
3578
|
# @example Example: To list aliases
|
3574
3579
|
#
|
@@ -3689,6 +3694,8 @@ module Aws::KMS
|
|
3689
3694
|
# * {Types::ListGrantsResponse#next_marker #next_marker} => String
|
3690
3695
|
# * {Types::ListGrantsResponse#truncated #truncated} => Boolean
|
3691
3696
|
#
|
3697
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3698
|
+
#
|
3692
3699
|
#
|
3693
3700
|
# @example Example: To list grants for a customer master key (CMK)
|
3694
3701
|
#
|
@@ -3834,6 +3841,8 @@ module Aws::KMS
|
|
3834
3841
|
# * {Types::ListKeyPoliciesResponse#next_marker #next_marker} => String
|
3835
3842
|
# * {Types::ListKeyPoliciesResponse#truncated #truncated} => Boolean
|
3836
3843
|
#
|
3844
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3845
|
+
#
|
3837
3846
|
#
|
3838
3847
|
# @example Example: To list key policies for a customer master key (CMK)
|
3839
3848
|
#
|
@@ -3898,6 +3907,8 @@ module Aws::KMS
|
|
3898
3907
|
# * {Types::ListKeysResponse#next_marker #next_marker} => String
|
3899
3908
|
# * {Types::ListKeysResponse#truncated #truncated} => Boolean
|
3900
3909
|
#
|
3910
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3911
|
+
#
|
3901
3912
|
#
|
3902
3913
|
# @example Example: To list customer master keys (CMKs)
|
3903
3914
|
#
|
@@ -5426,7 +5437,7 @@ module Aws::KMS
|
|
5426
5437
|
params: params,
|
5427
5438
|
config: config)
|
5428
5439
|
context[:gem_name] = 'aws-sdk-kms'
|
5429
|
-
context[:gem_version] = '1.
|
5440
|
+
context[:gem_version] = '1.31.0'
|
5430
5441
|
Seahorse::Client::Request.new(handlers, context)
|
5431
5442
|
end
|
5432
5443
|
|
data/lib/aws-sdk-kms/resource.rb
CHANGED
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::KMS
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::KMS::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::KMS::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::KMS::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.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: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - KMS
|