aws-sdk-cloudhsmv2 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 +4 -4
- data/lib/aws-sdk-cloudhsmv2/client.rb +99 -97
- data/lib/aws-sdk-cloudhsmv2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68c9922f4c644c5635a802f5ca7f77705bd04fd6
|
4
|
+
data.tar.gz: 6dfc42f175f47ee3da9df9e52c1a0b1c342fee8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: add904c672bca06ebccf88ea1e8409efc09749631cf4dd47f578cb132696c5b7837ba257d2dab1dd237191a126190c5e0e3ee2046ab6f80e974447db089e90d2
|
7
|
+
data.tar.gz: 8fd00e7663b20fd0f481ec13d02a465b582f30424c76e62b1a915763741e3d57f4b47d0a6f1ea10f692dd86cc63fb4b73cc9f4e98eaa258e3b9bac28841f8b99
|
@@ -54,131 +54,133 @@ module Aws::CloudHSMV2
|
|
54
54
|
add_plugin(Aws::Plugins::SignatureV4)
|
55
55
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
56
56
|
|
57
|
-
# @
|
58
|
-
#
|
59
|
-
#
|
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
|
-
#
|
62
|
-
#
|
63
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
64
|
+
# credentials.
|
63
65
|
#
|
64
|
-
#
|
65
|
-
#
|
66
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
67
|
+
# from an EC2 IMDS on an EC2 instance.
|
66
68
|
#
|
67
|
-
#
|
68
|
-
#
|
69
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
70
|
+
# shared file, such as `~/.aws/config`.
|
69
71
|
#
|
70
|
-
#
|
72
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
71
73
|
#
|
72
|
-
#
|
73
|
-
#
|
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
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
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
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
100
|
-
#
|
101
|
-
#
|
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
|
-
#
|
104
|
-
#
|
105
|
-
#
|
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
|
-
#
|
108
|
-
#
|
109
|
-
#
|
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
|
-
#
|
112
|
-
#
|
113
|
-
#
|
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
|
-
#
|
116
|
-
#
|
117
|
-
#
|
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
|
-
#
|
120
|
-
#
|
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
|
-
#
|
125
|
-
#
|
129
|
+
# @option options [Symbol] :log_level (:info)
|
130
|
+
# The log level to send messages to the `:logger` at.
|
126
131
|
#
|
127
|
-
#
|
128
|
-
#
|
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
|
-
#
|
131
|
-
#
|
132
|
-
#
|
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
|
-
#
|
135
|
-
#
|
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
|
-
#
|
139
|
-
#
|
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
|
-
#
|
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
|
-
# @
|
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
|
-
#
|
147
|
-
#
|
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
|
-
#
|
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
|
-
#
|
160
|
+
# @option options [String] :session_token
|
157
161
|
#
|
158
|
-
#
|
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
|
-
#
|
161
|
-
#
|
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
|
-
#
|
168
|
-
#
|
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
|
-
#
|
171
|
-
#
|
172
|
-
#
|
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
|
@@ -858,7 +860,7 @@ module Aws::CloudHSMV2
|
|
858
860
|
params: params,
|
859
861
|
config: config)
|
860
862
|
context[:gem_name] = 'aws-sdk-cloudhsmv2'
|
861
|
-
context[:gem_version] = '1.
|
863
|
+
context[:gem_version] = '1.8.0'
|
862
864
|
Seahorse::Client::Request.new(handlers, context)
|
863
865
|
end
|
864
866
|
|
data/lib/aws-sdk-cloudhsmv2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudhsmv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
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-
|
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
|