aws-sdk-workspacesinstances 1.21.0 → 1.23.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspacesinstances/client.rb +92 -1
- data/lib/aws-sdk-workspacesinstances/client_api.rb +41 -1
- data/lib/aws-sdk-workspacesinstances/errors.rb +26 -0
- data/lib/aws-sdk-workspacesinstances/types.rb +119 -0
- data/lib/aws-sdk-workspacesinstances.rb +1 -1
- data/sig/client.rbs +19 -0
- data/sig/errors.rbs +12 -7
- data/sig/types.rbs +26 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f75e24e91c33a5f2b12f0368bd6d0b6a3658cf3d2b43b30beb9485f3906b0b63
|
|
4
|
+
data.tar.gz: d928ac6afbc90cf11152a6ef6c9948ba5d816b8d12587a3ac6a0f4378f6cc75f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0eafedfbfceed97578a37191216399a5960933c723db9e732c3e541828a19eb6463e3e8c3f8a0d1093af9cc8274a31e750650a47cd40c1d884f3c55360bb9d2
|
|
7
|
+
data.tar.gz: f9b82b3ccc7894c40bdc09985e8151cb62f712da5fe5a35adab8d9272f32f271187b341fddd5beb8342ad97f8f83f39a63d3dc63983bab86e4d71008b8695a79
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.23.0 (2026-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
9
|
+
1.22.0 (2026-09-11)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.21.0 (2026-09-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.23.0
|
|
@@ -1106,6 +1106,97 @@ module Aws::WorkspacesInstances
|
|
|
1106
1106
|
req.send_request(options)
|
|
1107
1107
|
end
|
|
1108
1108
|
|
|
1109
|
+
# Modifies the size, volume type, IOPS (input/output operations per
|
|
1110
|
+
# second), or throughput of a volume. When you modify a volume, you must
|
|
1111
|
+
# specify at least one of these parameters. You can modify a volume only
|
|
1112
|
+
# after any previous modification for that volume has finished.
|
|
1113
|
+
#
|
|
1114
|
+
# To track the progress of a modification, use the Amazon EC2
|
|
1115
|
+
# [DescribeVolumesModifications][1] operation. For more information, see
|
|
1116
|
+
# [Monitor the progress of Amazon EBS volume modifications][2] in the
|
|
1117
|
+
# *Amazon EBS User Guide*.
|
|
1118
|
+
#
|
|
1119
|
+
# After you increase the size of a volume, you must extend the partition
|
|
1120
|
+
# and file system to use the new storage capacity. For more information,
|
|
1121
|
+
# see [Extend the file system after resizing an Amazon EBS volume][3] in
|
|
1122
|
+
# the *Amazon EBS User Guide*, which covers both [Linux][4] and
|
|
1123
|
+
# [Windows][5] instances.
|
|
1124
|
+
#
|
|
1125
|
+
#
|
|
1126
|
+
#
|
|
1127
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVolumesModifications.html
|
|
1128
|
+
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-modifications.html
|
|
1129
|
+
# [3]: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html
|
|
1130
|
+
# [4]: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html#extend-linux
|
|
1131
|
+
# [5]: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html#extend-windows
|
|
1132
|
+
#
|
|
1133
|
+
# @option params [required, String] :volume_id
|
|
1134
|
+
# Specifies the identifier of the volume to modify.
|
|
1135
|
+
#
|
|
1136
|
+
# @option params [Integer] :size_in_gb
|
|
1137
|
+
# Specifies the target size of the volume, in GiB. The target size must
|
|
1138
|
+
# be greater than or equal to the current size of the volume. If you
|
|
1139
|
+
# don't specify a size, the current size is retained.
|
|
1140
|
+
#
|
|
1141
|
+
# @option params [String] :volume_type
|
|
1142
|
+
# Specifies the target Amazon Elastic Block Store (Amazon EBS) volume
|
|
1143
|
+
# type. If you don't specify a volume type, the current volume type is
|
|
1144
|
+
# retained.
|
|
1145
|
+
#
|
|
1146
|
+
# @option params [Integer] :iops
|
|
1147
|
+
# Specifies the target IOPS rate of the volume. This parameter is valid
|
|
1148
|
+
# only for `gp3`, `io1`, and `io2` volumes. If you don't specify IOPS
|
|
1149
|
+
# and keep the same volume type, the current IOPS rate is retained.
|
|
1150
|
+
#
|
|
1151
|
+
# @option params [Integer] :throughput
|
|
1152
|
+
# Specifies the target throughput of the volume, in MiB/s. This
|
|
1153
|
+
# parameter is valid only for `gp3` volumes. If you don't specify
|
|
1154
|
+
# throughput and the volume remains `gp3`, the current throughput is
|
|
1155
|
+
# retained.
|
|
1156
|
+
#
|
|
1157
|
+
# @option params [String] :client_token
|
|
1158
|
+
# Unique token to ensure idempotent volume modification, preventing
|
|
1159
|
+
# duplicate volume modifications.
|
|
1160
|
+
#
|
|
1161
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1162
|
+
# not need to pass this option.**
|
|
1163
|
+
#
|
|
1164
|
+
# @return [Types::ModifyVolumeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1165
|
+
#
|
|
1166
|
+
# * {Types::ModifyVolumeResponse#volume_id #volume_id} => String
|
|
1167
|
+
# * {Types::ModifyVolumeResponse#target_size #target_size} => Integer
|
|
1168
|
+
# * {Types::ModifyVolumeResponse#target_volume_type #target_volume_type} => String
|
|
1169
|
+
# * {Types::ModifyVolumeResponse#target_iops #target_iops} => Integer
|
|
1170
|
+
# * {Types::ModifyVolumeResponse#target_throughput #target_throughput} => Integer
|
|
1171
|
+
#
|
|
1172
|
+
# @example Request syntax with placeholder values
|
|
1173
|
+
#
|
|
1174
|
+
# resp = client.modify_volume({
|
|
1175
|
+
# volume_id: "VolumeId", # required
|
|
1176
|
+
# size_in_gb: 1,
|
|
1177
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
1178
|
+
# iops: 1,
|
|
1179
|
+
# throughput: 1,
|
|
1180
|
+
# client_token: "ClientToken",
|
|
1181
|
+
# })
|
|
1182
|
+
#
|
|
1183
|
+
# @example Response structure
|
|
1184
|
+
#
|
|
1185
|
+
# resp.volume_id #=> String
|
|
1186
|
+
# resp.target_size #=> Integer
|
|
1187
|
+
# resp.target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
1188
|
+
# resp.target_iops #=> Integer
|
|
1189
|
+
# resp.target_throughput #=> Integer
|
|
1190
|
+
#
|
|
1191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-instances-2022-07-26/ModifyVolume AWS API Documentation
|
|
1192
|
+
#
|
|
1193
|
+
# @overload modify_volume(params = {})
|
|
1194
|
+
# @param [Hash] params ({})
|
|
1195
|
+
def modify_volume(params = {}, options = {})
|
|
1196
|
+
req = build_request(:modify_volume, params)
|
|
1197
|
+
req.send_request(options)
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1109
1200
|
# Adds tags to a WorkSpace Instance.
|
|
1110
1201
|
#
|
|
1111
1202
|
# @option params [required, String] :workspace_instance_id
|
|
@@ -1181,7 +1272,7 @@ module Aws::WorkspacesInstances
|
|
|
1181
1272
|
tracer: tracer
|
|
1182
1273
|
)
|
|
1183
1274
|
context[:gem_name] = 'aws-sdk-workspacesinstances'
|
|
1184
|
-
context[:gem_version] = '1.
|
|
1275
|
+
context[:gem_version] = '1.23.0'
|
|
1185
1276
|
Seahorse::Client::Request.new(handlers, context)
|
|
1186
1277
|
end
|
|
1187
1278
|
|
|
@@ -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:
|
|
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
|
data/sig/client.rbs
CHANGED
|
@@ -407,6 +407,25 @@ module Aws
|
|
|
407
407
|
) -> _ListWorkspaceInstancesResponseSuccess
|
|
408
408
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspaceInstancesResponseSuccess
|
|
409
409
|
|
|
410
|
+
interface _ModifyVolumeResponseSuccess
|
|
411
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVolumeResponse]
|
|
412
|
+
def volume_id: () -> ::String
|
|
413
|
+
def target_size: () -> ::Integer
|
|
414
|
+
def target_volume_type: () -> ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
|
|
415
|
+
def target_iops: () -> ::Integer
|
|
416
|
+
def target_throughput: () -> ::Integer
|
|
417
|
+
end
|
|
418
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkspacesInstances/Client.html#modify_volume-instance_method
|
|
419
|
+
def modify_volume: (
|
|
420
|
+
volume_id: ::String,
|
|
421
|
+
?size_in_gb: ::Integer,
|
|
422
|
+
?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
|
|
423
|
+
?iops: ::Integer,
|
|
424
|
+
?throughput: ::Integer,
|
|
425
|
+
?client_token: ::String
|
|
426
|
+
) -> _ModifyVolumeResponseSuccess
|
|
427
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVolumeResponseSuccess
|
|
428
|
+
|
|
410
429
|
interface _TagResourceResponseSuccess
|
|
411
430
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
|
412
431
|
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 <
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
end
|
|
17
|
-
class ConflictException <
|
|
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 <
|
|
22
|
+
class InternalServerException < ServiceError
|
|
23
23
|
def message: () -> ::String
|
|
24
24
|
def retry_after_seconds: () -> ::String
|
|
25
25
|
end
|
|
26
|
-
class ResourceNotFoundException <
|
|
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 <
|
|
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 <
|
|
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 <
|
|
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/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.
|
|
4
|
+
version: 1.23.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.
|
|
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.
|
|
31
|
+
version: 3.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|