aws-sdk-cloudhsm 1.19.0 → 1.24.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 +5 -5
- data/lib/aws-sdk-cloudhsm.rb +9 -4
- data/lib/aws-sdk-cloudhsm/client.rb +72 -14
- data/lib/aws-sdk-cloudhsm/client_api.rb +6 -0
- data/lib/aws-sdk-cloudhsm/customizations.rb +1 -0
- data/lib/aws-sdk-cloudhsm/errors.rb +46 -0
- data/lib/aws-sdk-cloudhsm/resource.rb +3 -0
- data/lib/aws-sdk-cloudhsm/types.rb +55 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ed47c71c460799103d285517376d86e287f773fcc1872ba65eb70563710245d5
|
4
|
+
data.tar.gz: 4cf89a4274fb029a87bc2a02b7dd63399804ecbcf2110eecd4e9f033d6ef22ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d0c6a2b5b3ed31d133cea13d02792c8de9b9a5ecee3a6445cd698b3c70c0a09467998bf8380b6248f08aa795d7df77971fdb23d308fc52356356a0c5fcf3f4
|
7
|
+
data.tar.gz: 3cadc034d4fd4f384e664b08c28112333c60131be20f20191a519501be6704059f02e36f7aa909a61f81e842bacceeecdab19baf91c64f07dc34f91b8c8027b9
|
data/lib/aws-sdk-cloudhsm.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-cloudhsm/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# cloud_hsm = Aws::CloudHSM::Client.new
|
30
|
+
# resp = cloud_hsm.add_tags_to_resource(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from Amazon CloudHSM
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from Amazon CloudHSM are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::CloudHSM::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all Amazon CloudHSM API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-cloudhsm/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::CloudHSM
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.24.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudhsm)
|
31
34
|
|
32
35
|
module Aws::CloudHSM
|
36
|
+
# An API client for CloudHSM. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::CloudHSM::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::CloudHSM
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::CloudHSM
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::CloudHSM
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::CloudHSM
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::CloudHSM
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::CloudHSM
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::CloudHSM
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::CloudHSM
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::CloudHSM
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::CloudHSM
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1443,7 +1501,7 @@ module Aws::CloudHSM
|
|
1443
1501
|
params: params,
|
1444
1502
|
config: config)
|
1445
1503
|
context[:gem_name] = 'aws-sdk-cloudhsm'
|
1446
|
-
context[:gem_version] = '1.
|
1504
|
+
context[:gem_version] = '1.24.0'
|
1447
1505
|
Seahorse::Client::Request.new(handlers, context)
|
1448
1506
|
end
|
1449
1507
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -104,6 +106,8 @@ module Aws::CloudHSM
|
|
104
106
|
|
105
107
|
ClientList.member = Shapes::ShapeRef.new(shape: ClientArn)
|
106
108
|
|
109
|
+
CloudHsmInternalException.struct_class = Types::CloudHsmInternalException
|
110
|
+
|
107
111
|
CloudHsmServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
108
112
|
CloudHsmServiceException.add_member(:retryable, Shapes::ShapeRef.new(shape: Boolean, location_name: "retryable"))
|
109
113
|
CloudHsmServiceException.struct_class = Types::CloudHsmServiceException
|
@@ -218,6 +222,8 @@ module Aws::CloudHSM
|
|
218
222
|
|
219
223
|
HsmList.member = Shapes::ShapeRef.new(shape: HsmArn)
|
220
224
|
|
225
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
226
|
+
|
221
227
|
ListAvailableZonesRequest.struct_class = Types::ListAvailableZonesRequest
|
222
228
|
|
223
229
|
ListAvailableZonesResponse.add_member(:az_list, Shapes::ShapeRef.new(shape: AZList, location_name: "AZList"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,10 +8,45 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudHSM
|
11
|
+
|
12
|
+
# When CloudHSM returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::CloudHSM::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all CloudHSM errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::CloudHSM::Errors::ServiceError
|
20
|
+
# # rescues all CloudHSM API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {CloudHsmInternalException}
|
31
|
+
# * {CloudHsmServiceException}
|
32
|
+
# * {InvalidRequestException}
|
33
|
+
#
|
34
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
35
|
+
# if they are not defined above.
|
9
36
|
module Errors
|
10
37
|
|
11
38
|
extend Aws::Errors::DynamicErrors
|
12
39
|
|
40
|
+
class CloudHsmInternalException < ServiceError
|
41
|
+
|
42
|
+
# @param [Seahorse::Client::RequestContext] context
|
43
|
+
# @param [String] message
|
44
|
+
# @param [Aws::CloudHSM::Types::CloudHsmInternalException] data
|
45
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
46
|
+
super(context, message, data)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
13
50
|
class CloudHsmServiceException < ServiceError
|
14
51
|
|
15
52
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -28,7 +65,16 @@ module Aws::CloudHSM
|
|
28
65
|
def retryable
|
29
66
|
@data[:retryable]
|
30
67
|
end
|
68
|
+
end
|
31
69
|
|
70
|
+
class InvalidRequestException < ServiceError
|
71
|
+
|
72
|
+
# @param [Seahorse::Client::RequestContext] context
|
73
|
+
# @param [String] message
|
74
|
+
# @param [Aws::CloudHSM::Types::InvalidRequestException] data
|
75
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
76
|
+
super(context, message, data)
|
77
|
+
end
|
32
78
|
end
|
33
79
|
|
34
80
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudHSM
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -34,6 +36,7 @@ module Aws::CloudHSM
|
|
34
36
|
class AddTagsToResourceRequest < Struct.new(
|
35
37
|
:resource_arn,
|
36
38
|
:tag_list)
|
39
|
+
SENSITIVE = []
|
37
40
|
include Aws::Structure
|
38
41
|
end
|
39
42
|
|
@@ -45,9 +48,16 @@ module Aws::CloudHSM
|
|
45
48
|
#
|
46
49
|
class AddTagsToResourceResponse < Struct.new(
|
47
50
|
:status)
|
51
|
+
SENSITIVE = []
|
48
52
|
include Aws::Structure
|
49
53
|
end
|
50
54
|
|
55
|
+
# Indicates that an internal error occurred.
|
56
|
+
#
|
57
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CloudHsmInternalException AWS API Documentation
|
58
|
+
#
|
59
|
+
class CloudHsmInternalException < Aws::EmptyStructure; end
|
60
|
+
|
51
61
|
# Indicates that an exception occurred in the AWS CloudHSM service.
|
52
62
|
#
|
53
63
|
# @!attribute [rw] message
|
@@ -63,6 +73,7 @@ module Aws::CloudHSM
|
|
63
73
|
class CloudHsmServiceException < Struct.new(
|
64
74
|
:message,
|
65
75
|
:retryable)
|
76
|
+
SENSITIVE = []
|
66
77
|
include Aws::Structure
|
67
78
|
end
|
68
79
|
|
@@ -83,6 +94,7 @@ module Aws::CloudHSM
|
|
83
94
|
#
|
84
95
|
class CreateHapgRequest < Struct.new(
|
85
96
|
:label)
|
97
|
+
SENSITIVE = []
|
86
98
|
include Aws::Structure
|
87
99
|
end
|
88
100
|
|
@@ -96,6 +108,7 @@ module Aws::CloudHSM
|
|
96
108
|
#
|
97
109
|
class CreateHapgResponse < Struct.new(
|
98
110
|
:hapg_arn)
|
111
|
+
SENSITIVE = []
|
99
112
|
include Aws::Structure
|
100
113
|
end
|
101
114
|
|
@@ -169,6 +182,7 @@ module Aws::CloudHSM
|
|
169
182
|
:subscription_type,
|
170
183
|
:client_token,
|
171
184
|
:syslog_ip)
|
185
|
+
SENSITIVE = []
|
172
186
|
include Aws::Structure
|
173
187
|
end
|
174
188
|
|
@@ -182,6 +196,7 @@ module Aws::CloudHSM
|
|
182
196
|
#
|
183
197
|
class CreateHsmResponse < Struct.new(
|
184
198
|
:hsm_arn)
|
199
|
+
SENSITIVE = []
|
185
200
|
include Aws::Structure
|
186
201
|
end
|
187
202
|
|
@@ -209,6 +224,7 @@ module Aws::CloudHSM
|
|
209
224
|
class CreateLunaClientRequest < Struct.new(
|
210
225
|
:label,
|
211
226
|
:certificate)
|
227
|
+
SENSITIVE = []
|
212
228
|
include Aws::Structure
|
213
229
|
end
|
214
230
|
|
@@ -222,6 +238,7 @@ module Aws::CloudHSM
|
|
222
238
|
#
|
223
239
|
class CreateLunaClientResponse < Struct.new(
|
224
240
|
:client_arn)
|
241
|
+
SENSITIVE = []
|
225
242
|
include Aws::Structure
|
226
243
|
end
|
227
244
|
|
@@ -242,6 +259,7 @@ module Aws::CloudHSM
|
|
242
259
|
#
|
243
260
|
class DeleteHapgRequest < Struct.new(
|
244
261
|
:hapg_arn)
|
262
|
+
SENSITIVE = []
|
245
263
|
include Aws::Structure
|
246
264
|
end
|
247
265
|
|
@@ -255,6 +273,7 @@ module Aws::CloudHSM
|
|
255
273
|
#
|
256
274
|
class DeleteHapgResponse < Struct.new(
|
257
275
|
:status)
|
276
|
+
SENSITIVE = []
|
258
277
|
include Aws::Structure
|
259
278
|
end
|
260
279
|
|
@@ -275,6 +294,7 @@ module Aws::CloudHSM
|
|
275
294
|
#
|
276
295
|
class DeleteHsmRequest < Struct.new(
|
277
296
|
:hsm_arn)
|
297
|
+
SENSITIVE = []
|
278
298
|
include Aws::Structure
|
279
299
|
end
|
280
300
|
|
@@ -288,6 +308,7 @@ module Aws::CloudHSM
|
|
288
308
|
#
|
289
309
|
class DeleteHsmResponse < Struct.new(
|
290
310
|
:status)
|
311
|
+
SENSITIVE = []
|
291
312
|
include Aws::Structure
|
292
313
|
end
|
293
314
|
|
@@ -306,6 +327,7 @@ module Aws::CloudHSM
|
|
306
327
|
#
|
307
328
|
class DeleteLunaClientRequest < Struct.new(
|
308
329
|
:client_arn)
|
330
|
+
SENSITIVE = []
|
309
331
|
include Aws::Structure
|
310
332
|
end
|
311
333
|
|
@@ -317,6 +339,7 @@ module Aws::CloudHSM
|
|
317
339
|
#
|
318
340
|
class DeleteLunaClientResponse < Struct.new(
|
319
341
|
:status)
|
342
|
+
SENSITIVE = []
|
320
343
|
include Aws::Structure
|
321
344
|
end
|
322
345
|
|
@@ -337,6 +360,7 @@ module Aws::CloudHSM
|
|
337
360
|
#
|
338
361
|
class DescribeHapgRequest < Struct.new(
|
339
362
|
:hapg_arn)
|
363
|
+
SENSITIVE = []
|
340
364
|
include Aws::Structure
|
341
365
|
end
|
342
366
|
|
@@ -389,6 +413,7 @@ module Aws::CloudHSM
|
|
389
413
|
:last_modified_timestamp,
|
390
414
|
:partition_serial_list,
|
391
415
|
:state)
|
416
|
+
SENSITIVE = []
|
392
417
|
include Aws::Structure
|
393
418
|
end
|
394
419
|
|
@@ -417,6 +442,7 @@ module Aws::CloudHSM
|
|
417
442
|
class DescribeHsmRequest < Struct.new(
|
418
443
|
:hsm_arn,
|
419
444
|
:hsm_serial_number)
|
445
|
+
SENSITIVE = []
|
420
446
|
include Aws::Structure
|
421
447
|
end
|
422
448
|
|
@@ -536,6 +562,7 @@ module Aws::CloudHSM
|
|
536
562
|
:server_cert_uri,
|
537
563
|
:server_cert_last_updated,
|
538
564
|
:partitions)
|
565
|
+
SENSITIVE = []
|
539
566
|
include Aws::Structure
|
540
567
|
end
|
541
568
|
|
@@ -560,6 +587,7 @@ module Aws::CloudHSM
|
|
560
587
|
class DescribeLunaClientRequest < Struct.new(
|
561
588
|
:client_arn,
|
562
589
|
:certificate_fingerprint)
|
590
|
+
SENSITIVE = []
|
563
591
|
include Aws::Structure
|
564
592
|
end
|
565
593
|
|
@@ -591,6 +619,7 @@ module Aws::CloudHSM
|
|
591
619
|
:certificate_fingerprint,
|
592
620
|
:last_modified_timestamp,
|
593
621
|
:label)
|
622
|
+
SENSITIVE = []
|
594
623
|
include Aws::Structure
|
595
624
|
end
|
596
625
|
|
@@ -622,6 +651,7 @@ module Aws::CloudHSM
|
|
622
651
|
:client_arn,
|
623
652
|
:client_version,
|
624
653
|
:hapg_list)
|
654
|
+
SENSITIVE = []
|
625
655
|
include Aws::Structure
|
626
656
|
end
|
627
657
|
|
@@ -643,9 +673,16 @@ module Aws::CloudHSM
|
|
643
673
|
:config_type,
|
644
674
|
:config_file,
|
645
675
|
:config_cred)
|
676
|
+
SENSITIVE = []
|
646
677
|
include Aws::Structure
|
647
678
|
end
|
648
679
|
|
680
|
+
# Indicates that one or more of the request parameters are not valid.
|
681
|
+
#
|
682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/InvalidRequestException AWS API Documentation
|
683
|
+
#
|
684
|
+
class InvalidRequestException < Aws::EmptyStructure; end
|
685
|
+
|
649
686
|
# Contains the inputs for the ListAvailableZones action.
|
650
687
|
#
|
651
688
|
# @api private
|
@@ -663,6 +700,7 @@ module Aws::CloudHSM
|
|
663
700
|
#
|
664
701
|
class ListAvailableZonesResponse < Struct.new(
|
665
702
|
:az_list)
|
703
|
+
SENSITIVE = []
|
666
704
|
include Aws::Structure
|
667
705
|
end
|
668
706
|
|
@@ -682,6 +720,7 @@ module Aws::CloudHSM
|
|
682
720
|
#
|
683
721
|
class ListHapgsRequest < Struct.new(
|
684
722
|
:next_token)
|
723
|
+
SENSITIVE = []
|
685
724
|
include Aws::Structure
|
686
725
|
end
|
687
726
|
|
@@ -699,6 +738,7 @@ module Aws::CloudHSM
|
|
699
738
|
class ListHapgsResponse < Struct.new(
|
700
739
|
:hapg_list,
|
701
740
|
:next_token)
|
741
|
+
SENSITIVE = []
|
702
742
|
include Aws::Structure
|
703
743
|
end
|
704
744
|
|
@@ -718,6 +758,7 @@ module Aws::CloudHSM
|
|
718
758
|
#
|
719
759
|
class ListHsmsRequest < Struct.new(
|
720
760
|
:next_token)
|
761
|
+
SENSITIVE = []
|
721
762
|
include Aws::Structure
|
722
763
|
end
|
723
764
|
|
@@ -737,6 +778,7 @@ module Aws::CloudHSM
|
|
737
778
|
class ListHsmsResponse < Struct.new(
|
738
779
|
:hsm_list,
|
739
780
|
:next_token)
|
781
|
+
SENSITIVE = []
|
740
782
|
include Aws::Structure
|
741
783
|
end
|
742
784
|
|
@@ -756,6 +798,7 @@ module Aws::CloudHSM
|
|
756
798
|
#
|
757
799
|
class ListLunaClientsRequest < Struct.new(
|
758
800
|
:next_token)
|
801
|
+
SENSITIVE = []
|
759
802
|
include Aws::Structure
|
760
803
|
end
|
761
804
|
|
@@ -773,6 +816,7 @@ module Aws::CloudHSM
|
|
773
816
|
class ListLunaClientsResponse < Struct.new(
|
774
817
|
:client_list,
|
775
818
|
:next_token)
|
819
|
+
SENSITIVE = []
|
776
820
|
include Aws::Structure
|
777
821
|
end
|
778
822
|
|
@@ -791,6 +835,7 @@ module Aws::CloudHSM
|
|
791
835
|
#
|
792
836
|
class ListTagsForResourceRequest < Struct.new(
|
793
837
|
:resource_arn)
|
838
|
+
SENSITIVE = []
|
794
839
|
include Aws::Structure
|
795
840
|
end
|
796
841
|
|
@@ -802,6 +847,7 @@ module Aws::CloudHSM
|
|
802
847
|
#
|
803
848
|
class ListTagsForResourceResponse < Struct.new(
|
804
849
|
:tag_list)
|
850
|
+
SENSITIVE = []
|
805
851
|
include Aws::Structure
|
806
852
|
end
|
807
853
|
|
@@ -833,6 +879,7 @@ module Aws::CloudHSM
|
|
833
879
|
:hapg_arn,
|
834
880
|
:label,
|
835
881
|
:partition_serial_list)
|
882
|
+
SENSITIVE = []
|
836
883
|
include Aws::Structure
|
837
884
|
end
|
838
885
|
|
@@ -844,6 +891,7 @@ module Aws::CloudHSM
|
|
844
891
|
#
|
845
892
|
class ModifyHapgResponse < Struct.new(
|
846
893
|
:hapg_arn)
|
894
|
+
SENSITIVE = []
|
847
895
|
include Aws::Structure
|
848
896
|
end
|
849
897
|
|
@@ -901,6 +949,7 @@ module Aws::CloudHSM
|
|
901
949
|
:iam_role_arn,
|
902
950
|
:external_id,
|
903
951
|
:syslog_ip)
|
952
|
+
SENSITIVE = []
|
904
953
|
include Aws::Structure
|
905
954
|
end
|
906
955
|
|
@@ -914,6 +963,7 @@ module Aws::CloudHSM
|
|
914
963
|
#
|
915
964
|
class ModifyHsmResponse < Struct.new(
|
916
965
|
:hsm_arn)
|
966
|
+
SENSITIVE = []
|
917
967
|
include Aws::Structure
|
918
968
|
end
|
919
969
|
|
@@ -938,6 +988,7 @@ module Aws::CloudHSM
|
|
938
988
|
class ModifyLunaClientRequest < Struct.new(
|
939
989
|
:client_arn,
|
940
990
|
:certificate)
|
991
|
+
SENSITIVE = []
|
941
992
|
include Aws::Structure
|
942
993
|
end
|
943
994
|
|
@@ -949,6 +1000,7 @@ module Aws::CloudHSM
|
|
949
1000
|
#
|
950
1001
|
class ModifyLunaClientResponse < Struct.new(
|
951
1002
|
:client_arn)
|
1003
|
+
SENSITIVE = []
|
952
1004
|
include Aws::Structure
|
953
1005
|
end
|
954
1006
|
|
@@ -976,6 +1028,7 @@ module Aws::CloudHSM
|
|
976
1028
|
class RemoveTagsFromResourceRequest < Struct.new(
|
977
1029
|
:resource_arn,
|
978
1030
|
:tag_key_list)
|
1031
|
+
SENSITIVE = []
|
979
1032
|
include Aws::Structure
|
980
1033
|
end
|
981
1034
|
|
@@ -987,6 +1040,7 @@ module Aws::CloudHSM
|
|
987
1040
|
#
|
988
1041
|
class RemoveTagsFromResourceResponse < Struct.new(
|
989
1042
|
:status)
|
1043
|
+
SENSITIVE = []
|
990
1044
|
include Aws::Structure
|
991
1045
|
end
|
992
1046
|
|
@@ -1014,6 +1068,7 @@ module Aws::CloudHSM
|
|
1014
1068
|
class Tag < Struct.new(
|
1015
1069
|
:key,
|
1016
1070
|
:value)
|
1071
|
+
SENSITIVE = []
|
1017
1072
|
include Aws::Structure
|
1018
1073
|
end
|
1019
1074
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudhsm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.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:
|
11
|
+
date: 2020-06-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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 - CloudHSM
|