aws-sdk-workspaces 1.78.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspaces/client.rb +14 -13
- data/lib/aws-sdk-workspaces/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-workspaces/types.rb +24 -22
- data/lib/aws-sdk-workspaces.rb +1 -1
- 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: e2a506f358dda35e49da9a30a7fbee6cd35bffba0186b0c03bbd8f81e0c60f05
|
4
|
+
data.tar.gz: ec32e3553ffef14e5cd3fec0b988929ef0e5323844f07d7806f01ae801afd000
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a43347d6af1b27df724c1be2519bfade485ffb1a266ff3b6b125e7f1b5b8723874e225d064a95ed7a2c97658a091ae7481be2fe679a8e70615143c405f3beb8
|
7
|
+
data.tar.gz: 6922c9ecf24f4cd09144af6843f1339ba7ae86cf0c56a9a1842db992c61e5f84ee16e34679e5f2ae68c1b31f3c4ff93961858c9582dcef30c7e7b7e768828e93
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2023-04-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added Windows 11 to support Microsoft_Office_2019
|
8
|
+
|
9
|
+
1.79.0 (2023-02-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Removed Windows Server 2016 BYOL and made changes based on IAM campaign.
|
13
|
+
|
4
14
|
1.78.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -708,13 +708,13 @@ module Aws::WorkSpaces
|
|
708
708
|
req.send_request(options)
|
709
709
|
end
|
710
710
|
|
711
|
-
# Creates a
|
711
|
+
# Creates a standby WorkSpace in a secondary Region.
|
712
712
|
#
|
713
713
|
# @option params [required, String] :primary_region
|
714
714
|
# The Region of the primary WorkSpace.
|
715
715
|
#
|
716
716
|
# @option params [required, Array<Types::StandbyWorkspace>] :standby_workspaces
|
717
|
-
# Information about the
|
717
|
+
# Information about the standby WorkSpace to be created.
|
718
718
|
#
|
719
719
|
# @return [Types::CreateStandbyWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
720
720
|
#
|
@@ -806,7 +806,7 @@ module Aws::WorkSpaces
|
|
806
806
|
# To determine which WorkSpace images need to be updated with the latest
|
807
807
|
# Amazon WorkSpaces requirements, use [ DescribeWorkspaceImages][1].
|
808
808
|
#
|
809
|
-
# <note markdown="1"> * Only Windows 10, Windows
|
809
|
+
# <note markdown="1"> * Only Windows 10, Windows Server 2016, and Windows Server 2019
|
810
810
|
# WorkSpace images can be programmatically updated at this time.
|
811
811
|
#
|
812
812
|
# * Microsoft Windows updates and other application updates are not
|
@@ -2429,12 +2429,11 @@ module Aws::WorkSpaces
|
|
2429
2429
|
req.send_request(options)
|
2430
2430
|
end
|
2431
2431
|
|
2432
|
-
# Imports the specified Windows 10 Bring Your Own License (BYOL)
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
#
|
2436
|
-
#
|
2437
|
-
# Licenses][1].
|
2432
|
+
# Imports the specified Windows 10 or 11 Bring Your Own License (BYOL)
|
2433
|
+
# image into Amazon WorkSpaces. The image must be an already licensed
|
2434
|
+
# Amazon EC2 image that is in your Amazon Web Services account, and you
|
2435
|
+
# must own the image. For more information about creating BYOL images,
|
2436
|
+
# see [ Bring Your Own Windows Desktop Licenses][1].
|
2438
2437
|
#
|
2439
2438
|
#
|
2440
2439
|
#
|
@@ -2477,12 +2476,14 @@ module Aws::WorkSpaces
|
|
2477
2476
|
#
|
2478
2477
|
# @option params [Array<String>] :applications
|
2479
2478
|
# If specified, the version of Microsoft Office to subscribe to. Valid
|
2480
|
-
# only for Windows 10 BYOL images. For more information about
|
2479
|
+
# only for Windows 10 and 11 BYOL images. For more information about
|
2481
2480
|
# subscribing to Office for BYOL images, see [ Bring Your Own Windows
|
2482
2481
|
# Desktop Licenses][1].
|
2483
2482
|
#
|
2484
|
-
# <note markdown="1"> Although this parameter is an array, only one item is allowed at
|
2485
|
-
#
|
2483
|
+
# <note markdown="1"> * Although this parameter is an array, only one item is allowed at
|
2484
|
+
# this time.
|
2485
|
+
#
|
2486
|
+
# * Windows 11 only supports `Microsoft_Office_2019`.
|
2486
2487
|
#
|
2487
2488
|
# </note>
|
2488
2489
|
#
|
@@ -3571,7 +3572,7 @@ module Aws::WorkSpaces
|
|
3571
3572
|
params: params,
|
3572
3573
|
config: config)
|
3573
3574
|
context[:gem_name] = 'aws-sdk-workspaces'
|
3574
|
-
context[:gem_version] = '1.
|
3575
|
+
context[:gem_version] = '1.80.0'
|
3575
3576
|
Seahorse::Client::Request.new(handlers, context)
|
3576
3577
|
end
|
3577
3578
|
|
@@ -14,36 +14,39 @@ module Aws::WorkSpaces
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://workspaces-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://workspaces-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workspaces-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workspaces-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workspaces.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workspaces.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://workspaces.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -515,7 +515,7 @@ module Aws::WorkSpaces
|
|
515
515
|
# @return [String]
|
516
516
|
#
|
517
517
|
# @!attribute [rw] standby_workspaces
|
518
|
-
# Information about the
|
518
|
+
# Information about the standby WorkSpace to be created.
|
519
519
|
# @return [Array<Types::StandbyWorkspace>]
|
520
520
|
#
|
521
521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateStandbyWorkspacesRequest AWS API Documentation
|
@@ -528,11 +528,11 @@ module Aws::WorkSpaces
|
|
528
528
|
end
|
529
529
|
|
530
530
|
# @!attribute [rw] failed_standby_requests
|
531
|
-
# Information about the
|
531
|
+
# Information about the standby WorkSpace that could not be created.
|
532
532
|
# @return [Array<Types::FailedCreateStandbyWorkspacesRequest>]
|
533
533
|
#
|
534
534
|
# @!attribute [rw] pending_standby_requests
|
535
|
-
# Information about the
|
535
|
+
# Information about the standby WorkSpace that was created.
|
536
536
|
# @return [Array<Types::PendingCreateStandbyWorkspacesRequest>]
|
537
537
|
#
|
538
538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateStandbyWorkspacesResult AWS API Documentation
|
@@ -1830,19 +1830,19 @@ module Aws::WorkSpaces
|
|
1830
1830
|
#
|
1831
1831
|
class DisassociateIpGroupsResult < Aws::EmptyStructure; end
|
1832
1832
|
|
1833
|
-
# Describes the
|
1833
|
+
# Describes the standby WorkSpace that could not be created.
|
1834
1834
|
#
|
1835
1835
|
# @!attribute [rw] standby_workspace_request
|
1836
|
-
# Information about the
|
1836
|
+
# Information about the standby WorkSpace that could not be created.
|
1837
1837
|
# @return [Types::StandbyWorkspace]
|
1838
1838
|
#
|
1839
1839
|
# @!attribute [rw] error_code
|
1840
|
-
# The error code that is returned if the
|
1840
|
+
# The error code that is returned if the standby WorkSpace could not
|
1841
1841
|
# be created.
|
1842
1842
|
# @return [String]
|
1843
1843
|
#
|
1844
1844
|
# @!attribute [rw] error_message
|
1845
|
-
# The text of the error message that is returned if the
|
1845
|
+
# The text of the error message that is returned if the standby
|
1846
1846
|
# WorkSpace could not be created.
|
1847
1847
|
# @return [String]
|
1848
1848
|
#
|
@@ -2052,12 +2052,14 @@ module Aws::WorkSpaces
|
|
2052
2052
|
#
|
2053
2053
|
# @!attribute [rw] applications
|
2054
2054
|
# If specified, the version of Microsoft Office to subscribe to. Valid
|
2055
|
-
# only for Windows 10 BYOL images. For more information about
|
2055
|
+
# only for Windows 10 and 11 BYOL images. For more information about
|
2056
2056
|
# subscribing to Office for BYOL images, see [ Bring Your Own Windows
|
2057
2057
|
# Desktop Licenses][1].
|
2058
2058
|
#
|
2059
|
-
# <note markdown="1"> Although this parameter is an array, only one item is allowed at
|
2060
|
-
#
|
2059
|
+
# <note markdown="1"> * Although this parameter is an array, only one item is allowed at
|
2060
|
+
# this time.
|
2061
|
+
#
|
2062
|
+
# * Windows 11 only supports `Microsoft_Office_2019`.
|
2061
2063
|
#
|
2062
2064
|
# </note>
|
2063
2065
|
#
|
@@ -2694,10 +2696,10 @@ module Aws::WorkSpaces
|
|
2694
2696
|
include Aws::Structure
|
2695
2697
|
end
|
2696
2698
|
|
2697
|
-
# Information about the
|
2699
|
+
# Information about the standby WorkSpace.
|
2698
2700
|
#
|
2699
2701
|
# @!attribute [rw] user_name
|
2700
|
-
# Describes the
|
2702
|
+
# Describes the standby WorkSpace that was created.
|
2701
2703
|
#
|
2702
2704
|
# Because this operation is asynchronous, the identifier returned is
|
2703
2705
|
# not immediately available for use with other operations. For
|
@@ -2710,15 +2712,15 @@ module Aws::WorkSpaces
|
|
2710
2712
|
# @return [String]
|
2711
2713
|
#
|
2712
2714
|
# @!attribute [rw] directory_id
|
2713
|
-
# The identifier of the directory for the
|
2715
|
+
# The identifier of the directory for the standby WorkSpace.
|
2714
2716
|
# @return [String]
|
2715
2717
|
#
|
2716
2718
|
# @!attribute [rw] state
|
2717
|
-
# The operational state of the
|
2719
|
+
# The operational state of the standby WorkSpace.
|
2718
2720
|
# @return [String]
|
2719
2721
|
#
|
2720
2722
|
# @!attribute [rw] workspace_id
|
2721
|
-
# The identifier of the
|
2723
|
+
# The identifier of the standby WorkSpace.
|
2722
2724
|
# @return [String]
|
2723
2725
|
#
|
2724
2726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/PendingCreateStandbyWorkspacesRequest AWS API Documentation
|
@@ -2874,7 +2876,7 @@ module Aws::WorkSpaces
|
|
2874
2876
|
class RegisterWorkspaceDirectoryResult < Aws::EmptyStructure; end
|
2875
2877
|
|
2876
2878
|
# Describes the related WorkSpace. The related WorkSpace could be a
|
2877
|
-
#
|
2879
|
+
# standby WorkSpace or primary WorkSpace related to the specified
|
2878
2880
|
# WorkSpace.
|
2879
2881
|
#
|
2880
2882
|
# @!attribute [rw] workspace_id
|
@@ -3157,22 +3159,22 @@ module Aws::WorkSpaces
|
|
3157
3159
|
include Aws::Structure
|
3158
3160
|
end
|
3159
3161
|
|
3160
|
-
# Describes a
|
3162
|
+
# Describes a standby WorkSpace.
|
3161
3163
|
#
|
3162
3164
|
# @!attribute [rw] primary_workspace_id
|
3163
|
-
# The identifier of the
|
3165
|
+
# The identifier of the standby WorkSpace.
|
3164
3166
|
# @return [String]
|
3165
3167
|
#
|
3166
3168
|
# @!attribute [rw] volume_encryption_key
|
3167
|
-
# The volume encryption key of the
|
3169
|
+
# The volume encryption key of the standby WorkSpace.
|
3168
3170
|
# @return [String]
|
3169
3171
|
#
|
3170
3172
|
# @!attribute [rw] directory_id
|
3171
|
-
# The identifier of the directory for the
|
3173
|
+
# The identifier of the directory for the standby WorkSpace.
|
3172
3174
|
# @return [String]
|
3173
3175
|
#
|
3174
3176
|
# @!attribute [rw] tags
|
3175
|
-
# The tags associated with the
|
3177
|
+
# The tags associated with the standby WorkSpace.
|
3176
3178
|
# @return [Array<Types::Tag>]
|
3177
3179
|
#
|
3178
3180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StandbyWorkspace AWS API Documentation
|
@@ -3610,7 +3612,7 @@ module Aws::WorkSpaces
|
|
3610
3612
|
# @return [Array<Types::ModificationState>]
|
3611
3613
|
#
|
3612
3614
|
# @!attribute [rw] related_workspaces
|
3613
|
-
# The
|
3615
|
+
# The standby WorkSpace or primary WorkSpace related to the specified
|
3614
3616
|
# WorkSpace.
|
3615
3617
|
# @return [Array<Types::RelatedWorkspaceProperties>]
|
3616
3618
|
#
|
data/lib/aws-sdk-workspaces.rb
CHANGED
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.80.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: 2023-
|
11
|
+
date: 2023-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|