aws-sdk-workspacesinstances 1.22.0 → 1.24.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f10141e625d6f7511a8e1292541a9c68e3ee57fc2f216b6ccbc82e299fc5bbab
4
- data.tar.gz: 7d6e1de2fcec91d18c0a19862bd7ff8eb3a5ded3838fbc24af5dfc4119f55e85
3
+ metadata.gz: 0a763a5ce0200596937c84dcbbf376c1fe292db29e58d90591f243443dede892
4
+ data.tar.gz: 3183e115278ae4939522b4afd9b7035e0af6e750144f4d96bc8941eed6f6bdcb
5
5
  SHA512:
6
- metadata.gz: dab3c605ba0cdec3f954960662f124a96ed926279fefde657914f866b11b7bd7012b29f979182219082fc1320c5a7986d121cc6586731c5166b15adede96f257
7
- data.tar.gz: 1c8964da8fc23035ecf0c01a7c456e494d97badfa9e99502aed5d3667b8c690cd70dd423c8df6743aa34bc7a751493aa0998752cd9c5c33948b2eb0f548785a8
6
+ metadata.gz: f7baa324e2b01fcb999c1359b161bb08d11138f848b38f0e5e935225adc34e920024ef3b3ec43f9c13938942eb7cf2c9c2da1c7250a9b17757b251437a271cd6
7
+ data.tar.gz: 305c1b1afb2856e62752a1e6b1cad3a942faaabe8e0c02071aa018d6793b6ca55cb08223d137753ebaf8e87dd56a2295730086e2574e0c20019a9a8cbf57d283
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.24.0 (2026-10-20)
5
+ ------------------
6
+
7
+ * Feature - Documentation update release for AWS service
8
+
9
+ 1.23.0 (2026-10-19)
10
+ ------------------
11
+
12
+ * Feature - ModifyVolume is a new public API for WorkSpaces Core Managed Instances. Customers can change the size, type, IOPS, or throughput of an existing managed volume online, with no stop required. Customers track progress by calling EC2 DescribeVolumesModifications directly.
13
+
4
14
  1.22.0 (2026-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.24.0
@@ -199,13 +199,20 @@ module Aws::WorkspacesInstances
199
199
  # the required types.
200
200
  #
201
201
  # @option options [Boolean] :correct_clock_skew (true)
202
- # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
203
- # a clock skew correction and retry requests with skewed client clocks.
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether
203
+ # to apply a clock skew correction and retry requests with skewed client
204
+ # clocks. Takes effect only when `disable_clock_skew_correction` is not set.
204
205
  #
205
206
  # @option options [String] :defaults_mode ("legacy")
206
207
  # See {Aws::DefaultsModeConfiguration} for a list of the
207
208
  # accepted modes and the configuration defaults that are included.
208
209
  #
210
+ # @option options [Boolean] :disable_clock_skew_correction
211
+ # Used only in `standard` and `adaptive` retry modes. When `true`, the
212
+ # SDK does not apply a clock skew correction, does not update its stored
213
+ # skew from responses, and does not retry clock skew errors. Clock skew
214
+ # correction is enabled by default.
215
+ #
209
216
  # @option options [Boolean] :disable_host_prefix_injection (false)
210
217
  # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
211
218
  #
@@ -1106,6 +1113,97 @@ module Aws::WorkspacesInstances
1106
1113
  req.send_request(options)
1107
1114
  end
1108
1115
 
1116
+ # Modifies the size, volume type, IOPS (input/output operations per
1117
+ # second), or throughput of a volume. When you modify a volume, you must
1118
+ # specify at least one of these parameters. You can modify a volume only
1119
+ # after any previous modification for that volume has finished.
1120
+ #
1121
+ # To track the progress of a modification, use the Amazon EC2
1122
+ # [DescribeVolumesModifications][1] operation. For more information, see
1123
+ # [Monitor the progress of Amazon EBS volume modifications][2] in the
1124
+ # *Amazon EBS User Guide*.
1125
+ #
1126
+ # After you increase the size of a volume, you must extend the partition
1127
+ # and file system to use the new storage capacity. For more information,
1128
+ # see [Extend the file system after resizing an Amazon EBS volume][3] in
1129
+ # the *Amazon EBS User Guide*, which covers both [Linux][4] and
1130
+ # [Windows][5] instances.
1131
+ #
1132
+ #
1133
+ #
1134
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVolumesModifications.html
1135
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-modifications.html
1136
+ # [3]: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html
1137
+ # [4]: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html#extend-linux
1138
+ # [5]: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html#extend-windows
1139
+ #
1140
+ # @option params [required, String] :volume_id
1141
+ # Specifies the identifier of the volume to modify.
1142
+ #
1143
+ # @option params [Integer] :size_in_gb
1144
+ # Specifies the target size of the volume, in GiB. The target size must
1145
+ # be greater than or equal to the current size of the volume. If you
1146
+ # don't specify a size, the current size is retained.
1147
+ #
1148
+ # @option params [String] :volume_type
1149
+ # Specifies the target Amazon Elastic Block Store (Amazon EBS) volume
1150
+ # type. If you don't specify a volume type, the current volume type is
1151
+ # retained.
1152
+ #
1153
+ # @option params [Integer] :iops
1154
+ # Specifies the target IOPS rate of the volume. This parameter is valid
1155
+ # only for `gp3`, `io1`, and `io2` volumes. If you don't specify IOPS
1156
+ # and keep the same volume type, the current IOPS rate is retained.
1157
+ #
1158
+ # @option params [Integer] :throughput
1159
+ # Specifies the target throughput of the volume, in MiB/s. This
1160
+ # parameter is valid only for `gp3` volumes. If you don't specify
1161
+ # throughput and the volume remains `gp3`, the current throughput is
1162
+ # retained.
1163
+ #
1164
+ # @option params [String] :client_token
1165
+ # Unique token to ensure idempotent volume modification, preventing
1166
+ # duplicate volume modifications.
1167
+ #
1168
+ # **A suitable default value is auto-generated.** You should normally
1169
+ # not need to pass this option.**
1170
+ #
1171
+ # @return [Types::ModifyVolumeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1172
+ #
1173
+ # * {Types::ModifyVolumeResponse#volume_id #volume_id} => String
1174
+ # * {Types::ModifyVolumeResponse#target_size #target_size} => Integer
1175
+ # * {Types::ModifyVolumeResponse#target_volume_type #target_volume_type} => String
1176
+ # * {Types::ModifyVolumeResponse#target_iops #target_iops} => Integer
1177
+ # * {Types::ModifyVolumeResponse#target_throughput #target_throughput} => Integer
1178
+ #
1179
+ # @example Request syntax with placeholder values
1180
+ #
1181
+ # resp = client.modify_volume({
1182
+ # volume_id: "VolumeId", # required
1183
+ # size_in_gb: 1,
1184
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
1185
+ # iops: 1,
1186
+ # throughput: 1,
1187
+ # client_token: "ClientToken",
1188
+ # })
1189
+ #
1190
+ # @example Response structure
1191
+ #
1192
+ # resp.volume_id #=> String
1193
+ # resp.target_size #=> Integer
1194
+ # resp.target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
1195
+ # resp.target_iops #=> Integer
1196
+ # resp.target_throughput #=> Integer
1197
+ #
1198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-instances-2022-07-26/ModifyVolume AWS API Documentation
1199
+ #
1200
+ # @overload modify_volume(params = {})
1201
+ # @param [Hash] params ({})
1202
+ def modify_volume(params = {}, options = {})
1203
+ req = build_request(:modify_volume, params)
1204
+ req.send_request(options)
1205
+ end
1206
+
1109
1207
  # Adds tags to a WorkSpace Instance.
1110
1208
  #
1111
1209
  # @option params [required, String] :workspace_instance_id
@@ -1181,7 +1279,7 @@ module Aws::WorkspacesInstances
1181
1279
  tracer: tracer
1182
1280
  )
1183
1281
  context[:gem_name] = 'aws-sdk-workspacesinstances'
1184
- context[:gem_version] = '1.22.0'
1282
+ context[:gem_version] = '1.24.0'
1185
1283
  Seahorse::Client::Request.new(handlers, context)
1186
1284
  end
1187
1285
 
@@ -107,6 +107,8 @@ module Aws::WorkspacesInstances
107
107
  ManagedInstanceRequest = Shapes::StructureShape.new(name: 'ManagedInstanceRequest')
108
108
  MarketTypeEnum = Shapes::StringShape.new(name: 'MarketTypeEnum')
109
109
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
110
+ ModifyVolumeRequest = Shapes::StructureShape.new(name: 'ModifyVolumeRequest')
111
+ ModifyVolumeResponse = Shapes::StructureShape.new(name: 'ModifyVolumeResponse')
110
112
  NestedVirtualizationEnum = Shapes::StringShape.new(name: 'NestedVirtualizationEnum')
111
113
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
112
114
  NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
@@ -161,6 +163,8 @@ module Aws::WorkspacesInstances
161
163
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
162
164
  VirtualName = Shapes::StringShape.new(name: 'VirtualName')
163
165
  VolumeId = Shapes::StringShape.new(name: 'VolumeId')
166
+ VolumeModificationRateExceededException = Shapes::StructureShape.new(name: 'VolumeModificationRateExceededException')
167
+ VolumeSizeInGB = Shapes::IntegerShape.new(name: 'VolumeSizeInGB')
164
168
  VolumeTypeEnum = Shapes::StringShape.new(name: 'VolumeTypeEnum')
165
169
  WorkspaceInstance = Shapes::StructureShape.new(name: 'WorkspaceInstance')
166
170
  WorkspaceInstanceError = Shapes::StructureShape.new(name: 'WorkspaceInstanceError')
@@ -218,7 +222,7 @@ module Aws::WorkspacesInstances
218
222
  CreateVolumeRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
219
223
  CreateVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Iops"))
220
224
  CreateVolumeRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
221
- CreateVolumeRequest.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "SizeInGB"))
225
+ CreateVolumeRequest.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: VolumeSizeInGB, location_name: "SizeInGB"))
222
226
  CreateVolumeRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
223
227
  CreateVolumeRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecifications, location_name: "TagSpecifications"))
224
228
  CreateVolumeRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Throughput"))
@@ -446,6 +450,21 @@ module Aws::WorkspacesInstances
446
450
  ManagedInstanceRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: UserData, location_name: "UserData"))
447
451
  ManagedInstanceRequest.struct_class = Types::ManagedInstanceRequest
448
452
 
453
+ ModifyVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
454
+ ModifyVolumeRequest.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: VolumeSizeInGB, location_name: "SizeInGB"))
455
+ ModifyVolumeRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeTypeEnum, location_name: "VolumeType"))
456
+ ModifyVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Iops"))
457
+ ModifyVolumeRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "Throughput"))
458
+ ModifyVolumeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
459
+ ModifyVolumeRequest.struct_class = Types::ModifyVolumeRequest
460
+
461
+ ModifyVolumeResponse.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
462
+ ModifyVolumeResponse.add_member(:target_size, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "TargetSize"))
463
+ ModifyVolumeResponse.add_member(:target_volume_type, Shapes::ShapeRef.new(shape: VolumeTypeEnum, location_name: "TargetVolumeType"))
464
+ ModifyVolumeResponse.add_member(:target_iops, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "TargetIops"))
465
+ ModifyVolumeResponse.add_member(:target_throughput, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "TargetThroughput"))
466
+ ModifyVolumeResponse.struct_class = Types::ModifyVolumeResponse
467
+
449
468
  NetworkInterfaces.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecification)
450
469
 
451
470
  Placement.add_member(:affinity, Shapes::ShapeRef.new(shape: String64, location_name: "Affinity"))
@@ -553,6 +572,11 @@ module Aws::WorkspacesInstances
553
572
 
554
573
  ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
555
574
 
575
+ VolumeModificationRateExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
576
+ VolumeModificationRateExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
577
+ VolumeModificationRateExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
578
+ VolumeModificationRateExceededException.struct_class = Types::VolumeModificationRateExceededException
579
+
556
580
  WorkspaceInstance.add_member(:provision_state, Shapes::ShapeRef.new(shape: ProvisionStateEnum, location_name: "ProvisionState"))
557
581
  WorkspaceInstance.add_member(:workspace_instance_id, Shapes::ShapeRef.new(shape: WorkspaceInstanceId, location_name: "WorkspaceInstanceId"))
558
582
  WorkspaceInstance.add_member(:ec2_managed_instance, Shapes::ShapeRef.new(shape: EC2ManagedInstance, location_name: "EC2ManagedInstance"))
@@ -751,6 +775,22 @@ module Aws::WorkspacesInstances
751
775
  )
752
776
  end)
753
777
 
778
+ api.add_operation(:modify_volume, Seahorse::Model::Operation.new.tap do |o|
779
+ o.name = "ModifyVolume"
780
+ o.http_method = "POST"
781
+ o.http_request_uri = "/"
782
+ o.input = Shapes::ShapeRef.new(shape: ModifyVolumeRequest)
783
+ o.output = Shapes::ShapeRef.new(shape: ModifyVolumeResponse)
784
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
785
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
787
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
788
+ o.errors << Shapes::ShapeRef.new(shape: VolumeModificationRateExceededException)
789
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
792
+ end)
793
+
754
794
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
755
795
  o.name = "TagResource"
756
796
  o.http_method = "POST"
@@ -34,6 +34,7 @@ module Aws::WorkspacesInstances
34
34
  # * {ServiceQuotaExceededException}
35
35
  # * {ThrottlingException}
36
36
  # * {ValidationException}
37
+ # * {VolumeModificationRateExceededException}
37
38
  #
38
39
  # Additionally, error classes are dynamically generated for service errors based on the error code
39
40
  # if they are not defined above.
@@ -228,5 +229,30 @@ module Aws::WorkspacesInstances
228
229
  end
229
230
  end
230
231
 
232
+ class VolumeModificationRateExceededException < ServiceError
233
+
234
+ # @param [Seahorse::Client::RequestContext] context
235
+ # @param [String] message
236
+ # @param [Aws::WorkspacesInstances::Types::VolumeModificationRateExceededException] data
237
+ def initialize(context, message, data = Aws::EmptyStructure.new)
238
+ super(context, message, data)
239
+ end
240
+
241
+ # @return [String]
242
+ def message
243
+ @message || @data[:message]
244
+ end
245
+
246
+ # @return [String]
247
+ def resource_id
248
+ @data[:resource_id]
249
+ end
250
+
251
+ # @return [String]
252
+ def resource_type
253
+ @data[:resource_type]
254
+ end
255
+ end
256
+
231
257
  end
232
258
  end
@@ -1314,6 +1314,96 @@ module Aws::WorkspacesInstances
1314
1314
  include Aws::Structure
1315
1315
  end
1316
1316
 
1317
+ # Contains the parameters for modifying a volume, including the target
1318
+ # size, volume type, IOPS, or throughput.
1319
+ #
1320
+ # @!attribute [rw] volume_id
1321
+ # Specifies the identifier of the volume to modify.
1322
+ # @return [String]
1323
+ #
1324
+ # @!attribute [rw] size_in_gb
1325
+ # Specifies the target size of the volume, in GiB. The target size
1326
+ # must be greater than or equal to the current size of the volume. If
1327
+ # you don't specify a size, the current size is retained.
1328
+ # @return [Integer]
1329
+ #
1330
+ # @!attribute [rw] volume_type
1331
+ # Specifies the target Amazon Elastic Block Store (Amazon EBS) volume
1332
+ # type. If you don't specify a volume type, the current volume type
1333
+ # is retained.
1334
+ # @return [String]
1335
+ #
1336
+ # @!attribute [rw] iops
1337
+ # Specifies the target IOPS rate of the volume. This parameter is
1338
+ # valid only for `gp3`, `io1`, and `io2` volumes. If you don't
1339
+ # specify IOPS and keep the same volume type, the current IOPS rate is
1340
+ # retained.
1341
+ # @return [Integer]
1342
+ #
1343
+ # @!attribute [rw] throughput
1344
+ # Specifies the target throughput of the volume, in MiB/s. This
1345
+ # parameter is valid only for `gp3` volumes. If you don't specify
1346
+ # throughput and the volume remains `gp3`, the current throughput is
1347
+ # retained.
1348
+ # @return [Integer]
1349
+ #
1350
+ # @!attribute [rw] client_token
1351
+ # Unique token to ensure idempotent volume modification, preventing
1352
+ # duplicate volume modifications.
1353
+ #
1354
+ # **A suitable default value is auto-generated.** You should normally
1355
+ # not need to pass this option.
1356
+ # @return [String]
1357
+ #
1358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-instances-2022-07-26/ModifyVolumeRequest AWS API Documentation
1359
+ #
1360
+ class ModifyVolumeRequest < Struct.new(
1361
+ :volume_id,
1362
+ :size_in_gb,
1363
+ :volume_type,
1364
+ :iops,
1365
+ :throughput,
1366
+ :client_token)
1367
+ SENSITIVE = [:client_token]
1368
+ include Aws::Structure
1369
+ end
1370
+
1371
+ # Contains the target configuration of the volume after the
1372
+ # modification, including the size, volume type, IOPS, and throughput
1373
+ # where applicable.
1374
+ #
1375
+ # @!attribute [rw] volume_id
1376
+ # Specifies the identifier of the modified volume.
1377
+ # @return [String]
1378
+ #
1379
+ # @!attribute [rw] target_size
1380
+ # Specifies the target size of the volume, in GiB.
1381
+ # @return [Integer]
1382
+ #
1383
+ # @!attribute [rw] target_volume_type
1384
+ # Specifies the target Amazon EBS volume type.
1385
+ # @return [String]
1386
+ #
1387
+ # @!attribute [rw] target_iops
1388
+ # Specifies the target IOPS rate of the volume.
1389
+ # @return [Integer]
1390
+ #
1391
+ # @!attribute [rw] target_throughput
1392
+ # Specifies the target throughput of the volume, in MiB/s.
1393
+ # @return [Integer]
1394
+ #
1395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-instances-2022-07-26/ModifyVolumeResponse AWS API Documentation
1396
+ #
1397
+ class ModifyVolumeResponse < Struct.new(
1398
+ :volume_id,
1399
+ :target_size,
1400
+ :target_volume_type,
1401
+ :target_iops,
1402
+ :target_throughput)
1403
+ SENSITIVE = []
1404
+ include Aws::Structure
1405
+ end
1406
+
1317
1407
  # Defines instance placement configuration for WorkSpace Instance.
1318
1408
  #
1319
1409
  # @!attribute [rw] affinity
@@ -1720,6 +1810,35 @@ module Aws::WorkspacesInstances
1720
1810
  include Aws::Structure
1721
1811
  end
1722
1812
 
1813
+ # The volume has a previous modification that is still in progress, or
1814
+ # has reached the limit of four modifications in a rolling 24-hour
1815
+ # period. Wait for the current modification to finish, or wait until the
1816
+ # time indicated in the error message, and then retry the request.
1817
+ #
1818
+ # @!attribute [rw] message
1819
+ # Specifies the reason that the modification request was rejected.
1820
+ # @return [String]
1821
+ #
1822
+ # @!attribute [rw] resource_id
1823
+ # Specifies the identifier of the volume for which the modification
1824
+ # request was rejected.
1825
+ # @return [String]
1826
+ #
1827
+ # @!attribute [rw] resource_type
1828
+ # Specifies the type of the resource for which the modification
1829
+ # request was rejected.
1830
+ # @return [String]
1831
+ #
1832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-instances-2022-07-26/VolumeModificationRateExceededException AWS API Documentation
1833
+ #
1834
+ class VolumeModificationRateExceededException < Struct.new(
1835
+ :message,
1836
+ :resource_id,
1837
+ :resource_type)
1838
+ SENSITIVE = []
1839
+ include Aws::Structure
1840
+ end
1841
+
1723
1842
  # Represents a single WorkSpace Instance.
1724
1843
  #
1725
1844
  # @!attribute [rw] provision_state
@@ -55,7 +55,7 @@ module Aws::WorkspacesInstances
55
55
  autoload :EndpointProvider, 'aws-sdk-workspacesinstances/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-workspacesinstances/endpoints'
57
57
 
58
- GEM_VERSION = '1.22.0'
58
+ GEM_VERSION = '1.24.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
@@ -407,6 +408,25 @@ module Aws
407
408
  ) -> _ListWorkspaceInstancesResponseSuccess
408
409
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspaceInstancesResponseSuccess
409
410
 
411
+ interface _ModifyVolumeResponseSuccess
412
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVolumeResponse]
413
+ def volume_id: () -> ::String
414
+ def target_size: () -> ::Integer
415
+ def target_volume_type: () -> ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
416
+ def target_iops: () -> ::Integer
417
+ def target_throughput: () -> ::Integer
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#modify_volume-instance_method
420
+ def modify_volume: (
421
+ volume_id: ::String,
422
+ ?size_in_gb: ::Integer,
423
+ ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
424
+ ?iops: ::Integer,
425
+ ?throughput: ::Integer,
426
+ ?client_token: ::String
427
+ ) -> _ModifyVolumeResponseSuccess
428
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVolumeResponseSuccess
429
+
410
430
  interface _TagResourceResponseSuccess
411
431
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
412
432
  end
data/sig/errors.rbs CHANGED
@@ -11,41 +11,46 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
- class AccessDeniedException < ::Aws::Errors::ServiceError
14
+ class AccessDeniedException < ServiceError
15
15
  def message: () -> ::String
16
16
  end
17
- class ConflictException < ::Aws::Errors::ServiceError
17
+ class ConflictException < ServiceError
18
18
  def message: () -> ::String
19
19
  def resource_id: () -> ::String
20
20
  def resource_type: () -> ::String
21
21
  end
22
- class InternalServerException < ::Aws::Errors::ServiceError
22
+ class InternalServerException < ServiceError
23
23
  def message: () -> ::String
24
24
  def retry_after_seconds: () -> ::String
25
25
  end
26
- class ResourceNotFoundException < ::Aws::Errors::ServiceError
26
+ class ResourceNotFoundException < ServiceError
27
27
  def message: () -> ::String
28
28
  def resource_id: () -> ::String
29
29
  def resource_type: () -> ::String
30
30
  end
31
- class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
31
+ class ServiceQuotaExceededException < ServiceError
32
32
  def message: () -> ::String
33
33
  def resource_id: () -> ::String
34
34
  def resource_type: () -> ::String
35
35
  def service_code: () -> ::String
36
36
  def quota_code: () -> ::String
37
37
  end
38
- class ThrottlingException < ::Aws::Errors::ServiceError
38
+ class ThrottlingException < ServiceError
39
39
  def message: () -> ::String
40
40
  def service_code: () -> ::String
41
41
  def quota_code: () -> ::String
42
42
  def retry_after_seconds: () -> ::String
43
43
  end
44
- class ValidationException < ::Aws::Errors::ServiceError
44
+ class ValidationException < ServiceError
45
45
  def message: () -> ::String
46
46
  def reason: () -> ::String
47
47
  def field_list: () -> ::String
48
48
  end
49
+ class VolumeModificationRateExceededException < ServiceError
50
+ def message: () -> ::String
51
+ def resource_id: () -> ::String
52
+ def resource_type: () -> ::String
53
+ end
49
54
  end
50
55
  end
51
56
  end
data/sig/resource.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
data/sig/types.rbs CHANGED
@@ -372,6 +372,25 @@ module Aws::WorkspacesInstances
372
372
  SENSITIVE: [:private_ip_address, :user_data]
373
373
  end
374
374
 
375
+ class ModifyVolumeRequest
376
+ attr_accessor volume_id: ::String
377
+ attr_accessor size_in_gb: ::Integer
378
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
379
+ attr_accessor iops: ::Integer
380
+ attr_accessor throughput: ::Integer
381
+ attr_accessor client_token: ::String
382
+ SENSITIVE: [:client_token]
383
+ end
384
+
385
+ class ModifyVolumeResponse
386
+ attr_accessor volume_id: ::String
387
+ attr_accessor target_size: ::Integer
388
+ attr_accessor target_volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
389
+ attr_accessor target_iops: ::Integer
390
+ attr_accessor target_throughput: ::Integer
391
+ SENSITIVE: []
392
+ end
393
+
375
394
  class Placement
376
395
  attr_accessor affinity: ::String
377
396
  attr_accessor availability_zone: ::String
@@ -491,6 +510,13 @@ module Aws::WorkspacesInstances
491
510
  SENSITIVE: []
492
511
  end
493
512
 
513
+ class VolumeModificationRateExceededException
514
+ attr_accessor message: ::String
515
+ attr_accessor resource_id: ::String
516
+ attr_accessor resource_type: ::String
517
+ SENSITIVE: []
518
+ end
519
+
494
520
  class WorkspaceInstance
495
521
  attr_accessor provision_state: ("ALLOCATING" | "ALLOCATED" | "DEALLOCATING" | "DEALLOCATED" | "ERROR_ALLOCATING" | "ERROR_DEALLOCATING")
496
522
  attr_accessor workspace_instance_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workspacesinstances
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.256.0
21
+ version: 3.258.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.256.0
31
+ version: 3.258.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement