aws-sdk-cloudhsm 1.0.0.rc1 → 1.0.0.rc2
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/lib/aws-sdk-cloudhsm.rb +2 -2
- data/lib/aws-sdk-cloudhsm/client.rb +947 -775
- data/lib/aws-sdk-cloudhsm/client_api.rb +517 -519
- data/lib/aws-sdk-cloudhsm/errors.rb +4 -13
- data/lib/aws-sdk-cloudhsm/resource.rb +12 -14
- data/lib/aws-sdk-cloudhsm/types.rb +994 -834
- 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: 1480a26580a36d36bd304a7cbead30174516da26
|
4
|
+
data.tar.gz: a12acfe0d60ff223be141bd0cd34f81db7e2d118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34ce17d31dc27ece5ca62977bf15fb31d8bb08e85b7074aaaa6d6cc06723de4cb951c631e4b967e4b40af6c2725db5f7f090b6fbaea031b69ea777579c728ba9
|
7
|
+
data.tar.gz: 1ca58325256daa7e20fd4ce8ec625d485f49692efb3951eaee0c4ecb9d066e748d3392d9a923997a52c45a09affebe20a531b5f1935c9ba34c81ca6bd8fcc399
|
data/lib/aws-sdk-cloudhsm.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudhsm/customizations'
|
|
42
42
|
# @service
|
43
43
|
module Aws::CloudHSM
|
44
44
|
|
45
|
-
GEM_VERSION = '1.0.0.
|
45
|
+
GEM_VERSION = '1.0.0.rc2'
|
46
46
|
|
47
47
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -18,812 +18,984 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
18
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
19
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
20
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
21
22
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
22
23
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
23
24
|
|
24
25
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudhsm)
|
25
26
|
|
26
|
-
module Aws
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
27
|
+
module Aws::CloudHSM
|
28
|
+
class Client < Seahorse::Client::Base
|
29
|
+
|
30
|
+
include Aws::ClientStubs
|
31
|
+
|
32
|
+
@identifier = :cloudhsm
|
33
|
+
|
34
|
+
set_api(ClientApi::API)
|
35
|
+
|
36
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
37
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
38
|
+
add_plugin(Aws::Plugins::Logging)
|
39
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
40
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
41
|
+
add_plugin(Aws::Plugins::UserAgent)
|
42
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
43
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
44
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
45
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
46
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
47
|
+
add_plugin(Aws::Plugins::StubResponses)
|
48
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
49
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
50
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
51
|
+
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
52
|
+
|
53
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
54
|
+
# Your AWS credentials. This can be an instance of any one of the
|
55
|
+
# following classes:
|
56
|
+
#
|
57
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
58
|
+
# credentials.
|
59
|
+
#
|
60
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
61
|
+
# from an EC2 IMDS on an EC2 instance.
|
62
|
+
#
|
63
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
64
|
+
# shared file, such as `~/.aws/config`.
|
65
|
+
#
|
66
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
67
|
+
#
|
68
|
+
# When `:credentials` are not configured directly, the following
|
69
|
+
# locations will be searched for credentials:
|
70
|
+
#
|
71
|
+
# * `Aws.config[:credentials]`
|
72
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
73
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
74
|
+
# * `~/.aws/credentials`
|
75
|
+
# * `~/.aws/config`
|
76
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
77
|
+
# very aggressive. Construct and pass an instance of
|
78
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
79
|
+
# timeouts.
|
80
|
+
#
|
81
|
+
# @option options [required, String] :region
|
82
|
+
# The AWS region to connect to. The configured `:region` is
|
83
|
+
# used to determine the service `:endpoint`. When not passed,
|
84
|
+
# a default `:region` is search for in the following locations:
|
85
|
+
#
|
86
|
+
# * `Aws.config[:region]`
|
87
|
+
# * `ENV['AWS_REGION']`
|
88
|
+
# * `ENV['AMAZON_REGION']`
|
89
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
90
|
+
# * `~/.aws/credentials`
|
91
|
+
# * `~/.aws/config`
|
92
|
+
#
|
93
|
+
# @option options [String] :access_key_id
|
94
|
+
#
|
95
|
+
# @option options [Boolean] :convert_params (true)
|
96
|
+
# When `true`, an attempt is made to coerce request parameters into
|
97
|
+
# the required types.
|
98
|
+
#
|
99
|
+
# @option options [String] :endpoint
|
100
|
+
# The client endpoint is normally constructed from the `:region`
|
101
|
+
# option. You should only configure an `:endpoint` when connecting
|
102
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
103
|
+
#
|
104
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
105
|
+
# The log formatter.
|
106
|
+
#
|
107
|
+
# @option options [Symbol] :log_level (:info)
|
108
|
+
# The log level to send messages to the `:logger` at.
|
109
|
+
#
|
110
|
+
# @option options [Logger] :logger
|
111
|
+
# The Logger instance to send log messages to. If this option
|
112
|
+
# is not set, logging will be disabled.
|
113
|
+
#
|
114
|
+
# @option options [String] :profile ("default")
|
115
|
+
# Used when loading credentials from the shared credentials file
|
116
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
117
|
+
#
|
118
|
+
# @option options [Integer] :retry_limit (3)
|
119
|
+
# The maximum number of times to retry failed requests. Only
|
120
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
121
|
+
# are retried. Generally, these are throttling errors, data
|
122
|
+
# checksum errors, networking errors, timeout errors and auth
|
123
|
+
# errors from expired credentials.
|
124
|
+
#
|
125
|
+
# @option options [String] :secret_access_key
|
126
|
+
#
|
127
|
+
# @option options [String] :session_token
|
128
|
+
#
|
129
|
+
# @option options [Boolean] :simple_json (false)
|
130
|
+
# Disables request parameter conversion, validation, and formatting.
|
131
|
+
# Also disable response data type conversions. This option is useful
|
132
|
+
# when you want to ensure the highest level of performance by
|
133
|
+
# avoiding overhead of walking request parameters and response data
|
134
|
+
# structures.
|
135
|
+
#
|
136
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
137
|
+
# be formatted exactly as the DynamoDB API expects.
|
138
|
+
#
|
139
|
+
# @option options [Boolean] :stub_responses (false)
|
140
|
+
# Causes the client to return stubbed responses. By default
|
141
|
+
# fake responses are generated and returned. You can specify
|
142
|
+
# the response data to return or errors to raise by calling
|
143
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
144
|
+
#
|
145
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
146
|
+
# requests are made, and retries are disabled.
|
147
|
+
#
|
148
|
+
# @option options [Boolean] :validate_params (true)
|
149
|
+
# When `true`, request parameters are validated before
|
150
|
+
# sending the request.
|
151
|
+
#
|
152
|
+
def initialize(*args)
|
153
|
+
super
|
154
|
+
end
|
139
155
|
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
156
|
+
# @!group API Operations
|
157
|
+
|
158
|
+
# Adds or overwrites one or more tags for the specified AWS CloudHSM
|
159
|
+
# resource.
|
160
|
+
#
|
161
|
+
# Each tag consists of a key and a value. Tag keys must be unique to
|
162
|
+
# each resource.
|
163
|
+
#
|
164
|
+
# @option params [required, String] :resource_arn
|
165
|
+
# The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
166
|
+
#
|
167
|
+
# @option params [required, Array<Types::Tag>] :tag_list
|
168
|
+
# One or more tags.
|
169
|
+
#
|
170
|
+
# @return [Types::AddTagsToResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
171
|
+
#
|
172
|
+
# * {Types::AddTagsToResourceResponse#status #status} => String
|
173
|
+
#
|
174
|
+
# @example Request syntax with placeholder values
|
175
|
+
#
|
176
|
+
# resp = client.add_tags_to_resource({
|
177
|
+
# resource_arn: "String", # required
|
178
|
+
# tag_list: [ # required
|
179
|
+
# {
|
180
|
+
# key: "TagKey", # required
|
181
|
+
# value: "TagValue", # required
|
182
|
+
# },
|
183
|
+
# ],
|
184
|
+
# })
|
185
|
+
#
|
186
|
+
# @example Response structure
|
187
|
+
#
|
188
|
+
# resp.status #=> String
|
189
|
+
#
|
190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/AddTagsToResource AWS API Documentation
|
191
|
+
#
|
192
|
+
# @overload add_tags_to_resource(params = {})
|
193
|
+
# @param [Hash] params ({})
|
194
|
+
def add_tags_to_resource(params = {}, options = {})
|
195
|
+
req = build_request(:add_tags_to_resource, params)
|
196
|
+
req.send_request(options)
|
197
|
+
end
|
174
198
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
199
|
+
# Creates a high-availability partition group. A high-availability
|
200
|
+
# partition group is a group of partitions that spans multiple physical
|
201
|
+
# HSMs.
|
202
|
+
#
|
203
|
+
# @option params [required, String] :label
|
204
|
+
# The label of the new high-availability partition group.
|
205
|
+
#
|
206
|
+
# @return [Types::CreateHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
207
|
+
#
|
208
|
+
# * {Types::CreateHapgResponse#hapg_arn #hapg_arn} => String
|
209
|
+
#
|
210
|
+
# @example Request syntax with placeholder values
|
211
|
+
#
|
212
|
+
# resp = client.create_hapg({
|
213
|
+
# label: "Label", # required
|
214
|
+
# })
|
215
|
+
#
|
216
|
+
# @example Response structure
|
217
|
+
#
|
218
|
+
# resp.hapg_arn #=> String
|
219
|
+
#
|
220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapg AWS API Documentation
|
221
|
+
#
|
222
|
+
# @overload create_hapg(params = {})
|
223
|
+
# @param [Hash] params ({})
|
224
|
+
def create_hapg(params = {}, options = {})
|
225
|
+
req = build_request(:create_hapg, params)
|
226
|
+
req.send_request(options)
|
227
|
+
end
|
197
228
|
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
229
|
+
# Creates an uninitialized HSM instance.
|
230
|
+
#
|
231
|
+
# There is an upfront fee charged for each HSM instance that you create
|
232
|
+
# with the CreateHsm operation. If you accidentally provision an HSM and
|
233
|
+
# want to request a refund, delete the instance using the DeleteHsm
|
234
|
+
# operation, go to the [AWS Support Center][1], create a new case, and
|
235
|
+
# select **Account and Billing Support**.
|
236
|
+
#
|
237
|
+
# It can take up to 20 minutes to create and provision an HSM. You can
|
238
|
+
# monitor the status of the HSM with the DescribeHsm operation. The HSM
|
239
|
+
# is ready to be initialized when the status changes to `RUNNING`.
|
240
|
+
#
|
241
|
+
#
|
242
|
+
#
|
243
|
+
# [1]: https://console.aws.amazon.com/support/home#/
|
244
|
+
#
|
245
|
+
# @option params [required, String] :subnet_id
|
246
|
+
# The identifier of the subnet in your VPC in which to place the HSM.
|
247
|
+
#
|
248
|
+
# @option params [required, String] :ssh_key
|
249
|
+
# The SSH public key to install on the HSM.
|
250
|
+
#
|
251
|
+
# @option params [String] :eni_ip
|
252
|
+
# The IP address to assign to the HSM's ENI.
|
253
|
+
#
|
254
|
+
# If an IP address is not specified, an IP address will be randomly
|
255
|
+
# chosen from the CIDR range of the subnet.
|
256
|
+
#
|
257
|
+
# @option params [required, String] :iam_role_arn
|
258
|
+
# The ARN of an IAM role to enable the AWS CloudHSM service to allocate
|
259
|
+
# an ENI on your behalf.
|
260
|
+
#
|
261
|
+
# @option params [String] :external_id
|
262
|
+
# The external ID from **IamRoleArn**, if present.
|
263
|
+
#
|
264
|
+
# @option params [required, String] :subscription_type
|
265
|
+
# Specifies the type of subscription for the HSM.
|
266
|
+
#
|
267
|
+
# * **PRODUCTION** - The HSM is being used in a production environment.
|
268
|
+
# * **TRIAL** - The HSM is being used in a product trial.
|
269
|
+
#
|
270
|
+
# @option params [String] :client_token
|
271
|
+
# A user-defined token to ensure idempotence. Subsequent calls to this
|
272
|
+
# operation with the same token will be ignored.
|
273
|
+
#
|
274
|
+
# @option params [String] :syslog_ip
|
275
|
+
# The IP address for the syslog monitoring server. The AWS CloudHSM
|
276
|
+
# service only supports one syslog monitoring server.
|
277
|
+
#
|
278
|
+
# @return [Types::CreateHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
279
|
+
#
|
280
|
+
# * {Types::CreateHsmResponse#hsm_arn #hsm_arn} => String
|
281
|
+
#
|
282
|
+
# @example Request syntax with placeholder values
|
283
|
+
#
|
284
|
+
# resp = client.create_hsm({
|
285
|
+
# subnet_id: "SubnetId", # required
|
286
|
+
# ssh_key: "SshKey", # required
|
287
|
+
# eni_ip: "IpAddress",
|
288
|
+
# iam_role_arn: "IamRoleArn", # required
|
289
|
+
# external_id: "ExternalId",
|
290
|
+
# subscription_type: "PRODUCTION", # required, accepts PRODUCTION
|
291
|
+
# client_token: "ClientToken",
|
292
|
+
# syslog_ip: "IpAddress",
|
293
|
+
# })
|
294
|
+
#
|
295
|
+
# @example Response structure
|
296
|
+
#
|
297
|
+
# resp.hsm_arn #=> String
|
298
|
+
#
|
299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsm AWS API Documentation
|
300
|
+
#
|
301
|
+
# @overload create_hsm(params = {})
|
302
|
+
# @param [Hash] params ({})
|
303
|
+
def create_hsm(params = {}, options = {})
|
304
|
+
req = build_request(:create_hsm, params)
|
305
|
+
req.send_request(options)
|
306
|
+
end
|
262
307
|
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
308
|
+
# Creates an HSM client.
|
309
|
+
#
|
310
|
+
# @option params [String] :label
|
311
|
+
# The label for the client.
|
312
|
+
#
|
313
|
+
# @option params [required, String] :certificate
|
314
|
+
# The contents of a Base64-Encoded X.509 v3 certificate to be installed
|
315
|
+
# on the HSMs used by this client.
|
316
|
+
#
|
317
|
+
# @return [Types::CreateLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
318
|
+
#
|
319
|
+
# * {Types::CreateLunaClientResponse#client_arn #client_arn} => String
|
320
|
+
#
|
321
|
+
# @example Request syntax with placeholder values
|
322
|
+
#
|
323
|
+
# resp = client.create_luna_client({
|
324
|
+
# label: "ClientLabel",
|
325
|
+
# certificate: "Certificate", # required
|
326
|
+
# })
|
327
|
+
#
|
328
|
+
# @example Response structure
|
329
|
+
#
|
330
|
+
# resp.client_arn #=> String
|
331
|
+
#
|
332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClient AWS API Documentation
|
333
|
+
#
|
334
|
+
# @overload create_luna_client(params = {})
|
335
|
+
# @param [Hash] params ({})
|
336
|
+
def create_luna_client(params = {}, options = {})
|
337
|
+
req = build_request(:create_luna_client, params)
|
338
|
+
req.send_request(options)
|
339
|
+
end
|
287
340
|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
341
|
+
# Deletes a high-availability partition group.
|
342
|
+
#
|
343
|
+
# @option params [required, String] :hapg_arn
|
344
|
+
# The ARN of the high-availability partition group to delete.
|
345
|
+
#
|
346
|
+
# @return [Types::DeleteHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
347
|
+
#
|
348
|
+
# * {Types::DeleteHapgResponse#status #status} => String
|
349
|
+
#
|
350
|
+
# @example Request syntax with placeholder values
|
351
|
+
#
|
352
|
+
# resp = client.delete_hapg({
|
353
|
+
# hapg_arn: "HapgArn", # required
|
354
|
+
# })
|
355
|
+
#
|
356
|
+
# @example Response structure
|
357
|
+
#
|
358
|
+
# resp.status #=> String
|
359
|
+
#
|
360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapg AWS API Documentation
|
361
|
+
#
|
362
|
+
# @overload delete_hapg(params = {})
|
363
|
+
# @param [Hash] params ({})
|
364
|
+
def delete_hapg(params = {}, options = {})
|
365
|
+
req = build_request(:delete_hapg, params)
|
366
|
+
req.send_request(options)
|
367
|
+
end
|
308
368
|
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
369
|
+
# Deletes an HSM. After completion, this operation cannot be undone and
|
370
|
+
# your key material cannot be recovered.
|
371
|
+
#
|
372
|
+
# @option params [required, String] :hsm_arn
|
373
|
+
# The ARN of the HSM to delete.
|
374
|
+
#
|
375
|
+
# @return [Types::DeleteHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
|
+
#
|
377
|
+
# * {Types::DeleteHsmResponse#status #status} => String
|
378
|
+
#
|
379
|
+
# @example Request syntax with placeholder values
|
380
|
+
#
|
381
|
+
# resp = client.delete_hsm({
|
382
|
+
# hsm_arn: "HsmArn", # required
|
383
|
+
# })
|
384
|
+
#
|
385
|
+
# @example Response structure
|
386
|
+
#
|
387
|
+
# resp.status #=> String
|
388
|
+
#
|
389
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsm AWS API Documentation
|
390
|
+
#
|
391
|
+
# @overload delete_hsm(params = {})
|
392
|
+
# @param [Hash] params ({})
|
393
|
+
def delete_hsm(params = {}, options = {})
|
394
|
+
req = build_request(:delete_hsm, params)
|
395
|
+
req.send_request(options)
|
396
|
+
end
|
330
397
|
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
398
|
+
# Deletes a client.
|
399
|
+
#
|
400
|
+
# @option params [required, String] :client_arn
|
401
|
+
# The ARN of the client to delete.
|
402
|
+
#
|
403
|
+
# @return [Types::DeleteLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
404
|
+
#
|
405
|
+
# * {Types::DeleteLunaClientResponse#status #status} => String
|
406
|
+
#
|
407
|
+
# @example Request syntax with placeholder values
|
408
|
+
#
|
409
|
+
# resp = client.delete_luna_client({
|
410
|
+
# client_arn: "ClientArn", # required
|
411
|
+
# })
|
412
|
+
#
|
413
|
+
# @example Response structure
|
414
|
+
#
|
415
|
+
# resp.status #=> String
|
416
|
+
#
|
417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClient AWS API Documentation
|
418
|
+
#
|
419
|
+
# @overload delete_luna_client(params = {})
|
420
|
+
# @param [Hash] params ({})
|
421
|
+
def delete_luna_client(params = {}, options = {})
|
422
|
+
req = build_request(:delete_luna_client, params)
|
423
|
+
req.send_request(options)
|
424
|
+
end
|
351
425
|
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
426
|
+
# Retrieves information about a high-availability partition group.
|
427
|
+
#
|
428
|
+
# @option params [required, String] :hapg_arn
|
429
|
+
# The ARN of the high-availability partition group to describe.
|
430
|
+
#
|
431
|
+
# @return [Types::DescribeHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
432
|
+
#
|
433
|
+
# * {Types::DescribeHapgResponse#hapg_arn #hapg_arn} => String
|
434
|
+
# * {Types::DescribeHapgResponse#hapg_serial #hapg_serial} => String
|
435
|
+
# * {Types::DescribeHapgResponse#hsms_last_action_failed #hsms_last_action_failed} => Array<String>
|
436
|
+
# * {Types::DescribeHapgResponse#hsms_pending_deletion #hsms_pending_deletion} => Array<String>
|
437
|
+
# * {Types::DescribeHapgResponse#hsms_pending_registration #hsms_pending_registration} => Array<String>
|
438
|
+
# * {Types::DescribeHapgResponse#label #label} => String
|
439
|
+
# * {Types::DescribeHapgResponse#last_modified_timestamp #last_modified_timestamp} => String
|
440
|
+
# * {Types::DescribeHapgResponse#partition_serial_list #partition_serial_list} => Array<String>
|
441
|
+
# * {Types::DescribeHapgResponse#state #state} => String
|
442
|
+
#
|
443
|
+
# @example Request syntax with placeholder values
|
444
|
+
#
|
445
|
+
# resp = client.describe_hapg({
|
446
|
+
# hapg_arn: "HapgArn", # required
|
447
|
+
# })
|
448
|
+
#
|
449
|
+
# @example Response structure
|
450
|
+
#
|
451
|
+
# resp.hapg_arn #=> String
|
452
|
+
# resp.hapg_serial #=> String
|
453
|
+
# resp.hsms_last_action_failed #=> Array
|
454
|
+
# resp.hsms_last_action_failed[0] #=> String
|
455
|
+
# resp.hsms_pending_deletion #=> Array
|
456
|
+
# resp.hsms_pending_deletion[0] #=> String
|
457
|
+
# resp.hsms_pending_registration #=> Array
|
458
|
+
# resp.hsms_pending_registration[0] #=> String
|
459
|
+
# resp.label #=> String
|
460
|
+
# resp.last_modified_timestamp #=> String
|
461
|
+
# resp.partition_serial_list #=> Array
|
462
|
+
# resp.partition_serial_list[0] #=> String
|
463
|
+
# resp.state #=> String, one of "READY", "UPDATING", "DEGRADED"
|
464
|
+
#
|
465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapg AWS API Documentation
|
466
|
+
#
|
467
|
+
# @overload describe_hapg(params = {})
|
468
|
+
# @param [Hash] params ({})
|
469
|
+
def describe_hapg(params = {}, options = {})
|
470
|
+
req = build_request(:describe_hapg, params)
|
471
|
+
req.send_request(options)
|
472
|
+
end
|
392
473
|
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
474
|
+
# Retrieves information about an HSM. You can identify the HSM by its
|
475
|
+
# ARN or its serial number.
|
476
|
+
#
|
477
|
+
# @option params [String] :hsm_arn
|
478
|
+
# The ARN of the HSM. Either the *HsmArn* or the *SerialNumber*
|
479
|
+
# parameter must be specified.
|
480
|
+
#
|
481
|
+
# @option params [String] :hsm_serial_number
|
482
|
+
# The serial number of the HSM. Either the *HsmArn* or the
|
483
|
+
# *HsmSerialNumber* parameter must be specified.
|
484
|
+
#
|
485
|
+
# @return [Types::DescribeHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
486
|
+
#
|
487
|
+
# * {Types::DescribeHsmResponse#hsm_arn #hsm_arn} => String
|
488
|
+
# * {Types::DescribeHsmResponse#status #status} => String
|
489
|
+
# * {Types::DescribeHsmResponse#status_details #status_details} => String
|
490
|
+
# * {Types::DescribeHsmResponse#availability_zone #availability_zone} => String
|
491
|
+
# * {Types::DescribeHsmResponse#eni_id #eni_id} => String
|
492
|
+
# * {Types::DescribeHsmResponse#eni_ip #eni_ip} => String
|
493
|
+
# * {Types::DescribeHsmResponse#subscription_type #subscription_type} => String
|
494
|
+
# * {Types::DescribeHsmResponse#subscription_start_date #subscription_start_date} => String
|
495
|
+
# * {Types::DescribeHsmResponse#subscription_end_date #subscription_end_date} => String
|
496
|
+
# * {Types::DescribeHsmResponse#vpc_id #vpc_id} => String
|
497
|
+
# * {Types::DescribeHsmResponse#subnet_id #subnet_id} => String
|
498
|
+
# * {Types::DescribeHsmResponse#iam_role_arn #iam_role_arn} => String
|
499
|
+
# * {Types::DescribeHsmResponse#serial_number #serial_number} => String
|
500
|
+
# * {Types::DescribeHsmResponse#vendor_name #vendor_name} => String
|
501
|
+
# * {Types::DescribeHsmResponse#hsm_type #hsm_type} => String
|
502
|
+
# * {Types::DescribeHsmResponse#software_version #software_version} => String
|
503
|
+
# * {Types::DescribeHsmResponse#ssh_public_key #ssh_public_key} => String
|
504
|
+
# * {Types::DescribeHsmResponse#ssh_key_last_updated #ssh_key_last_updated} => String
|
505
|
+
# * {Types::DescribeHsmResponse#server_cert_uri #server_cert_uri} => String
|
506
|
+
# * {Types::DescribeHsmResponse#server_cert_last_updated #server_cert_last_updated} => String
|
507
|
+
# * {Types::DescribeHsmResponse#partitions #partitions} => Array<String>
|
508
|
+
#
|
509
|
+
# @example Request syntax with placeholder values
|
510
|
+
#
|
511
|
+
# resp = client.describe_hsm({
|
512
|
+
# hsm_arn: "HsmArn",
|
513
|
+
# hsm_serial_number: "HsmSerialNumber",
|
514
|
+
# })
|
515
|
+
#
|
516
|
+
# @example Response structure
|
517
|
+
#
|
518
|
+
# resp.hsm_arn #=> String
|
519
|
+
# resp.status #=> String, one of "PENDING", "RUNNING", "UPDATING", "SUSPENDED", "TERMINATING", "TERMINATED", "DEGRADED"
|
520
|
+
# resp.status_details #=> String
|
521
|
+
# resp.availability_zone #=> String
|
522
|
+
# resp.eni_id #=> String
|
523
|
+
# resp.eni_ip #=> String
|
524
|
+
# resp.subscription_type #=> String, one of "PRODUCTION"
|
525
|
+
# resp.subscription_start_date #=> String
|
526
|
+
# resp.subscription_end_date #=> String
|
527
|
+
# resp.vpc_id #=> String
|
528
|
+
# resp.subnet_id #=> String
|
529
|
+
# resp.iam_role_arn #=> String
|
530
|
+
# resp.serial_number #=> String
|
531
|
+
# resp.vendor_name #=> String
|
532
|
+
# resp.hsm_type #=> String
|
533
|
+
# resp.software_version #=> String
|
534
|
+
# resp.ssh_public_key #=> String
|
535
|
+
# resp.ssh_key_last_updated #=> String
|
536
|
+
# resp.server_cert_uri #=> String
|
537
|
+
# resp.server_cert_last_updated #=> String
|
538
|
+
# resp.partitions #=> Array
|
539
|
+
# resp.partitions[0] #=> String
|
540
|
+
#
|
541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsm AWS API Documentation
|
542
|
+
#
|
543
|
+
# @overload describe_hsm(params = {})
|
544
|
+
# @param [Hash] params ({})
|
545
|
+
def describe_hsm(params = {}, options = {})
|
546
|
+
req = build_request(:describe_hsm, params)
|
547
|
+
req.send_request(options)
|
548
|
+
end
|
460
549
|
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
550
|
+
# Retrieves information about an HSM client.
|
551
|
+
#
|
552
|
+
# @option params [String] :client_arn
|
553
|
+
# The ARN of the client.
|
554
|
+
#
|
555
|
+
# @option params [String] :certificate_fingerprint
|
556
|
+
# The certificate fingerprint.
|
557
|
+
#
|
558
|
+
# @return [Types::DescribeLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
559
|
+
#
|
560
|
+
# * {Types::DescribeLunaClientResponse#client_arn #client_arn} => String
|
561
|
+
# * {Types::DescribeLunaClientResponse#certificate #certificate} => String
|
562
|
+
# * {Types::DescribeLunaClientResponse#certificate_fingerprint #certificate_fingerprint} => String
|
563
|
+
# * {Types::DescribeLunaClientResponse#last_modified_timestamp #last_modified_timestamp} => String
|
564
|
+
# * {Types::DescribeLunaClientResponse#label #label} => String
|
565
|
+
#
|
566
|
+
# @example Request syntax with placeholder values
|
567
|
+
#
|
568
|
+
# resp = client.describe_luna_client({
|
569
|
+
# client_arn: "ClientArn",
|
570
|
+
# certificate_fingerprint: "CertificateFingerprint",
|
571
|
+
# })
|
572
|
+
#
|
573
|
+
# @example Response structure
|
574
|
+
#
|
575
|
+
# resp.client_arn #=> String
|
576
|
+
# resp.certificate #=> String
|
577
|
+
# resp.certificate_fingerprint #=> String
|
578
|
+
# resp.last_modified_timestamp #=> String
|
579
|
+
# resp.label #=> String
|
580
|
+
#
|
581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClient AWS API Documentation
|
582
|
+
#
|
583
|
+
# @overload describe_luna_client(params = {})
|
584
|
+
# @param [Hash] params ({})
|
585
|
+
def describe_luna_client(params = {}, options = {})
|
586
|
+
req = build_request(:describe_luna_client, params)
|
587
|
+
req.send_request(options)
|
588
|
+
end
|
492
589
|
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
590
|
+
# Gets the configuration files necessary to connect to all high
|
591
|
+
# availability partition groups the client is associated with.
|
592
|
+
#
|
593
|
+
# @option params [required, String] :client_arn
|
594
|
+
# The ARN of the client.
|
595
|
+
#
|
596
|
+
# @option params [required, String] :client_version
|
597
|
+
# The client version.
|
598
|
+
#
|
599
|
+
# @option params [required, Array<String>] :hapg_list
|
600
|
+
# A list of ARNs that identify the high-availability partition groups
|
601
|
+
# that are associated with the client.
|
602
|
+
#
|
603
|
+
# @return [Types::GetConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
604
|
+
#
|
605
|
+
# * {Types::GetConfigResponse#config_type #config_type} => String
|
606
|
+
# * {Types::GetConfigResponse#config_file #config_file} => String
|
607
|
+
# * {Types::GetConfigResponse#config_cred #config_cred} => String
|
608
|
+
#
|
609
|
+
# @example Request syntax with placeholder values
|
610
|
+
#
|
611
|
+
# resp = client.get_config({
|
612
|
+
# client_arn: "ClientArn", # required
|
613
|
+
# client_version: "5.1", # required, accepts 5.1, 5.3
|
614
|
+
# hapg_list: ["HapgArn"], # required
|
615
|
+
# })
|
616
|
+
#
|
617
|
+
# @example Response structure
|
618
|
+
#
|
619
|
+
# resp.config_type #=> String
|
620
|
+
# resp.config_file #=> String
|
621
|
+
# resp.config_cred #=> String
|
622
|
+
#
|
623
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfig AWS API Documentation
|
624
|
+
#
|
625
|
+
# @overload get_config(params = {})
|
626
|
+
# @param [Hash] params ({})
|
627
|
+
def get_config(params = {}, options = {})
|
628
|
+
req = build_request(:get_config, params)
|
629
|
+
req.send_request(options)
|
630
|
+
end
|
525
631
|
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
632
|
+
# Lists the Availability Zones that have available AWS CloudHSM
|
633
|
+
# capacity.
|
634
|
+
#
|
635
|
+
# @return [Types::ListAvailableZonesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
636
|
+
#
|
637
|
+
# * {Types::ListAvailableZonesResponse#az_list #az_list} => Array<String>
|
638
|
+
#
|
639
|
+
# @example Response structure
|
640
|
+
#
|
641
|
+
# resp.az_list #=> Array
|
642
|
+
# resp.az_list[0] #=> String
|
643
|
+
#
|
644
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListAvailableZones AWS API Documentation
|
645
|
+
#
|
646
|
+
# @overload list_available_zones(params = {})
|
647
|
+
# @param [Hash] params ({})
|
648
|
+
def list_available_zones(params = {}, options = {})
|
649
|
+
req = build_request(:list_available_zones, params)
|
650
|
+
req.send_request(options)
|
651
|
+
end
|
544
652
|
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
653
|
+
# Lists the high-availability partition groups for the account.
|
654
|
+
#
|
655
|
+
# This operation supports pagination with the use of the *NextToken*
|
656
|
+
# member. If more results are available, the *NextToken* member of the
|
657
|
+
# response contains a token that you pass in the next call to ListHapgs
|
658
|
+
# to retrieve the next set of items.
|
659
|
+
#
|
660
|
+
# @option params [String] :next_token
|
661
|
+
# The *NextToken* value from a previous call to ListHapgs. Pass null if
|
662
|
+
# this is the first call.
|
663
|
+
#
|
664
|
+
# @return [Types::ListHapgsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
665
|
+
#
|
666
|
+
# * {Types::ListHapgsResponse#hapg_list #hapg_list} => Array<String>
|
667
|
+
# * {Types::ListHapgsResponse#next_token #next_token} => String
|
668
|
+
#
|
669
|
+
# @example Request syntax with placeholder values
|
670
|
+
#
|
671
|
+
# resp = client.list_hapgs({
|
672
|
+
# next_token: "PaginationToken",
|
673
|
+
# })
|
674
|
+
#
|
675
|
+
# @example Response structure
|
676
|
+
#
|
677
|
+
# resp.hapg_list #=> Array
|
678
|
+
# resp.hapg_list[0] #=> String
|
679
|
+
# resp.next_token #=> String
|
680
|
+
#
|
681
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgs AWS API Documentation
|
682
|
+
#
|
683
|
+
# @overload list_hapgs(params = {})
|
684
|
+
# @param [Hash] params ({})
|
685
|
+
def list_hapgs(params = {}, options = {})
|
686
|
+
req = build_request(:list_hapgs, params)
|
687
|
+
req.send_request(options)
|
688
|
+
end
|
574
689
|
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
690
|
+
# Retrieves the identifiers of all of the HSMs provisioned for the
|
691
|
+
# current customer.
|
692
|
+
#
|
693
|
+
# This operation supports pagination with the use of the *NextToken*
|
694
|
+
# member. If more results are available, the *NextToken* member of the
|
695
|
+
# response contains a token that you pass in the next call to ListHsms
|
696
|
+
# to retrieve the next set of items.
|
697
|
+
#
|
698
|
+
# @option params [String] :next_token
|
699
|
+
# The *NextToken* value from a previous call to ListHsms. Pass null if
|
700
|
+
# this is the first call.
|
701
|
+
#
|
702
|
+
# @return [Types::ListHsmsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
703
|
+
#
|
704
|
+
# * {Types::ListHsmsResponse#hsm_list #hsm_list} => Array<String>
|
705
|
+
# * {Types::ListHsmsResponse#next_token #next_token} => String
|
706
|
+
#
|
707
|
+
# @example Request syntax with placeholder values
|
708
|
+
#
|
709
|
+
# resp = client.list_hsms({
|
710
|
+
# next_token: "PaginationToken",
|
711
|
+
# })
|
712
|
+
#
|
713
|
+
# @example Response structure
|
714
|
+
#
|
715
|
+
# resp.hsm_list #=> Array
|
716
|
+
# resp.hsm_list[0] #=> String
|
717
|
+
# resp.next_token #=> String
|
718
|
+
#
|
719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsms AWS API Documentation
|
720
|
+
#
|
721
|
+
# @overload list_hsms(params = {})
|
722
|
+
# @param [Hash] params ({})
|
723
|
+
def list_hsms(params = {}, options = {})
|
724
|
+
req = build_request(:list_hsms, params)
|
725
|
+
req.send_request(options)
|
726
|
+
end
|
605
727
|
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
728
|
+
# Lists all of the clients.
|
729
|
+
#
|
730
|
+
# This operation supports pagination with the use of the *NextToken*
|
731
|
+
# member. If more results are available, the *NextToken* member of the
|
732
|
+
# response contains a token that you pass in the next call to
|
733
|
+
# ListLunaClients to retrieve the next set of items.
|
734
|
+
#
|
735
|
+
# @option params [String] :next_token
|
736
|
+
# The *NextToken* value from a previous call to ListLunaClients. Pass
|
737
|
+
# null if this is the first call.
|
738
|
+
#
|
739
|
+
# @return [Types::ListLunaClientsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
740
|
+
#
|
741
|
+
# * {Types::ListLunaClientsResponse#client_list #client_list} => Array<String>
|
742
|
+
# * {Types::ListLunaClientsResponse#next_token #next_token} => String
|
743
|
+
#
|
744
|
+
# @example Request syntax with placeholder values
|
745
|
+
#
|
746
|
+
# resp = client.list_luna_clients({
|
747
|
+
# next_token: "PaginationToken",
|
748
|
+
# })
|
749
|
+
#
|
750
|
+
# @example Response structure
|
751
|
+
#
|
752
|
+
# resp.client_list #=> Array
|
753
|
+
# resp.client_list[0] #=> String
|
754
|
+
# resp.next_token #=> String
|
755
|
+
#
|
756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClients AWS API Documentation
|
757
|
+
#
|
758
|
+
# @overload list_luna_clients(params = {})
|
759
|
+
# @param [Hash] params ({})
|
760
|
+
def list_luna_clients(params = {}, options = {})
|
761
|
+
req = build_request(:list_luna_clients, params)
|
762
|
+
req.send_request(options)
|
763
|
+
end
|
635
764
|
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
765
|
+
# Returns a list of all tags for the specified AWS CloudHSM resource.
|
766
|
+
#
|
767
|
+
# @option params [required, String] :resource_arn
|
768
|
+
# The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
|
769
|
+
#
|
770
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
771
|
+
#
|
772
|
+
# * {Types::ListTagsForResourceResponse#tag_list #tag_list} => Array<Types::Tag>
|
773
|
+
#
|
774
|
+
# @example Request syntax with placeholder values
|
775
|
+
#
|
776
|
+
# resp = client.list_tags_for_resource({
|
777
|
+
# resource_arn: "String", # required
|
778
|
+
# })
|
779
|
+
#
|
780
|
+
# @example Response structure
|
781
|
+
#
|
782
|
+
# resp.tag_list #=> Array
|
783
|
+
# resp.tag_list[0].key #=> String
|
784
|
+
# resp.tag_list[0].value #=> String
|
785
|
+
#
|
786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResource AWS API Documentation
|
787
|
+
#
|
788
|
+
# @overload list_tags_for_resource(params = {})
|
789
|
+
# @param [Hash] params ({})
|
790
|
+
def list_tags_for_resource(params = {}, options = {})
|
791
|
+
req = build_request(:list_tags_for_resource, params)
|
792
|
+
req.send_request(options)
|
793
|
+
end
|
658
794
|
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
795
|
+
# Modifies an existing high-availability partition group.
|
796
|
+
#
|
797
|
+
# @option params [required, String] :hapg_arn
|
798
|
+
# The ARN of the high-availability partition group to modify.
|
799
|
+
#
|
800
|
+
# @option params [String] :label
|
801
|
+
# The new label for the high-availability partition group.
|
802
|
+
#
|
803
|
+
# @option params [Array<String>] :partition_serial_list
|
804
|
+
# The list of partition serial numbers to make members of the
|
805
|
+
# high-availability partition group.
|
806
|
+
#
|
807
|
+
# @return [Types::ModifyHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
808
|
+
#
|
809
|
+
# * {Types::ModifyHapgResponse#hapg_arn #hapg_arn} => String
|
810
|
+
#
|
811
|
+
# @example Request syntax with placeholder values
|
812
|
+
#
|
813
|
+
# resp = client.modify_hapg({
|
814
|
+
# hapg_arn: "HapgArn", # required
|
815
|
+
# label: "Label",
|
816
|
+
# partition_serial_list: ["PartitionSerial"],
|
817
|
+
# })
|
818
|
+
#
|
819
|
+
# @example Response structure
|
820
|
+
#
|
821
|
+
# resp.hapg_arn #=> String
|
822
|
+
#
|
823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapg AWS API Documentation
|
824
|
+
#
|
825
|
+
# @overload modify_hapg(params = {})
|
826
|
+
# @param [Hash] params ({})
|
827
|
+
def modify_hapg(params = {}, options = {})
|
828
|
+
req = build_request(:modify_hapg, params)
|
829
|
+
req.send_request(options)
|
830
|
+
end
|
686
831
|
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
832
|
+
# Modifies an HSM.
|
833
|
+
#
|
834
|
+
# This operation can result in the HSM being offline for up to 15
|
835
|
+
# minutes while the AWS CloudHSM service is reconfigured. If you are
|
836
|
+
# modifying a production HSM, you should ensure that your AWS CloudHSM
|
837
|
+
# service is configured for high availability, and consider executing
|
838
|
+
# this operation during a maintenance window.
|
839
|
+
#
|
840
|
+
# @option params [required, String] :hsm_arn
|
841
|
+
# The ARN of the HSM to modify.
|
842
|
+
#
|
843
|
+
# @option params [String] :subnet_id
|
844
|
+
# The new identifier of the subnet that the HSM is in. The new subnet
|
845
|
+
# must be in the same Availability Zone as the current subnet.
|
846
|
+
#
|
847
|
+
# @option params [String] :eni_ip
|
848
|
+
# The new IP address for the elastic network interface (ENI) attached to
|
849
|
+
# the HSM.
|
850
|
+
#
|
851
|
+
# If the HSM is moved to a different subnet, and an IP address is not
|
852
|
+
# specified, an IP address will be randomly chosen from the CIDR range
|
853
|
+
# of the new subnet.
|
854
|
+
#
|
855
|
+
# @option params [String] :iam_role_arn
|
856
|
+
# The new IAM role ARN.
|
857
|
+
#
|
858
|
+
# @option params [String] :external_id
|
859
|
+
# The new external ID.
|
860
|
+
#
|
861
|
+
# @option params [String] :syslog_ip
|
862
|
+
# The new IP address for the syslog monitoring server. The AWS CloudHSM
|
863
|
+
# service only supports one syslog monitoring server.
|
864
|
+
#
|
865
|
+
# @return [Types::ModifyHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
866
|
+
#
|
867
|
+
# * {Types::ModifyHsmResponse#hsm_arn #hsm_arn} => String
|
868
|
+
#
|
869
|
+
# @example Request syntax with placeholder values
|
870
|
+
#
|
871
|
+
# resp = client.modify_hsm({
|
872
|
+
# hsm_arn: "HsmArn", # required
|
873
|
+
# subnet_id: "SubnetId",
|
874
|
+
# eni_ip: "IpAddress",
|
875
|
+
# iam_role_arn: "IamRoleArn",
|
876
|
+
# external_id: "ExternalId",
|
877
|
+
# syslog_ip: "IpAddress",
|
878
|
+
# })
|
879
|
+
#
|
880
|
+
# @example Response structure
|
881
|
+
#
|
882
|
+
# resp.hsm_arn #=> String
|
883
|
+
#
|
884
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsm AWS API Documentation
|
885
|
+
#
|
886
|
+
# @overload modify_hsm(params = {})
|
887
|
+
# @param [Hash] params ({})
|
888
|
+
def modify_hsm(params = {}, options = {})
|
889
|
+
req = build_request(:modify_hsm, params)
|
890
|
+
req.send_request(options)
|
891
|
+
end
|
735
892
|
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
893
|
+
# Modifies the certificate used by the client.
|
894
|
+
#
|
895
|
+
# This action can potentially start a workflow to install the new
|
896
|
+
# certificate on the client's HSMs.
|
897
|
+
#
|
898
|
+
# @option params [required, String] :client_arn
|
899
|
+
# The ARN of the client.
|
900
|
+
#
|
901
|
+
# @option params [required, String] :certificate
|
902
|
+
# The new certificate for the client.
|
903
|
+
#
|
904
|
+
# @return [Types::ModifyLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
905
|
+
#
|
906
|
+
# * {Types::ModifyLunaClientResponse#client_arn #client_arn} => String
|
907
|
+
#
|
908
|
+
# @example Request syntax with placeholder values
|
909
|
+
#
|
910
|
+
# resp = client.modify_luna_client({
|
911
|
+
# client_arn: "ClientArn", # required
|
912
|
+
# certificate: "Certificate", # required
|
913
|
+
# })
|
914
|
+
#
|
915
|
+
# @example Response structure
|
916
|
+
#
|
917
|
+
# resp.client_arn #=> String
|
918
|
+
#
|
919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClient AWS API Documentation
|
920
|
+
#
|
921
|
+
# @overload modify_luna_client(params = {})
|
922
|
+
# @param [Hash] params ({})
|
923
|
+
def modify_luna_client(params = {}, options = {})
|
924
|
+
req = build_request(:modify_luna_client, params)
|
925
|
+
req.send_request(options)
|
926
|
+
end
|
762
927
|
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
928
|
+
# Removes one or more tags from the specified AWS CloudHSM resource.
|
929
|
+
#
|
930
|
+
# To remove a tag, specify only the tag key to remove (not the value).
|
931
|
+
# To overwrite the value for an existing tag, use AddTagsToResource.
|
932
|
+
#
|
933
|
+
# @option params [required, String] :resource_arn
|
934
|
+
# The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
|
935
|
+
#
|
936
|
+
# @option params [required, Array<String>] :tag_key_list
|
937
|
+
# The tag key or keys to remove.
|
938
|
+
#
|
939
|
+
# Specify only the tag key to remove (not the value). To overwrite the
|
940
|
+
# value for an existing tag, use AddTagsToResource.
|
941
|
+
#
|
942
|
+
# @return [Types::RemoveTagsFromResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
943
|
+
#
|
944
|
+
# * {Types::RemoveTagsFromResourceResponse#status #status} => String
|
945
|
+
#
|
946
|
+
# @example Request syntax with placeholder values
|
947
|
+
#
|
948
|
+
# resp = client.remove_tags_from_resource({
|
949
|
+
# resource_arn: "String", # required
|
950
|
+
# tag_key_list: ["TagKey"], # required
|
951
|
+
# })
|
952
|
+
#
|
953
|
+
# @example Response structure
|
954
|
+
#
|
955
|
+
# resp.status #=> String
|
956
|
+
#
|
957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResource AWS API Documentation
|
958
|
+
#
|
959
|
+
# @overload remove_tags_from_resource(params = {})
|
960
|
+
# @param [Hash] params ({})
|
961
|
+
def remove_tags_from_resource(params = {}, options = {})
|
962
|
+
req = build_request(:remove_tags_from_resource, params)
|
963
|
+
req.send_request(options)
|
964
|
+
end
|
965
|
+
|
966
|
+
# @!endgroup
|
967
|
+
|
968
|
+
# @param params ({})
|
969
|
+
# @api private
|
970
|
+
def build_request(operation_name, params = {})
|
971
|
+
handlers = @handlers.for(operation_name)
|
972
|
+
context = Seahorse::Client::RequestContext.new(
|
973
|
+
operation_name: operation_name,
|
974
|
+
operation: config.api.operation(operation_name),
|
975
|
+
client: self,
|
976
|
+
params: params,
|
977
|
+
config: config)
|
978
|
+
context[:gem_name] = 'aws-sdk-cloudhsm'
|
979
|
+
context[:gem_version] = '1.0.0.rc2'
|
980
|
+
Seahorse::Client::Request.new(handlers, context)
|
981
|
+
end
|
982
|
+
|
983
|
+
# @api private
|
984
|
+
# @deprecated
|
985
|
+
def waiter_names
|
986
|
+
[]
|
987
|
+
end
|
792
988
|
|
793
|
-
|
989
|
+
class << self
|
794
990
|
|
795
|
-
# @param params ({})
|
796
991
|
# @api private
|
797
|
-
|
798
|
-
handlers = @handlers.for(operation_name)
|
799
|
-
context = Seahorse::Client::RequestContext.new(
|
800
|
-
operation_name: operation_name,
|
801
|
-
operation: config.api.operation(operation_name),
|
802
|
-
client: self,
|
803
|
-
params: params,
|
804
|
-
config: config)
|
805
|
-
context[:gem_name] = 'aws-sdk-cloudhsm'
|
806
|
-
context[:gem_version] = '1.0.0.rc1'
|
807
|
-
Seahorse::Client::Request.new(handlers, context)
|
808
|
-
end
|
992
|
+
attr_reader :identifier
|
809
993
|
|
810
994
|
# @api private
|
811
|
-
|
812
|
-
|
813
|
-
[]
|
995
|
+
def errors_module
|
996
|
+
Errors
|
814
997
|
end
|
815
998
|
|
816
|
-
class << self
|
817
|
-
|
818
|
-
# @api private
|
819
|
-
attr_reader :identifier
|
820
|
-
|
821
|
-
# @api private
|
822
|
-
def errors_module
|
823
|
-
Errors
|
824
|
-
end
|
825
|
-
|
826
|
-
end
|
827
999
|
end
|
828
1000
|
end
|
829
1001
|
end
|