aws-sdk-workspaces 1.75.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspaces/client.rb +38 -1
- data/lib/aws-sdk-workspaces/client_api.rb +33 -0
- data/lib/aws-sdk-workspaces/endpoints.rb +14 -0
- data/lib/aws-sdk-workspaces/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-workspaces/types.rb +76 -1
- 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: ced20f21794e37aaa1d4d5e4beeef4ccfb17249611dec81129a7b77ed4e4722f
|
4
|
+
data.tar.gz: c8f312881dcc9439aee9b98f75c74ec366976e97c0d11ea2f4ebc4dcc3b35cf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d360ffc7257bef159e99aafce795e648c3f8c79ab2dbf3afc275df3b5d6a6757897c831380de1f216e3c0a91622c64c08d47c95456147efd3648b38dfb843627
|
7
|
+
data.tar.gz: 31902a4ec491a5c595ebfc8e2c11052450a728e7c8cf2718fba568ef7a080ece69f1aba07c6bfd5ada4072b13975119c669d2cad3b8aadcf533faf5e95e33e09
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2022-11-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces ModifyCertificateBasedAuthProperties, a new API that allows control of certificate-based auth properties associated with a WorkSpaces directory. The DescribeWorkspaceDirectories API will now additionally return certificate-based auth properties in its responses.
|
8
|
+
|
4
9
|
1.75.0 (2022-11-07)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
@@ -1853,6 +1853,8 @@ module Aws::WorkSpaces
|
|
1853
1853
|
# resp.directories[0].saml_properties.status #=> String, one of "DISABLED", "ENABLED", "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"
|
1854
1854
|
# resp.directories[0].saml_properties.user_access_url #=> String
|
1855
1855
|
# resp.directories[0].saml_properties.relay_state_parameter_name #=> String
|
1856
|
+
# resp.directories[0].certificate_based_auth_properties.status #=> String, one of "DISABLED", "ENABLED"
|
1857
|
+
# resp.directories[0].certificate_based_auth_properties.certificate_authority_arn #=> String
|
1856
1858
|
# resp.next_token #=> String
|
1857
1859
|
#
|
1858
1860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories AWS API Documentation
|
@@ -2584,6 +2586,41 @@ module Aws::WorkSpaces
|
|
2584
2586
|
req.send_request(options)
|
2585
2587
|
end
|
2586
2588
|
|
2589
|
+
# Modifies the properties of the certificate-based authentication you
|
2590
|
+
# want to use with your WorkSpaces.
|
2591
|
+
#
|
2592
|
+
# @option params [required, String] :resource_id
|
2593
|
+
# The resource identifiers, in the form of directory IDs.
|
2594
|
+
#
|
2595
|
+
# @option params [Types::CertificateBasedAuthProperties] :certificate_based_auth_properties
|
2596
|
+
# The properties of the certificate-based authentication.
|
2597
|
+
#
|
2598
|
+
# @option params [Array<String>] :properties_to_delete
|
2599
|
+
# The properties of the certificate-based authentication you want to
|
2600
|
+
# delete.
|
2601
|
+
#
|
2602
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2603
|
+
#
|
2604
|
+
# @example Request syntax with placeholder values
|
2605
|
+
#
|
2606
|
+
# resp = client.modify_certificate_based_auth_properties({
|
2607
|
+
# resource_id: "DirectoryId", # required
|
2608
|
+
# certificate_based_auth_properties: {
|
2609
|
+
# status: "DISABLED", # accepts DISABLED, ENABLED
|
2610
|
+
# certificate_authority_arn: "CertificateAuthorityArn",
|
2611
|
+
# },
|
2612
|
+
# properties_to_delete: ["CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN"], # accepts CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN
|
2613
|
+
# })
|
2614
|
+
#
|
2615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyCertificateBasedAuthProperties AWS API Documentation
|
2616
|
+
#
|
2617
|
+
# @overload modify_certificate_based_auth_properties(params = {})
|
2618
|
+
# @param [Hash] params ({})
|
2619
|
+
def modify_certificate_based_auth_properties(params = {}, options = {})
|
2620
|
+
req = build_request(:modify_certificate_based_auth_properties, params)
|
2621
|
+
req.send_request(options)
|
2622
|
+
end
|
2623
|
+
|
2587
2624
|
# Modifies the properties of the specified Amazon WorkSpaces clients.
|
2588
2625
|
#
|
2589
2626
|
# @option params [required, String] :resource_id
|
@@ -3462,7 +3499,7 @@ module Aws::WorkSpaces
|
|
3462
3499
|
params: params,
|
3463
3500
|
config: config)
|
3464
3501
|
context[:gem_name] = 'aws-sdk-workspaces'
|
3465
|
-
context[:gem_version] = '1.
|
3502
|
+
context[:gem_version] = '1.76.0'
|
3466
3503
|
Seahorse::Client::Request.new(handlers, context)
|
3467
3504
|
end
|
3468
3505
|
|
@@ -37,6 +37,9 @@ module Aws::WorkSpaces
|
|
37
37
|
BundleIdList = Shapes::ListShape.new(name: 'BundleIdList')
|
38
38
|
BundleList = Shapes::ListShape.new(name: 'BundleList')
|
39
39
|
BundleOwner = Shapes::StringShape.new(name: 'BundleOwner')
|
40
|
+
CertificateAuthorityArn = Shapes::StringShape.new(name: 'CertificateAuthorityArn')
|
41
|
+
CertificateBasedAuthProperties = Shapes::StructureShape.new(name: 'CertificateBasedAuthProperties')
|
42
|
+
CertificateBasedAuthStatusEnum = Shapes::StringShape.new(name: 'CertificateBasedAuthStatusEnum')
|
40
43
|
ClientDeviceType = Shapes::StringShape.new(name: 'ClientDeviceType')
|
41
44
|
ClientDeviceTypeList = Shapes::ListShape.new(name: 'ClientDeviceTypeList')
|
42
45
|
ClientEmail = Shapes::StringShape.new(name: 'ClientEmail')
|
@@ -91,6 +94,8 @@ module Aws::WorkSpaces
|
|
91
94
|
DefaultLogo = Shapes::BlobShape.new(name: 'DefaultLogo')
|
92
95
|
DefaultOu = Shapes::StringShape.new(name: 'DefaultOu')
|
93
96
|
DefaultWorkspaceCreationProperties = Shapes::StructureShape.new(name: 'DefaultWorkspaceCreationProperties')
|
97
|
+
DeletableCertificateBasedAuthPropertiesList = Shapes::ListShape.new(name: 'DeletableCertificateBasedAuthPropertiesList')
|
98
|
+
DeletableCertificateBasedAuthProperty = Shapes::StringShape.new(name: 'DeletableCertificateBasedAuthProperty')
|
94
99
|
DeletableSamlPropertiesList = Shapes::ListShape.new(name: 'DeletableSamlPropertiesList')
|
95
100
|
DeletableSamlProperty = Shapes::StringShape.new(name: 'DeletableSamlProperty')
|
96
101
|
DeleteClientBrandingRequest = Shapes::StructureShape.new(name: 'DeleteClientBrandingRequest')
|
@@ -202,6 +207,8 @@ module Aws::WorkSpaces
|
|
202
207
|
ModificationStateList = Shapes::ListShape.new(name: 'ModificationStateList')
|
203
208
|
ModifyAccountRequest = Shapes::StructureShape.new(name: 'ModifyAccountRequest')
|
204
209
|
ModifyAccountResult = Shapes::StructureShape.new(name: 'ModifyAccountResult')
|
210
|
+
ModifyCertificateBasedAuthPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyCertificateBasedAuthPropertiesRequest')
|
211
|
+
ModifyCertificateBasedAuthPropertiesResult = Shapes::StructureShape.new(name: 'ModifyCertificateBasedAuthPropertiesResult')
|
205
212
|
ModifyClientPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyClientPropertiesRequest')
|
206
213
|
ModifyClientPropertiesResult = Shapes::StructureShape.new(name: 'ModifyClientPropertiesResult')
|
207
214
|
ModifySamlPropertiesRequest = Shapes::StructureShape.new(name: 'ModifySamlPropertiesRequest')
|
@@ -370,6 +377,10 @@ module Aws::WorkSpaces
|
|
370
377
|
|
371
378
|
BundleList.member = Shapes::ShapeRef.new(shape: WorkspaceBundle)
|
372
379
|
|
380
|
+
CertificateBasedAuthProperties.add_member(:status, Shapes::ShapeRef.new(shape: CertificateBasedAuthStatusEnum, location_name: "Status"))
|
381
|
+
CertificateBasedAuthProperties.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: CertificateAuthorityArn, location_name: "CertificateAuthorityArn"))
|
382
|
+
CertificateBasedAuthProperties.struct_class = Types::CertificateBasedAuthProperties
|
383
|
+
|
373
384
|
ClientDeviceTypeList.member = Shapes::ShapeRef.new(shape: ClientDeviceType)
|
374
385
|
|
375
386
|
ClientProperties.add_member(:reconnect_enabled, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "ReconnectEnabled"))
|
@@ -526,6 +537,8 @@ module Aws::WorkSpaces
|
|
526
537
|
DefaultWorkspaceCreationProperties.add_member(:enable_maintenance_mode, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableMaintenanceMode"))
|
527
538
|
DefaultWorkspaceCreationProperties.struct_class = Types::DefaultWorkspaceCreationProperties
|
528
539
|
|
540
|
+
DeletableCertificateBasedAuthPropertiesList.member = Shapes::ShapeRef.new(shape: DeletableCertificateBasedAuthProperty)
|
541
|
+
|
529
542
|
DeletableSamlPropertiesList.member = Shapes::ShapeRef.new(shape: DeletableSamlProperty)
|
530
543
|
|
531
544
|
DeleteClientBrandingRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
|
@@ -848,6 +861,13 @@ module Aws::WorkSpaces
|
|
848
861
|
|
849
862
|
ModifyAccountResult.struct_class = Types::ModifyAccountResult
|
850
863
|
|
864
|
+
ModifyCertificateBasedAuthPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
|
865
|
+
ModifyCertificateBasedAuthPropertiesRequest.add_member(:certificate_based_auth_properties, Shapes::ShapeRef.new(shape: CertificateBasedAuthProperties, location_name: "CertificateBasedAuthProperties"))
|
866
|
+
ModifyCertificateBasedAuthPropertiesRequest.add_member(:properties_to_delete, Shapes::ShapeRef.new(shape: DeletableCertificateBasedAuthPropertiesList, location_name: "PropertiesToDelete"))
|
867
|
+
ModifyCertificateBasedAuthPropertiesRequest.struct_class = Types::ModifyCertificateBasedAuthPropertiesRequest
|
868
|
+
|
869
|
+
ModifyCertificateBasedAuthPropertiesResult.struct_class = Types::ModifyCertificateBasedAuthPropertiesResult
|
870
|
+
|
851
871
|
ModifyClientPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
|
852
872
|
ModifyClientPropertiesRequest.add_member(:client_properties, Shapes::ShapeRef.new(shape: ClientProperties, required: true, location_name: "ClientProperties"))
|
853
873
|
ModifyClientPropertiesRequest.struct_class = Types::ModifyClientPropertiesRequest
|
@@ -1149,6 +1169,7 @@ module Aws::WorkSpaces
|
|
1149
1169
|
WorkspaceDirectory.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "Tenancy"))
|
1150
1170
|
WorkspaceDirectory.add_member(:selfservice_permissions, Shapes::ShapeRef.new(shape: SelfservicePermissions, location_name: "SelfservicePermissions"))
|
1151
1171
|
WorkspaceDirectory.add_member(:saml_properties, Shapes::ShapeRef.new(shape: SamlProperties, location_name: "SamlProperties"))
|
1172
|
+
WorkspaceDirectory.add_member(:certificate_based_auth_properties, Shapes::ShapeRef.new(shape: CertificateBasedAuthProperties, location_name: "CertificateBasedAuthProperties"))
|
1152
1173
|
WorkspaceDirectory.struct_class = Types::WorkspaceDirectory
|
1153
1174
|
|
1154
1175
|
WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
|
@@ -1741,6 +1762,18 @@ module Aws::WorkSpaces
|
|
1741
1762
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1742
1763
|
end)
|
1743
1764
|
|
1765
|
+
api.add_operation(:modify_certificate_based_auth_properties, Seahorse::Model::Operation.new.tap do |o|
|
1766
|
+
o.name = "ModifyCertificateBasedAuthProperties"
|
1767
|
+
o.http_method = "POST"
|
1768
|
+
o.http_request_uri = "/"
|
1769
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyCertificateBasedAuthPropertiesRequest)
|
1770
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyCertificateBasedAuthPropertiesResult)
|
1771
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1772
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1773
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
1774
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1775
|
+
end)
|
1776
|
+
|
1744
1777
|
api.add_operation(:modify_client_properties, Seahorse::Model::Operation.new.tap do |o|
|
1745
1778
|
o.name = "ModifyClientProperties"
|
1746
1779
|
o.http_method = "POST"
|
@@ -613,6 +613,20 @@ module Aws::WorkSpaces
|
|
613
613
|
end
|
614
614
|
end
|
615
615
|
|
616
|
+
class ModifyCertificateBasedAuthProperties
|
617
|
+
def self.build(context)
|
618
|
+
unless context.config.regional_endpoint
|
619
|
+
endpoint = context.config.endpoint.to_s
|
620
|
+
end
|
621
|
+
Aws::WorkSpaces::EndpointParameters.new(
|
622
|
+
region: context.config.region,
|
623
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
624
|
+
use_fips: context.config.use_fips_endpoint,
|
625
|
+
endpoint: endpoint,
|
626
|
+
)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
616
630
|
class ModifyClientProperties
|
617
631
|
def self.build(context)
|
618
632
|
unless context.config.regional_endpoint
|
@@ -142,6 +142,8 @@ module Aws::WorkSpaces
|
|
142
142
|
Aws::WorkSpaces::Endpoints::MigrateWorkspace.build(context)
|
143
143
|
when :modify_account
|
144
144
|
Aws::WorkSpaces::Endpoints::ModifyAccount.build(context)
|
145
|
+
when :modify_certificate_based_auth_properties
|
146
|
+
Aws::WorkSpaces::Endpoints::ModifyCertificateBasedAuthProperties.build(context)
|
145
147
|
when :modify_client_properties
|
146
148
|
Aws::WorkSpaces::Endpoints::ModifyClientProperties.build(context)
|
147
149
|
when :modify_saml_properties
|
@@ -170,6 +170,35 @@ module Aws::WorkSpaces
|
|
170
170
|
#
|
171
171
|
class AuthorizeIpRulesResult < Aws::EmptyStructure; end
|
172
172
|
|
173
|
+
# Describes the properties of the certificate-based authentication you
|
174
|
+
# want to use with your WorkSpaces.
|
175
|
+
#
|
176
|
+
# @note When making an API call, you may pass CertificateBasedAuthProperties
|
177
|
+
# data as a hash:
|
178
|
+
#
|
179
|
+
# {
|
180
|
+
# status: "DISABLED", # accepts DISABLED, ENABLED
|
181
|
+
# certificate_authority_arn: "CertificateAuthorityArn",
|
182
|
+
# }
|
183
|
+
#
|
184
|
+
# @!attribute [rw] status
|
185
|
+
# The status of the certificate-based authentication properties.
|
186
|
+
# @return [String]
|
187
|
+
#
|
188
|
+
# @!attribute [rw] certificate_authority_arn
|
189
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services
|
190
|
+
# Certificate Manager Private CA resource.
|
191
|
+
# @return [String]
|
192
|
+
#
|
193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CertificateBasedAuthProperties AWS API Documentation
|
194
|
+
#
|
195
|
+
class CertificateBasedAuthProperties < Struct.new(
|
196
|
+
:status,
|
197
|
+
:certificate_authority_arn)
|
198
|
+
SENSITIVE = []
|
199
|
+
include Aws::Structure
|
200
|
+
end
|
201
|
+
|
173
202
|
# Describes an Amazon WorkSpaces client.
|
174
203
|
#
|
175
204
|
# @note When making an API call, you may pass ClientProperties
|
@@ -2929,6 +2958,45 @@ module Aws::WorkSpaces
|
|
2929
2958
|
#
|
2930
2959
|
class ModifyAccountResult < Aws::EmptyStructure; end
|
2931
2960
|
|
2961
|
+
# @note When making an API call, you may pass ModifyCertificateBasedAuthPropertiesRequest
|
2962
|
+
# data as a hash:
|
2963
|
+
#
|
2964
|
+
# {
|
2965
|
+
# resource_id: "DirectoryId", # required
|
2966
|
+
# certificate_based_auth_properties: {
|
2967
|
+
# status: "DISABLED", # accepts DISABLED, ENABLED
|
2968
|
+
# certificate_authority_arn: "CertificateAuthorityArn",
|
2969
|
+
# },
|
2970
|
+
# properties_to_delete: ["CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN"], # accepts CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN
|
2971
|
+
# }
|
2972
|
+
#
|
2973
|
+
# @!attribute [rw] resource_id
|
2974
|
+
# The resource identifiers, in the form of directory IDs.
|
2975
|
+
# @return [String]
|
2976
|
+
#
|
2977
|
+
# @!attribute [rw] certificate_based_auth_properties
|
2978
|
+
# The properties of the certificate-based authentication.
|
2979
|
+
# @return [Types::CertificateBasedAuthProperties]
|
2980
|
+
#
|
2981
|
+
# @!attribute [rw] properties_to_delete
|
2982
|
+
# The properties of the certificate-based authentication you want to
|
2983
|
+
# delete.
|
2984
|
+
# @return [Array<String>]
|
2985
|
+
#
|
2986
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyCertificateBasedAuthPropertiesRequest AWS API Documentation
|
2987
|
+
#
|
2988
|
+
class ModifyCertificateBasedAuthPropertiesRequest < Struct.new(
|
2989
|
+
:resource_id,
|
2990
|
+
:certificate_based_auth_properties,
|
2991
|
+
:properties_to_delete)
|
2992
|
+
SENSITIVE = []
|
2993
|
+
include Aws::Structure
|
2994
|
+
end
|
2995
|
+
|
2996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyCertificateBasedAuthPropertiesResult AWS API Documentation
|
2997
|
+
#
|
2998
|
+
class ModifyCertificateBasedAuthPropertiesResult < Aws::EmptyStructure; end
|
2999
|
+
|
2932
3000
|
# @note When making an API call, you may pass ModifyClientPropertiesRequest
|
2933
3001
|
# data as a hash:
|
2934
3002
|
#
|
@@ -4651,6 +4719,12 @@ module Aws::WorkSpaces
|
|
4651
4719
|
# 2.0 identity provider.
|
4652
4720
|
# @return [Types::SamlProperties]
|
4653
4721
|
#
|
4722
|
+
# @!attribute [rw] certificate_based_auth_properties
|
4723
|
+
# The certificate-based authentication properties used to authenticate
|
4724
|
+
# SAML 2.0 Identity Provider (IdP) user identities to Active Directory
|
4725
|
+
# for WorkSpaces login.
|
4726
|
+
# @return [Types::CertificateBasedAuthProperties]
|
4727
|
+
#
|
4654
4728
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceDirectory AWS API Documentation
|
4655
4729
|
#
|
4656
4730
|
class WorkspaceDirectory < Struct.new(
|
@@ -4670,7 +4744,8 @@ module Aws::WorkSpaces
|
|
4670
4744
|
:workspace_access_properties,
|
4671
4745
|
:tenancy,
|
4672
4746
|
:selfservice_permissions,
|
4673
|
-
:saml_properties
|
4747
|
+
:saml_properties,
|
4748
|
+
:certificate_based_auth_properties)
|
4674
4749
|
SENSITIVE = []
|
4675
4750
|
include Aws::Structure
|
4676
4751
|
end
|
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.76.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: 2022-11-
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|