aws-sdk-workspaces 1.39.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-workspaces.rb +2 -2
- data/lib/aws-sdk-workspaces/client.rb +155 -16
- data/lib/aws-sdk-workspaces/client_api.rb +64 -0
- data/lib/aws-sdk-workspaces/types.rb +205 -8
- 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: 5fac17d0b167c49bec19e531e40e6a2ab085810a9d35b830cc4ecab3aa837c79
|
4
|
+
data.tar.gz: f4308faae963abb54234b0c9f8cad2313df2ce59fed271219a17998b6cb92330
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1e9ce90af4494d7de57dbc2f85db5a22d4935d565f1c1bf97fae146e2946c0202ce4405735e9398e6fbcf80ae8ac453e66ce012d5f33fd4b3bcc4a73a96b973
|
7
|
+
data.tar.gz: 9283bc500645f5198d9136ea7a15b3f3c8df9e9e433a0f56751b2c05d8ed2ad55281466f199b83c14a622b6ce5e0581f5e60ebcafd7c7c99036505a19fac5d31
|
data/lib/aws-sdk-workspaces.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::WorkSpaces
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::WorkSpaces
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -679,7 +694,7 @@ module Aws::WorkSpaces
|
|
679
694
|
|
680
695
|
# Deletes the specified image from your account. To delete an image, you
|
681
696
|
# must first delete any bundles that are associated with the image and
|
682
|
-
#
|
697
|
+
# unshare the image if it is shared with other accounts.
|
683
698
|
#
|
684
699
|
# @option params [required, String] :image_id
|
685
700
|
# The identifier of the image.
|
@@ -1032,6 +1047,49 @@ module Aws::WorkSpaces
|
|
1032
1047
|
req.send_request(options)
|
1033
1048
|
end
|
1034
1049
|
|
1050
|
+
# Describes the permissions that the owner of an image has granted to
|
1051
|
+
# other AWS accounts for an image.
|
1052
|
+
#
|
1053
|
+
# @option params [required, String] :image_id
|
1054
|
+
# The identifier of the image.
|
1055
|
+
#
|
1056
|
+
# @option params [String] :next_token
|
1057
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
1058
|
+
# provide this token to receive the next set of results.
|
1059
|
+
#
|
1060
|
+
# @option params [Integer] :max_results
|
1061
|
+
# The maximum number of items to return.
|
1062
|
+
#
|
1063
|
+
# @return [Types::DescribeWorkspaceImagePermissionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1064
|
+
#
|
1065
|
+
# * {Types::DescribeWorkspaceImagePermissionsResult#image_id #image_id} => String
|
1066
|
+
# * {Types::DescribeWorkspaceImagePermissionsResult#image_permissions #image_permissions} => Array<Types::ImagePermission>
|
1067
|
+
# * {Types::DescribeWorkspaceImagePermissionsResult#next_token #next_token} => String
|
1068
|
+
#
|
1069
|
+
# @example Request syntax with placeholder values
|
1070
|
+
#
|
1071
|
+
# resp = client.describe_workspace_image_permissions({
|
1072
|
+
# image_id: "WorkspaceImageId", # required
|
1073
|
+
# next_token: "PaginationToken",
|
1074
|
+
# max_results: 1,
|
1075
|
+
# })
|
1076
|
+
#
|
1077
|
+
# @example Response structure
|
1078
|
+
#
|
1079
|
+
# resp.image_id #=> String
|
1080
|
+
# resp.image_permissions #=> Array
|
1081
|
+
# resp.image_permissions[0].shared_account_id #=> String
|
1082
|
+
# resp.next_token #=> String
|
1083
|
+
#
|
1084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagePermissions AWS API Documentation
|
1085
|
+
#
|
1086
|
+
# @overload describe_workspace_image_permissions(params = {})
|
1087
|
+
# @param [Hash] params ({})
|
1088
|
+
def describe_workspace_image_permissions(params = {}, options = {})
|
1089
|
+
req = build_request(:describe_workspace_image_permissions, params)
|
1090
|
+
req.send_request(options)
|
1091
|
+
end
|
1092
|
+
|
1035
1093
|
# Retrieves a list that describes one or more specified images, if the
|
1036
1094
|
# image identifiers are provided. Otherwise, all images in the account
|
1037
1095
|
# are described.
|
@@ -1039,6 +1097,9 @@ module Aws::WorkSpaces
|
|
1039
1097
|
# @option params [Array<String>] :image_ids
|
1040
1098
|
# The identifier of the image.
|
1041
1099
|
#
|
1100
|
+
# @option params [String] :image_type
|
1101
|
+
# The type (owned or shared) of the image.
|
1102
|
+
#
|
1042
1103
|
# @option params [String] :next_token
|
1043
1104
|
# If you received a `NextToken` from a previous call that was paginated,
|
1044
1105
|
# provide this token to receive the next set of results.
|
@@ -1055,6 +1116,7 @@ module Aws::WorkSpaces
|
|
1055
1116
|
#
|
1056
1117
|
# resp = client.describe_workspace_images({
|
1057
1118
|
# image_ids: ["WorkspaceImageId"],
|
1119
|
+
# image_type: "OWNED", # accepts OWNED, SHARED
|
1058
1120
|
# next_token: "PaginationToken",
|
1059
1121
|
# max_results: 1,
|
1060
1122
|
# })
|
@@ -1070,6 +1132,8 @@ module Aws::WorkSpaces
|
|
1070
1132
|
# resp.images[0].required_tenancy #=> String, one of "DEFAULT", "DEDICATED"
|
1071
1133
|
# resp.images[0].error_code #=> String
|
1072
1134
|
# resp.images[0].error_message #=> String
|
1135
|
+
# resp.images[0].created #=> Time
|
1136
|
+
# resp.images[0].owner_account_id #=> String
|
1073
1137
|
# resp.next_token #=> String
|
1074
1138
|
#
|
1075
1139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImages AWS API Documentation
|
@@ -1267,16 +1331,23 @@ module Aws::WorkSpaces
|
|
1267
1331
|
req.send_request(options)
|
1268
1332
|
end
|
1269
1333
|
|
1270
|
-
# Imports the specified Windows
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1334
|
+
# Imports the specified Windows 10 Bring Your Own License (BYOL) image
|
1335
|
+
# into Amazon WorkSpaces. The image must be an already licensed EC2
|
1336
|
+
# image that is in your AWS account, and you must own the image. For
|
1337
|
+
# more information about creating BYOL images, see [ Bring Your Own
|
1338
|
+
# Windows Desktop Licenses][1].
|
1339
|
+
#
|
1340
|
+
#
|
1341
|
+
#
|
1342
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
|
1274
1343
|
#
|
1275
1344
|
# @option params [required, String] :ec2_image_id
|
1276
1345
|
# The identifier of the EC2 image.
|
1277
1346
|
#
|
1278
1347
|
# @option params [required, String] :ingestion_process
|
1279
|
-
# The ingestion process to be used when importing the image.
|
1348
|
+
# The ingestion process to be used when importing the image. For
|
1349
|
+
# non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro),
|
1350
|
+
# specify `BYOL_REGULAR`.
|
1280
1351
|
#
|
1281
1352
|
# @option params [required, String] :image_name
|
1282
1353
|
# The name of the WorkSpace image.
|
@@ -1287,6 +1358,21 @@ module Aws::WorkSpaces
|
|
1287
1358
|
# @option params [Array<Types::Tag>] :tags
|
1288
1359
|
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
1289
1360
|
#
|
1361
|
+
# @option params [Array<String>] :applications
|
1362
|
+
# If specified, the version of Microsoft Office to subscribe to. Valid
|
1363
|
+
# only for Windows 10 BYOL images. For more information about
|
1364
|
+
# subscribing to Office for BYOL images, see [ Bring Your Own Windows
|
1365
|
+
# Desktop Licenses][1].
|
1366
|
+
#
|
1367
|
+
# <note markdown="1"> Although this parameter is an array, only one item is allowed at this
|
1368
|
+
# time.
|
1369
|
+
#
|
1370
|
+
# </note>
|
1371
|
+
#
|
1372
|
+
#
|
1373
|
+
#
|
1374
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
|
1375
|
+
#
|
1290
1376
|
# @return [Types::ImportWorkspaceImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1291
1377
|
#
|
1292
1378
|
# * {Types::ImportWorkspaceImageResult#image_id #image_id} => String
|
@@ -1304,6 +1390,7 @@ module Aws::WorkSpaces
|
|
1304
1390
|
# value: "TagValue",
|
1305
1391
|
# },
|
1306
1392
|
# ],
|
1393
|
+
# applications: ["Microsoft_Office_2016"], # accepts Microsoft_Office_2016, Microsoft_Office_2019
|
1307
1394
|
# })
|
1308
1395
|
#
|
1309
1396
|
# @example Response structure
|
@@ -1572,6 +1659,7 @@ module Aws::WorkSpaces
|
|
1572
1659
|
# resp = client.modify_workspace_creation_properties({
|
1573
1660
|
# resource_id: "DirectoryId", # required
|
1574
1661
|
# workspace_creation_properties: { # required
|
1662
|
+
# enable_work_docs: false,
|
1575
1663
|
# enable_internet_access: false,
|
1576
1664
|
# default_ou: "DefaultOu",
|
1577
1665
|
# custom_security_group_id: "SecurityGroupId",
|
@@ -1589,7 +1677,13 @@ module Aws::WorkSpaces
|
|
1589
1677
|
req.send_request(options)
|
1590
1678
|
end
|
1591
1679
|
|
1592
|
-
# Modifies the specified WorkSpace properties.
|
1680
|
+
# Modifies the specified WorkSpace properties. For important information
|
1681
|
+
# about how to modify the size of the root and user volumes, see [
|
1682
|
+
# Modify a WorkSpace][1].
|
1683
|
+
#
|
1684
|
+
#
|
1685
|
+
#
|
1686
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html
|
1593
1687
|
#
|
1594
1688
|
# @option params [required, String] :workspace_id
|
1595
1689
|
# The identifier of the WorkSpace.
|
@@ -1697,7 +1791,7 @@ module Aws::WorkSpaces
|
|
1697
1791
|
# Rebuilds the specified WorkSpace.
|
1698
1792
|
#
|
1699
1793
|
# You cannot rebuild a WorkSpace unless its state is `AVAILABLE`,
|
1700
|
-
# `ERROR`, `UNHEALTHY`, or `
|
1794
|
+
# `ERROR`, `UNHEALTHY`, `STOPPED`, or `REBOOTING`.
|
1701
1795
|
#
|
1702
1796
|
# Rebuilding a WorkSpace is a potentially destructive action that can
|
1703
1797
|
# result in the loss of data. For more information, see [Rebuild a
|
@@ -2035,6 +2129,51 @@ module Aws::WorkSpaces
|
|
2035
2129
|
req.send_request(options)
|
2036
2130
|
end
|
2037
2131
|
|
2132
|
+
# Shares or unshares an image with one account by specifying whether
|
2133
|
+
# that account has permission to copy the image. If the copy image
|
2134
|
+
# permission is granted, the image is shared with that account. If the
|
2135
|
+
# copy image permission is revoked, the image is unshared with the
|
2136
|
+
# account.
|
2137
|
+
#
|
2138
|
+
# <note markdown="1"> * To delete an image that has been shared, you must unshare the image
|
2139
|
+
# before you delete it.
|
2140
|
+
#
|
2141
|
+
# * Sharing Bring Your Own License (BYOL) images across AWS accounts
|
2142
|
+
# isn't supported at this time in the AWS GovCloud (US-West) Region.
|
2143
|
+
# To share BYOL images across accounts in the AWS GovCloud (US-West)
|
2144
|
+
# Region, contact AWS Support.
|
2145
|
+
#
|
2146
|
+
# </note>
|
2147
|
+
#
|
2148
|
+
# @option params [required, String] :image_id
|
2149
|
+
# The identifier of the image.
|
2150
|
+
#
|
2151
|
+
# @option params [required, Boolean] :allow_copy_image
|
2152
|
+
# The permission to copy the image. This permission can be revoked only
|
2153
|
+
# after an image has been shared.
|
2154
|
+
#
|
2155
|
+
# @option params [required, String] :shared_account_id
|
2156
|
+
# The identifier of the AWS account to share or unshare the image with.
|
2157
|
+
#
|
2158
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2159
|
+
#
|
2160
|
+
# @example Request syntax with placeholder values
|
2161
|
+
#
|
2162
|
+
# resp = client.update_workspace_image_permission({
|
2163
|
+
# image_id: "WorkspaceImageId", # required
|
2164
|
+
# allow_copy_image: false, # required
|
2165
|
+
# shared_account_id: "AwsAccount", # required
|
2166
|
+
# })
|
2167
|
+
#
|
2168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermission AWS API Documentation
|
2169
|
+
#
|
2170
|
+
# @overload update_workspace_image_permission(params = {})
|
2171
|
+
# @param [Hash] params ({})
|
2172
|
+
def update_workspace_image_permission(params = {}, options = {})
|
2173
|
+
req = build_request(:update_workspace_image_permission, params)
|
2174
|
+
req.send_request(options)
|
2175
|
+
end
|
2176
|
+
|
2038
2177
|
# @!endgroup
|
2039
2178
|
|
2040
2179
|
# @param params ({})
|
@@ -2048,7 +2187,7 @@ module Aws::WorkSpaces
|
|
2048
2187
|
params: params,
|
2049
2188
|
config: config)
|
2050
2189
|
context[:gem_name] = 'aws-sdk-workspaces'
|
2051
|
-
context[:gem_version] = '1.
|
2190
|
+
context[:gem_version] = '1.44.0'
|
2052
2191
|
Seahorse::Client::Request.new(handlers, context)
|
2053
2192
|
end
|
2054
2193
|
|
@@ -19,10 +19,13 @@ module Aws::WorkSpaces
|
|
19
19
|
AccountModification = Shapes::StructureShape.new(name: 'AccountModification')
|
20
20
|
AccountModificationList = Shapes::ListShape.new(name: 'AccountModificationList')
|
21
21
|
Alias = Shapes::StringShape.new(name: 'Alias')
|
22
|
+
Application = Shapes::StringShape.new(name: 'Application')
|
23
|
+
ApplicationList = Shapes::ListShape.new(name: 'ApplicationList')
|
22
24
|
AssociateIpGroupsRequest = Shapes::StructureShape.new(name: 'AssociateIpGroupsRequest')
|
23
25
|
AssociateIpGroupsResult = Shapes::StructureShape.new(name: 'AssociateIpGroupsResult')
|
24
26
|
AuthorizeIpRulesRequest = Shapes::StructureShape.new(name: 'AuthorizeIpRulesRequest')
|
25
27
|
AuthorizeIpRulesResult = Shapes::StructureShape.new(name: 'AuthorizeIpRulesResult')
|
28
|
+
AwsAccount = Shapes::StringShape.new(name: 'AwsAccount')
|
26
29
|
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
27
30
|
BundleId = Shapes::StringShape.new(name: 'BundleId')
|
28
31
|
BundleIdList = Shapes::ListShape.new(name: 'BundleIdList')
|
@@ -72,6 +75,8 @@ module Aws::WorkSpaces
|
|
72
75
|
DescribeWorkspaceBundlesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesResult')
|
73
76
|
DescribeWorkspaceDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesRequest')
|
74
77
|
DescribeWorkspaceDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesResult')
|
78
|
+
DescribeWorkspaceImagePermissionsRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagePermissionsRequest')
|
79
|
+
DescribeWorkspaceImagePermissionsResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagePermissionsResult')
|
75
80
|
DescribeWorkspaceImagesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagesRequest')
|
76
81
|
DescribeWorkspaceImagesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagesResult')
|
77
82
|
DescribeWorkspaceSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceSnapshotsRequest')
|
@@ -99,6 +104,9 @@ module Aws::WorkSpaces
|
|
99
104
|
FailedStopWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStopWorkspaceRequests')
|
100
105
|
FailedTerminateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedTerminateWorkspaceRequests')
|
101
106
|
FailedWorkspaceChangeRequest = Shapes::StructureShape.new(name: 'FailedWorkspaceChangeRequest')
|
107
|
+
ImagePermission = Shapes::StructureShape.new(name: 'ImagePermission')
|
108
|
+
ImagePermissions = Shapes::ListShape.new(name: 'ImagePermissions')
|
109
|
+
ImageType = Shapes::StringShape.new(name: 'ImageType')
|
102
110
|
ImportWorkspaceImageRequest = Shapes::StructureShape.new(name: 'ImportWorkspaceImageRequest')
|
103
111
|
ImportWorkspaceImageResult = Shapes::StructureShape.new(name: 'ImportWorkspaceImageResult')
|
104
112
|
InvalidParameterValuesException = Shapes::StructureShape.new(name: 'InvalidParameterValuesException')
|
@@ -202,6 +210,8 @@ module Aws::WorkSpaces
|
|
202
210
|
UnsupportedWorkspaceConfigurationException = Shapes::StructureShape.new(name: 'UnsupportedWorkspaceConfigurationException')
|
203
211
|
UpdateRulesOfIpGroupRequest = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupRequest')
|
204
212
|
UpdateRulesOfIpGroupResult = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupResult')
|
213
|
+
UpdateWorkspaceImagePermissionRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceImagePermissionRequest')
|
214
|
+
UpdateWorkspaceImagePermissionResult = Shapes::StructureShape.new(name: 'UpdateWorkspaceImagePermissionResult')
|
205
215
|
UserName = Shapes::StringShape.new(name: 'UserName')
|
206
216
|
UserStorage = Shapes::StructureShape.new(name: 'UserStorage')
|
207
217
|
UserVolumeSizeGib = Shapes::IntegerShape.new(name: 'UserVolumeSizeGib')
|
@@ -250,6 +260,8 @@ module Aws::WorkSpaces
|
|
250
260
|
|
251
261
|
AccountModificationList.member = Shapes::ShapeRef.new(shape: AccountModification)
|
252
262
|
|
263
|
+
ApplicationList.member = Shapes::ShapeRef.new(shape: Application)
|
264
|
+
|
253
265
|
AssociateIpGroupsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
254
266
|
AssociateIpGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: IpGroupIdList, required: true, location_name: "GroupIds"))
|
255
267
|
AssociateIpGroupsRequest.struct_class = Types::AssociateIpGroupsRequest
|
@@ -393,7 +405,18 @@ module Aws::WorkSpaces
|
|
393
405
|
DescribeWorkspaceDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
394
406
|
DescribeWorkspaceDirectoriesResult.struct_class = Types::DescribeWorkspaceDirectoriesResult
|
395
407
|
|
408
|
+
DescribeWorkspaceImagePermissionsRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
|
409
|
+
DescribeWorkspaceImagePermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
410
|
+
DescribeWorkspaceImagePermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
|
411
|
+
DescribeWorkspaceImagePermissionsRequest.struct_class = Types::DescribeWorkspaceImagePermissionsRequest
|
412
|
+
|
413
|
+
DescribeWorkspaceImagePermissionsResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
|
414
|
+
DescribeWorkspaceImagePermissionsResult.add_member(:image_permissions, Shapes::ShapeRef.new(shape: ImagePermissions, location_name: "ImagePermissions"))
|
415
|
+
DescribeWorkspaceImagePermissionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
416
|
+
DescribeWorkspaceImagePermissionsResult.struct_class = Types::DescribeWorkspaceImagePermissionsResult
|
417
|
+
|
396
418
|
DescribeWorkspaceImagesRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: WorkspaceImageIdList, location_name: "ImageIds"))
|
419
|
+
DescribeWorkspaceImagesRequest.add_member(:image_type, Shapes::ShapeRef.new(shape: ImageType, location_name: "ImageType"))
|
397
420
|
DescribeWorkspaceImagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
398
421
|
DescribeWorkspaceImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
|
399
422
|
DescribeWorkspaceImagesRequest.struct_class = Types::DescribeWorkspaceImagesRequest
|
@@ -463,11 +486,17 @@ module Aws::WorkSpaces
|
|
463
486
|
FailedWorkspaceChangeRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
|
464
487
|
FailedWorkspaceChangeRequest.struct_class = Types::FailedWorkspaceChangeRequest
|
465
488
|
|
489
|
+
ImagePermission.add_member(:shared_account_id, Shapes::ShapeRef.new(shape: AwsAccount, location_name: "SharedAccountId"))
|
490
|
+
ImagePermission.struct_class = Types::ImagePermission
|
491
|
+
|
492
|
+
ImagePermissions.member = Shapes::ShapeRef.new(shape: ImagePermission)
|
493
|
+
|
466
494
|
ImportWorkspaceImageRequest.add_member(:ec2_image_id, Shapes::ShapeRef.new(shape: Ec2ImageId, required: true, location_name: "Ec2ImageId"))
|
467
495
|
ImportWorkspaceImageRequest.add_member(:ingestion_process, Shapes::ShapeRef.new(shape: WorkspaceImageIngestionProcess, required: true, location_name: "IngestionProcess"))
|
468
496
|
ImportWorkspaceImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: WorkspaceImageName, required: true, location_name: "ImageName"))
|
469
497
|
ImportWorkspaceImageRequest.add_member(:image_description, Shapes::ShapeRef.new(shape: WorkspaceImageDescription, required: true, location_name: "ImageDescription"))
|
470
498
|
ImportWorkspaceImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
499
|
+
ImportWorkspaceImageRequest.add_member(:applications, Shapes::ShapeRef.new(shape: ApplicationList, location_name: "Applications"))
|
471
500
|
ImportWorkspaceImageRequest.struct_class = Types::ImportWorkspaceImageRequest
|
472
501
|
|
473
502
|
ImportWorkspaceImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
|
@@ -698,6 +727,13 @@ module Aws::WorkSpaces
|
|
698
727
|
|
699
728
|
UpdateRulesOfIpGroupResult.struct_class = Types::UpdateRulesOfIpGroupResult
|
700
729
|
|
730
|
+
UpdateWorkspaceImagePermissionRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
|
731
|
+
UpdateWorkspaceImagePermissionRequest.add_member(:allow_copy_image, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "AllowCopyImage"))
|
732
|
+
UpdateWorkspaceImagePermissionRequest.add_member(:shared_account_id, Shapes::ShapeRef.new(shape: AwsAccount, required: true, location_name: "SharedAccountId"))
|
733
|
+
UpdateWorkspaceImagePermissionRequest.struct_class = Types::UpdateWorkspaceImagePermissionRequest
|
734
|
+
|
735
|
+
UpdateWorkspaceImagePermissionResult.struct_class = Types::UpdateWorkspaceImagePermissionResult
|
736
|
+
|
701
737
|
UserStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
|
702
738
|
UserStorage.struct_class = Types::UserStorage
|
703
739
|
|
@@ -746,6 +782,7 @@ module Aws::WorkSpaces
|
|
746
782
|
|
747
783
|
WorkspaceConnectionStatusList.member = Shapes::ShapeRef.new(shape: WorkspaceConnectionStatus)
|
748
784
|
|
785
|
+
WorkspaceCreationProperties.add_member(:enable_work_docs, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableWorkDocs"))
|
749
786
|
WorkspaceCreationProperties.add_member(:enable_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableInternetAccess"))
|
750
787
|
WorkspaceCreationProperties.add_member(:default_ou, Shapes::ShapeRef.new(shape: DefaultOu, location_name: "DefaultOu"))
|
751
788
|
WorkspaceCreationProperties.add_member(:custom_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "CustomSecurityGroupId"))
|
@@ -781,6 +818,8 @@ module Aws::WorkSpaces
|
|
781
818
|
WorkspaceImage.add_member(:required_tenancy, Shapes::ShapeRef.new(shape: WorkspaceImageRequiredTenancy, location_name: "RequiredTenancy"))
|
782
819
|
WorkspaceImage.add_member(:error_code, Shapes::ShapeRef.new(shape: WorkspaceImageErrorCode, location_name: "ErrorCode"))
|
783
820
|
WorkspaceImage.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
|
821
|
+
WorkspaceImage.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Created"))
|
822
|
+
WorkspaceImage.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AwsAccount, location_name: "OwnerAccountId"))
|
784
823
|
WorkspaceImage.struct_class = Types::WorkspaceImage
|
785
824
|
|
786
825
|
WorkspaceImageIdList.member = Shapes::ShapeRef.new(shape: WorkspaceImageId)
|
@@ -1035,6 +1074,17 @@ module Aws::WorkSpaces
|
|
1035
1074
|
)
|
1036
1075
|
end)
|
1037
1076
|
|
1077
|
+
api.add_operation(:describe_workspace_image_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1078
|
+
o.name = "DescribeWorkspaceImagePermissions"
|
1079
|
+
o.http_method = "POST"
|
1080
|
+
o.http_request_uri = "/"
|
1081
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceImagePermissionsRequest)
|
1082
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceImagePermissionsResult)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1084
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1085
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1086
|
+
end)
|
1087
|
+
|
1038
1088
|
api.add_operation(:describe_workspace_images, Seahorse::Model::Operation.new.tap do |o|
|
1039
1089
|
o.name = "DescribeWorkspaceImages"
|
1040
1090
|
o.http_method = "POST"
|
@@ -1184,6 +1234,7 @@ module Aws::WorkSpaces
|
|
1184
1234
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1185
1235
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1186
1236
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1237
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
1187
1238
|
end)
|
1188
1239
|
|
1189
1240
|
api.add_operation(:modify_workspace_properties, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1303,6 +1354,19 @@ module Aws::WorkSpaces
|
|
1303
1354
|
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
1304
1355
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1305
1356
|
end)
|
1357
|
+
|
1358
|
+
api.add_operation(:update_workspace_image_permission, Seahorse::Model::Operation.new.tap do |o|
|
1359
|
+
o.name = "UpdateWorkspaceImagePermission"
|
1360
|
+
o.http_method = "POST"
|
1361
|
+
o.http_request_uri = "/"
|
1362
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateWorkspaceImagePermissionRequest)
|
1363
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateWorkspaceImagePermissionResult)
|
1364
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1365
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1366
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1367
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1368
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
1369
|
+
end)
|
1306
1370
|
end
|
1307
1371
|
|
1308
1372
|
end
|
@@ -442,8 +442,13 @@ module Aws::WorkSpaces
|
|
442
442
|
# @return [String]
|
443
443
|
#
|
444
444
|
# @!attribute [rw] custom_security_group_id
|
445
|
-
# The identifier of
|
446
|
-
# they are created.
|
445
|
+
# The identifier of the default security group to apply to WorkSpaces
|
446
|
+
# when they are created. For more information, see [ Security Groups
|
447
|
+
# for Your WorkSpaces][1].
|
448
|
+
#
|
449
|
+
#
|
450
|
+
#
|
451
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-security-groups.html
|
447
452
|
# @return [String]
|
448
453
|
#
|
449
454
|
# @!attribute [rw] user_enabled_as_local_administrator
|
@@ -864,11 +869,68 @@ module Aws::WorkSpaces
|
|
864
869
|
include Aws::Structure
|
865
870
|
end
|
866
871
|
|
872
|
+
# @note When making an API call, you may pass DescribeWorkspaceImagePermissionsRequest
|
873
|
+
# data as a hash:
|
874
|
+
#
|
875
|
+
# {
|
876
|
+
# image_id: "WorkspaceImageId", # required
|
877
|
+
# next_token: "PaginationToken",
|
878
|
+
# max_results: 1,
|
879
|
+
# }
|
880
|
+
#
|
881
|
+
# @!attribute [rw] image_id
|
882
|
+
# The identifier of the image.
|
883
|
+
# @return [String]
|
884
|
+
#
|
885
|
+
# @!attribute [rw] next_token
|
886
|
+
# If you received a `NextToken` from a previous call that was
|
887
|
+
# paginated, provide this token to receive the next set of results.
|
888
|
+
# @return [String]
|
889
|
+
#
|
890
|
+
# @!attribute [rw] max_results
|
891
|
+
# The maximum number of items to return.
|
892
|
+
# @return [Integer]
|
893
|
+
#
|
894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagePermissionsRequest AWS API Documentation
|
895
|
+
#
|
896
|
+
class DescribeWorkspaceImagePermissionsRequest < Struct.new(
|
897
|
+
:image_id,
|
898
|
+
:next_token,
|
899
|
+
:max_results)
|
900
|
+
SENSITIVE = []
|
901
|
+
include Aws::Structure
|
902
|
+
end
|
903
|
+
|
904
|
+
# @!attribute [rw] image_id
|
905
|
+
# The identifier of the image.
|
906
|
+
# @return [String]
|
907
|
+
#
|
908
|
+
# @!attribute [rw] image_permissions
|
909
|
+
# The identifiers of the AWS accounts that the image has been shared
|
910
|
+
# with.
|
911
|
+
# @return [Array<Types::ImagePermission>]
|
912
|
+
#
|
913
|
+
# @!attribute [rw] next_token
|
914
|
+
# The token to use to retrieve the next set of results, or null if no
|
915
|
+
# more results are available.
|
916
|
+
# @return [String]
|
917
|
+
#
|
918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagePermissionsResult AWS API Documentation
|
919
|
+
#
|
920
|
+
class DescribeWorkspaceImagePermissionsResult < Struct.new(
|
921
|
+
:image_id,
|
922
|
+
:image_permissions,
|
923
|
+
:next_token)
|
924
|
+
SENSITIVE = []
|
925
|
+
include Aws::Structure
|
926
|
+
end
|
927
|
+
|
867
928
|
# @note When making an API call, you may pass DescribeWorkspaceImagesRequest
|
868
929
|
# data as a hash:
|
869
930
|
#
|
870
931
|
# {
|
871
932
|
# image_ids: ["WorkspaceImageId"],
|
933
|
+
# image_type: "OWNED", # accepts OWNED, SHARED
|
872
934
|
# next_token: "PaginationToken",
|
873
935
|
# max_results: 1,
|
874
936
|
# }
|
@@ -877,6 +939,10 @@ module Aws::WorkSpaces
|
|
877
939
|
# The identifier of the image.
|
878
940
|
# @return [Array<String>]
|
879
941
|
#
|
942
|
+
# @!attribute [rw] image_type
|
943
|
+
# The type (owned or shared) of the image.
|
944
|
+
# @return [String]
|
945
|
+
#
|
880
946
|
# @!attribute [rw] next_token
|
881
947
|
# If you received a `NextToken` from a previous call that was
|
882
948
|
# paginated, provide this token to receive the next set of results.
|
@@ -890,6 +956,7 @@ module Aws::WorkSpaces
|
|
890
956
|
#
|
891
957
|
class DescribeWorkspaceImagesRequest < Struct.new(
|
892
958
|
:image_ids,
|
959
|
+
:image_type,
|
893
960
|
:next_token,
|
894
961
|
:max_results)
|
895
962
|
SENSITIVE = []
|
@@ -1162,6 +1229,22 @@ module Aws::WorkSpaces
|
|
1162
1229
|
include Aws::Structure
|
1163
1230
|
end
|
1164
1231
|
|
1232
|
+
# Describes the AWS accounts that have been granted permission to use a
|
1233
|
+
# shared image.
|
1234
|
+
#
|
1235
|
+
# @!attribute [rw] shared_account_id
|
1236
|
+
# The identifier of the AWS account that an image has been shared
|
1237
|
+
# with.
|
1238
|
+
# @return [String]
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImagePermission AWS API Documentation
|
1241
|
+
#
|
1242
|
+
class ImagePermission < Struct.new(
|
1243
|
+
:shared_account_id)
|
1244
|
+
SENSITIVE = []
|
1245
|
+
include Aws::Structure
|
1246
|
+
end
|
1247
|
+
|
1165
1248
|
# @note When making an API call, you may pass ImportWorkspaceImageRequest
|
1166
1249
|
# data as a hash:
|
1167
1250
|
#
|
@@ -1176,6 +1259,7 @@ module Aws::WorkSpaces
|
|
1176
1259
|
# value: "TagValue",
|
1177
1260
|
# },
|
1178
1261
|
# ],
|
1262
|
+
# applications: ["Microsoft_Office_2016"], # accepts Microsoft_Office_2016, Microsoft_Office_2019
|
1179
1263
|
# }
|
1180
1264
|
#
|
1181
1265
|
# @!attribute [rw] ec2_image_id
|
@@ -1183,7 +1267,9 @@ module Aws::WorkSpaces
|
|
1183
1267
|
# @return [String]
|
1184
1268
|
#
|
1185
1269
|
# @!attribute [rw] ingestion_process
|
1186
|
-
# The ingestion process to be used when importing the image.
|
1270
|
+
# The ingestion process to be used when importing the image. For
|
1271
|
+
# non-GPU-enabled bundles (bundles other than Graphics or
|
1272
|
+
# GraphicsPro), specify `BYOL_REGULAR`.
|
1187
1273
|
# @return [String]
|
1188
1274
|
#
|
1189
1275
|
# @!attribute [rw] image_name
|
@@ -1198,6 +1284,22 @@ module Aws::WorkSpaces
|
|
1198
1284
|
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
1199
1285
|
# @return [Array<Types::Tag>]
|
1200
1286
|
#
|
1287
|
+
# @!attribute [rw] applications
|
1288
|
+
# If specified, the version of Microsoft Office to subscribe to. Valid
|
1289
|
+
# only for Windows 10 BYOL images. For more information about
|
1290
|
+
# subscribing to Office for BYOL images, see [ Bring Your Own Windows
|
1291
|
+
# Desktop Licenses][1].
|
1292
|
+
#
|
1293
|
+
# <note markdown="1"> Although this parameter is an array, only one item is allowed at
|
1294
|
+
# this time.
|
1295
|
+
#
|
1296
|
+
# </note>
|
1297
|
+
#
|
1298
|
+
#
|
1299
|
+
#
|
1300
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
|
1301
|
+
# @return [Array<String>]
|
1302
|
+
#
|
1201
1303
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImageRequest AWS API Documentation
|
1202
1304
|
#
|
1203
1305
|
class ImportWorkspaceImageRequest < Struct.new(
|
@@ -1205,7 +1307,8 @@ module Aws::WorkSpaces
|
|
1205
1307
|
:ingestion_process,
|
1206
1308
|
:image_name,
|
1207
1309
|
:image_description,
|
1208
|
-
:tags
|
1310
|
+
:tags,
|
1311
|
+
:applications)
|
1209
1312
|
SENSITIVE = []
|
1210
1313
|
include Aws::Structure
|
1211
1314
|
end
|
@@ -1537,6 +1640,7 @@ module Aws::WorkSpaces
|
|
1537
1640
|
# {
|
1538
1641
|
# resource_id: "DirectoryId", # required
|
1539
1642
|
# workspace_creation_properties: { # required
|
1643
|
+
# enable_work_docs: false,
|
1540
1644
|
# enable_internet_access: false,
|
1541
1645
|
# default_ou: "DefaultOu",
|
1542
1646
|
# custom_security_group_id: "SecurityGroupId",
|
@@ -2358,6 +2462,43 @@ module Aws::WorkSpaces
|
|
2358
2462
|
#
|
2359
2463
|
class UpdateRulesOfIpGroupResult < Aws::EmptyStructure; end
|
2360
2464
|
|
2465
|
+
# @note When making an API call, you may pass UpdateWorkspaceImagePermissionRequest
|
2466
|
+
# data as a hash:
|
2467
|
+
#
|
2468
|
+
# {
|
2469
|
+
# image_id: "WorkspaceImageId", # required
|
2470
|
+
# allow_copy_image: false, # required
|
2471
|
+
# shared_account_id: "AwsAccount", # required
|
2472
|
+
# }
|
2473
|
+
#
|
2474
|
+
# @!attribute [rw] image_id
|
2475
|
+
# The identifier of the image.
|
2476
|
+
# @return [String]
|
2477
|
+
#
|
2478
|
+
# @!attribute [rw] allow_copy_image
|
2479
|
+
# The permission to copy the image. This permission can be revoked
|
2480
|
+
# only after an image has been shared.
|
2481
|
+
# @return [Boolean]
|
2482
|
+
#
|
2483
|
+
# @!attribute [rw] shared_account_id
|
2484
|
+
# The identifier of the AWS account to share or unshare the image
|
2485
|
+
# with.
|
2486
|
+
# @return [String]
|
2487
|
+
#
|
2488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermissionRequest AWS API Documentation
|
2489
|
+
#
|
2490
|
+
class UpdateWorkspaceImagePermissionRequest < Struct.new(
|
2491
|
+
:image_id,
|
2492
|
+
:allow_copy_image,
|
2493
|
+
:shared_account_id)
|
2494
|
+
SENSITIVE = []
|
2495
|
+
include Aws::Structure
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermissionResult AWS API Documentation
|
2499
|
+
#
|
2500
|
+
class UpdateWorkspaceImagePermissionResult < Aws::EmptyStructure; end
|
2501
|
+
|
2361
2502
|
# Describes the user storage for a WorkSpace bundle.
|
2362
2503
|
#
|
2363
2504
|
# @!attribute [rw] capacity
|
@@ -2413,7 +2554,13 @@ module Aws::WorkSpaces
|
|
2413
2554
|
# @return [String]
|
2414
2555
|
#
|
2415
2556
|
# @!attribute [rw] computer_name
|
2416
|
-
# The name of the WorkSpace, as seen by the operating system.
|
2557
|
+
# The name of the WorkSpace, as seen by the operating system. The
|
2558
|
+
# format of this name varies. For more information, see [ Launch a
|
2559
|
+
# WorkSpace][1].
|
2560
|
+
#
|
2561
|
+
#
|
2562
|
+
#
|
2563
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/launch-workspaces-tutorials.html
|
2417
2564
|
# @return [String]
|
2418
2565
|
#
|
2419
2566
|
# @!attribute [rw] volume_encryption_key
|
@@ -2646,6 +2793,7 @@ module Aws::WorkSpaces
|
|
2646
2793
|
# data as a hash:
|
2647
2794
|
#
|
2648
2795
|
# {
|
2796
|
+
# enable_work_docs: false,
|
2649
2797
|
# enable_internet_access: false,
|
2650
2798
|
# default_ou: "DefaultOu",
|
2651
2799
|
# custom_security_group_id: "SecurityGroupId",
|
@@ -2653,6 +2801,30 @@ module Aws::WorkSpaces
|
|
2653
2801
|
# enable_maintenance_mode: false,
|
2654
2802
|
# }
|
2655
2803
|
#
|
2804
|
+
# @!attribute [rw] enable_work_docs
|
2805
|
+
# Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.
|
2806
|
+
#
|
2807
|
+
# <note markdown="1"> If WorkDocs is already enabled for a WorkSpaces directory and you
|
2808
|
+
# disable it, new WorkSpaces launched in the directory will not have
|
2809
|
+
# WorkDocs enabled. However, WorkDocs remains enabled for any existing
|
2810
|
+
# WorkSpaces, unless you either disable users' access to WorkDocs or
|
2811
|
+
# you delete the WorkDocs site. To disable users' access to WorkDocs,
|
2812
|
+
# see [Disabling Users][1] in the *Amazon WorkDocs Administration
|
2813
|
+
# Guide*. To delete a WorkDocs site, see [Deleting a Site][2] in the
|
2814
|
+
# *Amazon WorkDocs Administration Guide*.
|
2815
|
+
#
|
2816
|
+
# If you enable WorkDocs on a directory that already has existing
|
2817
|
+
# WorkSpaces, the existing WorkSpaces and any new WorkSpaces that are
|
2818
|
+
# launched in the directory will have WorkDocs enabled.
|
2819
|
+
#
|
2820
|
+
# </note>
|
2821
|
+
#
|
2822
|
+
#
|
2823
|
+
#
|
2824
|
+
# [1]: https://docs.aws.amazon.com/workdocs/latest/adminguide/inactive-user.html
|
2825
|
+
# [2]: https://docs.aws.amazon.com/workdocs/latest/adminguide/manage-sites.html
|
2826
|
+
# @return [Boolean]
|
2827
|
+
#
|
2656
2828
|
# @!attribute [rw] enable_internet_access
|
2657
2829
|
# Indicates whether internet access is enabled for your WorkSpaces.
|
2658
2830
|
# @return [Boolean]
|
@@ -2682,6 +2854,7 @@ module Aws::WorkSpaces
|
|
2682
2854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceCreationProperties AWS API Documentation
|
2683
2855
|
#
|
2684
2856
|
class WorkspaceCreationProperties < Struct.new(
|
2857
|
+
:enable_work_docs,
|
2685
2858
|
:enable_internet_access,
|
2686
2859
|
:default_ou,
|
2687
2860
|
:custom_security_group_id,
|
@@ -2835,6 +3008,16 @@ module Aws::WorkSpaces
|
|
2835
3008
|
# The text of the error message that is returned for the image.
|
2836
3009
|
# @return [String]
|
2837
3010
|
#
|
3011
|
+
# @!attribute [rw] created
|
3012
|
+
# The date when the image was created. If the image has been shared,
|
3013
|
+
# the AWS account that the image has been shared with sees the
|
3014
|
+
# original creation date of the image.
|
3015
|
+
# @return [Time]
|
3016
|
+
#
|
3017
|
+
# @!attribute [rw] owner_account_id
|
3018
|
+
# The identifier of the AWS account that owns the image.
|
3019
|
+
# @return [String]
|
3020
|
+
#
|
2838
3021
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceImage AWS API Documentation
|
2839
3022
|
#
|
2840
3023
|
class WorkspaceImage < Struct.new(
|
@@ -2845,7 +3028,9 @@ module Aws::WorkSpaces
|
|
2845
3028
|
:state,
|
2846
3029
|
:required_tenancy,
|
2847
3030
|
:error_code,
|
2848
|
-
:error_message
|
3031
|
+
:error_message,
|
3032
|
+
:created,
|
3033
|
+
:owner_account_id)
|
2849
3034
|
SENSITIVE = []
|
2850
3035
|
include Aws::Structure
|
2851
3036
|
end
|
@@ -2878,11 +3063,23 @@ module Aws::WorkSpaces
|
|
2878
3063
|
# @return [Integer]
|
2879
3064
|
#
|
2880
3065
|
# @!attribute [rw] root_volume_size_gib
|
2881
|
-
# The size of the root volume.
|
3066
|
+
# The size of the root volume. For important information about how to
|
3067
|
+
# modify the size of the root and user volumes, see [Modify a
|
3068
|
+
# WorkSpace][1].
|
3069
|
+
#
|
3070
|
+
#
|
3071
|
+
#
|
3072
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html
|
2882
3073
|
# @return [Integer]
|
2883
3074
|
#
|
2884
3075
|
# @!attribute [rw] user_volume_size_gib
|
2885
|
-
# The size of the user storage.
|
3076
|
+
# The size of the user storage. For important information about how to
|
3077
|
+
# modify the size of the root and user volumes, see [Modify a
|
3078
|
+
# WorkSpace][1].
|
3079
|
+
#
|
3080
|
+
#
|
3081
|
+
#
|
3082
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html
|
2886
3083
|
# @return [Integer]
|
2887
3084
|
#
|
2888
3085
|
# @!attribute [rw] compute_type_name
|
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.44.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: 2020-
|
11
|
+
date: 2020-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|