aws-sdk-workspacesinstances 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-workspacesinstances/client.rb +1174 -0
- data/lib/aws-sdk-workspacesinstances/client_api.rb +753 -0
- data/lib/aws-sdk-workspacesinstances/customizations.rb +0 -0
- data/lib/aws-sdk-workspacesinstances/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-workspacesinstances/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-workspacesinstances/endpoints.rb +20 -0
- data/lib/aws-sdk-workspacesinstances/errors.rb +232 -0
- data/lib/aws-sdk-workspacesinstances/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-workspacesinstances/resource.rb +26 -0
- data/lib/aws-sdk-workspacesinstances/types.rb +1655 -0
- data/lib/aws-sdk-workspacesinstances/waiters.rb +15 -0
- data/lib/aws-sdk-workspacesinstances.rb +62 -0
- data/sig/client.rbs +426 -0
- data/sig/errors.rbs +51 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +483 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::WorkspacesInstances
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:workspacesinstances)
|
15
|
+
|
16
|
+
# This module provides support for Amazon Workspaces Instances. This module is available in the
|
17
|
+
# `aws-sdk-workspacesinstances` gem.
|
18
|
+
#
|
19
|
+
# # Client
|
20
|
+
#
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
23
|
+
# structure.
|
24
|
+
#
|
25
|
+
# workspaces_instances = Aws::WorkspacesInstances::Client.new
|
26
|
+
# resp = workspaces_instances.associate_volume(params)
|
27
|
+
#
|
28
|
+
# See {Client} for more information.
|
29
|
+
#
|
30
|
+
# # Errors
|
31
|
+
#
|
32
|
+
# Errors returned from Amazon Workspaces Instances are defined in the
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
|
+
#
|
35
|
+
# begin
|
36
|
+
# # do stuff
|
37
|
+
# rescue Aws::WorkspacesInstances::Errors::ServiceError
|
38
|
+
# # rescues all Amazon Workspaces Instances API errors
|
39
|
+
# end
|
40
|
+
#
|
41
|
+
# See {Errors} for more information.
|
42
|
+
#
|
43
|
+
# @!group service
|
44
|
+
module Aws::WorkspacesInstances
|
45
|
+
autoload :Types, 'aws-sdk-workspacesinstances/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-workspacesinstances/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-workspacesinstances/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-workspacesinstances/client'
|
51
|
+
autoload :Errors, 'aws-sdk-workspacesinstances/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-workspacesinstances/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-workspacesinstances/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-workspacesinstances/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-workspacesinstances/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-workspacesinstances/endpoints'
|
57
|
+
|
58
|
+
GEM_VERSION = '1.0.0'
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-workspacesinstances/customizations'
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,426 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module WorkspacesInstances
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
43
|
+
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
45
|
+
?retry_backoff: Proc,
|
46
|
+
?retry_base_delay: Float,
|
47
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
48
|
+
?retry_limit: Integer,
|
49
|
+
?retry_max_delay: Integer,
|
50
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
51
|
+
?sdk_ua_app_id: String,
|
52
|
+
?secret_access_key: String,
|
53
|
+
?session_token: String,
|
54
|
+
?sigv4a_signing_region_set: Array[String],
|
55
|
+
?simple_json: bool,
|
56
|
+
?stub_responses: untyped,
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
58
|
+
?token_provider: untyped,
|
59
|
+
?use_dualstack_endpoint: bool,
|
60
|
+
?use_fips_endpoint: bool,
|
61
|
+
?validate_params: bool,
|
62
|
+
?endpoint_provider: untyped,
|
63
|
+
?http_proxy: String,
|
64
|
+
?http_open_timeout: (Float | Integer),
|
65
|
+
?http_read_timeout: (Float | Integer),
|
66
|
+
?http_idle_timeout: (Float | Integer),
|
67
|
+
?http_continue_timeout: (Float | Integer),
|
68
|
+
?ssl_timeout: (Float | Integer | nil),
|
69
|
+
?http_wire_trace: bool,
|
70
|
+
?ssl_verify_peer: bool,
|
71
|
+
?ssl_ca_bundle: String,
|
72
|
+
?ssl_ca_directory: String,
|
73
|
+
?ssl_ca_store: String,
|
74
|
+
?on_chunk_received: Proc,
|
75
|
+
?on_chunk_sent: Proc,
|
76
|
+
?raise_response_errors: bool
|
77
|
+
) -> instance
|
78
|
+
| (?Hash[Symbol, untyped]) -> instance
|
79
|
+
|
80
|
+
|
81
|
+
interface _AssociateVolumeResponseSuccess
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateVolumeResponse]
|
83
|
+
end
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#associate_volume-instance_method
|
85
|
+
def associate_volume: (
|
86
|
+
workspace_instance_id: ::String,
|
87
|
+
volume_id: ::String,
|
88
|
+
device: ::String
|
89
|
+
) -> _AssociateVolumeResponseSuccess
|
90
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateVolumeResponseSuccess
|
91
|
+
|
92
|
+
interface _CreateVolumeResponseSuccess
|
93
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateVolumeResponse]
|
94
|
+
def volume_id: () -> ::String
|
95
|
+
end
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#create_volume-instance_method
|
97
|
+
def create_volume: (
|
98
|
+
availability_zone: ::String,
|
99
|
+
?client_token: ::String,
|
100
|
+
?encrypted: bool,
|
101
|
+
?iops: ::Integer,
|
102
|
+
?kms_key_id: ::String,
|
103
|
+
?size_in_gb: ::Integer,
|
104
|
+
?snapshot_id: ::String,
|
105
|
+
?tag_specifications: Array[
|
106
|
+
{
|
107
|
+
resource_type: ("instance" | "volume" | "spot-instances-request" | "network-interface")?,
|
108
|
+
tags: Array[
|
109
|
+
{
|
110
|
+
key: ::String?,
|
111
|
+
value: ::String?
|
112
|
+
},
|
113
|
+
]?
|
114
|
+
},
|
115
|
+
],
|
116
|
+
?throughput: ::Integer,
|
117
|
+
?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
|
118
|
+
) -> _CreateVolumeResponseSuccess
|
119
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVolumeResponseSuccess
|
120
|
+
|
121
|
+
interface _CreateWorkspaceInstanceResponseSuccess
|
122
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceInstanceResponse]
|
123
|
+
def workspace_instance_id: () -> ::String
|
124
|
+
end
|
125
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#create_workspace_instance-instance_method
|
126
|
+
def create_workspace_instance: (
|
127
|
+
?client_token: ::String,
|
128
|
+
?tags: Array[
|
129
|
+
{
|
130
|
+
key: ::String?,
|
131
|
+
value: ::String?
|
132
|
+
},
|
133
|
+
],
|
134
|
+
managed_instance: {
|
135
|
+
block_device_mappings: Array[
|
136
|
+
{
|
137
|
+
device_name: ::String?,
|
138
|
+
ebs: {
|
139
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
|
140
|
+
encrypted: bool?,
|
141
|
+
kms_key_id: ::String?,
|
142
|
+
iops: ::Integer?,
|
143
|
+
throughput: ::Integer?,
|
144
|
+
volume_size: ::Integer?
|
145
|
+
}?,
|
146
|
+
no_device: ::String?,
|
147
|
+
virtual_name: ::String?
|
148
|
+
},
|
149
|
+
]?,
|
150
|
+
capacity_reservation_specification: {
|
151
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
152
|
+
capacity_reservation_target: {
|
153
|
+
capacity_reservation_id: ::String?,
|
154
|
+
capacity_reservation_resource_group_arn: ::String?
|
155
|
+
}?
|
156
|
+
}?,
|
157
|
+
cpu_options: {
|
158
|
+
amd_sev_snp: ("enabled" | "disabled")?,
|
159
|
+
core_count: ::Integer?,
|
160
|
+
threads_per_core: ::Integer?
|
161
|
+
}?,
|
162
|
+
credit_specification: {
|
163
|
+
cpu_credits: ("standard" | "unlimited")?
|
164
|
+
}?,
|
165
|
+
disable_api_stop: bool?,
|
166
|
+
ebs_optimized: bool?,
|
167
|
+
enable_primary_ipv_6: bool?,
|
168
|
+
enclave_options: {
|
169
|
+
enabled: bool?
|
170
|
+
}?,
|
171
|
+
hibernation_options: {
|
172
|
+
configured: bool?
|
173
|
+
}?,
|
174
|
+
iam_instance_profile: {
|
175
|
+
arn: ::String?,
|
176
|
+
name: ::String?
|
177
|
+
}?,
|
178
|
+
image_id: ::String?,
|
179
|
+
instance_market_options: {
|
180
|
+
market_type: ("spot" | "capacity-block")?,
|
181
|
+
spot_options: {
|
182
|
+
block_duration_minutes: ::Integer?,
|
183
|
+
instance_interruption_behavior: ("hibernate" | "stop")?,
|
184
|
+
max_price: ::String?,
|
185
|
+
spot_instance_type: ("one-time" | "persistent")?,
|
186
|
+
valid_until_utc: ::Time?
|
187
|
+
}?
|
188
|
+
}?,
|
189
|
+
instance_type: ::String?,
|
190
|
+
ipv_6_addresses: Array[
|
191
|
+
{
|
192
|
+
ipv_6_address: ::String?,
|
193
|
+
is_primary_ipv_6: bool?
|
194
|
+
},
|
195
|
+
]?,
|
196
|
+
ipv_6_address_count: ::Integer?,
|
197
|
+
kernel_id: ::String?,
|
198
|
+
key_name: ::String?,
|
199
|
+
license_specifications: Array[
|
200
|
+
{
|
201
|
+
license_configuration_arn: ::String?
|
202
|
+
},
|
203
|
+
]?,
|
204
|
+
maintenance_options: {
|
205
|
+
auto_recovery: ("disabled" | "default")?
|
206
|
+
}?,
|
207
|
+
metadata_options: {
|
208
|
+
http_endpoint: ("enabled" | "disabled")?,
|
209
|
+
http_protocol_ipv_6: ("enabled" | "disabled")?,
|
210
|
+
http_put_response_hop_limit: ::Integer?,
|
211
|
+
http_tokens: ("optional" | "required")?,
|
212
|
+
instance_metadata_tags: ("enabled" | "disabled")?
|
213
|
+
}?,
|
214
|
+
monitoring: {
|
215
|
+
enabled: bool?
|
216
|
+
}?,
|
217
|
+
network_interfaces: Array[
|
218
|
+
{
|
219
|
+
associate_carrier_ip_address: bool?,
|
220
|
+
associate_public_ip_address: bool?,
|
221
|
+
connection_tracking_specification: {
|
222
|
+
tcp_established_timeout: ::Integer?,
|
223
|
+
udp_stream_timeout: ::Integer?,
|
224
|
+
udp_timeout: ::Integer?
|
225
|
+
}?,
|
226
|
+
description: ::String?,
|
227
|
+
device_index: ::Integer?,
|
228
|
+
ena_srd_specification: {
|
229
|
+
ena_srd_enabled: bool?,
|
230
|
+
ena_srd_udp_specification: {
|
231
|
+
ena_srd_udp_enabled: bool?
|
232
|
+
}?
|
233
|
+
}?,
|
234
|
+
interface_type: ("interface" | "efa" | "efa-only")?,
|
235
|
+
ipv_4_prefixes: Array[
|
236
|
+
{
|
237
|
+
ipv_4_prefix: ::String?
|
238
|
+
},
|
239
|
+
]?,
|
240
|
+
ipv_4_prefix_count: ::Integer?,
|
241
|
+
ipv_6_address_count: ::Integer?,
|
242
|
+
ipv_6_addresses: Array[
|
243
|
+
{
|
244
|
+
ipv_6_address: ::String?,
|
245
|
+
is_primary_ipv_6: bool?
|
246
|
+
},
|
247
|
+
]?,
|
248
|
+
ipv_6_prefixes: Array[
|
249
|
+
{
|
250
|
+
ipv_6_prefix: ::String?
|
251
|
+
},
|
252
|
+
]?,
|
253
|
+
ipv_6_prefix_count: ::Integer?,
|
254
|
+
network_card_index: ::Integer?,
|
255
|
+
network_interface_id: ::String?,
|
256
|
+
primary_ipv_6: bool?,
|
257
|
+
private_ip_address: ::String?,
|
258
|
+
private_ip_addresses: Array[
|
259
|
+
{
|
260
|
+
primary: bool?,
|
261
|
+
private_ip_address: ::String?
|
262
|
+
},
|
263
|
+
]?,
|
264
|
+
secondary_private_ip_address_count: ::Integer?,
|
265
|
+
groups: Array[::String]?,
|
266
|
+
subnet_id: ::String?
|
267
|
+
},
|
268
|
+
]?,
|
269
|
+
network_performance_options: {
|
270
|
+
bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")?
|
271
|
+
}?,
|
272
|
+
placement: {
|
273
|
+
affinity: ::String?,
|
274
|
+
availability_zone: ::String?,
|
275
|
+
group_id: ::String?,
|
276
|
+
group_name: ::String?,
|
277
|
+
host_id: ::String?,
|
278
|
+
host_resource_group_arn: ::String?,
|
279
|
+
partition_number: ::Integer?,
|
280
|
+
tenancy: ("default" | "dedicated" | "host")?
|
281
|
+
}?,
|
282
|
+
private_dns_name_options: {
|
283
|
+
hostname_type: ("ip-name" | "resource-name")?,
|
284
|
+
enable_resource_name_dns_a_record: bool?,
|
285
|
+
enable_resource_name_dns_aaaa_record: bool?
|
286
|
+
}?,
|
287
|
+
private_ip_address: ::String?,
|
288
|
+
ramdisk_id: ::String?,
|
289
|
+
security_group_ids: Array[::String]?,
|
290
|
+
security_groups: Array[::String]?,
|
291
|
+
subnet_id: ::String?,
|
292
|
+
tag_specifications: Array[
|
293
|
+
{
|
294
|
+
resource_type: ("instance" | "volume" | "spot-instances-request" | "network-interface")?,
|
295
|
+
tags: Array[
|
296
|
+
{
|
297
|
+
key: ::String?,
|
298
|
+
value: ::String?
|
299
|
+
},
|
300
|
+
]?
|
301
|
+
},
|
302
|
+
]?,
|
303
|
+
user_data: ::String?
|
304
|
+
}
|
305
|
+
) -> _CreateWorkspaceInstanceResponseSuccess
|
306
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceInstanceResponseSuccess
|
307
|
+
|
308
|
+
interface _DeleteVolumeResponseSuccess
|
309
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVolumeResponse]
|
310
|
+
end
|
311
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#delete_volume-instance_method
|
312
|
+
def delete_volume: (
|
313
|
+
volume_id: ::String
|
314
|
+
) -> _DeleteVolumeResponseSuccess
|
315
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVolumeResponseSuccess
|
316
|
+
|
317
|
+
interface _DeleteWorkspaceInstanceResponseSuccess
|
318
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkspaceInstanceResponse]
|
319
|
+
end
|
320
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#delete_workspace_instance-instance_method
|
321
|
+
def delete_workspace_instance: (
|
322
|
+
workspace_instance_id: ::String
|
323
|
+
) -> _DeleteWorkspaceInstanceResponseSuccess
|
324
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkspaceInstanceResponseSuccess
|
325
|
+
|
326
|
+
interface _DisassociateVolumeResponseSuccess
|
327
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateVolumeResponse]
|
328
|
+
end
|
329
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#disassociate_volume-instance_method
|
330
|
+
def disassociate_volume: (
|
331
|
+
workspace_instance_id: ::String,
|
332
|
+
volume_id: ::String,
|
333
|
+
?device: ::String,
|
334
|
+
?disassociate_mode: ("FORCE" | "NO_FORCE")
|
335
|
+
) -> _DisassociateVolumeResponseSuccess
|
336
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateVolumeResponseSuccess
|
337
|
+
|
338
|
+
interface _GetWorkspaceInstanceResponseSuccess
|
339
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkspaceInstanceResponse]
|
340
|
+
def workspace_instance_errors: () -> ::Array[Types::WorkspaceInstanceError]
|
341
|
+
def ec2_instance_errors: () -> ::Array[Types::EC2InstanceError]
|
342
|
+
def provision_state: () -> ("ALLOCATING" | "ALLOCATED" | "DEALLOCATING" | "DEALLOCATED" | "ERROR_ALLOCATING" | "ERROR_DEALLOCATING")
|
343
|
+
def workspace_instance_id: () -> ::String
|
344
|
+
def ec2_managed_instance: () -> Types::EC2ManagedInstance
|
345
|
+
end
|
346
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#get_workspace_instance-instance_method
|
347
|
+
def get_workspace_instance: (
|
348
|
+
workspace_instance_id: ::String
|
349
|
+
) -> _GetWorkspaceInstanceResponseSuccess
|
350
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkspaceInstanceResponseSuccess
|
351
|
+
|
352
|
+
interface _ListInstanceTypesResponseSuccess
|
353
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInstanceTypesResponse]
|
354
|
+
def instance_types: () -> ::Array[Types::InstanceTypeInfo]
|
355
|
+
def next_token: () -> ::String
|
356
|
+
end
|
357
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#list_instance_types-instance_method
|
358
|
+
def list_instance_types: (
|
359
|
+
?max_results: ::Integer,
|
360
|
+
?next_token: ::String
|
361
|
+
) -> _ListInstanceTypesResponseSuccess
|
362
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstanceTypesResponseSuccess
|
363
|
+
|
364
|
+
interface _ListRegionsResponseSuccess
|
365
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRegionsResponse]
|
366
|
+
def regions: () -> ::Array[Types::Region]
|
367
|
+
def next_token: () -> ::String
|
368
|
+
end
|
369
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#list_regions-instance_method
|
370
|
+
def list_regions: (
|
371
|
+
?max_results: ::Integer,
|
372
|
+
?next_token: ::String
|
373
|
+
) -> _ListRegionsResponseSuccess
|
374
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegionsResponseSuccess
|
375
|
+
|
376
|
+
interface _ListTagsForResourceResponseSuccess
|
377
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
378
|
+
def tags: () -> ::Array[Types::Tag]
|
379
|
+
end
|
380
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#list_tags_for_resource-instance_method
|
381
|
+
def list_tags_for_resource: (
|
382
|
+
workspace_instance_id: ::String
|
383
|
+
) -> _ListTagsForResourceResponseSuccess
|
384
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
385
|
+
|
386
|
+
interface _ListWorkspaceInstancesResponseSuccess
|
387
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspaceInstancesResponse]
|
388
|
+
def workspace_instances: () -> ::Array[Types::WorkspaceInstance]
|
389
|
+
def next_token: () -> ::String
|
390
|
+
end
|
391
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#list_workspace_instances-instance_method
|
392
|
+
def list_workspace_instances: (
|
393
|
+
?provision_states: Array[("ALLOCATING" | "ALLOCATED" | "DEALLOCATING" | "DEALLOCATED" | "ERROR_ALLOCATING" | "ERROR_DEALLOCATING")],
|
394
|
+
?max_results: ::Integer,
|
395
|
+
?next_token: ::String
|
396
|
+
) -> _ListWorkspaceInstancesResponseSuccess
|
397
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspaceInstancesResponseSuccess
|
398
|
+
|
399
|
+
interface _TagResourceResponseSuccess
|
400
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
401
|
+
end
|
402
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#tag_resource-instance_method
|
403
|
+
def tag_resource: (
|
404
|
+
workspace_instance_id: ::String,
|
405
|
+
tags: Array[
|
406
|
+
{
|
407
|
+
key: ::String?,
|
408
|
+
value: ::String?
|
409
|
+
},
|
410
|
+
]
|
411
|
+
) -> _TagResourceResponseSuccess
|
412
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
413
|
+
|
414
|
+
interface _UntagResourceResponseSuccess
|
415
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
416
|
+
end
|
417
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#untag_resource-instance_method
|
418
|
+
def untag_resource: (
|
419
|
+
workspace_instance_id: ::String,
|
420
|
+
tag_keys: Array[::String]
|
421
|
+
) -> _UntagResourceResponseSuccess
|
422
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
423
|
+
end
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module WorkspacesInstances
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def resource_id: () -> ::String
|
20
|
+
def resource_type: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def retry_after_seconds: () -> ::String
|
25
|
+
end
|
26
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
def resource_id: () -> ::String
|
29
|
+
def resource_type: () -> ::String
|
30
|
+
end
|
31
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def resource_id: () -> ::String
|
34
|
+
def resource_type: () -> ::String
|
35
|
+
def service_code: () -> ::String
|
36
|
+
def quota_code: () -> ::String
|
37
|
+
end
|
38
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
def service_code: () -> ::String
|
41
|
+
def quota_code: () -> ::String
|
42
|
+
def retry_after_seconds: () -> ::String
|
43
|
+
end
|
44
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
+
def message: () -> ::String
|
46
|
+
def reason: () -> ::String
|
47
|
+
def field_list: () -> ::String
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module WorkspacesInstances
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
43
|
+
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
45
|
+
?retry_backoff: Proc,
|
46
|
+
?retry_base_delay: Float,
|
47
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
48
|
+
?retry_limit: Integer,
|
49
|
+
?retry_max_delay: Integer,
|
50
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
51
|
+
?sdk_ua_app_id: String,
|
52
|
+
?secret_access_key: String,
|
53
|
+
?session_token: String,
|
54
|
+
?sigv4a_signing_region_set: Array[String],
|
55
|
+
?simple_json: bool,
|
56
|
+
?stub_responses: untyped,
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
58
|
+
?token_provider: untyped,
|
59
|
+
?use_dualstack_endpoint: bool,
|
60
|
+
?use_fips_endpoint: bool,
|
61
|
+
?validate_params: bool,
|
62
|
+
?endpoint_provider: untyped,
|
63
|
+
?http_proxy: String,
|
64
|
+
?http_open_timeout: (Float | Integer),
|
65
|
+
?http_read_timeout: (Float | Integer),
|
66
|
+
?http_idle_timeout: (Float | Integer),
|
67
|
+
?http_continue_timeout: (Float | Integer),
|
68
|
+
?ssl_timeout: (Float | Integer | nil),
|
69
|
+
?http_wire_trace: bool,
|
70
|
+
?ssl_verify_peer: bool,
|
71
|
+
?ssl_ca_bundle: String,
|
72
|
+
?ssl_ca_directory: String,
|
73
|
+
?ssl_ca_store: String,
|
74
|
+
?on_chunk_received: Proc,
|
75
|
+
?on_chunk_sent: Proc,
|
76
|
+
?raise_response_errors: bool
|
77
|
+
) -> void
|
78
|
+
| (?Hash[Symbol, untyped]) -> void
|
79
|
+
|
80
|
+
def client: () -> Client
|
81
|
+
|
82
|
+
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|