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.
@@ -0,0 +1,753 @@
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
+ module Aws::WorkspacesInstances
12
+ # @api private
13
+ module ClientApi
14
+
15
+ include Seahorse::Model
16
+
17
+ ARN = Shapes::StringShape.new(name: 'ARN')
18
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
19
+ AmdSevSnpEnum = Shapes::StringShape.new(name: 'AmdSevSnpEnum')
20
+ AssociateVolumeRequest = Shapes::StructureShape.new(name: 'AssociateVolumeRequest')
21
+ AssociateVolumeResponse = Shapes::StructureShape.new(name: 'AssociateVolumeResponse')
22
+ AutoRecoveryEnum = Shapes::StringShape.new(name: 'AutoRecoveryEnum')
23
+ AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
24
+ BandwidthWeightingEnum = Shapes::StringShape.new(name: 'BandwidthWeightingEnum')
25
+ BlockDeviceMappingRequest = Shapes::StructureShape.new(name: 'BlockDeviceMappingRequest')
26
+ BlockDeviceMappings = Shapes::ListShape.new(name: 'BlockDeviceMappings')
27
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
28
+ CapacityReservationPreferenceEnum = Shapes::StringShape.new(name: 'CapacityReservationPreferenceEnum')
29
+ CapacityReservationSpecification = Shapes::StructureShape.new(name: 'CapacityReservationSpecification')
30
+ CapacityReservationTarget = Shapes::StructureShape.new(name: 'CapacityReservationTarget')
31
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
32
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
33
+ ConnectionTrackingSpecificationRequest = Shapes::StructureShape.new(name: 'ConnectionTrackingSpecificationRequest')
34
+ CpuCreditsEnum = Shapes::StringShape.new(name: 'CpuCreditsEnum')
35
+ CpuOptionsRequest = Shapes::StructureShape.new(name: 'CpuOptionsRequest')
36
+ CreateVolumeRequest = Shapes::StructureShape.new(name: 'CreateVolumeRequest')
37
+ CreateVolumeResponse = Shapes::StructureShape.new(name: 'CreateVolumeResponse')
38
+ CreateWorkspaceInstanceRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceInstanceRequest')
39
+ CreateWorkspaceInstanceResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceInstanceResponse')
40
+ CreditSpecificationRequest = Shapes::StructureShape.new(name: 'CreditSpecificationRequest')
41
+ DeleteVolumeRequest = Shapes::StructureShape.new(name: 'DeleteVolumeRequest')
42
+ DeleteVolumeResponse = Shapes::StructureShape.new(name: 'DeleteVolumeResponse')
43
+ DeleteWorkspaceInstanceRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceInstanceRequest')
44
+ DeleteWorkspaceInstanceResponse = Shapes::StructureShape.new(name: 'DeleteWorkspaceInstanceResponse')
45
+ Description = Shapes::StringShape.new(name: 'Description')
46
+ DeviceName = Shapes::StringShape.new(name: 'DeviceName')
47
+ DisassociateModeEnum = Shapes::StringShape.new(name: 'DisassociateModeEnum')
48
+ DisassociateVolumeRequest = Shapes::StructureShape.new(name: 'DisassociateVolumeRequest')
49
+ DisassociateVolumeResponse = Shapes::StructureShape.new(name: 'DisassociateVolumeResponse')
50
+ EC2InstanceError = Shapes::StructureShape.new(name: 'EC2InstanceError')
51
+ EC2InstanceErrors = Shapes::ListShape.new(name: 'EC2InstanceErrors')
52
+ EC2ManagedInstance = Shapes::StructureShape.new(name: 'EC2ManagedInstance')
53
+ EbsBlockDevice = Shapes::StructureShape.new(name: 'EbsBlockDevice')
54
+ EnaSrdSpecificationRequest = Shapes::StructureShape.new(name: 'EnaSrdSpecificationRequest')
55
+ EnaSrdUdpSpecificationRequest = Shapes::StructureShape.new(name: 'EnaSrdUdpSpecificationRequest')
56
+ EnclaveOptionsRequest = Shapes::StructureShape.new(name: 'EnclaveOptionsRequest')
57
+ GetWorkspaceInstanceRequest = Shapes::StructureShape.new(name: 'GetWorkspaceInstanceRequest')
58
+ GetWorkspaceInstanceResponse = Shapes::StructureShape.new(name: 'GetWorkspaceInstanceResponse')
59
+ HibernationOptionsRequest = Shapes::StructureShape.new(name: 'HibernationOptionsRequest')
60
+ HostId = Shapes::StringShape.new(name: 'HostId')
61
+ HostnameTypeEnum = Shapes::StringShape.new(name: 'HostnameTypeEnum')
62
+ HttpEndpointEnum = Shapes::StringShape.new(name: 'HttpEndpointEnum')
63
+ HttpProtocolIpv6Enum = Shapes::StringShape.new(name: 'HttpProtocolIpv6Enum')
64
+ HttpPutResponseHopLimit = Shapes::IntegerShape.new(name: 'HttpPutResponseHopLimit')
65
+ HttpTokensEnum = Shapes::StringShape.new(name: 'HttpTokensEnum')
66
+ IamInstanceProfileSpecification = Shapes::StructureShape.new(name: 'IamInstanceProfileSpecification')
67
+ ImageId = Shapes::StringShape.new(name: 'ImageId')
68
+ InstanceInterruptionBehaviorEnum = Shapes::StringShape.new(name: 'InstanceInterruptionBehaviorEnum')
69
+ InstanceIpv6Address = Shapes::StructureShape.new(name: 'InstanceIpv6Address')
70
+ InstanceMaintenanceOptionsRequest = Shapes::StructureShape.new(name: 'InstanceMaintenanceOptionsRequest')
71
+ InstanceMarketOptionsRequest = Shapes::StructureShape.new(name: 'InstanceMarketOptionsRequest')
72
+ InstanceMetadataOptionsRequest = Shapes::StructureShape.new(name: 'InstanceMetadataOptionsRequest')
73
+ InstanceMetadataTagsEnum = Shapes::StringShape.new(name: 'InstanceMetadataTagsEnum')
74
+ InstanceNetworkInterfaceSpecification = Shapes::StructureShape.new(name: 'InstanceNetworkInterfaceSpecification')
75
+ InstanceNetworkPerformanceOptionsRequest = Shapes::StructureShape.new(name: 'InstanceNetworkPerformanceOptionsRequest')
76
+ InstanceType = Shapes::StringShape.new(name: 'InstanceType')
77
+ InstanceTypeInfo = Shapes::StructureShape.new(name: 'InstanceTypeInfo')
78
+ InstanceTypes = Shapes::ListShape.new(name: 'InstanceTypes')
79
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
80
+ InterfaceTypeEnum = Shapes::StringShape.new(name: 'InterfaceTypeEnum')
81
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
82
+ Ipv4Address = Shapes::StringShape.new(name: 'Ipv4Address')
83
+ Ipv4Prefix = Shapes::StringShape.new(name: 'Ipv4Prefix')
84
+ Ipv4PrefixSpecificationRequest = Shapes::StructureShape.new(name: 'Ipv4PrefixSpecificationRequest')
85
+ Ipv4Prefixes = Shapes::ListShape.new(name: 'Ipv4Prefixes')
86
+ Ipv6Address = Shapes::StringShape.new(name: 'Ipv6Address')
87
+ Ipv6Addresses = Shapes::ListShape.new(name: 'Ipv6Addresses')
88
+ Ipv6Prefix = Shapes::StringShape.new(name: 'Ipv6Prefix')
89
+ Ipv6PrefixSpecificationRequest = Shapes::StructureShape.new(name: 'Ipv6PrefixSpecificationRequest')
90
+ Ipv6Prefixes = Shapes::ListShape.new(name: 'Ipv6Prefixes')
91
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
92
+ LicenseConfigurationRequest = Shapes::StructureShape.new(name: 'LicenseConfigurationRequest')
93
+ LicenseSpecifications = Shapes::ListShape.new(name: 'LicenseSpecifications')
94
+ ListInstanceTypesRequest = Shapes::StructureShape.new(name: 'ListInstanceTypesRequest')
95
+ ListInstanceTypesResponse = Shapes::StructureShape.new(name: 'ListInstanceTypesResponse')
96
+ ListRegionsRequest = Shapes::StructureShape.new(name: 'ListRegionsRequest')
97
+ ListRegionsResponse = Shapes::StructureShape.new(name: 'ListRegionsResponse')
98
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
99
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
100
+ ListWorkspaceInstancesRequest = Shapes::StructureShape.new(name: 'ListWorkspaceInstancesRequest')
101
+ ListWorkspaceInstancesResponse = Shapes::StructureShape.new(name: 'ListWorkspaceInstancesResponse')
102
+ ManagedInstanceRequest = Shapes::StructureShape.new(name: 'ManagedInstanceRequest')
103
+ MarketTypeEnum = Shapes::StringShape.new(name: 'MarketTypeEnum')
104
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
105
+ NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
106
+ NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
107
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
108
+ NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
109
+ Placement = Shapes::StructureShape.new(name: 'Placement')
110
+ PlacementGroupId = Shapes::StringShape.new(name: 'PlacementGroupId')
111
+ PrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'PrivateDnsNameOptionsRequest')
112
+ PrivateIpAddressSpecification = Shapes::StructureShape.new(name: 'PrivateIpAddressSpecification')
113
+ PrivateIpAddresses = Shapes::ListShape.new(name: 'PrivateIpAddresses')
114
+ ProvisionStateEnum = Shapes::StringShape.new(name: 'ProvisionStateEnum')
115
+ ProvisionStates = Shapes::ListShape.new(name: 'ProvisionStates')
116
+ Region = Shapes::StructureShape.new(name: 'Region')
117
+ RegionList = Shapes::ListShape.new(name: 'RegionList')
118
+ RegionName = Shapes::StringShape.new(name: 'RegionName')
119
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
120
+ ResourceTypeEnum = Shapes::StringShape.new(name: 'ResourceTypeEnum')
121
+ RunInstancesMonitoringEnabled = Shapes::StructureShape.new(name: 'RunInstancesMonitoringEnabled')
122
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
123
+ SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
124
+ SecurityGroupName = Shapes::StringShape.new(name: 'SecurityGroupName')
125
+ SecurityGroupNames = Shapes::ListShape.new(name: 'SecurityGroupNames')
126
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
127
+ SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
128
+ SpotInstanceTypeEnum = Shapes::StringShape.new(name: 'SpotInstanceTypeEnum')
129
+ SpotMarketOptions = Shapes::StructureShape.new(name: 'SpotMarketOptions')
130
+ String = Shapes::StringShape.new(name: 'String')
131
+ String128 = Shapes::StringShape.new(name: 'String128')
132
+ String64 = Shapes::StringShape.new(name: 'String64')
133
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
134
+ Tag = Shapes::StructureShape.new(name: 'Tag')
135
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
136
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
137
+ TagList = Shapes::ListShape.new(name: 'TagList')
138
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
139
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
140
+ TagSpecification = Shapes::StructureShape.new(name: 'TagSpecification')
141
+ TagSpecifications = Shapes::ListShape.new(name: 'TagSpecifications')
142
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
143
+ TenancyEnum = Shapes::StringShape.new(name: 'TenancyEnum')
144
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
145
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
146
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
147
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
148
+ UserData = Shapes::StringShape.new(name: 'UserData')
149
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
150
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
151
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
152
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
153
+ VirtualName = Shapes::StringShape.new(name: 'VirtualName')
154
+ VolumeId = Shapes::StringShape.new(name: 'VolumeId')
155
+ VolumeTypeEnum = Shapes::StringShape.new(name: 'VolumeTypeEnum')
156
+ WorkspaceInstance = Shapes::StructureShape.new(name: 'WorkspaceInstance')
157
+ WorkspaceInstanceError = Shapes::StructureShape.new(name: 'WorkspaceInstanceError')
158
+ WorkspaceInstanceErrors = Shapes::ListShape.new(name: 'WorkspaceInstanceErrors')
159
+ WorkspaceInstanceId = Shapes::StringShape.new(name: 'WorkspaceInstanceId')
160
+ WorkspaceInstances = Shapes::ListShape.new(name: 'WorkspaceInstances')
161
+
162
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
163
+ AccessDeniedException.struct_class = Types::AccessDeniedException
164
+
165
+ AssociateVolumeRequest.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, required: true, location_name: "WorkspaceInstanceId"))
166
+ AssociateVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
167
+ AssociateVolumeRequest.add_member(:device, Shapes::ShapeRef.new(shape: DeviceName, required: true, location_name: "Device"))
168
+ AssociateVolumeRequest.struct_class = Types::AssociateVolumeRequest
169
+
170
+ AssociateVolumeResponse.struct_class = Types::AssociateVolumeResponse
171
+
172
+ BlockDeviceMappingRequest.add_member(:device_name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "DeviceName"))
173
+ BlockDeviceMappingRequest.add_member(:ebs, Shapes::ShapeRef.new(shape: EbsBlockDevice, location_name: "Ebs"))
174
+ BlockDeviceMappingRequest.add_member(:no_device, Shapes::ShapeRef.new(shape: DeviceName, location_name: "NoDevice"))
175
+ BlockDeviceMappingRequest.add_member(:virtual_name, Shapes::ShapeRef.new(shape: VirtualName, location_name: "VirtualName"))
176
+ BlockDeviceMappingRequest.struct_class = Types::BlockDeviceMappingRequest
177
+
178
+ BlockDeviceMappings.member = Shapes::ShapeRef.new(shape: BlockDeviceMappingRequest)
179
+
180
+ CapacityReservationSpecification.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: CapacityReservationPreferenceEnum, location_name: "CapacityReservationPreference"))
181
+ CapacityReservationSpecification.add_member(:capacity_reservation_target, Shapes::ShapeRef.new(shape: CapacityReservationTarget, location_name: "CapacityReservationTarget"))
182
+ CapacityReservationSpecification.struct_class = Types::CapacityReservationSpecification
183
+
184
+ CapacityReservationTarget.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String128, location_name: "CapacityReservationId"))
185
+ CapacityReservationTarget.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CapacityReservationResourceGroupArn"))
186
+ CapacityReservationTarget.struct_class = Types::CapacityReservationTarget
187
+
188
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
189
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
190
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
191
+ ConflictException.struct_class = Types::ConflictException
192
+
193
+ ConnectionTrackingSpecificationRequest.add_member(:tcp_established_timeout, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "TcpEstablishedTimeout"))
194
+ ConnectionTrackingSpecificationRequest.add_member(:udp_stream_timeout, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "UdpStreamTimeout"))
195
+ ConnectionTrackingSpecificationRequest.add_member(:udp_timeout, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "UdpTimeout"))
196
+ ConnectionTrackingSpecificationRequest.struct_class = Types::ConnectionTrackingSpecificationRequest
197
+
198
+ CpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpEnum, location_name: "AmdSevSnp"))
199
+ CpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "CoreCount"))
200
+ CpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "ThreadsPerCore"))
201
+ CpuOptionsRequest.struct_class = Types::CpuOptionsRequest
202
+
203
+ CreateVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "AvailabilityZone"))
204
+ CreateVolumeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
205
+ CreateVolumeRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
206
+ CreateVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Iops"))
207
+ CreateVolumeRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
208
+ CreateVolumeRequest.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "SizeInGB"))
209
+ CreateVolumeRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
210
+ CreateVolumeRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecifications, location_name: "TagSpecifications"))
211
+ CreateVolumeRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Throughput"))
212
+ CreateVolumeRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeTypeEnum, location_name: "VolumeType"))
213
+ CreateVolumeRequest.struct_class = Types::CreateVolumeRequest
214
+
215
+ CreateVolumeResponse.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
216
+ CreateVolumeResponse.struct_class = Types::CreateVolumeResponse
217
+
218
+ CreateWorkspaceInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
219
+ CreateWorkspaceInstanceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
220
+ CreateWorkspaceInstanceRequest.add_member(:managed_instance, Shapes::ShapeRef.new(shape: ManagedInstanceRequest, required: true, location_name: "ManagedInstance"))
221
+ CreateWorkspaceInstanceRequest.struct_class = Types::CreateWorkspaceInstanceRequest
222
+
223
+ CreateWorkspaceInstanceResponse.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, location_name: "WorkspaceInstanceId"))
224
+ CreateWorkspaceInstanceResponse.struct_class = Types::CreateWorkspaceInstanceResponse
225
+
226
+ CreditSpecificationRequest.add_member(:cpu_credits, Shapes::ShapeRef.new(shape: CpuCreditsEnum, location_name: "CpuCredits"))
227
+ CreditSpecificationRequest.struct_class = Types::CreditSpecificationRequest
228
+
229
+ DeleteVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
230
+ DeleteVolumeRequest.struct_class = Types::DeleteVolumeRequest
231
+
232
+ DeleteVolumeResponse.struct_class = Types::DeleteVolumeResponse
233
+
234
+ DeleteWorkspaceInstanceRequest.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, required: true, location_name: "WorkspaceInstanceId"))
235
+ DeleteWorkspaceInstanceRequest.struct_class = Types::DeleteWorkspaceInstanceRequest
236
+
237
+ DeleteWorkspaceInstanceResponse.struct_class = Types::DeleteWorkspaceInstanceResponse
238
+
239
+ DisassociateVolumeRequest.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, required: true, location_name: "WorkspaceInstanceId"))
240
+ DisassociateVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
241
+ DisassociateVolumeRequest.add_member(:device, Shapes::ShapeRef.new(shape: DeviceName, location_name: "Device"))
242
+ DisassociateVolumeRequest.add_member(:disassociate_mode, Shapes::ShapeRef.new(shape: DisassociateModeEnum, location_name: "DisassociateMode"))
243
+ DisassociateVolumeRequest.struct_class = Types::DisassociateVolumeRequest
244
+
245
+ DisassociateVolumeResponse.struct_class = Types::DisassociateVolumeResponse
246
+
247
+ EC2InstanceError.add_member(:ec2_error_code, Shapes::ShapeRef.new(shape: String, location_name: "EC2ErrorCode"))
248
+ EC2InstanceError.add_member(:ec2_exception_type, Shapes::ShapeRef.new(shape: String, location_name: "EC2ExceptionType"))
249
+ EC2InstanceError.add_member(:ec2_error_message, Shapes::ShapeRef.new(shape: String, location_name: "EC2ErrorMessage"))
250
+ EC2InstanceError.struct_class = Types::EC2InstanceError
251
+
252
+ EC2InstanceErrors.member = Shapes::ShapeRef.new(shape: EC2InstanceError)
253
+
254
+ EC2ManagedInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "InstanceId"))
255
+ EC2ManagedInstance.struct_class = Types::EC2ManagedInstance
256
+
257
+ EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeTypeEnum, location_name: "VolumeType"))
258
+ EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
259
+ EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
260
+ EbsBlockDevice.add_member(:iops, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Iops"))
261
+ EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Throughput"))
262
+ EbsBlockDevice.add_member(:volume_size, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "VolumeSize"))
263
+ EbsBlockDevice.struct_class = Types::EbsBlockDevice
264
+
265
+ EnaSrdSpecificationRequest.add_member(:ena_srd_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdEnabled"))
266
+ EnaSrdSpecificationRequest.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: EnaSrdUdpSpecificationRequest, location_name: "EnaSrdUdpSpecification"))
267
+ EnaSrdSpecificationRequest.struct_class = Types::EnaSrdSpecificationRequest
268
+
269
+ EnaSrdUdpSpecificationRequest.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdUdpEnabled"))
270
+ EnaSrdUdpSpecificationRequest.struct_class = Types::EnaSrdUdpSpecificationRequest
271
+
272
+ EnclaveOptionsRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
273
+ EnclaveOptionsRequest.struct_class = Types::EnclaveOptionsRequest
274
+
275
+ GetWorkspaceInstanceRequest.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, required: true, location_name: "WorkspaceInstanceId"))
276
+ GetWorkspaceInstanceRequest.struct_class = Types::GetWorkspaceInstanceRequest
277
+
278
+ GetWorkspaceInstanceResponse.add_member(:workspace_instance_errors, Shapes::ShapeRef.new(shape: WorkspaceInstanceErrors, location_name: "WorkspaceInstanceErrors"))
279
+ GetWorkspaceInstanceResponse.add_member(:ec2_instance_errors, Shapes::ShapeRef.new(shape: EC2InstanceErrors, location_name: "EC2InstanceErrors"))
280
+ GetWorkspaceInstanceResponse.add_member(:provision_state, Shapes::ShapeRef.new(shape: ProvisionStateEnum, location_name: "ProvisionState"))
281
+ GetWorkspaceInstanceResponse.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, location_name: "WorkspaceInstanceId"))
282
+ GetWorkspaceInstanceResponse.add_member(:ec2_managed_instance, Shapes::ShapeRef.new(shape: EC2ManagedInstance, location_name: "EC2ManagedInstance"))
283
+ GetWorkspaceInstanceResponse.struct_class = Types::GetWorkspaceInstanceResponse
284
+
285
+ HibernationOptionsRequest.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "Configured"))
286
+ HibernationOptionsRequest.struct_class = Types::HibernationOptionsRequest
287
+
288
+ IamInstanceProfileSpecification.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
289
+ IamInstanceProfileSpecification.add_member(:name, Shapes::ShapeRef.new(shape: String64, location_name: "Name"))
290
+ IamInstanceProfileSpecification.struct_class = Types::IamInstanceProfileSpecification
291
+
292
+ InstanceIpv6Address.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: Ipv6Address, location_name: "Ipv6Address"))
293
+ InstanceIpv6Address.add_member(:is_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsPrimaryIpv6"))
294
+ InstanceIpv6Address.struct_class = Types::InstanceIpv6Address
295
+
296
+ InstanceMaintenanceOptionsRequest.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: AutoRecoveryEnum, location_name: "AutoRecovery"))
297
+ InstanceMaintenanceOptionsRequest.struct_class = Types::InstanceMaintenanceOptionsRequest
298
+
299
+ InstanceMarketOptionsRequest.add_member(:market_type, Shapes::ShapeRef.new(shape: MarketTypeEnum, location_name: "MarketType"))
300
+ InstanceMarketOptionsRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotMarketOptions, location_name: "SpotOptions"))
301
+ InstanceMarketOptionsRequest.struct_class = Types::InstanceMarketOptionsRequest
302
+
303
+ InstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: HttpEndpointEnum, location_name: "HttpEndpoint"))
304
+ InstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: HttpProtocolIpv6Enum, location_name: "HttpProtocolIpv6"))
305
+ InstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: HttpPutResponseHopLimit, location_name: "HttpPutResponseHopLimit"))
306
+ InstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokensEnum, location_name: "HttpTokens"))
307
+ InstanceMetadataOptionsRequest.add_member(:instance_metadata_tags, Shapes::ShapeRef.new(shape: InstanceMetadataTagsEnum, location_name: "InstanceMetadataTags"))
308
+ InstanceMetadataOptionsRequest.struct_class = Types::InstanceMetadataOptionsRequest
309
+
310
+ InstanceNetworkInterfaceSpecification.add_member(:associate_carrier_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociateCarrierIpAddress"))
311
+ InstanceNetworkInterfaceSpecification.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
312
+ InstanceNetworkInterfaceSpecification.add_member(:connection_tracking_specification, Shapes::ShapeRef.new(shape: ConnectionTrackingSpecificationRequest, location_name: "ConnectionTrackingSpecification"))
313
+ InstanceNetworkInterfaceSpecification.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
314
+ InstanceNetworkInterfaceSpecification.add_member(:device_index, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "DeviceIndex"))
315
+ InstanceNetworkInterfaceSpecification.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: EnaSrdSpecificationRequest, location_name: "EnaSrdSpecification"))
316
+ InstanceNetworkInterfaceSpecification.add_member(:interface_type, Shapes::ShapeRef.new(shape: InterfaceTypeEnum, location_name: "InterfaceType"))
317
+ InstanceNetworkInterfaceSpecification.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4Prefixes, location_name: "Ipv4Prefixes"))
318
+ InstanceNetworkInterfaceSpecification.add_member(:ipv_4_prefix_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Ipv4PrefixCount"))
319
+ InstanceNetworkInterfaceSpecification.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Ipv6AddressCount"))
320
+ InstanceNetworkInterfaceSpecification.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6Addresses, location_name: "Ipv6Addresses"))
321
+ InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6Prefixes, location_name: "Ipv6Prefixes"))
322
+ InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Ipv6PrefixCount"))
323
+ InstanceNetworkInterfaceSpecification.add_member(:network_card_index, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "NetworkCardIndex"))
324
+ InstanceNetworkInterfaceSpecification.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
325
+ InstanceNetworkInterfaceSpecification.add_member(:primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrimaryIpv6"))
326
+ InstanceNetworkInterfaceSpecification.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: Ipv4Address, location_name: "PrivateIpAddress"))
327
+ InstanceNetworkInterfaceSpecification.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddresses, location_name: "PrivateIpAddresses"))
328
+ InstanceNetworkInterfaceSpecification.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "SecondaryPrivateIpAddressCount"))
329
+ InstanceNetworkInterfaceSpecification.add_member(:groups, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "Groups"))
330
+ InstanceNetworkInterfaceSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
331
+ InstanceNetworkInterfaceSpecification.struct_class = Types::InstanceNetworkInterfaceSpecification
332
+
333
+ InstanceNetworkPerformanceOptionsRequest.add_member(:bandwidth_weighting, Shapes::ShapeRef.new(shape: BandwidthWeightingEnum, location_name: "BandwidthWeighting"))
334
+ InstanceNetworkPerformanceOptionsRequest.struct_class = Types::InstanceNetworkPerformanceOptionsRequest
335
+
336
+ InstanceTypeInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
337
+ InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
338
+
339
+ InstanceTypes.member = Shapes::ShapeRef.new(shape: InstanceTypeInfo)
340
+
341
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
342
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "RetryAfterSeconds"))
343
+ InternalServerException.struct_class = Types::InternalServerException
344
+
345
+ Ipv4PrefixSpecificationRequest.add_member(:ipv_4_prefix, Shapes::ShapeRef.new(shape: Ipv4Prefix, location_name: "Ipv4Prefix"))
346
+ Ipv4PrefixSpecificationRequest.struct_class = Types::Ipv4PrefixSpecificationRequest
347
+
348
+ Ipv4Prefixes.member = Shapes::ShapeRef.new(shape: Ipv4PrefixSpecificationRequest)
349
+
350
+ Ipv6Addresses.member = Shapes::ShapeRef.new(shape: InstanceIpv6Address)
351
+
352
+ Ipv6PrefixSpecificationRequest.add_member(:ipv_6_prefix, Shapes::ShapeRef.new(shape: Ipv6Prefix, location_name: "Ipv6Prefix"))
353
+ Ipv6PrefixSpecificationRequest.struct_class = Types::Ipv6PrefixSpecificationRequest
354
+
355
+ Ipv6Prefixes.member = Shapes::ShapeRef.new(shape: Ipv6PrefixSpecificationRequest)
356
+
357
+ LicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "LicenseConfigurationArn"))
358
+ LicenseConfigurationRequest.struct_class = Types::LicenseConfigurationRequest
359
+
360
+ LicenseSpecifications.member = Shapes::ShapeRef.new(shape: LicenseConfigurationRequest)
361
+
362
+ ListInstanceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
363
+ ListInstanceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
364
+ ListInstanceTypesRequest.struct_class = Types::ListInstanceTypesRequest
365
+
366
+ ListInstanceTypesResponse.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypes, required: true, location_name: "InstanceTypes"))
367
+ ListInstanceTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
368
+ ListInstanceTypesResponse.struct_class = Types::ListInstanceTypesResponse
369
+
370
+ ListRegionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
371
+ ListRegionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
372
+ ListRegionsRequest.struct_class = Types::ListRegionsRequest
373
+
374
+ ListRegionsResponse.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "Regions"))
375
+ ListRegionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
376
+ ListRegionsResponse.struct_class = Types::ListRegionsResponse
377
+
378
+ ListTagsForResourceRequest.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, required: true, location_name: "WorkspaceInstanceId"))
379
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
380
+
381
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
382
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
383
+
384
+ ListWorkspaceInstancesRequest.add_member(:provision_states, Shapes::ShapeRef.new(shape: ProvisionStates, location_name: "ProvisionStates"))
385
+ ListWorkspaceInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
386
+ ListWorkspaceInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
387
+ ListWorkspaceInstancesRequest.struct_class = Types::ListWorkspaceInstancesRequest
388
+
389
+ ListWorkspaceInstancesResponse.add_member(:workspace_instances, Shapes::ShapeRef.new(shape: WorkspaceInstances, required: true, location_name: "WorkspaceInstances"))
390
+ ListWorkspaceInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
391
+ ListWorkspaceInstancesResponse.struct_class = Types::ListWorkspaceInstancesResponse
392
+
393
+ ManagedInstanceRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappings, location_name: "BlockDeviceMappings"))
394
+ ManagedInstanceRequest.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
395
+ ManagedInstanceRequest.add_member(:cpu_options, Shapes::ShapeRef.new(shape: CpuOptionsRequest, location_name: "CpuOptions"))
396
+ ManagedInstanceRequest.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecificationRequest, location_name: "CreditSpecification"))
397
+ ManagedInstanceRequest.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableApiStop"))
398
+ ManagedInstanceRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "EbsOptimized"))
399
+ ManagedInstanceRequest.add_member(:enable_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrimaryIpv6"))
400
+ ManagedInstanceRequest.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptionsRequest, location_name: "EnclaveOptions"))
401
+ ManagedInstanceRequest.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: HibernationOptionsRequest, location_name: "HibernationOptions"))
402
+ ManagedInstanceRequest.add_member(:iam_instance_profile, Shapes::ShapeRef.new(shape: IamInstanceProfileSpecification, location_name: "IamInstanceProfile"))
403
+ ManagedInstanceRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
404
+ ManagedInstanceRequest.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: InstanceMarketOptionsRequest, location_name: "InstanceMarketOptions"))
405
+ ManagedInstanceRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
406
+ ManagedInstanceRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6Addresses, location_name: "Ipv6Addresses"))
407
+ ManagedInstanceRequest.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Ipv6AddressCount"))
408
+ ManagedInstanceRequest.add_member(:kernel_id, Shapes::ShapeRef.new(shape: String128, location_name: "KernelId"))
409
+ ManagedInstanceRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: String64, location_name: "KeyName"))
410
+ ManagedInstanceRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LicenseSpecifications, location_name: "LicenseSpecifications"))
411
+ ManagedInstanceRequest.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: InstanceMaintenanceOptionsRequest, location_name: "MaintenanceOptions"))
412
+ ManagedInstanceRequest.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsRequest, location_name: "MetadataOptions"))
413
+ ManagedInstanceRequest.add_member(:monitoring, Shapes::ShapeRef.new(shape: RunInstancesMonitoringEnabled, location_name: "Monitoring"))
414
+ ManagedInstanceRequest.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaces, location_name: "NetworkInterfaces"))
415
+ ManagedInstanceRequest.add_member(:network_performance_options, Shapes::ShapeRef.new(shape: InstanceNetworkPerformanceOptionsRequest, location_name: "NetworkPerformanceOptions"))
416
+ ManagedInstanceRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
417
+ ManagedInstanceRequest.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsRequest, location_name: "PrivateDnsNameOptions"))
418
+ ManagedInstanceRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: Ipv4Address, location_name: "PrivateIpAddress"))
419
+ ManagedInstanceRequest.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: String128, location_name: "RamdiskId"))
420
+ ManagedInstanceRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
421
+ ManagedInstanceRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupNames, location_name: "SecurityGroups"))
422
+ ManagedInstanceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
423
+ ManagedInstanceRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecifications, location_name: "TagSpecifications"))
424
+ ManagedInstanceRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: UserData, location_name: "UserData"))
425
+ ManagedInstanceRequest.struct_class = Types::ManagedInstanceRequest
426
+
427
+ NetworkInterfaces.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecification)
428
+
429
+ Placement.add_member(:affinity, Shapes::ShapeRef.new(shape: String64, location_name: "Affinity"))
430
+ Placement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
431
+ Placement.add_member(:group_id, Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "GroupId"))
432
+ Placement.add_member(:group_name, Shapes::ShapeRef.new(shape: String64, location_name: "GroupName"))
433
+ Placement.add_member(:host_id, Shapes::ShapeRef.new(shape: HostId, location_name: "HostId"))
434
+ Placement.add_member(:host_resource_group_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HostResourceGroupArn"))
435
+ Placement.add_member(:partition_number, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "PartitionNumber"))
436
+ Placement.add_member(:tenancy, Shapes::ShapeRef.new(shape: TenancyEnum, location_name: "Tenancy"))
437
+ Placement.struct_class = Types::Placement
438
+
439
+ PrivateDnsNameOptionsRequest.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameTypeEnum, location_name: "HostnameType"))
440
+ PrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsARecord"))
441
+ PrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsAAAARecord"))
442
+ PrivateDnsNameOptionsRequest.struct_class = Types::PrivateDnsNameOptionsRequest
443
+
444
+ PrivateIpAddressSpecification.add_member(:primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "Primary"))
445
+ PrivateIpAddressSpecification.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: Ipv4Address, location_name: "PrivateIpAddress"))
446
+ PrivateIpAddressSpecification.struct_class = Types::PrivateIpAddressSpecification
447
+
448
+ PrivateIpAddresses.member = Shapes::ShapeRef.new(shape: PrivateIpAddressSpecification)
449
+
450
+ ProvisionStates.member = Shapes::ShapeRef.new(shape: ProvisionStateEnum)
451
+
452
+ Region.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
453
+ Region.struct_class = Types::Region
454
+
455
+ RegionList.member = Shapes::ShapeRef.new(shape: Region)
456
+
457
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
458
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
459
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
460
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
461
+
462
+ RunInstancesMonitoringEnabled.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
463
+ RunInstancesMonitoringEnabled.struct_class = Types::RunInstancesMonitoringEnabled
464
+
465
+ SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
466
+
467
+ SecurityGroupNames.member = Shapes::ShapeRef.new(shape: SecurityGroupName)
468
+
469
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
470
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
471
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
472
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
473
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QuotaCode"))
474
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
475
+
476
+ SpotMarketOptions.add_member(:block_duration_minutes, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "BlockDurationMinutes"))
477
+ SpotMarketOptions.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehaviorEnum, location_name: "InstanceInterruptionBehavior"))
478
+ SpotMarketOptions.add_member(:max_price, Shapes::ShapeRef.new(shape: String64, location_name: "MaxPrice"))
479
+ SpotMarketOptions.add_member(:spot_instance_type, Shapes::ShapeRef.new(shape: SpotInstanceTypeEnum, location_name: "SpotInstanceType"))
480
+ SpotMarketOptions.add_member(:valid_until_utc, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ValidUntilUtc"))
481
+ SpotMarketOptions.struct_class = Types::SpotMarketOptions
482
+
483
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
484
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
485
+ Tag.struct_class = Types::Tag
486
+
487
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
488
+
489
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
490
+
491
+ TagResourceRequest.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, required: true, location_name: "WorkspaceInstanceId"))
492
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
493
+ TagResourceRequest.struct_class = Types::TagResourceRequest
494
+
495
+ TagResourceResponse.struct_class = Types::TagResourceResponse
496
+
497
+ TagSpecification.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceTypeEnum, location_name: "ResourceType"))
498
+ TagSpecification.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
499
+ TagSpecification.struct_class = Types::TagSpecification
500
+
501
+ TagSpecifications.member = Shapes::ShapeRef.new(shape: TagSpecification)
502
+
503
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
504
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "ServiceCode"))
505
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "QuotaCode"))
506
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "RetryAfterSeconds"))
507
+ ThrottlingException.struct_class = Types::ThrottlingException
508
+
509
+ UntagResourceRequest.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, required: true, location_name: "WorkspaceInstanceId"))
510
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
511
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
512
+
513
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
514
+
515
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
516
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "Reason"))
517
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "FieldList"))
518
+ ValidationException.struct_class = Types::ValidationException
519
+
520
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
521
+ ValidationExceptionField.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Reason"))
522
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
523
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
524
+
525
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
526
+
527
+ WorkspaceInstance.add_member(:provision_state, Shapes::ShapeRef.new(shape: ProvisionStateEnum, location_name: "ProvisionState"))
528
+ WorkspaceInstance.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, location_name: "WorkspaceInstanceId"))
529
+ WorkspaceInstance.add_member(:ec2_managed_instance, Shapes::ShapeRef.new(shape: EC2ManagedInstance, location_name: "EC2ManagedInstance"))
530
+ WorkspaceInstance.struct_class = Types::WorkspaceInstance
531
+
532
+ WorkspaceInstanceError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
533
+ WorkspaceInstanceError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
534
+ WorkspaceInstanceError.struct_class = Types::WorkspaceInstanceError
535
+
536
+ WorkspaceInstanceErrors.member = Shapes::ShapeRef.new(shape: WorkspaceInstanceError)
537
+
538
+ WorkspaceInstances.member = Shapes::ShapeRef.new(shape: WorkspaceInstance)
539
+
540
+
541
+ # @api private
542
+ API = Seahorse::Model::Api.new.tap do |api|
543
+
544
+ api.version = "2022-07-26"
545
+
546
+ api.metadata = {
547
+ "apiVersion" => "2022-07-26",
548
+ "auth" => ["aws.auth#sigv4"],
549
+ "endpointPrefix" => "workspaces-instances",
550
+ "jsonVersion" => "1.0",
551
+ "protocol" => "json",
552
+ "protocols" => ["json"],
553
+ "serviceFullName" => "Amazon Workspaces Instances",
554
+ "serviceId" => "Workspaces Instances",
555
+ "signatureVersion" => "v4",
556
+ "signingName" => "workspaces-instances",
557
+ "targetPrefix" => "EUCMIFrontendAPIService",
558
+ "uid" => "workspaces-instances-2022-07-26",
559
+ }
560
+
561
+ api.add_operation(:associate_volume, Seahorse::Model::Operation.new.tap do |o|
562
+ o.name = "AssociateVolume"
563
+ o.http_method = "POST"
564
+ o.http_request_uri = "/"
565
+ o.input = Shapes::ShapeRef.new(shape: AssociateVolumeRequest)
566
+ o.output = Shapes::ShapeRef.new(shape: AssociateVolumeResponse)
567
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
568
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
569
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
570
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
571
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
572
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
573
+ end)
574
+
575
+ api.add_operation(:create_volume, Seahorse::Model::Operation.new.tap do |o|
576
+ o.name = "CreateVolume"
577
+ o.http_method = "POST"
578
+ o.http_request_uri = "/"
579
+ o.input = Shapes::ShapeRef.new(shape: CreateVolumeRequest)
580
+ o.output = Shapes::ShapeRef.new(shape: CreateVolumeResponse)
581
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
582
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
584
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
585
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
587
+ end)
588
+
589
+ api.add_operation(:create_workspace_instance, Seahorse::Model::Operation.new.tap do |o|
590
+ o.name = "CreateWorkspaceInstance"
591
+ o.http_method = "POST"
592
+ o.http_request_uri = "/"
593
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkspaceInstanceRequest)
594
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkspaceInstanceResponse)
595
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
596
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
600
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
601
+ end)
602
+
603
+ api.add_operation(:delete_volume, Seahorse::Model::Operation.new.tap do |o|
604
+ o.name = "DeleteVolume"
605
+ o.http_method = "POST"
606
+ o.http_request_uri = "/"
607
+ o.input = Shapes::ShapeRef.new(shape: DeleteVolumeRequest)
608
+ o.output = Shapes::ShapeRef.new(shape: DeleteVolumeResponse)
609
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
610
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
615
+ end)
616
+
617
+ api.add_operation(:delete_workspace_instance, Seahorse::Model::Operation.new.tap do |o|
618
+ o.name = "DeleteWorkspaceInstance"
619
+ o.http_method = "POST"
620
+ o.http_request_uri = "/"
621
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceInstanceRequest)
622
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceInstanceResponse)
623
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
624
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
625
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
626
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
627
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
628
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
629
+ end)
630
+
631
+ api.add_operation(:disassociate_volume, Seahorse::Model::Operation.new.tap do |o|
632
+ o.name = "DisassociateVolume"
633
+ o.http_method = "POST"
634
+ o.http_request_uri = "/"
635
+ o.input = Shapes::ShapeRef.new(shape: DisassociateVolumeRequest)
636
+ o.output = Shapes::ShapeRef.new(shape: DisassociateVolumeResponse)
637
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
638
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
639
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
640
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
641
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
642
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
643
+ end)
644
+
645
+ api.add_operation(:get_workspace_instance, Seahorse::Model::Operation.new.tap do |o|
646
+ o.name = "GetWorkspaceInstance"
647
+ o.http_method = "POST"
648
+ o.http_request_uri = "/"
649
+ o.input = Shapes::ShapeRef.new(shape: GetWorkspaceInstanceRequest)
650
+ o.output = Shapes::ShapeRef.new(shape: GetWorkspaceInstanceResponse)
651
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
652
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
653
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
655
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
656
+ end)
657
+
658
+ api.add_operation(:list_instance_types, Seahorse::Model::Operation.new.tap do |o|
659
+ o.name = "ListInstanceTypes"
660
+ o.http_method = "POST"
661
+ o.http_request_uri = "/"
662
+ o.input = Shapes::ShapeRef.new(shape: ListInstanceTypesRequest)
663
+ o.output = Shapes::ShapeRef.new(shape: ListInstanceTypesResponse)
664
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
665
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
666
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
667
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
668
+ o[:pager] = Aws::Pager.new(
669
+ limit_key: "max_results",
670
+ tokens: {
671
+ "next_token" => "next_token"
672
+ }
673
+ )
674
+ end)
675
+
676
+ api.add_operation(:list_regions, Seahorse::Model::Operation.new.tap do |o|
677
+ o.name = "ListRegions"
678
+ o.http_method = "POST"
679
+ o.http_request_uri = "/"
680
+ o.input = Shapes::ShapeRef.new(shape: ListRegionsRequest)
681
+ o.output = Shapes::ShapeRef.new(shape: ListRegionsResponse)
682
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
683
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
684
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
685
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
686
+ o[:pager] = Aws::Pager.new(
687
+ limit_key: "max_results",
688
+ tokens: {
689
+ "next_token" => "next_token"
690
+ }
691
+ )
692
+ end)
693
+
694
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
695
+ o.name = "ListTagsForResource"
696
+ o.http_method = "POST"
697
+ o.http_request_uri = "/"
698
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
699
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
700
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
701
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
702
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
703
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
704
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
705
+ end)
706
+
707
+ api.add_operation(:list_workspace_instances, Seahorse::Model::Operation.new.tap do |o|
708
+ o.name = "ListWorkspaceInstances"
709
+ o.http_method = "POST"
710
+ o.http_request_uri = "/"
711
+ o.input = Shapes::ShapeRef.new(shape: ListWorkspaceInstancesRequest)
712
+ o.output = Shapes::ShapeRef.new(shape: ListWorkspaceInstancesResponse)
713
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
714
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
716
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
717
+ o[:pager] = Aws::Pager.new(
718
+ limit_key: "max_results",
719
+ tokens: {
720
+ "next_token" => "next_token"
721
+ }
722
+ )
723
+ end)
724
+
725
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
726
+ o.name = "TagResource"
727
+ o.http_method = "POST"
728
+ o.http_request_uri = "/"
729
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
730
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
731
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
732
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
735
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
736
+ end)
737
+
738
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
739
+ o.name = "UntagResource"
740
+ o.http_method = "POST"
741
+ o.http_request_uri = "/"
742
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
743
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
744
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
745
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
746
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
748
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
749
+ end)
750
+ end
751
+
752
+ end
753
+ end