aws-sdk-workspaces 1.98.0 → 1.99.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspaces/client.rb +11 -5
- data/lib/aws-sdk-workspaces/client_api.rb +4 -0
- data/lib/aws-sdk-workspaces/types.rb +20 -42
- data/lib/aws-sdk-workspaces.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 849067813875020db188e4e1af2904a554e395ebfa937106a71bed5a9d473e89
|
4
|
+
data.tar.gz: 894f137c59061dc9f5288d6a78f6106265fefae15a06c34c8ad62a8dd3411e46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ba6fd83dfc650408e15ce86790e8b3cf799431ea2d6fd05fb8f417909a38fa2252254505daa0c71f238626bb3ee50181e6d8fa48337606069ab573a14a7f370
|
7
|
+
data.tar.gz: 0edee01fa363b27af5ba6f2587896844110c2e455d970662b1b0b41a3f880e4768af0af3d7d99d80145bcefdbbb401a17dedffede31874c9021cd896a4611d7e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.99.0 (2024-02-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces User-Decoupling feature. This feature allows Workspaces Core customers to provision workspaces without providing users. CreateWorkspaces and DescribeWorkspaces APIs will now take a new optional parameter "WorkspaceName".
|
8
|
+
|
4
9
|
1.98.0 (2024-02-05)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.99.0
|
@@ -1132,6 +1132,7 @@ module Aws::WorkSpaces
|
|
1132
1132
|
# value: "TagValue",
|
1133
1133
|
# },
|
1134
1134
|
# ],
|
1135
|
+
# workspace_name: "WorkspaceName",
|
1135
1136
|
# },
|
1136
1137
|
# ],
|
1137
1138
|
# })
|
@@ -1156,6 +1157,7 @@ module Aws::WorkSpaces
|
|
1156
1157
|
# resp.failed_requests[0].workspace_request.tags #=> Array
|
1157
1158
|
# resp.failed_requests[0].workspace_request.tags[0].key #=> String
|
1158
1159
|
# resp.failed_requests[0].workspace_request.tags[0].value #=> String
|
1160
|
+
# resp.failed_requests[0].workspace_request.workspace_name #=> String
|
1159
1161
|
# resp.failed_requests[0].error_code #=> String
|
1160
1162
|
# resp.failed_requests[0].error_message #=> String
|
1161
1163
|
# resp.pending_requests #=> Array
|
@@ -1172,6 +1174,7 @@ module Aws::WorkSpaces
|
|
1172
1174
|
# resp.pending_requests[0].volume_encryption_key #=> String
|
1173
1175
|
# resp.pending_requests[0].user_volume_encryption_enabled #=> Boolean
|
1174
1176
|
# resp.pending_requests[0].root_volume_encryption_enabled #=> Boolean
|
1177
|
+
# resp.pending_requests[0].workspace_name #=> String
|
1175
1178
|
# resp.pending_requests[0].workspace_properties.running_mode #=> String, one of "AUTO_STOP", "ALWAYS_ON", "MANUAL"
|
1176
1179
|
# resp.pending_requests[0].workspace_properties.running_mode_auto_stop_timeout_in_minutes #=> Integer
|
1177
1180
|
# resp.pending_requests[0].workspace_properties.root_volume_size_gib #=> Integer
|
@@ -2463,6 +2466,9 @@ module Aws::WorkSpaces
|
|
2463
2466
|
# If you received a `NextToken` from a previous call that was paginated,
|
2464
2467
|
# provide this token to receive the next set of results.
|
2465
2468
|
#
|
2469
|
+
# @option params [String] :workspace_name
|
2470
|
+
# The name of the user-decoupled WorkSpace.
|
2471
|
+
#
|
2466
2472
|
# @return [Types::DescribeWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2467
2473
|
#
|
2468
2474
|
# * {Types::DescribeWorkspacesResult#workspaces #workspaces} => Array<Types::Workspace>
|
@@ -2479,6 +2485,7 @@ module Aws::WorkSpaces
|
|
2479
2485
|
# bundle_id: "BundleId",
|
2480
2486
|
# limit: 1,
|
2481
2487
|
# next_token: "PaginationToken",
|
2488
|
+
# workspace_name: "WorkspaceName",
|
2482
2489
|
# })
|
2483
2490
|
#
|
2484
2491
|
# @example Response structure
|
@@ -2497,6 +2504,7 @@ module Aws::WorkSpaces
|
|
2497
2504
|
# resp.workspaces[0].volume_encryption_key #=> String
|
2498
2505
|
# resp.workspaces[0].user_volume_encryption_enabled #=> Boolean
|
2499
2506
|
# resp.workspaces[0].root_volume_encryption_enabled #=> Boolean
|
2507
|
+
# resp.workspaces[0].workspace_name #=> String
|
2500
2508
|
# resp.workspaces[0].workspace_properties.running_mode #=> String, one of "AUTO_STOP", "ALWAYS_ON", "MANUAL"
|
2501
2509
|
# resp.workspaces[0].workspace_properties.running_mode_auto_stop_timeout_in_minutes #=> Integer
|
2502
2510
|
# resp.workspaces[0].workspace_properties.root_volume_size_gib #=> Integer
|
@@ -3376,10 +3384,8 @@ module Aws::WorkSpaces
|
|
3376
3384
|
|
3377
3385
|
# Reboots the specified WorkSpaces.
|
3378
3386
|
#
|
3379
|
-
# You cannot reboot a WorkSpace unless its state is `AVAILABLE
|
3380
|
-
# `UNHEALTHY
|
3381
|
-
# state only if your WorkSpace has been stuck in the `REBOOTING` state
|
3382
|
-
# for over 20 minutes.
|
3387
|
+
# You cannot reboot a WorkSpace unless its state is `AVAILABLE` or
|
3388
|
+
# `UNHEALTHY`.
|
3383
3389
|
#
|
3384
3390
|
# This operation is asynchronous and returns before the WorkSpaces have
|
3385
3391
|
# rebooted.
|
@@ -3989,7 +3995,7 @@ module Aws::WorkSpaces
|
|
3989
3995
|
params: params,
|
3990
3996
|
config: config)
|
3991
3997
|
context[:gem_name] = 'aws-sdk-workspaces'
|
3992
|
-
context[:gem_version] = '1.
|
3998
|
+
context[:gem_version] = '1.99.0'
|
3993
3999
|
Seahorse::Client::Request.new(handlers, context)
|
3994
4000
|
end
|
3995
4001
|
|
@@ -401,6 +401,7 @@ module Aws::WorkSpaces
|
|
401
401
|
WorkspaceImageRequiredTenancy = Shapes::StringShape.new(name: 'WorkspaceImageRequiredTenancy')
|
402
402
|
WorkspaceImageState = Shapes::StringShape.new(name: 'WorkspaceImageState')
|
403
403
|
WorkspaceList = Shapes::ListShape.new(name: 'WorkspaceList')
|
404
|
+
WorkspaceName = Shapes::StringShape.new(name: 'WorkspaceName')
|
404
405
|
WorkspaceProperties = Shapes::StructureShape.new(name: 'WorkspaceProperties')
|
405
406
|
WorkspaceRequest = Shapes::StructureShape.new(name: 'WorkspaceRequest')
|
406
407
|
WorkspaceRequestList = Shapes::ListShape.new(name: 'WorkspaceRequestList')
|
@@ -895,6 +896,7 @@ module Aws::WorkSpaces
|
|
895
896
|
DescribeWorkspacesRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
|
896
897
|
DescribeWorkspacesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
|
897
898
|
DescribeWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
899
|
+
DescribeWorkspacesRequest.add_member(:workspace_name, Shapes::ShapeRef.new(shape: WorkspaceName, location_name: "WorkspaceName"))
|
898
900
|
DescribeWorkspacesRequest.struct_class = Types::DescribeWorkspacesRequest
|
899
901
|
|
900
902
|
DescribeWorkspacesResult.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "Workspaces"))
|
@@ -1384,6 +1386,7 @@ module Aws::WorkSpaces
|
|
1384
1386
|
Workspace.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
|
1385
1387
|
Workspace.add_member(:user_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserVolumeEncryptionEnabled"))
|
1386
1388
|
Workspace.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
|
1389
|
+
Workspace.add_member(:workspace_name, Shapes::ShapeRef.new(shape: WorkspaceName, location_name: "WorkspaceName"))
|
1387
1390
|
Workspace.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
|
1388
1391
|
Workspace.add_member(:modification_states, Shapes::ShapeRef.new(shape: ModificationStateList, location_name: "ModificationStates"))
|
1389
1392
|
Workspace.add_member(:related_workspaces, Shapes::ShapeRef.new(shape: RelatedWorkspaces, location_name: "RelatedWorkspaces"))
|
@@ -1490,6 +1493,7 @@ module Aws::WorkSpaces
|
|
1490
1493
|
WorkspaceRequest.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
|
1491
1494
|
WorkspaceRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
|
1492
1495
|
WorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1496
|
+
WorkspaceRequest.add_member(:workspace_name, Shapes::ShapeRef.new(shape: WorkspaceName, location_name: "WorkspaceName"))
|
1493
1497
|
WorkspaceRequest.struct_class = Types::WorkspaceRequest
|
1494
1498
|
|
1495
1499
|
WorkspaceRequestList.member = Shapes::ShapeRef.new(shape: WorkspaceRequest)
|
@@ -2158,6 +2158,10 @@ module Aws::WorkSpaces
|
|
2158
2158
|
# paginated, provide this token to receive the next set of results.
|
2159
2159
|
# @return [String]
|
2160
2160
|
#
|
2161
|
+
# @!attribute [rw] workspace_name
|
2162
|
+
# The name of the user-decoupled WorkSpace.
|
2163
|
+
# @return [String]
|
2164
|
+
#
|
2161
2165
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesRequest AWS API Documentation
|
2162
2166
|
#
|
2163
2167
|
class DescribeWorkspacesRequest < Struct.new(
|
@@ -2166,7 +2170,8 @@ module Aws::WorkSpaces
|
|
2166
2170
|
:user_name,
|
2167
2171
|
:bundle_id,
|
2168
2172
|
:limit,
|
2169
|
-
:next_token
|
2173
|
+
:next_token,
|
2174
|
+
:workspace_name)
|
2170
2175
|
SENSITIVE = []
|
2171
2176
|
include Aws::Structure
|
2172
2177
|
end
|
@@ -4179,46 +4184,6 @@ module Aws::WorkSpaces
|
|
4179
4184
|
# @!attribute [rw] state
|
4180
4185
|
# The operational state of the WorkSpace.
|
4181
4186
|
#
|
4182
|
-
# * `PENDING` – The WorkSpace is in a waiting state (for example, the
|
4183
|
-
# WorkSpace is being created).
|
4184
|
-
#
|
4185
|
-
# * `AVAILABLE` – The WorkSpace is running and has passed the health
|
4186
|
-
# checks.
|
4187
|
-
#
|
4188
|
-
# * `IMPAIRED` – Refer to `UNHEALTHY` state.
|
4189
|
-
#
|
4190
|
-
# * `UNHEALTHY` – The WorkSpace is not responding to health checks.
|
4191
|
-
#
|
4192
|
-
# * `REBOOTING` – The WorkSpace is being rebooted (restarted).
|
4193
|
-
#
|
4194
|
-
# * `STARTING` – The WorkSpace is starting up and health checks are
|
4195
|
-
# being run.
|
4196
|
-
#
|
4197
|
-
# * `REBUILDING` – The WorkSpace is being rebuilt.
|
4198
|
-
#
|
4199
|
-
# * `RESTORING` – The WorkSpace is being restored.
|
4200
|
-
#
|
4201
|
-
# * `MAINTENANCE` – The WorkSpace is undergoing scheduled maintenance
|
4202
|
-
# by Amazon Web Services.
|
4203
|
-
#
|
4204
|
-
# * `ADMIN_MAINTENANCE` – The WorkSpace is undergoing maintenance by
|
4205
|
-
# the WorkSpaces administrator.
|
4206
|
-
#
|
4207
|
-
# * `TERMINATING` – The WorkSpace is being deleted.
|
4208
|
-
#
|
4209
|
-
# * `TERMINATED` – The WorkSpace has been deleted.
|
4210
|
-
#
|
4211
|
-
# * `SUSPENDED` – The WorkSpace has been suspended for image creation.
|
4212
|
-
#
|
4213
|
-
# * `UPDATING` – The WorkSpace is undergoing an update.
|
4214
|
-
#
|
4215
|
-
# * `STOPPING` – The WorkSpace is being stopped.
|
4216
|
-
#
|
4217
|
-
# * `STOPPED` – The WorkSpace has been stopped.
|
4218
|
-
#
|
4219
|
-
# * `ERROR ` – The WorkSpace is an error state (for example, an error
|
4220
|
-
# occurred during startup).
|
4221
|
-
#
|
4222
4187
|
# <note markdown="1"> After a WorkSpace is terminated, the `TERMINATED` state is returned
|
4223
4188
|
# only briefly before the WorkSpace directory metadata is cleaned up,
|
4224
4189
|
# so this state is rarely returned. To confirm that a WorkSpace is
|
@@ -4273,6 +4238,10 @@ module Aws::WorkSpaces
|
|
4273
4238
|
# Indicates whether the data stored on the root volume is encrypted.
|
4274
4239
|
# @return [Boolean]
|
4275
4240
|
#
|
4241
|
+
# @!attribute [rw] workspace_name
|
4242
|
+
# The name of the user-decoupled WorkSpace.
|
4243
|
+
# @return [String]
|
4244
|
+
#
|
4276
4245
|
# @!attribute [rw] workspace_properties
|
4277
4246
|
# The properties of the WorkSpace.
|
4278
4247
|
# @return [Types::WorkspaceProperties]
|
@@ -4310,6 +4279,7 @@ module Aws::WorkSpaces
|
|
4310
4279
|
:volume_encryption_key,
|
4311
4280
|
:user_volume_encryption_enabled,
|
4312
4281
|
:root_volume_encryption_enabled,
|
4282
|
+
:workspace_name,
|
4313
4283
|
:workspace_properties,
|
4314
4284
|
:modification_states,
|
4315
4285
|
:related_workspaces,
|
@@ -4882,6 +4852,9 @@ module Aws::WorkSpaces
|
|
4882
4852
|
# @!attribute [rw] user_name
|
4883
4853
|
# The user name of the user for the WorkSpace. This user name must
|
4884
4854
|
# exist in the Directory Service directory for the WorkSpace.
|
4855
|
+
#
|
4856
|
+
# The reserved keyword, `[UNDEFINED]`, is used when creating
|
4857
|
+
# user-decoupled WorkSpaces.
|
4885
4858
|
# @return [String]
|
4886
4859
|
#
|
4887
4860
|
# @!attribute [rw] bundle_id
|
@@ -4910,6 +4883,10 @@ module Aws::WorkSpaces
|
|
4910
4883
|
# The tags for the WorkSpace.
|
4911
4884
|
# @return [Array<Types::Tag>]
|
4912
4885
|
#
|
4886
|
+
# @!attribute [rw] workspace_name
|
4887
|
+
# The name of the user-decoupled WorkSpace.
|
4888
|
+
# @return [String]
|
4889
|
+
#
|
4913
4890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceRequest AWS API Documentation
|
4914
4891
|
#
|
4915
4892
|
class WorkspaceRequest < Struct.new(
|
@@ -4920,7 +4897,8 @@ module Aws::WorkSpaces
|
|
4920
4897
|
:user_volume_encryption_enabled,
|
4921
4898
|
:root_volume_encryption_enabled,
|
4922
4899
|
:workspace_properties,
|
4923
|
-
:tags
|
4900
|
+
:tags,
|
4901
|
+
:workspace_name)
|
4924
4902
|
SENSITIVE = []
|
4925
4903
|
include Aws::Structure
|
4926
4904
|
end
|
data/lib/aws-sdk-workspaces.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -329,7 +329,8 @@ module Aws
|
|
329
329
|
key: ::String,
|
330
330
|
value: ::String?
|
331
331
|
},
|
332
|
-
]
|
332
|
+
]?,
|
333
|
+
workspace_name: ::String?
|
333
334
|
},
|
334
335
|
]
|
335
336
|
) -> _CreateWorkspacesResponseSuccess
|
@@ -672,7 +673,8 @@ module Aws
|
|
672
673
|
?user_name: ::String,
|
673
674
|
?bundle_id: ::String,
|
674
675
|
?limit: ::Integer,
|
675
|
-
?next_token: ::String
|
676
|
+
?next_token: ::String,
|
677
|
+
?workspace_name: ::String
|
676
678
|
) -> _DescribeWorkspacesResponseSuccess
|
677
679
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspacesResponseSuccess
|
678
680
|
|
data/sig/types.rbs
CHANGED
@@ -651,6 +651,7 @@ module Aws::WorkSpaces
|
|
651
651
|
attr_accessor bundle_id: ::String
|
652
652
|
attr_accessor limit: ::Integer
|
653
653
|
attr_accessor next_token: ::String
|
654
|
+
attr_accessor workspace_name: ::String
|
654
655
|
SENSITIVE: []
|
655
656
|
end
|
656
657
|
|
@@ -1250,6 +1251,7 @@ module Aws::WorkSpaces
|
|
1250
1251
|
attr_accessor volume_encryption_key: ::String
|
1251
1252
|
attr_accessor user_volume_encryption_enabled: bool
|
1252
1253
|
attr_accessor root_volume_encryption_enabled: bool
|
1254
|
+
attr_accessor workspace_name: ::String
|
1253
1255
|
attr_accessor workspace_properties: Types::WorkspaceProperties
|
1254
1256
|
attr_accessor modification_states: ::Array[Types::ModificationState]
|
1255
1257
|
attr_accessor related_workspaces: ::Array[Types::RelatedWorkspaceProperties]
|
@@ -1362,6 +1364,7 @@ module Aws::WorkSpaces
|
|
1362
1364
|
attr_accessor root_volume_encryption_enabled: bool
|
1363
1365
|
attr_accessor workspace_properties: Types::WorkspaceProperties
|
1364
1366
|
attr_accessor tags: ::Array[Types::Tag]
|
1367
|
+
attr_accessor workspace_name: ::String
|
1365
1368
|
SENSITIVE: []
|
1366
1369
|
end
|
1367
1370
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-workspaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.99.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|