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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f041ccb998be999267d694dd838b5e200bcf1b2
4
- data.tar.gz: b5723153393a60a7a1e842b7669c1b5e6d84df6d
3
+ metadata.gz: 1480a26580a36d36bd304a7cbead30174516da26
4
+ data.tar.gz: a12acfe0d60ff223be141bd0cd34f81db7e2d118
5
5
  SHA512:
6
- metadata.gz: eadbb4695f602682738b0fbee973a5133fdb16a186a7ac168da6f49fe4173b52b613ed7ac2a0fdf975c214a5c0e8bb1e75a43589fc7bc0094861e234d52f6dcc
7
- data.tar.gz: 66c2cfc1e2a2ea98ab45abdc178e544e6b9d4553fd32ee8b6aa93f5c518027db4ec198c4d5fa9b1345188ce1119a438cf087633d6cd5dc109b917d7801b205fd
6
+ metadata.gz: 34ce17d31dc27ece5ca62977bf15fb31d8bb08e85b7074aaaa6d6cc06723de4cb951c631e4b967e4b40af6c2725db5f7f090b6fbaea031b69ea777579c728ba9
7
+ data.tar.gz: 1ca58325256daa7e20fd4ce8ec625d485f49692efb3951eaee0c4ecb9d066e748d3392d9a923997a52c45a09affebe20a531b5f1935c9ba34c81ca6bd8fcc399
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
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.rc1'
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 info on making contributions:
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
- module 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::SignatureV4)
50
- add_plugin(Aws::Plugins::Protocols::JsonRpc)
51
-
52
- # @option options [required, Aws::CredentialProvider] :credentials
53
- # Your AWS credentials. This can be an instance of any one of the
54
- # following classes:
55
- #
56
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
57
- # credentials.
58
- #
59
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
60
- # from an EC2 IMDS on an EC2 instance.
61
- #
62
- # * `Aws::SharedCredentials` - Used for loading credentials from a
63
- # shared file, such as `~/.aws/config`.
64
- #
65
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
66
- #
67
- # When `:credentials` are not configured directly, the following
68
- # locations will be searched for credentials:
69
- #
70
- # * `Aws.config[:credentials]`
71
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
72
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
73
- # * `~/.aws/credentials`
74
- # * `~/.aws/config`
75
- # * EC2 IMDS instance profile - When used by default, the timeouts are
76
- # very aggressive. Construct and pass an instance of
77
- # `Aws::InstanceProfileCredentails` to enable retries and extended
78
- # timeouts.
79
- # @option options [required, String] :region
80
- # The AWS region to connect to. The configured `:region` is
81
- # used to determine the service `:endpoint`. When not passed,
82
- # a default `:region` is search for in the following locations:
83
- #
84
- # * `Aws.config[:region]`
85
- # * `ENV['AWS_REGION']`
86
- # * `ENV['AMAZON_REGION']`
87
- # * `ENV['AWS_DEFAULT_REGION']`
88
- # * `~/.aws/credentials`
89
- # * `~/.aws/config`
90
- # @option options [String] :access_key_id
91
- # @option options [Boolean] :convert_params (true)
92
- # When `true`, an attempt is made to coerce request parameters into
93
- # the required types.
94
- # @option options [String] :endpoint
95
- # The client endpoint is normally constructed from the `:region`
96
- # option. You should only configure an `:endpoint` when connecting
97
- # to test endpoints. This should be avalid HTTP(S) URI.
98
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
99
- # The log formatter.
100
- # @option options [Symbol] :log_level (:info)
101
- # The log level to send messages to the `:logger` at.
102
- # @option options [Logger] :logger
103
- # The Logger instance to send log messages to. If this option
104
- # is not set, logging will be disabled.
105
- # @option options [String] :profile ("default")
106
- # Used when loading credentials from the shared credentials file
107
- # at HOME/.aws/credentials. When not specified, 'default' is used.
108
- # @option options [Integer] :retry_limit (3)
109
- # The maximum number of times to retry failed requests. Only
110
- # ~ 500 level server errors and certain ~ 400 level client errors
111
- # are retried. Generally, these are throttling errors, data
112
- # checksum errors, networking errors, timeout errors and auth
113
- # errors from expired credentials.
114
- # @option options [String] :secret_access_key
115
- # @option options [String] :session_token
116
- # @option options [Boolean] :simple_json (false)
117
- # Disables request parameter conversion, validation, and formatting.
118
- # Also disable response data type conversions. This option is useful
119
- # when you want to ensure the highest level of performance by
120
- # avoiding overhead of walking request parameters and response data
121
- # structures.
122
- #
123
- # When `:simple_json` is enabled, the request parameters hash must
124
- # be formatted exactly as the DynamoDB API expects.
125
- # @option options [Boolean] :stub_responses (false)
126
- # Causes the client to return stubbed responses. By default
127
- # fake responses are generated and returned. You can specify
128
- # the response data to return or errors to raise by calling
129
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
130
- #
131
- # ** Please note ** When response stubbing is enabled, no HTTP
132
- # requests are made, and retries are disabled.
133
- # @option options [Boolean] :validate_params (true)
134
- # When `true`, request parameters are validated before
135
- # sending the request.
136
- def initialize(*args)
137
- super
138
- end
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
- # @!group API Operations
141
-
142
- # Adds or overwrites one or more tags for the specified AWS CloudHSM
143
- # resource.
144
- #
145
- # Each tag consists of a key and a value. Tag keys must be unique to
146
- # each resource.
147
- # @option params [required, String] :resource_arn
148
- # The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
149
- # @option params [required, Array<Types::Tag>] :tag_list
150
- # One or more tags.
151
- # @return [Types::AddTagsToResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
152
- #
153
- # * {Types::AddTagsToResourceResponse#status #Status} => String
154
- #
155
- # @example Request syntax with placeholder values
156
- # resp = client.add_tags_to_resource({
157
- # resource_arn: "String", # required
158
- # tag_list: [ # required
159
- # {
160
- # key: "TagKey", # required
161
- # value: "TagValue", # required
162
- # },
163
- # ],
164
- # })
165
- #
166
- # @example Response structure
167
- # resp.status #=> String
168
- # @overload add_tags_to_resource(params = {})
169
- # @param [Hash] params ({})
170
- def add_tags_to_resource(params = {}, options = {})
171
- req = build_request(:add_tags_to_resource, params)
172
- req.send_request(options)
173
- end
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
- # Creates a high-availability partition group. A high-availability
176
- # partition group is a group of partitions that spans multiple physical
177
- # HSMs.
178
- # @option params [required, String] :label
179
- # The label of the new high-availability partition group.
180
- # @return [Types::CreateHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
181
- #
182
- # * {Types::CreateHapgResponse#hapg_arn #HapgArn} => String
183
- #
184
- # @example Request syntax with placeholder values
185
- # resp = client.create_hapg({
186
- # label: "Label", # required
187
- # })
188
- #
189
- # @example Response structure
190
- # resp.hapg_arn #=> String
191
- # @overload create_hapg(params = {})
192
- # @param [Hash] params ({})
193
- def create_hapg(params = {}, options = {})
194
- req = build_request(:create_hapg, params)
195
- req.send_request(options)
196
- end
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
- # Creates an uninitialized HSM instance.
199
- #
200
- # There is an upfront fee charged for each HSM instance that you create
201
- # with the CreateHsm operation. If you accidentally provision an HSM and
202
- # want to request a refund, delete the instance using the DeleteHsm
203
- # operation, go to the [AWS Support Center][1], create a new case, and
204
- # select **Account and Billing Support**.
205
- #
206
- # It can take up to 20 minutes to create and provision an HSM. You can
207
- # monitor the status of the HSM with the DescribeHsm operation. The HSM
208
- # is ready to be initialized when the status changes to `RUNNING`.
209
- #
210
- #
211
- #
212
- # [1]: https://console.aws.amazon.com/support/home#/
213
- # @option params [required, String] :subnet_id
214
- # The identifier of the subnet in your VPC in which to place the HSM.
215
- # @option params [required, String] :ssh_key
216
- # The SSH public key to install on the HSM.
217
- # @option params [String] :eni_ip
218
- # The IP address to assign to the HSM's ENI.
219
- #
220
- # If an IP address is not specified, an IP address will be randomly
221
- # chosen from the CIDR range of the subnet.
222
- # @option params [required, String] :iam_role_arn
223
- # The ARN of an IAM role to enable the AWS CloudHSM service to allocate
224
- # an ENI on your behalf.
225
- # @option params [String] :external_id
226
- # The external ID from **IamRoleArn**, if present.
227
- # @option params [required, String] :subscription_type
228
- # Specifies the type of subscription for the HSM.
229
- #
230
- # * **PRODUCTION** - The HSM is being used in a production environment.
231
- # * **TRIAL** - The HSM is being used in a product trial.
232
- # @option params [String] :client_token
233
- # A user-defined token to ensure idempotence. Subsequent calls to this
234
- # operation with the same token will be ignored.
235
- # @option params [String] :syslog_ip
236
- # The IP address for the syslog monitoring server. The AWS CloudHSM
237
- # service only supports one syslog monitoring server.
238
- # @return [Types::CreateHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
239
- #
240
- # * {Types::CreateHsmResponse#hsm_arn #HsmArn} => String
241
- #
242
- # @example Request syntax with placeholder values
243
- # resp = client.create_hsm({
244
- # subnet_id: "SubnetId", # required
245
- # ssh_key: "SshKey", # required
246
- # eni_ip: "IpAddress",
247
- # iam_role_arn: "IamRoleArn", # required
248
- # external_id: "ExternalId",
249
- # subscription_type: "PRODUCTION", # required, accepts PRODUCTION
250
- # client_token: "ClientToken",
251
- # syslog_ip: "IpAddress",
252
- # })
253
- #
254
- # @example Response structure
255
- # resp.hsm_arn #=> String
256
- # @overload create_hsm(params = {})
257
- # @param [Hash] params ({})
258
- def create_hsm(params = {}, options = {})
259
- req = build_request(:create_hsm, params)
260
- req.send_request(options)
261
- end
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
- # Creates an HSM client.
264
- # @option params [String] :label
265
- # The label for the client.
266
- # @option params [required, String] :certificate
267
- # The contents of a Base64-Encoded X.509 v3 certificate to be installed
268
- # on the HSMs used by this client.
269
- # @return [Types::CreateLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
270
- #
271
- # * {Types::CreateLunaClientResponse#client_arn #ClientArn} => String
272
- #
273
- # @example Request syntax with placeholder values
274
- # resp = client.create_luna_client({
275
- # label: "ClientLabel",
276
- # certificate: "Certificate", # required
277
- # })
278
- #
279
- # @example Response structure
280
- # resp.client_arn #=> String
281
- # @overload create_luna_client(params = {})
282
- # @param [Hash] params ({})
283
- def create_luna_client(params = {}, options = {})
284
- req = build_request(:create_luna_client, params)
285
- req.send_request(options)
286
- end
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
- # Deletes a high-availability partition group.
289
- # @option params [required, String] :hapg_arn
290
- # The ARN of the high-availability partition group to delete.
291
- # @return [Types::DeleteHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
292
- #
293
- # * {Types::DeleteHapgResponse#status #Status} => String
294
- #
295
- # @example Request syntax with placeholder values
296
- # resp = client.delete_hapg({
297
- # hapg_arn: "HapgArn", # required
298
- # })
299
- #
300
- # @example Response structure
301
- # resp.status #=> String
302
- # @overload delete_hapg(params = {})
303
- # @param [Hash] params ({})
304
- def delete_hapg(params = {}, options = {})
305
- req = build_request(:delete_hapg, params)
306
- req.send_request(options)
307
- end
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
- # Deletes an HSM. After completion, this operation cannot be undone and
310
- # your key material cannot be recovered.
311
- # @option params [required, String] :hsm_arn
312
- # The ARN of the HSM to delete.
313
- # @return [Types::DeleteHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
314
- #
315
- # * {Types::DeleteHsmResponse#status #Status} => String
316
- #
317
- # @example Request syntax with placeholder values
318
- # resp = client.delete_hsm({
319
- # hsm_arn: "HsmArn", # required
320
- # })
321
- #
322
- # @example Response structure
323
- # resp.status #=> String
324
- # @overload delete_hsm(params = {})
325
- # @param [Hash] params ({})
326
- def delete_hsm(params = {}, options = {})
327
- req = build_request(:delete_hsm, params)
328
- req.send_request(options)
329
- end
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
- # Deletes a client.
332
- # @option params [required, String] :client_arn
333
- # The ARN of the client to delete.
334
- # @return [Types::DeleteLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
335
- #
336
- # * {Types::DeleteLunaClientResponse#status #Status} => String
337
- #
338
- # @example Request syntax with placeholder values
339
- # resp = client.delete_luna_client({
340
- # client_arn: "ClientArn", # required
341
- # })
342
- #
343
- # @example Response structure
344
- # resp.status #=> String
345
- # @overload delete_luna_client(params = {})
346
- # @param [Hash] params ({})
347
- def delete_luna_client(params = {}, options = {})
348
- req = build_request(:delete_luna_client, params)
349
- req.send_request(options)
350
- end
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
- # Retrieves information about a high-availability partition group.
353
- # @option params [required, String] :hapg_arn
354
- # The ARN of the high-availability partition group to describe.
355
- # @return [Types::DescribeHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
356
- #
357
- # * {Types::DescribeHapgResponse#hapg_arn #HapgArn} => String
358
- # * {Types::DescribeHapgResponse#hapg_serial #HapgSerial} => String
359
- # * {Types::DescribeHapgResponse#hsms_last_action_failed #HsmsLastActionFailed} => Array&lt;String&gt;
360
- # * {Types::DescribeHapgResponse#hsms_pending_deletion #HsmsPendingDeletion} => Array&lt;String&gt;
361
- # * {Types::DescribeHapgResponse#hsms_pending_registration #HsmsPendingRegistration} => Array&lt;String&gt;
362
- # * {Types::DescribeHapgResponse#label #Label} => String
363
- # * {Types::DescribeHapgResponse#last_modified_timestamp #LastModifiedTimestamp} => String
364
- # * {Types::DescribeHapgResponse#partition_serial_list #PartitionSerialList} => Array&lt;String&gt;
365
- # * {Types::DescribeHapgResponse#state #State} => String
366
- #
367
- # @example Request syntax with placeholder values
368
- # resp = client.describe_hapg({
369
- # hapg_arn: "HapgArn", # required
370
- # })
371
- #
372
- # @example Response structure
373
- # resp.hapg_arn #=> String
374
- # resp.hapg_serial #=> String
375
- # resp.hsms_last_action_failed #=> Array
376
- # resp.hsms_last_action_failed[0] #=> String
377
- # resp.hsms_pending_deletion #=> Array
378
- # resp.hsms_pending_deletion[0] #=> String
379
- # resp.hsms_pending_registration #=> Array
380
- # resp.hsms_pending_registration[0] #=> String
381
- # resp.label #=> String
382
- # resp.last_modified_timestamp #=> String
383
- # resp.partition_serial_list #=> Array
384
- # resp.partition_serial_list[0] #=> String
385
- # resp.state #=> String, one of "READY", "UPDATING", "DEGRADED"
386
- # @overload describe_hapg(params = {})
387
- # @param [Hash] params ({})
388
- def describe_hapg(params = {}, options = {})
389
- req = build_request(:describe_hapg, params)
390
- req.send_request(options)
391
- end
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&lt;String&gt;
436
+ # * {Types::DescribeHapgResponse#hsms_pending_deletion #hsms_pending_deletion} => Array&lt;String&gt;
437
+ # * {Types::DescribeHapgResponse#hsms_pending_registration #hsms_pending_registration} => Array&lt;String&gt;
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&lt;String&gt;
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
- # Retrieves information about an HSM. You can identify the HSM by its
394
- # ARN or its serial number.
395
- # @option params [String] :hsm_arn
396
- # The ARN of the HSM. Either the *HsmArn* or the *SerialNumber*
397
- # parameter must be specified.
398
- # @option params [String] :hsm_serial_number
399
- # The serial number of the HSM. Either the *HsmArn* or the
400
- # *HsmSerialNumber* parameter must be specified.
401
- # @return [Types::DescribeHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
402
- #
403
- # * {Types::DescribeHsmResponse#hsm_arn #HsmArn} => String
404
- # * {Types::DescribeHsmResponse#status #Status} => String
405
- # * {Types::DescribeHsmResponse#status_details #StatusDetails} => String
406
- # * {Types::DescribeHsmResponse#availability_zone #AvailabilityZone} => String
407
- # * {Types::DescribeHsmResponse#eni_id #EniId} => String
408
- # * {Types::DescribeHsmResponse#eni_ip #EniIp} => String
409
- # * {Types::DescribeHsmResponse#subscription_type #SubscriptionType} => String
410
- # * {Types::DescribeHsmResponse#subscription_start_date #SubscriptionStartDate} => String
411
- # * {Types::DescribeHsmResponse#subscription_end_date #SubscriptionEndDate} => String
412
- # * {Types::DescribeHsmResponse#vpc_id #VpcId} => String
413
- # * {Types::DescribeHsmResponse#subnet_id #SubnetId} => String
414
- # * {Types::DescribeHsmResponse#iam_role_arn #IamRoleArn} => String
415
- # * {Types::DescribeHsmResponse#serial_number #SerialNumber} => String
416
- # * {Types::DescribeHsmResponse#vendor_name #VendorName} => String
417
- # * {Types::DescribeHsmResponse#hsm_type #HsmType} => String
418
- # * {Types::DescribeHsmResponse#software_version #SoftwareVersion} => String
419
- # * {Types::DescribeHsmResponse#ssh_public_key #SshPublicKey} => String
420
- # * {Types::DescribeHsmResponse#ssh_key_last_updated #SshKeyLastUpdated} => String
421
- # * {Types::DescribeHsmResponse#server_cert_uri #ServerCertUri} => String
422
- # * {Types::DescribeHsmResponse#server_cert_last_updated #ServerCertLastUpdated} => String
423
- # * {Types::DescribeHsmResponse#partitions #Partitions} => Array&lt;String&gt;
424
- #
425
- # @example Request syntax with placeholder values
426
- # resp = client.describe_hsm({
427
- # hsm_arn: "HsmArn",
428
- # hsm_serial_number: "HsmSerialNumber",
429
- # })
430
- #
431
- # @example Response structure
432
- # resp.hsm_arn #=> String
433
- # resp.status #=> String, one of "PENDING", "RUNNING", "UPDATING", "SUSPENDED", "TERMINATING", "TERMINATED", "DEGRADED"
434
- # resp.status_details #=> String
435
- # resp.availability_zone #=> String
436
- # resp.eni_id #=> String
437
- # resp.eni_ip #=> String
438
- # resp.subscription_type #=> String, one of "PRODUCTION"
439
- # resp.subscription_start_date #=> String
440
- # resp.subscription_end_date #=> String
441
- # resp.vpc_id #=> String
442
- # resp.subnet_id #=> String
443
- # resp.iam_role_arn #=> String
444
- # resp.serial_number #=> String
445
- # resp.vendor_name #=> String
446
- # resp.hsm_type #=> String
447
- # resp.software_version #=> String
448
- # resp.ssh_public_key #=> String
449
- # resp.ssh_key_last_updated #=> String
450
- # resp.server_cert_uri #=> String
451
- # resp.server_cert_last_updated #=> String
452
- # resp.partitions #=> Array
453
- # resp.partitions[0] #=> String
454
- # @overload describe_hsm(params = {})
455
- # @param [Hash] params ({})
456
- def describe_hsm(params = {}, options = {})
457
- req = build_request(:describe_hsm, params)
458
- req.send_request(options)
459
- end
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&lt;String&gt;
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
- # Retrieves information about an HSM client.
462
- # @option params [String] :client_arn
463
- # The ARN of the client.
464
- # @option params [String] :certificate_fingerprint
465
- # The certificate fingerprint.
466
- # @return [Types::DescribeLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
467
- #
468
- # * {Types::DescribeLunaClientResponse#client_arn #ClientArn} => String
469
- # * {Types::DescribeLunaClientResponse#certificate #Certificate} => String
470
- # * {Types::DescribeLunaClientResponse#certificate_fingerprint #CertificateFingerprint} => String
471
- # * {Types::DescribeLunaClientResponse#last_modified_timestamp #LastModifiedTimestamp} => String
472
- # * {Types::DescribeLunaClientResponse#label #Label} => String
473
- #
474
- # @example Request syntax with placeholder values
475
- # resp = client.describe_luna_client({
476
- # client_arn: "ClientArn",
477
- # certificate_fingerprint: "CertificateFingerprint",
478
- # })
479
- #
480
- # @example Response structure
481
- # resp.client_arn #=> String
482
- # resp.certificate #=> String
483
- # resp.certificate_fingerprint #=> String
484
- # resp.last_modified_timestamp #=> String
485
- # resp.label #=> String
486
- # @overload describe_luna_client(params = {})
487
- # @param [Hash] params ({})
488
- def describe_luna_client(params = {}, options = {})
489
- req = build_request(:describe_luna_client, params)
490
- req.send_request(options)
491
- end
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
- # Gets the configuration files necessary to connect to all high
494
- # availability partition groups the client is associated with.
495
- # @option params [required, String] :client_arn
496
- # The ARN of the client.
497
- # @option params [required, String] :client_version
498
- # The client version.
499
- # @option params [required, Array<String>] :hapg_list
500
- # A list of ARNs that identify the high-availability partition groups
501
- # that are associated with the client.
502
- # @return [Types::GetConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
503
- #
504
- # * {Types::GetConfigResponse#config_type #ConfigType} => String
505
- # * {Types::GetConfigResponse#config_file #ConfigFile} => String
506
- # * {Types::GetConfigResponse#config_cred #ConfigCred} => String
507
- #
508
- # @example Request syntax with placeholder values
509
- # resp = client.get_config({
510
- # client_arn: "ClientArn", # required
511
- # client_version: "5.1", # required, accepts 5.1, 5.3
512
- # hapg_list: ["HapgArn"], # required
513
- # })
514
- #
515
- # @example Response structure
516
- # resp.config_type #=> String
517
- # resp.config_file #=> String
518
- # resp.config_cred #=> String
519
- # @overload get_config(params = {})
520
- # @param [Hash] params ({})
521
- def get_config(params = {}, options = {})
522
- req = build_request(:get_config, params)
523
- req.send_request(options)
524
- end
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
- # Lists the Availability Zones that have available AWS CloudHSM
527
- # capacity.
528
- # @return [Types::ListAvailableZonesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
529
- #
530
- # * {Types::ListAvailableZonesResponse#az_list #AZList} => Array&lt;String&gt;
531
- #
532
- # @example Request syntax with placeholder values
533
- # resp = client.list_available_zones()
534
- #
535
- # @example Response structure
536
- # resp.az_list #=> Array
537
- # resp.az_list[0] #=> String
538
- # @overload list_available_zones(params = {})
539
- # @param [Hash] params ({})
540
- def list_available_zones(params = {}, options = {})
541
- req = build_request(:list_available_zones, params)
542
- req.send_request(options)
543
- end
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&lt;String&gt;
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
- # Lists the high-availability partition groups for the account.
546
- #
547
- # This operation supports pagination with the use of the *NextToken*
548
- # member. If more results are available, the *NextToken* member of the
549
- # response contains a token that you pass in the next call to ListHapgs
550
- # to retrieve the next set of items.
551
- # @option params [String] :next_token
552
- # The *NextToken* value from a previous call to ListHapgs. Pass null if
553
- # this is the first call.
554
- # @return [Types::ListHapgsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
555
- #
556
- # * {Types::ListHapgsResponse#hapg_list #HapgList} => Array&lt;String&gt;
557
- # * {Types::ListHapgsResponse#next_token #NextToken} => String
558
- #
559
- # @example Request syntax with placeholder values
560
- # resp = client.list_hapgs({
561
- # next_token: "PaginationToken",
562
- # })
563
- #
564
- # @example Response structure
565
- # resp.hapg_list #=> Array
566
- # resp.hapg_list[0] #=> String
567
- # resp.next_token #=> String
568
- # @overload list_hapgs(params = {})
569
- # @param [Hash] params ({})
570
- def list_hapgs(params = {}, options = {})
571
- req = build_request(:list_hapgs, params)
572
- req.send_request(options)
573
- end
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&lt;String&gt;
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
- # Retrieves the identifiers of all of the HSMs provisioned for the
576
- # current customer.
577
- #
578
- # This operation supports pagination with the use of the *NextToken*
579
- # member. If more results are available, the *NextToken* member of the
580
- # response contains a token that you pass in the next call to ListHsms
581
- # to retrieve the next set of items.
582
- # @option params [String] :next_token
583
- # The *NextToken* value from a previous call to ListHsms. Pass null if
584
- # this is the first call.
585
- # @return [Types::ListHsmsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
586
- #
587
- # * {Types::ListHsmsResponse#hsm_list #HsmList} => Array&lt;String&gt;
588
- # * {Types::ListHsmsResponse#next_token #NextToken} => String
589
- #
590
- # @example Request syntax with placeholder values
591
- # resp = client.list_hsms({
592
- # next_token: "PaginationToken",
593
- # })
594
- #
595
- # @example Response structure
596
- # resp.hsm_list #=> Array
597
- # resp.hsm_list[0] #=> String
598
- # resp.next_token #=> String
599
- # @overload list_hsms(params = {})
600
- # @param [Hash] params ({})
601
- def list_hsms(params = {}, options = {})
602
- req = build_request(:list_hsms, params)
603
- req.send_request(options)
604
- end
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&lt;String&gt;
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
- # Lists all of the clients.
607
- #
608
- # This operation supports pagination with the use of the *NextToken*
609
- # member. If more results are available, the *NextToken* member of the
610
- # response contains a token that you pass in the next call to
611
- # ListLunaClients to retrieve the next set of items.
612
- # @option params [String] :next_token
613
- # The *NextToken* value from a previous call to ListLunaClients. Pass
614
- # null if this is the first call.
615
- # @return [Types::ListLunaClientsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
616
- #
617
- # * {Types::ListLunaClientsResponse#client_list #ClientList} => Array&lt;String&gt;
618
- # * {Types::ListLunaClientsResponse#next_token #NextToken} => String
619
- #
620
- # @example Request syntax with placeholder values
621
- # resp = client.list_luna_clients({
622
- # next_token: "PaginationToken",
623
- # })
624
- #
625
- # @example Response structure
626
- # resp.client_list #=> Array
627
- # resp.client_list[0] #=> String
628
- # resp.next_token #=> String
629
- # @overload list_luna_clients(params = {})
630
- # @param [Hash] params ({})
631
- def list_luna_clients(params = {}, options = {})
632
- req = build_request(:list_luna_clients, params)
633
- req.send_request(options)
634
- end
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&lt;String&gt;
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
- # Returns a list of all tags for the specified AWS CloudHSM resource.
637
- # @option params [required, String] :resource_arn
638
- # The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
639
- # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
640
- #
641
- # * {Types::ListTagsForResourceResponse#tag_list #TagList} => Array&lt;Types::Tag&gt;
642
- #
643
- # @example Request syntax with placeholder values
644
- # resp = client.list_tags_for_resource({
645
- # resource_arn: "String", # required
646
- # })
647
- #
648
- # @example Response structure
649
- # resp.tag_list #=> Array
650
- # resp.tag_list[0].key #=> String
651
- # resp.tag_list[0].value #=> String
652
- # @overload list_tags_for_resource(params = {})
653
- # @param [Hash] params ({})
654
- def list_tags_for_resource(params = {}, options = {})
655
- req = build_request(:list_tags_for_resource, params)
656
- req.send_request(options)
657
- end
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&lt;Types::Tag&gt;
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
- # Modifies an existing high-availability partition group.
660
- # @option params [required, String] :hapg_arn
661
- # The ARN of the high-availability partition group to modify.
662
- # @option params [String] :label
663
- # The new label for the high-availability partition group.
664
- # @option params [Array<String>] :partition_serial_list
665
- # The list of partition serial numbers to make members of the
666
- # high-availability partition group.
667
- # @return [Types::ModifyHapgResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
668
- #
669
- # * {Types::ModifyHapgResponse#hapg_arn #HapgArn} => String
670
- #
671
- # @example Request syntax with placeholder values
672
- # resp = client.modify_hapg({
673
- # hapg_arn: "HapgArn", # required
674
- # label: "Label",
675
- # partition_serial_list: ["PartitionSerial"],
676
- # })
677
- #
678
- # @example Response structure
679
- # resp.hapg_arn #=> String
680
- # @overload modify_hapg(params = {})
681
- # @param [Hash] params ({})
682
- def modify_hapg(params = {}, options = {})
683
- req = build_request(:modify_hapg, params)
684
- req.send_request(options)
685
- end
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
- # Modifies an HSM.
688
- #
689
- # This operation can result in the HSM being offline for up to 15
690
- # minutes while the AWS CloudHSM service is reconfigured. If you are
691
- # modifying a production HSM, you should ensure that your AWS CloudHSM
692
- # service is configured for high availability, and consider executing
693
- # this operation during a maintenance window.
694
- # @option params [required, String] :hsm_arn
695
- # The ARN of the HSM to modify.
696
- # @option params [String] :subnet_id
697
- # The new identifier of the subnet that the HSM is in. The new subnet
698
- # must be in the same Availability Zone as the current subnet.
699
- # @option params [String] :eni_ip
700
- # The new IP address for the elastic network interface (ENI) attached to
701
- # the HSM.
702
- #
703
- # If the HSM is moved to a different subnet, and an IP address is not
704
- # specified, an IP address will be randomly chosen from the CIDR range
705
- # of the new subnet.
706
- # @option params [String] :iam_role_arn
707
- # The new IAM role ARN.
708
- # @option params [String] :external_id
709
- # The new external ID.
710
- # @option params [String] :syslog_ip
711
- # The new IP address for the syslog monitoring server. The AWS CloudHSM
712
- # service only supports one syslog monitoring server.
713
- # @return [Types::ModifyHsmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
714
- #
715
- # * {Types::ModifyHsmResponse#hsm_arn #HsmArn} => String
716
- #
717
- # @example Request syntax with placeholder values
718
- # resp = client.modify_hsm({
719
- # hsm_arn: "HsmArn", # required
720
- # subnet_id: "SubnetId",
721
- # eni_ip: "IpAddress",
722
- # iam_role_arn: "IamRoleArn",
723
- # external_id: "ExternalId",
724
- # syslog_ip: "IpAddress",
725
- # })
726
- #
727
- # @example Response structure
728
- # resp.hsm_arn #=> String
729
- # @overload modify_hsm(params = {})
730
- # @param [Hash] params ({})
731
- def modify_hsm(params = {}, options = {})
732
- req = build_request(:modify_hsm, params)
733
- req.send_request(options)
734
- end
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
- # Modifies the certificate used by the client.
737
- #
738
- # This action can potentially start a workflow to install the new
739
- # certificate on the client's HSMs.
740
- # @option params [required, String] :client_arn
741
- # The ARN of the client.
742
- # @option params [required, String] :certificate
743
- # The new certificate for the client.
744
- # @return [Types::ModifyLunaClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
745
- #
746
- # * {Types::ModifyLunaClientResponse#client_arn #ClientArn} => String
747
- #
748
- # @example Request syntax with placeholder values
749
- # resp = client.modify_luna_client({
750
- # client_arn: "ClientArn", # required
751
- # certificate: "Certificate", # required
752
- # })
753
- #
754
- # @example Response structure
755
- # resp.client_arn #=> String
756
- # @overload modify_luna_client(params = {})
757
- # @param [Hash] params ({})
758
- def modify_luna_client(params = {}, options = {})
759
- req = build_request(:modify_luna_client, params)
760
- req.send_request(options)
761
- end
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
- # Removes one or more tags from the specified AWS CloudHSM resource.
764
- #
765
- # To remove a tag, specify only the tag key to remove (not the value).
766
- # To overwrite the value for an existing tag, use AddTagsToResource.
767
- # @option params [required, String] :resource_arn
768
- # The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
769
- # @option params [required, Array<String>] :tag_key_list
770
- # The tag key or keys to remove.
771
- #
772
- # Specify only the tag key to remove (not the value). To overwrite the
773
- # value for an existing tag, use AddTagsToResource.
774
- # @return [Types::RemoveTagsFromResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
775
- #
776
- # * {Types::RemoveTagsFromResourceResponse#status #Status} => String
777
- #
778
- # @example Request syntax with placeholder values
779
- # resp = client.remove_tags_from_resource({
780
- # resource_arn: "String", # required
781
- # tag_key_list: ["TagKey"], # required
782
- # })
783
- #
784
- # @example Response structure
785
- # resp.status #=> String
786
- # @overload remove_tags_from_resource(params = {})
787
- # @param [Hash] params ({})
788
- def remove_tags_from_resource(params = {}, options = {})
789
- req = build_request(:remove_tags_from_resource, params)
790
- req.send_request(options)
791
- end
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
- # @!endgroup
989
+ class << self
794
990
 
795
- # @param params ({})
796
991
  # @api private
797
- def build_request(operation_name, params = {})
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
- # @deprecated
812
- def waiter_names
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