aws-sdk-workspaces 1.141.0 → 1.143.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: 0c883a61adb6759fef88780b2b606d42b1cf467dcdd2ace56da72872729c1bbe
4
- data.tar.gz: 7bcd1b94275e508a8f8447cd0136c6b222344790138aa3cee388f7d32f329efd
3
+ metadata.gz: 2b46af4663021fbc3b0ca88fdbfe78c48432173e2c29f511c6ba82865ac38dcc
4
+ data.tar.gz: 6e5f58adc62e2c51377c0b9d3fc911d4e03254a1c0168c186d476e504311e9da
5
5
  SHA512:
6
- metadata.gz: a110eb0606e20d56837518a83301cff0d1919893cb8c5982d2b1ba2b62d0155bb13ec78f6538e6f25ad1d93f05ecf965b9dadad8d74318773c8c22dddec44cac
7
- data.tar.gz: 17e25b76bad51cb244d3a5485af2c4c87083c81798eb2e9c0a2ae9fcf77f113d189981e11f1fe5496b20aa010310ec9cb24ebda635a2a5505191d5bf3aa0a1a6
6
+ metadata.gz: dae2ebed07357acf0adb17da6f5f4ca564598d87c426a7b6426aa652c5de33659c884804bc74c4f538b8a3bd3b2d115b281c6839ae5f2dce4e77b76a0e7d42e6
7
+ data.tar.gz: '01692aed8fa4b43d8cbe322debc708e3136946a1be6dac43acfcec6e0fe182f432e4a95fdd0525b4f0e4f69b3441b434f865ad742e8476c6d1df41fc734350b0'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.143.0 (2025-08-14)
5
+ ------------------
6
+
7
+ * Feature - New APIs introduced to import WorkSpaces BYOL image using a new process that leveraged EC2 Image Builder. WorkSpaces tests and fixes your image's compatibility issues and supports customized VM images.
8
+
9
+ 1.142.0 (2025-08-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.141.0 (2025-07-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.141.0
1
+ 1.143.0
@@ -95,8 +95,8 @@ module Aws::WorkSpaces
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials used for authentication. This can be an instance of any one of the
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,8 +124,7 @@ module Aws::WorkSpaces
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
131
130
  #
@@ -139,12 +138,10 @@ module Aws::WorkSpaces
139
138
  #
140
139
  # * `~/.aws/config`
141
140
  #
142
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
143
- # are very aggressive. Construct and pass an instance of
144
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
145
- # enable retries and extended timeouts. Instance profile credential
146
- # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
- # to `true`.
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
148
145
  #
149
146
  # @option options [required, String] :region
150
147
  # The AWS region to connect to. The configured `:region` is
@@ -384,8 +381,8 @@ module Aws::WorkSpaces
384
381
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
385
382
  #
386
383
  # @option options [Aws::TokenProvider] :token_provider
387
- # Your Bearer token used for authentication. This can be an instance of any one of the
388
- # following classes:
384
+ # Your Bearer token used for authentication. This can be any class that includes and implements
385
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
389
386
  #
390
387
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
391
388
  # tokens.
@@ -1824,12 +1821,14 @@ module Aws::WorkSpaces
1824
1821
  # * {Types::DescribeAccountResult#dedicated_tenancy_support #dedicated_tenancy_support} => String
1825
1822
  # * {Types::DescribeAccountResult#dedicated_tenancy_management_cidr_range #dedicated_tenancy_management_cidr_range} => String
1826
1823
  # * {Types::DescribeAccountResult#dedicated_tenancy_account_type #dedicated_tenancy_account_type} => String
1824
+ # * {Types::DescribeAccountResult#message #message} => String
1827
1825
  #
1828
1826
  # @example Response structure
1829
1827
  #
1830
1828
  # resp.dedicated_tenancy_support #=> String, one of "ENABLED", "DISABLED"
1831
1829
  # resp.dedicated_tenancy_management_cidr_range #=> String
1832
1830
  # resp.dedicated_tenancy_account_type #=> String, one of "SOURCE_ACCOUNT", "TARGET_ACCOUNT"
1831
+ # resp.message #=> String
1833
1832
  #
1834
1833
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccount AWS API Documentation
1835
1834
  #
@@ -2306,6 +2305,53 @@ module Aws::WorkSpaces
2306
2305
  req.send_request(options)
2307
2306
  end
2308
2307
 
2308
+ # Retrieves information about a WorkSpace BYOL image being imported via
2309
+ # ImportCustomWorkspaceImage.
2310
+ #
2311
+ # @option params [required, String] :image_id
2312
+ # The identifier of the WorkSpace image.
2313
+ #
2314
+ # @return [Types::DescribeCustomWorkspaceImageImportResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2315
+ #
2316
+ # * {Types::DescribeCustomWorkspaceImageImportResult#image_id #image_id} => String
2317
+ # * {Types::DescribeCustomWorkspaceImageImportResult#infrastructure_configuration_arn #infrastructure_configuration_arn} => String
2318
+ # * {Types::DescribeCustomWorkspaceImageImportResult#state #state} => String
2319
+ # * {Types::DescribeCustomWorkspaceImageImportResult#created #created} => Time
2320
+ # * {Types::DescribeCustomWorkspaceImageImportResult#last_updated_time #last_updated_time} => Time
2321
+ # * {Types::DescribeCustomWorkspaceImageImportResult#image_source #image_source} => Types::ImageSourceIdentifier
2322
+ # * {Types::DescribeCustomWorkspaceImageImportResult#image_builder_instance_id #image_builder_instance_id} => String
2323
+ # * {Types::DescribeCustomWorkspaceImageImportResult#error_details #error_details} => Array<Types::CustomWorkspaceImageImportErrorDetails>
2324
+ #
2325
+ # @example Request syntax with placeholder values
2326
+ #
2327
+ # resp = client.describe_custom_workspace_image_import({
2328
+ # image_id: "WorkspaceImageId", # required
2329
+ # })
2330
+ #
2331
+ # @example Response structure
2332
+ #
2333
+ # resp.image_id #=> String
2334
+ # resp.infrastructure_configuration_arn #=> String
2335
+ # resp.state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "ERROR"
2336
+ # resp.created #=> Time
2337
+ # resp.last_updated_time #=> Time
2338
+ # resp.image_source.ec2_import_task_id #=> String
2339
+ # resp.image_source.image_build_version_arn #=> String
2340
+ # resp.image_source.ec2_image_id #=> String
2341
+ # resp.image_builder_instance_id #=> String
2342
+ # resp.error_details #=> Array
2343
+ # resp.error_details[0].error_code #=> String
2344
+ # resp.error_details[0].error_message #=> String
2345
+ #
2346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeCustomWorkspaceImageImport AWS API Documentation
2347
+ #
2348
+ # @overload describe_custom_workspace_image_import(params = {})
2349
+ # @param [Hash] params ({})
2350
+ def describe_custom_workspace_image_import(params = {}, options = {})
2351
+ req = build_request(:describe_custom_workspace_image_import, params)
2352
+ req.send_request(options)
2353
+ end
2354
+
2309
2355
  # Describes the associations between the applications and the specified
2310
2356
  # image.
2311
2357
  #
@@ -3364,6 +3410,89 @@ module Aws::WorkSpaces
3364
3410
  req.send_request(options)
3365
3411
  end
3366
3412
 
3413
+ # Imports the specified Windows 10 or 11 Bring Your Own License (BYOL)
3414
+ # image into Amazon WorkSpaces using EC2 Image Builder. The image must
3415
+ # be an already licensed image that is in your Amazon Web Services
3416
+ # account, and you must own the image. For more information about
3417
+ # creating BYOL images, see [ Bring Your Own Windows Desktop
3418
+ # Licenses][1].
3419
+ #
3420
+ #
3421
+ #
3422
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
3423
+ #
3424
+ # @option params [required, String] :image_name
3425
+ # The name of the WorkSpace image.
3426
+ #
3427
+ # @option params [required, String] :image_description
3428
+ # The description of the WorkSpace image.
3429
+ #
3430
+ # @option params [required, String] :compute_type
3431
+ # The supported compute type for the WorkSpace image.
3432
+ #
3433
+ # @option params [required, String] :protocol
3434
+ # The supported protocol for the WorkSpace image. Windows 11 does not
3435
+ # support PCOIP protocol.
3436
+ #
3437
+ # @option params [required, Types::ImageSourceIdentifier] :image_source
3438
+ # The options for image import source.
3439
+ #
3440
+ # @option params [required, String] :infrastructure_configuration_arn
3441
+ # The infrastructure configuration ARN that specifies how the WorkSpace
3442
+ # image is built.
3443
+ #
3444
+ # @option params [required, String] :platform
3445
+ # The platform for the WorkSpace image source.
3446
+ #
3447
+ # @option params [required, String] :os_version
3448
+ # The OS version for the WorkSpace image source.
3449
+ #
3450
+ # @option params [Array<Types::Tag>] :tags
3451
+ # The resource tags. Each WorkSpaces resource can have a maximum of 50
3452
+ # tags.
3453
+ #
3454
+ # @return [Types::ImportCustomWorkspaceImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3455
+ #
3456
+ # * {Types::ImportCustomWorkspaceImageResult#image_id #image_id} => String
3457
+ # * {Types::ImportCustomWorkspaceImageResult#state #state} => String
3458
+ #
3459
+ # @example Request syntax with placeholder values
3460
+ #
3461
+ # resp = client.import_custom_workspace_image({
3462
+ # image_name: "WorkspaceImageName", # required
3463
+ # image_description: "WorkspaceImageDescription", # required
3464
+ # compute_type: "BASE", # required, accepts BASE, GRAPHICS_G4DN
3465
+ # protocol: "PCOIP", # required, accepts PCOIP, DCV, BYOP
3466
+ # image_source: { # required
3467
+ # ec2_import_task_id: "Ec2ImportTaskId",
3468
+ # image_build_version_arn: "ImageBuildVersionArn",
3469
+ # ec2_image_id: "Ec2ImageId",
3470
+ # },
3471
+ # infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
3472
+ # platform: "WINDOWS", # required, accepts WINDOWS
3473
+ # os_version: "Windows_10", # required, accepts Windows_10, Windows_11
3474
+ # tags: [
3475
+ # {
3476
+ # key: "TagKey", # required
3477
+ # value: "TagValue",
3478
+ # },
3479
+ # ],
3480
+ # })
3481
+ #
3482
+ # @example Response structure
3483
+ #
3484
+ # resp.image_id #=> String
3485
+ # resp.state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "ERROR"
3486
+ #
3487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportCustomWorkspaceImage AWS API Documentation
3488
+ #
3489
+ # @overload import_custom_workspace_image(params = {})
3490
+ # @param [Hash] params ({})
3491
+ def import_custom_workspace_image(params = {}, options = {})
3492
+ req = build_request(:import_custom_workspace_image, params)
3493
+ req.send_request(options)
3494
+ end
3495
+
3367
3496
  # Imports the specified Windows 10 or 11 Bring Your Own License (BYOL)
3368
3497
  # image into Amazon WorkSpaces. The image must be an already licensed
3369
3498
  # Amazon EC2 image that is in your Amazon Web Services account, and you
@@ -3624,7 +3753,9 @@ module Aws::WorkSpaces
3624
3753
  # example, 203.0.113.25/16). It must also be specified as available by
3625
3754
  # the `ListAvailableManagementCidrRanges` operation.
3626
3755
  #
3627
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3756
+ # @return [Types::ModifyAccountResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3757
+ #
3758
+ # * {Types::ModifyAccountResult#message #message} => String
3628
3759
  #
3629
3760
  # @example Request syntax with placeholder values
3630
3761
  #
@@ -3633,6 +3764,10 @@ module Aws::WorkSpaces
3633
3764
  # dedicated_tenancy_management_cidr_range: "DedicatedTenancyManagementCidrRange",
3634
3765
  # })
3635
3766
  #
3767
+ # @example Response structure
3768
+ #
3769
+ # resp.message #=> String
3770
+ #
3636
3771
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccount AWS API Documentation
3637
3772
  #
3638
3773
  # @overload modify_account(params = {})
@@ -4909,7 +5044,7 @@ module Aws::WorkSpaces
4909
5044
  tracer: tracer
4910
5045
  )
4911
5046
  context[:gem_name] = 'aws-sdk-workspaces'
4912
- context[:gem_version] = '1.141.0'
5047
+ context[:gem_version] = '1.143.0'
4913
5048
  Seahorse::Client::Request.new(handlers, context)
4914
5049
  end
4915
5050
 
@@ -134,6 +134,10 @@ module Aws::WorkSpaces
134
134
  CreateWorkspacesPoolResult = Shapes::StructureShape.new(name: 'CreateWorkspacesPoolResult')
135
135
  CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
136
136
  CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
137
+ CustomImageProtocol = Shapes::StringShape.new(name: 'CustomImageProtocol')
138
+ CustomWorkspaceImageImportErrorDetails = Shapes::StructureShape.new(name: 'CustomWorkspaceImageImportErrorDetails')
139
+ CustomWorkspaceImageImportErrorDetailsList = Shapes::ListShape.new(name: 'CustomWorkspaceImageImportErrorDetailsList')
140
+ CustomWorkspaceImageImportState = Shapes::StringShape.new(name: 'CustomWorkspaceImageImportState')
137
141
  DataReplication = Shapes::StringShape.new(name: 'DataReplication')
138
142
  DataReplicationSettings = Shapes::StructureShape.new(name: 'DataReplicationSettings')
139
143
  DedicatedTenancyAccountType = Shapes::StringShape.new(name: 'DedicatedTenancyAccountType')
@@ -191,6 +195,8 @@ module Aws::WorkSpaces
191
195
  DescribeConnectionAliasPermissionsResult = Shapes::StructureShape.new(name: 'DescribeConnectionAliasPermissionsResult')
192
196
  DescribeConnectionAliasesRequest = Shapes::StructureShape.new(name: 'DescribeConnectionAliasesRequest')
193
197
  DescribeConnectionAliasesResult = Shapes::StructureShape.new(name: 'DescribeConnectionAliasesResult')
198
+ DescribeCustomWorkspaceImageImportRequest = Shapes::StructureShape.new(name: 'DescribeCustomWorkspaceImageImportRequest')
199
+ DescribeCustomWorkspaceImageImportResult = Shapes::StructureShape.new(name: 'DescribeCustomWorkspaceImageImportResult')
194
200
  DescribeImageAssociationsRequest = Shapes::StructureShape.new(name: 'DescribeImageAssociationsRequest')
195
201
  DescribeImageAssociationsResult = Shapes::StructureShape.new(name: 'DescribeImageAssociationsResult')
196
202
  DescribeIpGroupsRequest = Shapes::StructureShape.new(name: 'DescribeIpGroupsRequest')
@@ -244,7 +250,9 @@ module Aws::WorkSpaces
244
250
  DnsIpAddresses = Shapes::ListShape.new(name: 'DnsIpAddresses')
245
251
  DomainName = Shapes::StringShape.new(name: 'DomainName')
246
252
  Ec2ImageId = Shapes::StringShape.new(name: 'Ec2ImageId')
253
+ Ec2ImportTaskId = Shapes::StringShape.new(name: 'Ec2ImportTaskId')
247
254
  EndpointEncryptionMode = Shapes::StringShape.new(name: 'EndpointEncryptionMode')
255
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
248
256
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
249
257
  ErrorDetailsList = Shapes::ListShape.new(name: 'ErrorDetailsList')
250
258
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -269,16 +277,23 @@ module Aws::WorkSpaces
269
277
  IdleDisconnectTimeoutInSeconds = Shapes::IntegerShape.new(name: 'IdleDisconnectTimeoutInSeconds')
270
278
  ImageAssociatedResourceType = Shapes::StringShape.new(name: 'ImageAssociatedResourceType')
271
279
  ImageAssociatedResourceTypeList = Shapes::ListShape.new(name: 'ImageAssociatedResourceTypeList')
280
+ ImageBuildVersionArn = Shapes::StringShape.new(name: 'ImageBuildVersionArn')
281
+ ImageComputeType = Shapes::StringShape.new(name: 'ImageComputeType')
282
+ ImageErrorMessage = Shapes::StringShape.new(name: 'ImageErrorMessage')
272
283
  ImagePermission = Shapes::StructureShape.new(name: 'ImagePermission')
273
284
  ImagePermissions = Shapes::ListShape.new(name: 'ImagePermissions')
274
285
  ImageResourceAssociation = Shapes::StructureShape.new(name: 'ImageResourceAssociation')
275
286
  ImageResourceAssociationList = Shapes::ListShape.new(name: 'ImageResourceAssociationList')
287
+ ImageSourceIdentifier = Shapes::UnionShape.new(name: 'ImageSourceIdentifier')
276
288
  ImageType = Shapes::StringShape.new(name: 'ImageType')
277
289
  ImportClientBrandingRequest = Shapes::StructureShape.new(name: 'ImportClientBrandingRequest')
278
290
  ImportClientBrandingResult = Shapes::StructureShape.new(name: 'ImportClientBrandingResult')
291
+ ImportCustomWorkspaceImageRequest = Shapes::StructureShape.new(name: 'ImportCustomWorkspaceImageRequest')
292
+ ImportCustomWorkspaceImageResult = Shapes::StructureShape.new(name: 'ImportCustomWorkspaceImageResult')
279
293
  ImportWorkspaceImageRequest = Shapes::StructureShape.new(name: 'ImportWorkspaceImageRequest')
280
294
  ImportWorkspaceImageResult = Shapes::StructureShape.new(name: 'ImportWorkspaceImageResult')
281
295
  IncompatibleApplicationsException = Shapes::StructureShape.new(name: 'IncompatibleApplicationsException')
296
+ InfrastructureConfigurationArn = Shapes::StringShape.new(name: 'InfrastructureConfigurationArn')
282
297
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
283
298
  InternetFallbackProtocol = Shapes::StringShape.new(name: 'InternetFallbackProtocol')
284
299
  InternetFallbackProtocolList = Shapes::ListShape.new(name: 'InternetFallbackProtocolList')
@@ -314,6 +329,7 @@ module Aws::WorkSpaces
314
329
  ManagementCidrRangeMaxResults = Shapes::IntegerShape.new(name: 'ManagementCidrRangeMaxResults')
315
330
  MaxUserDurationInSeconds = Shapes::IntegerShape.new(name: 'MaxUserDurationInSeconds')
316
331
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
332
+ Message = Shapes::StringShape.new(name: 'Message')
317
333
  MicrosoftEntraConfig = Shapes::StructureShape.new(name: 'MicrosoftEntraConfig')
318
334
  MicrosoftEntraConfigTenantId = Shapes::StringShape.new(name: 'MicrosoftEntraConfigTenantId')
319
335
  MigrateWorkspaceRequest = Shapes::StructureShape.new(name: 'MigrateWorkspaceRequest')
@@ -346,6 +362,7 @@ module Aws::WorkSpaces
346
362
  ModifyWorkspaceStateResult = Shapes::StructureShape.new(name: 'ModifyWorkspaceStateResult')
347
363
  NetworkAccessConfiguration = Shapes::StructureShape.new(name: 'NetworkAccessConfiguration')
348
364
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
365
+ OSVersion = Shapes::StringShape.new(name: 'OSVersion')
349
366
  OperatingSystem = Shapes::StructureShape.new(name: 'OperatingSystem')
350
367
  OperatingSystemName = Shapes::StringShape.new(name: 'OperatingSystemName')
351
368
  OperatingSystemNameList = Shapes::ListShape.new(name: 'OperatingSystemNameList')
@@ -356,6 +373,7 @@ module Aws::WorkSpaces
356
373
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
357
374
  PendingCreateStandbyWorkspacesRequest = Shapes::StructureShape.new(name: 'PendingCreateStandbyWorkspacesRequest')
358
375
  PendingCreateStandbyWorkspacesRequestList = Shapes::ListShape.new(name: 'PendingCreateStandbyWorkspacesRequestList')
376
+ Platform = Shapes::StringShape.new(name: 'Platform')
359
377
  PoolsRunningMode = Shapes::StringShape.new(name: 'PoolsRunningMode')
360
378
  Protocol = Shapes::StringShape.new(name: 'Protocol')
361
379
  ProtocolList = Shapes::ListShape.new(name: 'ProtocolList')
@@ -833,6 +851,12 @@ module Aws::WorkSpaces
833
851
  CreateWorkspacesResult.add_member(:pending_requests, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "PendingRequests"))
834
852
  CreateWorkspacesResult.struct_class = Types::CreateWorkspacesResult
835
853
 
854
+ CustomWorkspaceImageImportErrorDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
855
+ CustomWorkspaceImageImportErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ImageErrorMessage, location_name: "ErrorMessage"))
856
+ CustomWorkspaceImageImportErrorDetails.struct_class = Types::CustomWorkspaceImageImportErrorDetails
857
+
858
+ CustomWorkspaceImageImportErrorDetailsList.member = Shapes::ShapeRef.new(shape: CustomWorkspaceImageImportErrorDetails)
859
+
836
860
  DataReplicationSettings.add_member(:data_replication, Shapes::ShapeRef.new(shape: DataReplication, location_name: "DataReplication"))
837
861
  DataReplicationSettings.add_member(:recovery_snapshot_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RecoverySnapshotTime"))
838
862
  DataReplicationSettings.struct_class = Types::DataReplicationSettings
@@ -934,6 +958,7 @@ module Aws::WorkSpaces
934
958
  DescribeAccountResult.add_member(:dedicated_tenancy_support, Shapes::ShapeRef.new(shape: DedicatedTenancySupportResultEnum, location_name: "DedicatedTenancySupport"))
935
959
  DescribeAccountResult.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
936
960
  DescribeAccountResult.add_member(:dedicated_tenancy_account_type, Shapes::ShapeRef.new(shape: DedicatedTenancyAccountType, location_name: "DedicatedTenancyAccountType"))
961
+ DescribeAccountResult.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
937
962
  DescribeAccountResult.struct_class = Types::DescribeAccountResult
938
963
 
939
964
  DescribeApplicationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
@@ -1012,6 +1037,19 @@ module Aws::WorkSpaces
1012
1037
  DescribeConnectionAliasesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1013
1038
  DescribeConnectionAliasesResult.struct_class = Types::DescribeConnectionAliasesResult
1014
1039
 
1040
+ DescribeCustomWorkspaceImageImportRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
1041
+ DescribeCustomWorkspaceImageImportRequest.struct_class = Types::DescribeCustomWorkspaceImageImportRequest
1042
+
1043
+ DescribeCustomWorkspaceImageImportResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
1044
+ DescribeCustomWorkspaceImageImportResult.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, location_name: "InfrastructureConfigurationArn"))
1045
+ DescribeCustomWorkspaceImageImportResult.add_member(:state, Shapes::ShapeRef.new(shape: CustomWorkspaceImageImportState, location_name: "State"))
1046
+ DescribeCustomWorkspaceImageImportResult.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Created"))
1047
+ DescribeCustomWorkspaceImageImportResult.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
1048
+ DescribeCustomWorkspaceImageImportResult.add_member(:image_source, Shapes::ShapeRef.new(shape: ImageSourceIdentifier, location_name: "ImageSource"))
1049
+ DescribeCustomWorkspaceImageImportResult.add_member(:image_builder_instance_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ImageBuilderInstanceId"))
1050
+ DescribeCustomWorkspaceImageImportResult.add_member(:error_details, Shapes::ShapeRef.new(shape: CustomWorkspaceImageImportErrorDetailsList, location_name: "ErrorDetails"))
1051
+ DescribeCustomWorkspaceImageImportResult.struct_class = Types::DescribeCustomWorkspaceImageImportResult
1052
+
1015
1053
  DescribeImageAssociationsRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
1016
1054
  DescribeImageAssociationsRequest.add_member(:associated_resource_types, Shapes::ShapeRef.new(shape: ImageAssociatedResourceTypeList, required: true, location_name: "AssociatedResourceTypes"))
1017
1055
  DescribeImageAssociationsRequest.struct_class = Types::DescribeImageAssociationsRequest
@@ -1242,6 +1280,16 @@ module Aws::WorkSpaces
1242
1280
 
1243
1281
  ImageResourceAssociationList.member = Shapes::ShapeRef.new(shape: ImageResourceAssociation)
1244
1282
 
1283
+ ImageSourceIdentifier.add_member(:ec2_import_task_id, Shapes::ShapeRef.new(shape: Ec2ImportTaskId, location_name: "Ec2ImportTaskId"))
1284
+ ImageSourceIdentifier.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, location_name: "ImageBuildVersionArn"))
1285
+ ImageSourceIdentifier.add_member(:ec2_image_id, Shapes::ShapeRef.new(shape: Ec2ImageId, location_name: "Ec2ImageId"))
1286
+ ImageSourceIdentifier.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1287
+ ImageSourceIdentifier.add_member_subclass(:ec2_import_task_id, Types::ImageSourceIdentifier::Ec2ImportTaskId)
1288
+ ImageSourceIdentifier.add_member_subclass(:image_build_version_arn, Types::ImageSourceIdentifier::ImageBuildVersionArn)
1289
+ ImageSourceIdentifier.add_member_subclass(:ec2_image_id, Types::ImageSourceIdentifier::Ec2ImageId)
1290
+ ImageSourceIdentifier.add_member_subclass(:unknown, Types::ImageSourceIdentifier::Unknown)
1291
+ ImageSourceIdentifier.struct_class = Types::ImageSourceIdentifier
1292
+
1245
1293
  ImportClientBrandingRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
1246
1294
  ImportClientBrandingRequest.add_member(:device_type_windows, Shapes::ShapeRef.new(shape: DefaultImportClientBrandingAttributes, location_name: "DeviceTypeWindows"))
1247
1295
  ImportClientBrandingRequest.add_member(:device_type_osx, Shapes::ShapeRef.new(shape: DefaultImportClientBrandingAttributes, location_name: "DeviceTypeOsx"))
@@ -1259,6 +1307,21 @@ module Aws::WorkSpaces
1259
1307
  ImportClientBrandingResult.add_member(:device_type_web, Shapes::ShapeRef.new(shape: DefaultClientBrandingAttributes, location_name: "DeviceTypeWeb"))
1260
1308
  ImportClientBrandingResult.struct_class = Types::ImportClientBrandingResult
1261
1309
 
1310
+ ImportCustomWorkspaceImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: WorkspaceImageName, required: true, location_name: "ImageName"))
1311
+ ImportCustomWorkspaceImageRequest.add_member(:image_description, Shapes::ShapeRef.new(shape: WorkspaceImageDescription, required: true, location_name: "ImageDescription"))
1312
+ ImportCustomWorkspaceImageRequest.add_member(:compute_type, Shapes::ShapeRef.new(shape: ImageComputeType, required: true, location_name: "ComputeType"))
1313
+ ImportCustomWorkspaceImageRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: CustomImageProtocol, required: true, location_name: "Protocol"))
1314
+ ImportCustomWorkspaceImageRequest.add_member(:image_source, Shapes::ShapeRef.new(shape: ImageSourceIdentifier, required: true, location_name: "ImageSource"))
1315
+ ImportCustomWorkspaceImageRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "InfrastructureConfigurationArn"))
1316
+ ImportCustomWorkspaceImageRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "Platform"))
1317
+ ImportCustomWorkspaceImageRequest.add_member(:os_version, Shapes::ShapeRef.new(shape: OSVersion, required: true, location_name: "OsVersion"))
1318
+ ImportCustomWorkspaceImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1319
+ ImportCustomWorkspaceImageRequest.struct_class = Types::ImportCustomWorkspaceImageRequest
1320
+
1321
+ ImportCustomWorkspaceImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
1322
+ ImportCustomWorkspaceImageResult.add_member(:state, Shapes::ShapeRef.new(shape: CustomWorkspaceImageImportState, location_name: "State"))
1323
+ ImportCustomWorkspaceImageResult.struct_class = Types::ImportCustomWorkspaceImageResult
1324
+
1262
1325
  ImportWorkspaceImageRequest.add_member(:ec2_image_id, Shapes::ShapeRef.new(shape: Ec2ImageId, required: true, location_name: "Ec2ImageId"))
1263
1326
  ImportWorkspaceImageRequest.add_member(:ingestion_process, Shapes::ShapeRef.new(shape: WorkspaceImageIngestionProcess, required: true, location_name: "IngestionProcess"))
1264
1327
  ImportWorkspaceImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: WorkspaceImageName, required: true, location_name: "ImageName"))
@@ -1359,6 +1422,7 @@ module Aws::WorkSpaces
1359
1422
  ModifyAccountRequest.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
1360
1423
  ModifyAccountRequest.struct_class = Types::ModifyAccountRequest
1361
1424
 
1425
+ ModifyAccountResult.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1362
1426
  ModifyAccountResult.struct_class = Types::ModifyAccountResult
1363
1427
 
1364
1428
  ModifyCertificateBasedAuthPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
@@ -2443,6 +2507,16 @@ module Aws::WorkSpaces
2443
2507
  o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2444
2508
  end)
2445
2509
 
2510
+ api.add_operation(:describe_custom_workspace_image_import, Seahorse::Model::Operation.new.tap do |o|
2511
+ o.name = "DescribeCustomWorkspaceImageImport"
2512
+ o.http_method = "POST"
2513
+ o.http_request_uri = "/"
2514
+ o.input = Shapes::ShapeRef.new(shape: DescribeCustomWorkspaceImageImportRequest)
2515
+ o.output = Shapes::ShapeRef.new(shape: DescribeCustomWorkspaceImageImportResult)
2516
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2517
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2518
+ end)
2519
+
2446
2520
  api.add_operation(:describe_image_associations, Seahorse::Model::Operation.new.tap do |o|
2447
2521
  o.name = "DescribeImageAssociations"
2448
2522
  o.http_method = "POST"
@@ -2655,6 +2729,20 @@ module Aws::WorkSpaces
2655
2729
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2656
2730
  end)
2657
2731
 
2732
+ api.add_operation(:import_custom_workspace_image, Seahorse::Model::Operation.new.tap do |o|
2733
+ o.name = "ImportCustomWorkspaceImage"
2734
+ o.http_method = "POST"
2735
+ o.http_request_uri = "/"
2736
+ o.input = Shapes::ShapeRef.new(shape: ImportCustomWorkspaceImageRequest)
2737
+ o.output = Shapes::ShapeRef.new(shape: ImportCustomWorkspaceImageResult)
2738
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2739
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
2740
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2741
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2742
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2743
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
2744
+ end)
2745
+
2658
2746
  api.add_operation(:import_workspace_image, Seahorse::Model::Operation.new.tap do |o|
2659
2747
  o.name = "ImportWorkspaceImage"
2660
2748
  o.http_method = "POST"
@@ -1273,6 +1273,26 @@ module Aws::WorkSpaces
1273
1273
  include Aws::Structure
1274
1274
  end
1275
1275
 
1276
+ # Describes in-depth details about the error. These details include the
1277
+ # possible causes of the error and troubleshooting information.
1278
+ #
1279
+ # @!attribute [rw] error_code
1280
+ # The error code that is returned for the image import.
1281
+ # @return [String]
1282
+ #
1283
+ # @!attribute [rw] error_message
1284
+ # The text of the error message that is returned for the image import.
1285
+ # @return [String]
1286
+ #
1287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CustomWorkspaceImageImportErrorDetails AWS API Documentation
1288
+ #
1289
+ class CustomWorkspaceImageImportErrorDetails < Struct.new(
1290
+ :error_code,
1291
+ :error_message)
1292
+ SENSITIVE = []
1293
+ include Aws::Structure
1294
+ end
1295
+
1276
1296
  # Describes the data replication settings.
1277
1297
  #
1278
1298
  # @!attribute [rw] data_replication
@@ -1755,12 +1775,17 @@ module Aws::WorkSpaces
1755
1775
  # The type of linked account.
1756
1776
  # @return [String]
1757
1777
  #
1778
+ # @!attribute [rw] message
1779
+ # The text message to describe the status of BYOL.
1780
+ # @return [String]
1781
+ #
1758
1782
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountResult AWS API Documentation
1759
1783
  #
1760
1784
  class DescribeAccountResult < Struct.new(
1761
1785
  :dedicated_tenancy_support,
1762
1786
  :dedicated_tenancy_management_cidr_range,
1763
- :dedicated_tenancy_account_type)
1787
+ :dedicated_tenancy_account_type,
1788
+ :message)
1764
1789
  SENSITIVE = []
1765
1790
  include Aws::Structure
1766
1791
  end
@@ -2109,6 +2134,67 @@ module Aws::WorkSpaces
2109
2134
  include Aws::Structure
2110
2135
  end
2111
2136
 
2137
+ # @!attribute [rw] image_id
2138
+ # The identifier of the WorkSpace image.
2139
+ # @return [String]
2140
+ #
2141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeCustomWorkspaceImageImportRequest AWS API Documentation
2142
+ #
2143
+ class DescribeCustomWorkspaceImageImportRequest < Struct.new(
2144
+ :image_id)
2145
+ SENSITIVE = []
2146
+ include Aws::Structure
2147
+ end
2148
+
2149
+ # @!attribute [rw] image_id
2150
+ # The identifier of the WorkSpace image.
2151
+ # @return [String]
2152
+ #
2153
+ # @!attribute [rw] infrastructure_configuration_arn
2154
+ # The infrastructure configuration ARN that specifies how the
2155
+ # WorkSpace image is built.
2156
+ # @return [String]
2157
+ #
2158
+ # @!attribute [rw] state
2159
+ # The state of the WorkSpace image.
2160
+ # @return [String]
2161
+ #
2162
+ # @!attribute [rw] created
2163
+ # The timestamp when the WorkSpace image import was created.
2164
+ # @return [Time]
2165
+ #
2166
+ # @!attribute [rw] last_updated_time
2167
+ # The timestamp when the WorkSpace image import was last updated.
2168
+ # @return [Time]
2169
+ #
2170
+ # @!attribute [rw] image_source
2171
+ # Describes the image import source.
2172
+ # @return [Types::ImageSourceIdentifier]
2173
+ #
2174
+ # @!attribute [rw] image_builder_instance_id
2175
+ # The image builder instance ID of the WorkSpace image.
2176
+ # @return [String]
2177
+ #
2178
+ # @!attribute [rw] error_details
2179
+ # Describes in-depth details about the error. These details include
2180
+ # the possible causes of the error and troubleshooting information.
2181
+ # @return [Array<Types::CustomWorkspaceImageImportErrorDetails>]
2182
+ #
2183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeCustomWorkspaceImageImportResult AWS API Documentation
2184
+ #
2185
+ class DescribeCustomWorkspaceImageImportResult < Struct.new(
2186
+ :image_id,
2187
+ :infrastructure_configuration_arn,
2188
+ :state,
2189
+ :created,
2190
+ :last_updated_time,
2191
+ :image_source,
2192
+ :image_builder_instance_id,
2193
+ :error_details)
2194
+ SENSITIVE = []
2195
+ include Aws::Structure
2196
+ end
2197
+
2112
2198
  # @!attribute [rw] image_id
2113
2199
  # The identifier of the image.
2114
2200
  # @return [String]
@@ -3026,6 +3112,42 @@ module Aws::WorkSpaces
3026
3112
  include Aws::Structure
3027
3113
  end
3028
3114
 
3115
+ # Describes the image import source.
3116
+ #
3117
+ # @note ImageSourceIdentifier is a union - when making an API calls you must set exactly one of the members.
3118
+ #
3119
+ # @note ImageSourceIdentifier is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ImageSourceIdentifier corresponding to the set member.
3120
+ #
3121
+ # @!attribute [rw] ec2_import_task_id
3122
+ # The EC2 import task ID to import the image from the Amazon EC2 VM
3123
+ # import process.
3124
+ # @return [String]
3125
+ #
3126
+ # @!attribute [rw] image_build_version_arn
3127
+ # The ARN of the EC2 Image Builder image.
3128
+ # @return [String]
3129
+ #
3130
+ # @!attribute [rw] ec2_image_id
3131
+ # The identifier of the EC2 image.
3132
+ # @return [String]
3133
+ #
3134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImageSourceIdentifier AWS API Documentation
3135
+ #
3136
+ class ImageSourceIdentifier < Struct.new(
3137
+ :ec2_import_task_id,
3138
+ :image_build_version_arn,
3139
+ :ec2_image_id,
3140
+ :unknown)
3141
+ SENSITIVE = []
3142
+ include Aws::Structure
3143
+ include Aws::Structure::Union
3144
+
3145
+ class Ec2ImportTaskId < ImageSourceIdentifier; end
3146
+ class ImageBuildVersionArn < ImageSourceIdentifier; end
3147
+ class Ec2ImageId < ImageSourceIdentifier; end
3148
+ class Unknown < ImageSourceIdentifier; end
3149
+ end
3150
+
3029
3151
  # @!attribute [rw] resource_id
3030
3152
  # The directory identifier of the WorkSpace for which you want to
3031
3153
  # import client branding.
@@ -3106,6 +3228,78 @@ module Aws::WorkSpaces
3106
3228
  include Aws::Structure
3107
3229
  end
3108
3230
 
3231
+ # @!attribute [rw] image_name
3232
+ # The name of the WorkSpace image.
3233
+ # @return [String]
3234
+ #
3235
+ # @!attribute [rw] image_description
3236
+ # The description of the WorkSpace image.
3237
+ # @return [String]
3238
+ #
3239
+ # @!attribute [rw] compute_type
3240
+ # The supported compute type for the WorkSpace image.
3241
+ # @return [String]
3242
+ #
3243
+ # @!attribute [rw] protocol
3244
+ # The supported protocol for the WorkSpace image. Windows 11 does not
3245
+ # support PCOIP protocol.
3246
+ # @return [String]
3247
+ #
3248
+ # @!attribute [rw] image_source
3249
+ # The options for image import source.
3250
+ # @return [Types::ImageSourceIdentifier]
3251
+ #
3252
+ # @!attribute [rw] infrastructure_configuration_arn
3253
+ # The infrastructure configuration ARN that specifies how the
3254
+ # WorkSpace image is built.
3255
+ # @return [String]
3256
+ #
3257
+ # @!attribute [rw] platform
3258
+ # The platform for the WorkSpace image source.
3259
+ # @return [String]
3260
+ #
3261
+ # @!attribute [rw] os_version
3262
+ # The OS version for the WorkSpace image source.
3263
+ # @return [String]
3264
+ #
3265
+ # @!attribute [rw] tags
3266
+ # The resource tags. Each WorkSpaces resource can have a maximum of 50
3267
+ # tags.
3268
+ # @return [Array<Types::Tag>]
3269
+ #
3270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportCustomWorkspaceImageRequest AWS API Documentation
3271
+ #
3272
+ class ImportCustomWorkspaceImageRequest < Struct.new(
3273
+ :image_name,
3274
+ :image_description,
3275
+ :compute_type,
3276
+ :protocol,
3277
+ :image_source,
3278
+ :infrastructure_configuration_arn,
3279
+ :platform,
3280
+ :os_version,
3281
+ :tags)
3282
+ SENSITIVE = []
3283
+ include Aws::Structure
3284
+ end
3285
+
3286
+ # @!attribute [rw] image_id
3287
+ # The identifier of the WorkSpace image.
3288
+ # @return [String]
3289
+ #
3290
+ # @!attribute [rw] state
3291
+ # The state of the WorkSpace image.
3292
+ # @return [String]
3293
+ #
3294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportCustomWorkspaceImageResult AWS API Documentation
3295
+ #
3296
+ class ImportCustomWorkspaceImageResult < Struct.new(
3297
+ :image_id,
3298
+ :state)
3299
+ SENSITIVE = []
3300
+ include Aws::Structure
3301
+ end
3302
+
3109
3303
  # @!attribute [rw] ec2_image_id
3110
3304
  # The identifier of the EC2 image.
3111
3305
  # @return [String]
@@ -3649,9 +3843,17 @@ module Aws::WorkSpaces
3649
3843
  include Aws::Structure
3650
3844
  end
3651
3845
 
3846
+ # @!attribute [rw] message
3847
+ # The text message to describe the status of BYOL modification.
3848
+ # @return [String]
3849
+ #
3652
3850
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccountResult AWS API Documentation
3653
3851
  #
3654
- class ModifyAccountResult < Aws::EmptyStructure; end
3852
+ class ModifyAccountResult < Struct.new(
3853
+ :message)
3854
+ SENSITIVE = []
3855
+ include Aws::Structure
3856
+ end
3655
3857
 
3656
3858
  # @!attribute [rw] resource_id
3657
3859
  # The resource identifiers, in the form of directory IDs.
@@ -54,7 +54,7 @@ module Aws::WorkSpaces
54
54
  autoload :EndpointProvider, 'aws-sdk-workspaces/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-workspaces/endpoints'
56
56
 
57
- GEM_VERSION = '1.141.0'
57
+ GEM_VERSION = '1.143.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -502,6 +502,7 @@ module Aws
502
502
  def dedicated_tenancy_support: () -> ("ENABLED" | "DISABLED")
503
503
  def dedicated_tenancy_management_cidr_range: () -> ::String
504
504
  def dedicated_tenancy_account_type: () -> ("SOURCE_ACCOUNT" | "TARGET_ACCOUNT")
505
+ def message: () -> ::String
505
506
  end
506
507
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#describe_account-instance_method
507
508
  def describe_account: (
@@ -627,6 +628,23 @@ module Aws
627
628
  ) -> _DescribeConnectionAliasesResponseSuccess
628
629
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConnectionAliasesResponseSuccess
629
630
 
631
+ interface _DescribeCustomWorkspaceImageImportResponseSuccess
632
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCustomWorkspaceImageImportResult]
633
+ def image_id: () -> ::String
634
+ def infrastructure_configuration_arn: () -> ::String
635
+ def state: () -> ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "ERROR")
636
+ def created: () -> ::Time
637
+ def last_updated_time: () -> ::Time
638
+ def image_source: () -> Types::ImageSourceIdentifier
639
+ def image_builder_instance_id: () -> ::String
640
+ def error_details: () -> ::Array[Types::CustomWorkspaceImageImportErrorDetails]
641
+ end
642
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#describe_custom_workspace_image_import-instance_method
643
+ def describe_custom_workspace_image_import: (
644
+ image_id: ::String
645
+ ) -> _DescribeCustomWorkspaceImageImportResponseSuccess
646
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCustomWorkspaceImageImportResponseSuccess
647
+
630
648
  interface _DescribeImageAssociationsResponseSuccess
631
649
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImageAssociationsResult]
632
650
  def associations: () -> ::Array[Types::ImageResourceAssociation]
@@ -907,6 +925,34 @@ module Aws
907
925
  ) -> _ImportClientBrandingResponseSuccess
908
926
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportClientBrandingResponseSuccess
909
927
 
928
+ interface _ImportCustomWorkspaceImageResponseSuccess
929
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportCustomWorkspaceImageResult]
930
+ def image_id: () -> ::String
931
+ def state: () -> ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "ERROR")
932
+ end
933
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#import_custom_workspace_image-instance_method
934
+ def import_custom_workspace_image: (
935
+ image_name: ::String,
936
+ image_description: ::String,
937
+ compute_type: ("BASE" | "GRAPHICS_G4DN"),
938
+ protocol: ("PCOIP" | "DCV" | "BYOP"),
939
+ image_source: {
940
+ ec2_import_task_id: ::String?,
941
+ image_build_version_arn: ::String?,
942
+ ec2_image_id: ::String?
943
+ },
944
+ infrastructure_configuration_arn: ::String,
945
+ platform: ("WINDOWS"),
946
+ os_version: ("Windows_10" | "Windows_11"),
947
+ ?tags: Array[
948
+ {
949
+ key: ::String,
950
+ value: ::String?
951
+ },
952
+ ]
953
+ ) -> _ImportCustomWorkspaceImageResponseSuccess
954
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportCustomWorkspaceImageResponseSuccess
955
+
910
956
  interface _ImportWorkspaceImageResponseSuccess
911
957
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportWorkspaceImageResult]
912
958
  def image_id: () -> ::String
@@ -967,6 +1013,7 @@ module Aws
967
1013
 
968
1014
  interface _ModifyAccountResponseSuccess
969
1015
  include ::Seahorse::Client::_ResponseSuccess[Types::ModifyAccountResult]
1016
+ def message: () -> ::String
970
1017
  end
971
1018
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#modify_account-instance_method
972
1019
  def modify_account: (
data/sig/types.rbs CHANGED
@@ -379,6 +379,12 @@ module Aws::WorkSpaces
379
379
  SENSITIVE: []
380
380
  end
381
381
 
382
+ class CustomWorkspaceImageImportErrorDetails
383
+ attr_accessor error_code: ::String
384
+ attr_accessor error_message: ::String
385
+ SENSITIVE: []
386
+ end
387
+
382
388
  class DataReplicationSettings
383
389
  attr_accessor data_replication: ("NO_REPLICATION" | "PRIMARY_AS_SOURCE")
384
390
  attr_accessor recovery_snapshot_time: ::Time
@@ -520,6 +526,7 @@ module Aws::WorkSpaces
520
526
  attr_accessor dedicated_tenancy_support: ("ENABLED" | "DISABLED")
521
527
  attr_accessor dedicated_tenancy_management_cidr_range: ::String
522
528
  attr_accessor dedicated_tenancy_account_type: ("SOURCE_ACCOUNT" | "TARGET_ACCOUNT")
529
+ attr_accessor message: ::String
523
530
  SENSITIVE: []
524
531
  end
525
532
 
@@ -631,6 +638,23 @@ module Aws::WorkSpaces
631
638
  SENSITIVE: []
632
639
  end
633
640
 
641
+ class DescribeCustomWorkspaceImageImportRequest
642
+ attr_accessor image_id: ::String
643
+ SENSITIVE: []
644
+ end
645
+
646
+ class DescribeCustomWorkspaceImageImportResult
647
+ attr_accessor image_id: ::String
648
+ attr_accessor infrastructure_configuration_arn: ::String
649
+ attr_accessor state: ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "ERROR")
650
+ attr_accessor created: ::Time
651
+ attr_accessor last_updated_time: ::Time
652
+ attr_accessor image_source: Types::ImageSourceIdentifier
653
+ attr_accessor image_builder_instance_id: ::String
654
+ attr_accessor error_details: ::Array[Types::CustomWorkspaceImageImportErrorDetails]
655
+ SENSITIVE: []
656
+ end
657
+
634
658
  class DescribeImageAssociationsRequest
635
659
  attr_accessor image_id: ::String
636
660
  attr_accessor associated_resource_types: ::Array[("APPLICATION")]
@@ -913,6 +937,23 @@ module Aws::WorkSpaces
913
937
  SENSITIVE: []
914
938
  end
915
939
 
940
+ class ImageSourceIdentifier
941
+ attr_accessor ec2_import_task_id: ::String
942
+ attr_accessor image_build_version_arn: ::String
943
+ attr_accessor ec2_image_id: ::String
944
+ attr_accessor unknown: untyped
945
+ SENSITIVE: []
946
+
947
+ class Ec2ImportTaskId < ImageSourceIdentifier
948
+ end
949
+ class ImageBuildVersionArn < ImageSourceIdentifier
950
+ end
951
+ class Ec2ImageId < ImageSourceIdentifier
952
+ end
953
+ class Unknown < ImageSourceIdentifier
954
+ end
955
+ end
956
+
916
957
  class ImportClientBrandingRequest
917
958
  attr_accessor resource_id: ::String
918
959
  attr_accessor device_type_windows: Types::DefaultImportClientBrandingAttributes
@@ -934,6 +975,25 @@ module Aws::WorkSpaces
934
975
  SENSITIVE: []
935
976
  end
936
977
 
978
+ class ImportCustomWorkspaceImageRequest
979
+ attr_accessor image_name: ::String
980
+ attr_accessor image_description: ::String
981
+ attr_accessor compute_type: ("BASE" | "GRAPHICS_G4DN")
982
+ attr_accessor protocol: ("PCOIP" | "DCV" | "BYOP")
983
+ attr_accessor image_source: Types::ImageSourceIdentifier
984
+ attr_accessor infrastructure_configuration_arn: ::String
985
+ attr_accessor platform: ("WINDOWS")
986
+ attr_accessor os_version: ("Windows_10" | "Windows_11")
987
+ attr_accessor tags: ::Array[Types::Tag]
988
+ SENSITIVE: []
989
+ end
990
+
991
+ class ImportCustomWorkspaceImageResult
992
+ attr_accessor image_id: ::String
993
+ attr_accessor state: ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "ERROR")
994
+ SENSITIVE: []
995
+ end
996
+
937
997
  class ImportWorkspaceImageRequest
938
998
  attr_accessor ec2_image_id: ::String
939
999
  attr_accessor ingestion_process: ("BYOL_REGULAR" | "BYOL_GRAPHICS" | "BYOL_GRAPHICSPRO" | "BYOL_GRAPHICS_G4DN" | "BYOL_REGULAR_WSP" | "BYOL_GRAPHICS_G4DN_WSP" | "BYOL_REGULAR_BYOP" | "BYOL_GRAPHICS_G4DN_BYOP")
@@ -1056,7 +1116,9 @@ module Aws::WorkSpaces
1056
1116
  SENSITIVE: []
1057
1117
  end
1058
1118
 
1059
- class ModifyAccountResult < Aws::EmptyStructure
1119
+ class ModifyAccountResult
1120
+ attr_accessor message: ::String
1121
+ SENSITIVE: []
1060
1122
  end
1061
1123
 
1062
1124
  class ModifyCertificateBasedAuthPropertiesRequest
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workspaces
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.141.0
4
+ version: 1.143.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services