aws-sdk-workspaces 1.71.0 → 1.72.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: 250a357bcddb89710d7544d0bf729d75a7da0d5f3bee68e0607ea7ea2e6f14a8
4
- data.tar.gz: d99d78683667cfc5013683b507cab6d8074a7cf26c12d7098f039e3c9341a9db
3
+ metadata.gz: 2c91c7db4285863209bd00670cc0fd06d75166350bfb09ff4fc2c541f7e060b3
4
+ data.tar.gz: 4844ade3c37b6fbaf184a5268bdabb2fb2dea0cec1dcaf44f9c44a0f9fe6d4b2
5
5
  SHA512:
6
- metadata.gz: 4b01fe5fe35b8b882bfadd8c67c2ee481b78e44284fcbe0e00cb689bfd9daf379eb9a509d955c978664fd25b7dc690113db6649b48288ee3092a58b45b478849
7
- data.tar.gz: a519b09ce7aa758563fb065c4cce78a0175ae94205f11696307773627a3dee061ed5a53f2cf58e54af6bc6666a4e87a17cf98662edff010dc86f445382c003e9
6
+ metadata.gz: 2a7b0339c0538fa6ac5533054e4e2496807c11b51ead7aed9e55c62895fbcae5c8ba858e2f7af291c062f5bb5e9f83049d8876ca3201ff2fe9fecbb984876954
7
+ data.tar.gz: c94915077d8b24ae8086291a670967de543c63d0bbdb8393bd39ba3052a7f0d50de10d825275eaf49f3fa1c7f2ef7520f95a1f794d94c513e123ce036b54936e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2022-08-01)
5
+ ------------------
6
+
7
+ * Feature - This release introduces ModifySamlProperties, a new API that allows control of SAML properties associated with a WorkSpaces directory. The DescribeWorkspaceDirectories API will now additionally return SAML properties in its responses.
8
+
4
9
  1.71.0 (2022-07-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.72.0
@@ -1817,6 +1817,9 @@ module Aws::WorkSpaces
1817
1817
  # resp.directories[0].selfservice_permissions.change_compute_type #=> String, one of "ENABLED", "DISABLED"
1818
1818
  # resp.directories[0].selfservice_permissions.switch_running_mode #=> String, one of "ENABLED", "DISABLED"
1819
1819
  # resp.directories[0].selfservice_permissions.rebuild_workspace #=> String, one of "ENABLED", "DISABLED"
1820
+ # resp.directories[0].saml_properties.status #=> String, one of "DISABLED", "ENABLED", "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"
1821
+ # resp.directories[0].saml_properties.user_access_url #=> String
1822
+ # resp.directories[0].saml_properties.relay_state_parameter_name #=> String
1820
1823
  # resp.next_token #=> String
1821
1824
  #
1822
1825
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories AWS API Documentation
@@ -2561,6 +2564,51 @@ module Aws::WorkSpaces
2561
2564
  req.send_request(options)
2562
2565
  end
2563
2566
 
2567
+ # Modifies multiple properties related to SAML 2.0 authentication,
2568
+ # including the enablement status, user access URL, and relay state
2569
+ # parameter name that are used for configuring federation with an SAML
2570
+ # 2.0 identity provider.
2571
+ #
2572
+ # @option params [required, String] :resource_id
2573
+ # The directory identifier for which you want to configure SAML
2574
+ # properties.
2575
+ #
2576
+ # @option params [Types::SamlProperties] :saml_properties
2577
+ # The properties for configuring SAML 2.0 authentication.
2578
+ #
2579
+ # @option params [Array<String>] :properties_to_delete
2580
+ # The SAML properties to delete as part of your request.
2581
+ #
2582
+ # Specify one of the following options:
2583
+ #
2584
+ # * `SAML_PROPERTIES_USER_ACCESS_URL` to delete the user access URL.
2585
+ #
2586
+ # * `SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME` to delete the relay
2587
+ # state parameter name.
2588
+ #
2589
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2590
+ #
2591
+ # @example Request syntax with placeholder values
2592
+ #
2593
+ # resp = client.modify_saml_properties({
2594
+ # resource_id: "DirectoryId", # required
2595
+ # saml_properties: {
2596
+ # status: "DISABLED", # accepts DISABLED, ENABLED, ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
2597
+ # user_access_url: "SamlUserAccessUrl",
2598
+ # relay_state_parameter_name: "NonEmptyString",
2599
+ # },
2600
+ # properties_to_delete: ["SAML_PROPERTIES_USER_ACCESS_URL"], # accepts SAML_PROPERTIES_USER_ACCESS_URL, SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
2601
+ # })
2602
+ #
2603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySamlProperties AWS API Documentation
2604
+ #
2605
+ # @overload modify_saml_properties(params = {})
2606
+ # @param [Hash] params ({})
2607
+ def modify_saml_properties(params = {}, options = {})
2608
+ req = build_request(:modify_saml_properties, params)
2609
+ req.send_request(options)
2610
+ end
2611
+
2564
2612
  # Modifies the self-service WorkSpace management capabilities for your
2565
2613
  # users. For more information, see [Enable Self-Service WorkSpace
2566
2614
  # Management Capabilities for Your Users][1].
@@ -3357,7 +3405,7 @@ module Aws::WorkSpaces
3357
3405
  params: params,
3358
3406
  config: config)
3359
3407
  context[:gem_name] = 'aws-sdk-workspaces'
3360
- context[:gem_version] = '1.71.0'
3408
+ context[:gem_version] = '1.72.0'
3361
3409
  Seahorse::Client::Request.new(handlers, context)
3362
3410
  end
3363
3411
 
@@ -91,6 +91,8 @@ module Aws::WorkSpaces
91
91
  DefaultLogo = Shapes::BlobShape.new(name: 'DefaultLogo')
92
92
  DefaultOu = Shapes::StringShape.new(name: 'DefaultOu')
93
93
  DefaultWorkspaceCreationProperties = Shapes::StructureShape.new(name: 'DefaultWorkspaceCreationProperties')
94
+ DeletableSamlPropertiesList = Shapes::ListShape.new(name: 'DeletableSamlPropertiesList')
95
+ DeletableSamlProperty = Shapes::StringShape.new(name: 'DeletableSamlProperty')
94
96
  DeleteClientBrandingRequest = Shapes::StructureShape.new(name: 'DeleteClientBrandingRequest')
95
97
  DeleteClientBrandingResult = Shapes::StructureShape.new(name: 'DeleteClientBrandingResult')
96
98
  DeleteConnectClientAddInRequest = Shapes::StructureShape.new(name: 'DeleteConnectClientAddInRequest')
@@ -201,6 +203,8 @@ module Aws::WorkSpaces
201
203
  ModifyAccountResult = Shapes::StructureShape.new(name: 'ModifyAccountResult')
202
204
  ModifyClientPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyClientPropertiesRequest')
203
205
  ModifyClientPropertiesResult = Shapes::StructureShape.new(name: 'ModifyClientPropertiesResult')
206
+ ModifySamlPropertiesRequest = Shapes::StructureShape.new(name: 'ModifySamlPropertiesRequest')
207
+ ModifySamlPropertiesResult = Shapes::StructureShape.new(name: 'ModifySamlPropertiesResult')
204
208
  ModifySelfservicePermissionsRequest = Shapes::StructureShape.new(name: 'ModifySelfservicePermissionsRequest')
205
209
  ModifySelfservicePermissionsResult = Shapes::StructureShape.new(name: 'ModifySelfservicePermissionsResult')
206
210
  ModifyWorkspaceAccessPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspaceAccessPropertiesRequest')
@@ -245,6 +249,9 @@ module Aws::WorkSpaces
245
249
  RootVolumeSizeGib = Shapes::IntegerShape.new(name: 'RootVolumeSizeGib')
246
250
  RunningMode = Shapes::StringShape.new(name: 'RunningMode')
247
251
  RunningModeAutoStopTimeoutInMinutes = Shapes::IntegerShape.new(name: 'RunningModeAutoStopTimeoutInMinutes')
252
+ SamlProperties = Shapes::StructureShape.new(name: 'SamlProperties')
253
+ SamlStatusEnum = Shapes::StringShape.new(name: 'SamlStatusEnum')
254
+ SamlUserAccessUrl = Shapes::StringShape.new(name: 'SamlUserAccessUrl')
248
255
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
249
256
  SelfservicePermissions = Shapes::StructureShape.new(name: 'SelfservicePermissions')
250
257
  Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
@@ -515,6 +522,8 @@ module Aws::WorkSpaces
515
522
  DefaultWorkspaceCreationProperties.add_member(:enable_maintenance_mode, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableMaintenanceMode"))
516
523
  DefaultWorkspaceCreationProperties.struct_class = Types::DefaultWorkspaceCreationProperties
517
524
 
525
+ DeletableSamlPropertiesList.member = Shapes::ShapeRef.new(shape: DeletableSamlProperty)
526
+
518
527
  DeleteClientBrandingRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
519
528
  DeleteClientBrandingRequest.add_member(:platforms, Shapes::ShapeRef.new(shape: ClientDeviceTypeList, required: true, location_name: "Platforms"))
520
529
  DeleteClientBrandingRequest.struct_class = Types::DeleteClientBrandingRequest
@@ -841,6 +850,13 @@ module Aws::WorkSpaces
841
850
 
842
851
  ModifyClientPropertiesResult.struct_class = Types::ModifyClientPropertiesResult
843
852
 
853
+ ModifySamlPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
854
+ ModifySamlPropertiesRequest.add_member(:saml_properties, Shapes::ShapeRef.new(shape: SamlProperties, location_name: "SamlProperties"))
855
+ ModifySamlPropertiesRequest.add_member(:properties_to_delete, Shapes::ShapeRef.new(shape: DeletableSamlPropertiesList, location_name: "PropertiesToDelete"))
856
+ ModifySamlPropertiesRequest.struct_class = Types::ModifySamlPropertiesRequest
857
+
858
+ ModifySamlPropertiesResult.struct_class = Types::ModifySamlPropertiesResult
859
+
844
860
  ModifySelfservicePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
845
861
  ModifySelfservicePermissionsRequest.add_member(:selfservice_permissions, Shapes::ShapeRef.new(shape: SelfservicePermissions, required: true, location_name: "SelfservicePermissions"))
846
862
  ModifySelfservicePermissionsRequest.struct_class = Types::ModifySelfservicePermissionsRequest
@@ -949,6 +965,11 @@ module Aws::WorkSpaces
949
965
  RootStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
950
966
  RootStorage.struct_class = Types::RootStorage
951
967
 
968
+ SamlProperties.add_member(:status, Shapes::ShapeRef.new(shape: SamlStatusEnum, location_name: "Status"))
969
+ SamlProperties.add_member(:user_access_url, Shapes::ShapeRef.new(shape: SamlUserAccessUrl, location_name: "UserAccessUrl"))
970
+ SamlProperties.add_member(:relay_state_parameter_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RelayStateParameterName"))
971
+ SamlProperties.struct_class = Types::SamlProperties
972
+
952
973
  SelfservicePermissions.add_member(:restart_workspace, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "RestartWorkspace"))
953
974
  SelfservicePermissions.add_member(:increase_volume_size, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "IncreaseVolumeSize"))
954
975
  SelfservicePermissions.add_member(:change_compute_type, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "ChangeComputeType"))
@@ -1121,6 +1142,7 @@ module Aws::WorkSpaces
1121
1142
  WorkspaceDirectory.add_member(:workspace_access_properties, Shapes::ShapeRef.new(shape: WorkspaceAccessProperties, location_name: "WorkspaceAccessProperties"))
1122
1143
  WorkspaceDirectory.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "Tenancy"))
1123
1144
  WorkspaceDirectory.add_member(:selfservice_permissions, Shapes::ShapeRef.new(shape: SelfservicePermissions, location_name: "SelfservicePermissions"))
1145
+ WorkspaceDirectory.add_member(:saml_properties, Shapes::ShapeRef.new(shape: SamlProperties, location_name: "SamlProperties"))
1124
1146
  WorkspaceDirectory.struct_class = Types::WorkspaceDirectory
1125
1147
 
1126
1148
  WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
@@ -1723,6 +1745,18 @@ module Aws::WorkSpaces
1723
1745
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1724
1746
  end)
1725
1747
 
1748
+ api.add_operation(:modify_saml_properties, Seahorse::Model::Operation.new.tap do |o|
1749
+ o.name = "ModifySamlProperties"
1750
+ o.http_method = "POST"
1751
+ o.http_request_uri = "/"
1752
+ o.input = Shapes::ShapeRef.new(shape: ModifySamlPropertiesRequest)
1753
+ o.output = Shapes::ShapeRef.new(shape: ModifySamlPropertiesResult)
1754
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1758
+ end)
1759
+
1726
1760
  api.add_operation(:modify_selfservice_permissions, Seahorse::Model::Operation.new.tap do |o|
1727
1761
  o.name = "ModifySelfservicePermissions"
1728
1762
  o.http_method = "POST"
@@ -2936,6 +2936,53 @@ module Aws::WorkSpaces
2936
2936
  #
2937
2937
  class ModifyClientPropertiesResult < Aws::EmptyStructure; end
2938
2938
 
2939
+ # @note When making an API call, you may pass ModifySamlPropertiesRequest
2940
+ # data as a hash:
2941
+ #
2942
+ # {
2943
+ # resource_id: "DirectoryId", # required
2944
+ # saml_properties: {
2945
+ # status: "DISABLED", # accepts DISABLED, ENABLED, ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
2946
+ # user_access_url: "SamlUserAccessUrl",
2947
+ # relay_state_parameter_name: "NonEmptyString",
2948
+ # },
2949
+ # properties_to_delete: ["SAML_PROPERTIES_USER_ACCESS_URL"], # accepts SAML_PROPERTIES_USER_ACCESS_URL, SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
2950
+ # }
2951
+ #
2952
+ # @!attribute [rw] resource_id
2953
+ # The directory identifier for which you want to configure SAML
2954
+ # properties.
2955
+ # @return [String]
2956
+ #
2957
+ # @!attribute [rw] saml_properties
2958
+ # The properties for configuring SAML 2.0 authentication.
2959
+ # @return [Types::SamlProperties]
2960
+ #
2961
+ # @!attribute [rw] properties_to_delete
2962
+ # The SAML properties to delete as part of your request.
2963
+ #
2964
+ # Specify one of the following options:
2965
+ #
2966
+ # * `SAML_PROPERTIES_USER_ACCESS_URL` to delete the user access URL.
2967
+ #
2968
+ # * `SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME` to delete the relay
2969
+ # state parameter name.
2970
+ # @return [Array<String>]
2971
+ #
2972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySamlPropertiesRequest AWS API Documentation
2973
+ #
2974
+ class ModifySamlPropertiesRequest < Struct.new(
2975
+ :resource_id,
2976
+ :saml_properties,
2977
+ :properties_to_delete)
2978
+ SENSITIVE = []
2979
+ include Aws::Structure
2980
+ end
2981
+
2982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySamlPropertiesResult AWS API Documentation
2983
+ #
2984
+ class ModifySamlPropertiesResult < Aws::EmptyStructure; end
2985
+
2939
2986
  # @note When making an API call, you may pass ModifySelfservicePermissionsRequest
2940
2987
  # data as a hash:
2941
2988
  #
@@ -3515,6 +3562,68 @@ module Aws::WorkSpaces
3515
3562
  include Aws::Structure
3516
3563
  end
3517
3564
 
3565
+ # Describes the enablement status, user access URL, and relay state
3566
+ # parameter name that are used for configuring federation with an SAML
3567
+ # 2.0 identity provider.
3568
+ #
3569
+ # @note When making an API call, you may pass SamlProperties
3570
+ # data as a hash:
3571
+ #
3572
+ # {
3573
+ # status: "DISABLED", # accepts DISABLED, ENABLED, ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
3574
+ # user_access_url: "SamlUserAccessUrl",
3575
+ # relay_state_parameter_name: "NonEmptyString",
3576
+ # }
3577
+ #
3578
+ # @!attribute [rw] status
3579
+ # Indicates the status of SAML 2.0 authentication. These statuses
3580
+ # include the following.
3581
+ #
3582
+ # * If the setting is `DISABLED`, end users will be directed to login
3583
+ # with their directory credentials.
3584
+ #
3585
+ # * If the setting is `ENABLED`, end users will be directed to login
3586
+ # via the user access URL. Users attempting to connect to WorkSpaces
3587
+ # from a client application that does not support SAML 2.0
3588
+ # authentication will not be able to connect.
3589
+ #
3590
+ # * If the setting is `ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK`, end
3591
+ # users will be directed to login via the user access URL on
3592
+ # supported client applications, but will not prevent clients that
3593
+ # do not support SAML 2.0 authentication from connecting as if SAML
3594
+ # 2.0 authentication was disabled.
3595
+ # @return [String]
3596
+ #
3597
+ # @!attribute [rw] user_access_url
3598
+ # The SAML 2.0 identity provider (IdP) user access URL is the URL a
3599
+ # user would navigate to in their web browser in order to federate
3600
+ # from the IdP and directly access the application, without any SAML
3601
+ # 2.0 service provider (SP) bindings.
3602
+ # @return [String]
3603
+ #
3604
+ # @!attribute [rw] relay_state_parameter_name
3605
+ # The relay state parameter name supported by the SAML 2.0 identity
3606
+ # provider (IdP). When the end user is redirected to the user access
3607
+ # URL from the WorkSpaces client application, this relay state
3608
+ # parameter name is appended as a query parameter to the URL along
3609
+ # with the relay state endpoint to return the user to the client
3610
+ # application session.
3611
+ #
3612
+ # To use SAML 2.0 authentication with WorkSpaces, the IdP must support
3613
+ # IdP-initiated deep linking for the relay state URL. Consult your IdP
3614
+ # documentation for more information.
3615
+ # @return [String]
3616
+ #
3617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/SamlProperties AWS API Documentation
3618
+ #
3619
+ class SamlProperties < Struct.new(
3620
+ :status,
3621
+ :user_access_url,
3622
+ :relay_state_parameter_name)
3623
+ SENSITIVE = []
3624
+ include Aws::Structure
3625
+ end
3626
+
3518
3627
  # Describes the self-service permissions for a directory. For more
3519
3628
  # information, see [Enable Self-Service WorkSpace Management
3520
3629
  # Capabilities for Your Users][1].
@@ -4510,6 +4619,12 @@ module Aws::WorkSpaces
4510
4619
  # directory.
4511
4620
  # @return [Types::SelfservicePermissions]
4512
4621
  #
4622
+ # @!attribute [rw] saml_properties
4623
+ # Describes the enablement status, user access URL, and relay state
4624
+ # parameter name that are used for configuring federation with an SAML
4625
+ # 2.0 identity provider.
4626
+ # @return [Types::SamlProperties]
4627
+ #
4513
4628
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceDirectory AWS API Documentation
4514
4629
  #
4515
4630
  class WorkspaceDirectory < Struct.new(
@@ -4528,7 +4643,8 @@ module Aws::WorkSpaces
4528
4643
  :ip_group_ids,
4529
4644
  :workspace_access_properties,
4530
4645
  :tenancy,
4531
- :selfservice_permissions)
4646
+ :selfservice_permissions,
4647
+ :saml_properties)
4532
4648
  SENSITIVE = []
4533
4649
  include Aws::Structure
4534
4650
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-workspaces/customizations'
48
48
  # @!group service
49
49
  module Aws::WorkSpaces
50
50
 
51
- GEM_VERSION = '1.71.0'
51
+ GEM_VERSION = '1.72.0'
52
52
 
53
53
  end
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.71.0
4
+ version: 1.72.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-07-27 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core