aws-sdk-cloudhsmv2 1.53.0 → 1.54.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudhsmv2/client.rb +1 -1
- data/lib/aws-sdk-cloudhsmv2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudhsmv2.rb +1 -1
- data/sig/client.rbs +275 -0
- data/sig/errors.rbs +34 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +290 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7450de56639f6661540bf2d5ea140d87d21417c50f05596a37e7c20feb885648
|
|
4
|
+
data.tar.gz: 1ec699f42e26a9c0ededa3e81b1da7e6b6fd18b950a943d6689780ed8e957aee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 858916eb0ec5ac5f13e7f97eca0f44457e07a4e773f500a3088c3362f15539e27ee16ad1574f6c98997bc6689d225bd202fb29433d833bf1621089ec1b66b9a0
|
|
7
|
+
data.tar.gz: '098708bb0407c6c7fffd91a1fa57f1746d6cc44173fd1228ea47f38cfabd379007afc780f917a586f39575a4cb702d601939a2987895408c1cc0b0e34ac663fb'
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.54.0
|
|
@@ -1251,7 +1251,7 @@ module Aws::CloudHSMV2
|
|
|
1251
1251
|
params: params,
|
|
1252
1252
|
config: config)
|
|
1253
1253
|
context[:gem_name] = 'aws-sdk-cloudhsmv2'
|
|
1254
|
-
context[:gem_version] = '1.
|
|
1254
|
+
context[:gem_version] = '1.54.0'
|
|
1255
1255
|
Seahorse::Client::Request.new(handlers, context)
|
|
1256
1256
|
end
|
|
1257
1257
|
|
|
@@ -14,6 +14,7 @@ module Aws::CloudHSMV2
|
|
|
14
14
|
option(
|
|
15
15
|
:endpoint_provider,
|
|
16
16
|
doc_type: 'Aws::CloudHSMV2::EndpointProvider',
|
|
17
|
+
rbs_type: 'untyped',
|
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-cloudhsmv2.rb
CHANGED
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CloudHSMV2
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?simple_json: bool,
|
|
52
|
+
?stub_responses: untyped,
|
|
53
|
+
?token_provider: untyped,
|
|
54
|
+
?use_dualstack_endpoint: bool,
|
|
55
|
+
?use_fips_endpoint: bool,
|
|
56
|
+
?validate_params: bool,
|
|
57
|
+
?endpoint_provider: untyped,
|
|
58
|
+
?http_proxy: String,
|
|
59
|
+
?http_open_timeout: (Float | Integer),
|
|
60
|
+
?http_read_timeout: (Float | Integer),
|
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
64
|
+
?http_wire_trace: bool,
|
|
65
|
+
?ssl_verify_peer: bool,
|
|
66
|
+
?ssl_ca_bundle: String,
|
|
67
|
+
?ssl_ca_directory: String,
|
|
68
|
+
?ssl_ca_store: String,
|
|
69
|
+
?on_chunk_received: Proc,
|
|
70
|
+
?on_chunk_sent: Proc,
|
|
71
|
+
?raise_response_errors: bool
|
|
72
|
+
) -> instance
|
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
interface _CopyBackupToRegionResponseSuccess
|
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CopyBackupToRegionResponse]
|
|
78
|
+
def destination_backup: () -> Types::DestinationBackup
|
|
79
|
+
end
|
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#copy_backup_to_region-instance_method
|
|
81
|
+
def copy_backup_to_region: (
|
|
82
|
+
destination_region: ::String,
|
|
83
|
+
backup_id: ::String,
|
|
84
|
+
?tag_list: Array[
|
|
85
|
+
{
|
|
86
|
+
key: ::String,
|
|
87
|
+
value: ::String
|
|
88
|
+
},
|
|
89
|
+
]
|
|
90
|
+
) -> _CopyBackupToRegionResponseSuccess
|
|
91
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyBackupToRegionResponseSuccess
|
|
92
|
+
|
|
93
|
+
interface _CreateClusterResponseSuccess
|
|
94
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
|
|
95
|
+
def cluster: () -> Types::Cluster
|
|
96
|
+
end
|
|
97
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#create_cluster-instance_method
|
|
98
|
+
def create_cluster: (
|
|
99
|
+
?backup_retention_policy: {
|
|
100
|
+
type: ("DAYS")?,
|
|
101
|
+
value: ::String?
|
|
102
|
+
},
|
|
103
|
+
hsm_type: ::String,
|
|
104
|
+
?source_backup_id: ::String,
|
|
105
|
+
subnet_ids: Array[::String],
|
|
106
|
+
?tag_list: Array[
|
|
107
|
+
{
|
|
108
|
+
key: ::String,
|
|
109
|
+
value: ::String
|
|
110
|
+
},
|
|
111
|
+
]
|
|
112
|
+
) -> _CreateClusterResponseSuccess
|
|
113
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
|
|
114
|
+
|
|
115
|
+
interface _CreateHsmResponseSuccess
|
|
116
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateHsmResponse]
|
|
117
|
+
def hsm: () -> Types::Hsm
|
|
118
|
+
end
|
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#create_hsm-instance_method
|
|
120
|
+
def create_hsm: (
|
|
121
|
+
cluster_id: ::String,
|
|
122
|
+
availability_zone: ::String,
|
|
123
|
+
?ip_address: ::String
|
|
124
|
+
) -> _CreateHsmResponseSuccess
|
|
125
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHsmResponseSuccess
|
|
126
|
+
|
|
127
|
+
interface _DeleteBackupResponseSuccess
|
|
128
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackupResponse]
|
|
129
|
+
def backup: () -> Types::Backup
|
|
130
|
+
end
|
|
131
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#delete_backup-instance_method
|
|
132
|
+
def delete_backup: (
|
|
133
|
+
backup_id: ::String
|
|
134
|
+
) -> _DeleteBackupResponseSuccess
|
|
135
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBackupResponseSuccess
|
|
136
|
+
|
|
137
|
+
interface _DeleteClusterResponseSuccess
|
|
138
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
|
|
139
|
+
def cluster: () -> Types::Cluster
|
|
140
|
+
end
|
|
141
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#delete_cluster-instance_method
|
|
142
|
+
def delete_cluster: (
|
|
143
|
+
cluster_id: ::String
|
|
144
|
+
) -> _DeleteClusterResponseSuccess
|
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
|
|
146
|
+
|
|
147
|
+
interface _DeleteHsmResponseSuccess
|
|
148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteHsmResponse]
|
|
149
|
+
def hsm_id: () -> ::String
|
|
150
|
+
end
|
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#delete_hsm-instance_method
|
|
152
|
+
def delete_hsm: (
|
|
153
|
+
cluster_id: ::String,
|
|
154
|
+
?hsm_id: ::String,
|
|
155
|
+
?eni_id: ::String,
|
|
156
|
+
?eni_ip: ::String
|
|
157
|
+
) -> _DeleteHsmResponseSuccess
|
|
158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteHsmResponseSuccess
|
|
159
|
+
|
|
160
|
+
interface _DescribeBackupsResponseSuccess
|
|
161
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBackupsResponse]
|
|
162
|
+
def backups: () -> ::Array[Types::Backup]
|
|
163
|
+
def next_token: () -> ::String
|
|
164
|
+
end
|
|
165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#describe_backups-instance_method
|
|
166
|
+
def describe_backups: (
|
|
167
|
+
?next_token: ::String,
|
|
168
|
+
?max_results: ::Integer,
|
|
169
|
+
?filters: Hash[::String, Array[::String]],
|
|
170
|
+
?sort_ascending: bool
|
|
171
|
+
) -> _DescribeBackupsResponseSuccess
|
|
172
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBackupsResponseSuccess
|
|
173
|
+
|
|
174
|
+
interface _DescribeClustersResponseSuccess
|
|
175
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClustersResponse]
|
|
176
|
+
def clusters: () -> ::Array[Types::Cluster]
|
|
177
|
+
def next_token: () -> ::String
|
|
178
|
+
end
|
|
179
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#describe_clusters-instance_method
|
|
180
|
+
def describe_clusters: (
|
|
181
|
+
?filters: Hash[::String, Array[::String]],
|
|
182
|
+
?next_token: ::String,
|
|
183
|
+
?max_results: ::Integer
|
|
184
|
+
) -> _DescribeClustersResponseSuccess
|
|
185
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClustersResponseSuccess
|
|
186
|
+
|
|
187
|
+
interface _InitializeClusterResponseSuccess
|
|
188
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InitializeClusterResponse]
|
|
189
|
+
def state: () -> ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
190
|
+
def state_message: () -> ::String
|
|
191
|
+
end
|
|
192
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#initialize_cluster-instance_method
|
|
193
|
+
def initialize_cluster: (
|
|
194
|
+
cluster_id: ::String,
|
|
195
|
+
signed_cert: ::String,
|
|
196
|
+
trust_anchor: ::String
|
|
197
|
+
) -> _InitializeClusterResponseSuccess
|
|
198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitializeClusterResponseSuccess
|
|
199
|
+
|
|
200
|
+
interface _ListTagsResponseSuccess
|
|
201
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
|
|
202
|
+
def tag_list: () -> ::Array[Types::Tag]
|
|
203
|
+
def next_token: () -> ::String
|
|
204
|
+
end
|
|
205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#list_tags-instance_method
|
|
206
|
+
def list_tags: (
|
|
207
|
+
resource_id: ::String,
|
|
208
|
+
?next_token: ::String,
|
|
209
|
+
?max_results: ::Integer
|
|
210
|
+
) -> _ListTagsResponseSuccess
|
|
211
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
|
|
212
|
+
|
|
213
|
+
interface _ModifyBackupAttributesResponseSuccess
|
|
214
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyBackupAttributesResponse]
|
|
215
|
+
def backup: () -> Types::Backup
|
|
216
|
+
end
|
|
217
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#modify_backup_attributes-instance_method
|
|
218
|
+
def modify_backup_attributes: (
|
|
219
|
+
backup_id: ::String,
|
|
220
|
+
never_expires: bool
|
|
221
|
+
) -> _ModifyBackupAttributesResponseSuccess
|
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyBackupAttributesResponseSuccess
|
|
223
|
+
|
|
224
|
+
interface _ModifyClusterResponseSuccess
|
|
225
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyClusterResponse]
|
|
226
|
+
def cluster: () -> Types::Cluster
|
|
227
|
+
end
|
|
228
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#modify_cluster-instance_method
|
|
229
|
+
def modify_cluster: (
|
|
230
|
+
backup_retention_policy: {
|
|
231
|
+
type: ("DAYS")?,
|
|
232
|
+
value: ::String?
|
|
233
|
+
},
|
|
234
|
+
cluster_id: ::String
|
|
235
|
+
) -> _ModifyClusterResponseSuccess
|
|
236
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClusterResponseSuccess
|
|
237
|
+
|
|
238
|
+
interface _RestoreBackupResponseSuccess
|
|
239
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RestoreBackupResponse]
|
|
240
|
+
def backup: () -> Types::Backup
|
|
241
|
+
end
|
|
242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#restore_backup-instance_method
|
|
243
|
+
def restore_backup: (
|
|
244
|
+
backup_id: ::String
|
|
245
|
+
) -> _RestoreBackupResponseSuccess
|
|
246
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreBackupResponseSuccess
|
|
247
|
+
|
|
248
|
+
interface _TagResourceResponseSuccess
|
|
249
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
|
250
|
+
end
|
|
251
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#tag_resource-instance_method
|
|
252
|
+
def tag_resource: (
|
|
253
|
+
resource_id: ::String,
|
|
254
|
+
tag_list: Array[
|
|
255
|
+
{
|
|
256
|
+
key: ::String,
|
|
257
|
+
value: ::String
|
|
258
|
+
},
|
|
259
|
+
]
|
|
260
|
+
) -> _TagResourceResponseSuccess
|
|
261
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
262
|
+
|
|
263
|
+
interface _UntagResourceResponseSuccess
|
|
264
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
|
265
|
+
end
|
|
266
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#untag_resource-instance_method
|
|
267
|
+
def untag_resource: (
|
|
268
|
+
resource_id: ::String,
|
|
269
|
+
tag_key_list: Array[::String]
|
|
270
|
+
) -> _UntagResourceResponseSuccess
|
|
271
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
|
272
|
+
end
|
|
273
|
+
end
|
|
274
|
+
end
|
|
275
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CloudHSMV2
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class CloudHsmAccessDeniedException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class CloudHsmInternalFailureException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
20
|
+
class CloudHsmInvalidRequestException < ::Aws::Errors::ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
end
|
|
23
|
+
class CloudHsmResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class CloudHsmServiceException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
end
|
|
29
|
+
class CloudHsmTagException < ::Aws::Errors::ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CloudHSMV2
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?simple_json: bool,
|
|
52
|
+
?stub_responses: untyped,
|
|
53
|
+
?token_provider: untyped,
|
|
54
|
+
?use_dualstack_endpoint: bool,
|
|
55
|
+
?use_fips_endpoint: bool,
|
|
56
|
+
?validate_params: bool,
|
|
57
|
+
?endpoint_provider: untyped,
|
|
58
|
+
?http_proxy: String,
|
|
59
|
+
?http_open_timeout: (Float | Integer),
|
|
60
|
+
?http_read_timeout: (Float | Integer),
|
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
64
|
+
?http_wire_trace: bool,
|
|
65
|
+
?ssl_verify_peer: bool,
|
|
66
|
+
?ssl_ca_bundle: String,
|
|
67
|
+
?ssl_ca_directory: String,
|
|
68
|
+
?ssl_ca_store: String,
|
|
69
|
+
?on_chunk_received: Proc,
|
|
70
|
+
?on_chunk_sent: Proc,
|
|
71
|
+
?raise_response_errors: bool
|
|
72
|
+
) -> void
|
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
74
|
+
|
|
75
|
+
def client: () -> Client
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::CloudHSMV2
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class Backup
|
|
12
|
+
attr_accessor backup_id: ::String
|
|
13
|
+
attr_accessor backup_state: ("CREATE_IN_PROGRESS" | "READY" | "DELETED" | "PENDING_DELETION")
|
|
14
|
+
attr_accessor cluster_id: ::String
|
|
15
|
+
attr_accessor create_timestamp: ::Time
|
|
16
|
+
attr_accessor copy_timestamp: ::Time
|
|
17
|
+
attr_accessor never_expires: bool
|
|
18
|
+
attr_accessor source_region: ::String
|
|
19
|
+
attr_accessor source_backup: ::String
|
|
20
|
+
attr_accessor source_cluster: ::String
|
|
21
|
+
attr_accessor delete_timestamp: ::Time
|
|
22
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
|
23
|
+
SENSITIVE: []
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
class BackupRetentionPolicy
|
|
27
|
+
attr_accessor type: ("DAYS")
|
|
28
|
+
attr_accessor value: ::String
|
|
29
|
+
SENSITIVE: []
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
class Certificates
|
|
33
|
+
attr_accessor cluster_csr: ::String
|
|
34
|
+
attr_accessor hsm_certificate: ::String
|
|
35
|
+
attr_accessor aws_hardware_certificate: ::String
|
|
36
|
+
attr_accessor manufacturer_hardware_certificate: ::String
|
|
37
|
+
attr_accessor cluster_certificate: ::String
|
|
38
|
+
SENSITIVE: []
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
class CloudHsmAccessDeniedException
|
|
42
|
+
attr_accessor message: ::String
|
|
43
|
+
SENSITIVE: []
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
class CloudHsmInternalFailureException
|
|
47
|
+
attr_accessor message: ::String
|
|
48
|
+
SENSITIVE: []
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
class CloudHsmInvalidRequestException
|
|
52
|
+
attr_accessor message: ::String
|
|
53
|
+
SENSITIVE: []
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
class CloudHsmResourceNotFoundException
|
|
57
|
+
attr_accessor message: ::String
|
|
58
|
+
SENSITIVE: []
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class CloudHsmServiceException
|
|
62
|
+
attr_accessor message: ::String
|
|
63
|
+
SENSITIVE: []
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
class CloudHsmTagException
|
|
67
|
+
attr_accessor message: ::String
|
|
68
|
+
SENSITIVE: []
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
class Cluster
|
|
72
|
+
attr_accessor backup_policy: ("DEFAULT")
|
|
73
|
+
attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
|
|
74
|
+
attr_accessor cluster_id: ::String
|
|
75
|
+
attr_accessor create_timestamp: ::Time
|
|
76
|
+
attr_accessor hsms: ::Array[Types::Hsm]
|
|
77
|
+
attr_accessor hsm_type: ::String
|
|
78
|
+
attr_accessor pre_co_password: ::String
|
|
79
|
+
attr_accessor security_group: ::String
|
|
80
|
+
attr_accessor source_backup_id: ::String
|
|
81
|
+
attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
82
|
+
attr_accessor state_message: ::String
|
|
83
|
+
attr_accessor subnet_mapping: ::Hash[::String, ::String]
|
|
84
|
+
attr_accessor vpc_id: ::String
|
|
85
|
+
attr_accessor certificates: Types::Certificates
|
|
86
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
|
87
|
+
SENSITIVE: []
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
class CopyBackupToRegionRequest
|
|
91
|
+
attr_accessor destination_region: ::String
|
|
92
|
+
attr_accessor backup_id: ::String
|
|
93
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
|
94
|
+
SENSITIVE: []
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class CopyBackupToRegionResponse
|
|
98
|
+
attr_accessor destination_backup: Types::DestinationBackup
|
|
99
|
+
SENSITIVE: []
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
class CreateClusterRequest
|
|
103
|
+
attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
|
|
104
|
+
attr_accessor hsm_type: ::String
|
|
105
|
+
attr_accessor source_backup_id: ::String
|
|
106
|
+
attr_accessor subnet_ids: ::Array[::String]
|
|
107
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
|
108
|
+
SENSITIVE: []
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
class CreateClusterResponse
|
|
112
|
+
attr_accessor cluster: Types::Cluster
|
|
113
|
+
SENSITIVE: []
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
class CreateHsmRequest
|
|
117
|
+
attr_accessor cluster_id: ::String
|
|
118
|
+
attr_accessor availability_zone: ::String
|
|
119
|
+
attr_accessor ip_address: ::String
|
|
120
|
+
SENSITIVE: []
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
class CreateHsmResponse
|
|
124
|
+
attr_accessor hsm: Types::Hsm
|
|
125
|
+
SENSITIVE: []
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
class DeleteBackupRequest
|
|
129
|
+
attr_accessor backup_id: ::String
|
|
130
|
+
SENSITIVE: []
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class DeleteBackupResponse
|
|
134
|
+
attr_accessor backup: Types::Backup
|
|
135
|
+
SENSITIVE: []
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
class DeleteClusterRequest
|
|
139
|
+
attr_accessor cluster_id: ::String
|
|
140
|
+
SENSITIVE: []
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
class DeleteClusterResponse
|
|
144
|
+
attr_accessor cluster: Types::Cluster
|
|
145
|
+
SENSITIVE: []
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
class DeleteHsmRequest
|
|
149
|
+
attr_accessor cluster_id: ::String
|
|
150
|
+
attr_accessor hsm_id: ::String
|
|
151
|
+
attr_accessor eni_id: ::String
|
|
152
|
+
attr_accessor eni_ip: ::String
|
|
153
|
+
SENSITIVE: []
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
class DeleteHsmResponse
|
|
157
|
+
attr_accessor hsm_id: ::String
|
|
158
|
+
SENSITIVE: []
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
class DescribeBackupsRequest
|
|
162
|
+
attr_accessor next_token: ::String
|
|
163
|
+
attr_accessor max_results: ::Integer
|
|
164
|
+
attr_accessor filters: ::Hash[::String, ::Array[::String]]
|
|
165
|
+
attr_accessor sort_ascending: bool
|
|
166
|
+
SENSITIVE: []
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class DescribeBackupsResponse
|
|
170
|
+
attr_accessor backups: ::Array[Types::Backup]
|
|
171
|
+
attr_accessor next_token: ::String
|
|
172
|
+
SENSITIVE: []
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
class DescribeClustersRequest
|
|
176
|
+
attr_accessor filters: ::Hash[::String, ::Array[::String]]
|
|
177
|
+
attr_accessor next_token: ::String
|
|
178
|
+
attr_accessor max_results: ::Integer
|
|
179
|
+
SENSITIVE: []
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
class DescribeClustersResponse
|
|
183
|
+
attr_accessor clusters: ::Array[Types::Cluster]
|
|
184
|
+
attr_accessor next_token: ::String
|
|
185
|
+
SENSITIVE: []
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
class DestinationBackup
|
|
189
|
+
attr_accessor create_timestamp: ::Time
|
|
190
|
+
attr_accessor source_region: ::String
|
|
191
|
+
attr_accessor source_backup: ::String
|
|
192
|
+
attr_accessor source_cluster: ::String
|
|
193
|
+
SENSITIVE: []
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
class Hsm
|
|
197
|
+
attr_accessor availability_zone: ::String
|
|
198
|
+
attr_accessor cluster_id: ::String
|
|
199
|
+
attr_accessor subnet_id: ::String
|
|
200
|
+
attr_accessor eni_id: ::String
|
|
201
|
+
attr_accessor eni_ip: ::String
|
|
202
|
+
attr_accessor hsm_id: ::String
|
|
203
|
+
attr_accessor state: ("CREATE_IN_PROGRESS" | "ACTIVE" | "DEGRADED" | "DELETE_IN_PROGRESS" | "DELETED")
|
|
204
|
+
attr_accessor state_message: ::String
|
|
205
|
+
SENSITIVE: []
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
class InitializeClusterRequest
|
|
209
|
+
attr_accessor cluster_id: ::String
|
|
210
|
+
attr_accessor signed_cert: ::String
|
|
211
|
+
attr_accessor trust_anchor: ::String
|
|
212
|
+
SENSITIVE: []
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
class InitializeClusterResponse
|
|
216
|
+
attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
217
|
+
attr_accessor state_message: ::String
|
|
218
|
+
SENSITIVE: []
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
class ListTagsRequest
|
|
222
|
+
attr_accessor resource_id: ::String
|
|
223
|
+
attr_accessor next_token: ::String
|
|
224
|
+
attr_accessor max_results: ::Integer
|
|
225
|
+
SENSITIVE: []
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
class ListTagsResponse
|
|
229
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
|
230
|
+
attr_accessor next_token: ::String
|
|
231
|
+
SENSITIVE: []
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class ModifyBackupAttributesRequest
|
|
235
|
+
attr_accessor backup_id: ::String
|
|
236
|
+
attr_accessor never_expires: bool
|
|
237
|
+
SENSITIVE: []
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
class ModifyBackupAttributesResponse
|
|
241
|
+
attr_accessor backup: Types::Backup
|
|
242
|
+
SENSITIVE: []
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
class ModifyClusterRequest
|
|
246
|
+
attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
|
|
247
|
+
attr_accessor cluster_id: ::String
|
|
248
|
+
SENSITIVE: []
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
class ModifyClusterResponse
|
|
252
|
+
attr_accessor cluster: Types::Cluster
|
|
253
|
+
SENSITIVE: []
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
class RestoreBackupRequest
|
|
257
|
+
attr_accessor backup_id: ::String
|
|
258
|
+
SENSITIVE: []
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
class RestoreBackupResponse
|
|
262
|
+
attr_accessor backup: Types::Backup
|
|
263
|
+
SENSITIVE: []
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
class Tag
|
|
267
|
+
attr_accessor key: ::String
|
|
268
|
+
attr_accessor value: ::String
|
|
269
|
+
SENSITIVE: []
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
class TagResourceRequest
|
|
273
|
+
attr_accessor resource_id: ::String
|
|
274
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
|
275
|
+
SENSITIVE: []
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
class TagResourceResponse < Aws::EmptyStructure
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
class UntagResourceRequest
|
|
282
|
+
attr_accessor resource_id: ::String
|
|
283
|
+
attr_accessor tag_key_list: ::Array[::String]
|
|
284
|
+
SENSITIVE: []
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
|
288
|
+
end
|
|
289
|
+
end
|
|
290
|
+
end
|
data/sig/waiters.rbs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CloudHSMV2
|
|
10
|
+
module Waiters
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
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.54.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-01-26 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.191.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.191.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,13 +66,18 @@ files:
|
|
|
66
66
|
- lib/aws-sdk-cloudhsmv2/plugins/endpoints.rb
|
|
67
67
|
- lib/aws-sdk-cloudhsmv2/resource.rb
|
|
68
68
|
- lib/aws-sdk-cloudhsmv2/types.rb
|
|
69
|
+
- sig/client.rbs
|
|
70
|
+
- sig/errors.rbs
|
|
71
|
+
- sig/resource.rbs
|
|
72
|
+
- sig/types.rbs
|
|
73
|
+
- sig/waiters.rbs
|
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
|
70
75
|
licenses:
|
|
71
76
|
- Apache-2.0
|
|
72
77
|
metadata:
|
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudhsmv2
|
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudhsmv2/CHANGELOG.md
|
|
75
|
-
post_install_message:
|
|
80
|
+
post_install_message:
|
|
76
81
|
rdoc_options: []
|
|
77
82
|
require_paths:
|
|
78
83
|
- lib
|
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
92
|
- !ruby/object:Gem::Version
|
|
88
93
|
version: '0'
|
|
89
94
|
requirements: []
|
|
90
|
-
rubygems_version: 3.
|
|
91
|
-
signing_key:
|
|
95
|
+
rubygems_version: 3.4.10
|
|
96
|
+
signing_key:
|
|
92
97
|
specification_version: 4
|
|
93
98
|
summary: AWS SDK for Ruby - CloudHSM V2
|
|
94
99
|
test_files: []
|