aws-sdk-workspacesweb 1.34.0 → 1.36.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspacesweb/client.rb +374 -9
- data/lib/aws-sdk-workspacesweb/client_api.rb +237 -0
- data/lib/aws-sdk-workspacesweb/types.rb +496 -12
- data/lib/aws-sdk-workspacesweb.rb +1 -1
- data/sig/client.rbs +131 -0
- data/sig/types.rbs +134 -0
- 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: 2cf46f4b98aef737234bb5f1363335776cfdabc669eeee98995cf90ea724b438
|
|
4
|
+
data.tar.gz: e99a54966d1023ee20c78892f0a6439d0fbd58cb46e3d7c2babad58aa320019b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e7884e007bf2f3c1b3785fc4b40ad25a1be8ac517345670944d150078af61fc78f5bcfe3c23d9cdfb2608331bb0925337c20c0ded8b016aac901810be72a867
|
|
7
|
+
data.tar.gz: 72ad01ae292ff19b467bf979bec2635cc78897dd92edcad6ea12baabbdc39cfa31d5e170297ae430ffe702ee733acc6f46763d6aa59daccecddfbe7eb5ad99a5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.36.0 (2024-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added data protection settings with support for inline data redaction.
|
|
8
|
+
|
|
9
|
+
1.35.0 (2024-11-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.34.0 (2024-10-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.36.0
|
|
@@ -481,6 +481,40 @@ module Aws::WorkSpacesWeb
|
|
|
481
481
|
req.send_request(options)
|
|
482
482
|
end
|
|
483
483
|
|
|
484
|
+
# Associates a data protection settings resource with a web portal.
|
|
485
|
+
#
|
|
486
|
+
# @option params [required, String] :data_protection_settings_arn
|
|
487
|
+
# The ARN of the data protection settings.
|
|
488
|
+
#
|
|
489
|
+
# @option params [required, String] :portal_arn
|
|
490
|
+
# The ARN of the web portal.
|
|
491
|
+
#
|
|
492
|
+
# @return [Types::AssociateDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
493
|
+
#
|
|
494
|
+
# * {Types::AssociateDataProtectionSettingsResponse#data_protection_settings_arn #data_protection_settings_arn} => String
|
|
495
|
+
# * {Types::AssociateDataProtectionSettingsResponse#portal_arn #portal_arn} => String
|
|
496
|
+
#
|
|
497
|
+
# @example Request syntax with placeholder values
|
|
498
|
+
#
|
|
499
|
+
# resp = client.associate_data_protection_settings({
|
|
500
|
+
# data_protection_settings_arn: "ARN", # required
|
|
501
|
+
# portal_arn: "ARN", # required
|
|
502
|
+
# })
|
|
503
|
+
#
|
|
504
|
+
# @example Response structure
|
|
505
|
+
#
|
|
506
|
+
# resp.data_protection_settings_arn #=> String
|
|
507
|
+
# resp.portal_arn #=> String
|
|
508
|
+
#
|
|
509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateDataProtectionSettings AWS API Documentation
|
|
510
|
+
#
|
|
511
|
+
# @overload associate_data_protection_settings(params = {})
|
|
512
|
+
# @param [Hash] params ({})
|
|
513
|
+
def associate_data_protection_settings(params = {}, options = {})
|
|
514
|
+
req = build_request(:associate_data_protection_settings, params)
|
|
515
|
+
req.send_request(options)
|
|
516
|
+
end
|
|
517
|
+
|
|
484
518
|
# Associates an IP access settings resource with a web portal.
|
|
485
519
|
#
|
|
486
520
|
# @option params [required, String] :ip_access_settings_arn
|
|
@@ -717,6 +751,100 @@ module Aws::WorkSpacesWeb
|
|
|
717
751
|
req.send_request(options)
|
|
718
752
|
end
|
|
719
753
|
|
|
754
|
+
# Creates a data protection settings resource that can be associated
|
|
755
|
+
# with a web portal.
|
|
756
|
+
#
|
|
757
|
+
# @option params [Hash<String,String>] :additional_encryption_context
|
|
758
|
+
# Additional encryption context of the data protection settings.
|
|
759
|
+
#
|
|
760
|
+
# @option params [String] :client_token
|
|
761
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
762
|
+
# idempotency of the request. Idempotency ensures that an API request
|
|
763
|
+
# completes only once. With an idempotent request, if the original
|
|
764
|
+
# request completes successfully, subsequent retries with the same
|
|
765
|
+
# client token returns the result from the original successful request.
|
|
766
|
+
#
|
|
767
|
+
# If you do not specify a client token, one is automatically generated
|
|
768
|
+
# by the Amazon Web Services SDK.
|
|
769
|
+
#
|
|
770
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
771
|
+
# not need to pass this option.**
|
|
772
|
+
#
|
|
773
|
+
# @option params [String] :customer_managed_key
|
|
774
|
+
# The custom managed key of the data protection settings.
|
|
775
|
+
#
|
|
776
|
+
# @option params [String] :description
|
|
777
|
+
# The description of the data protection settings.
|
|
778
|
+
#
|
|
779
|
+
# @option params [String] :display_name
|
|
780
|
+
# The display name of the data protection settings.
|
|
781
|
+
#
|
|
782
|
+
# @option params [Types::InlineRedactionConfiguration] :inline_redaction_configuration
|
|
783
|
+
# The inline redaction configuration of the data protection settings
|
|
784
|
+
# that will be applied to all sessions.
|
|
785
|
+
#
|
|
786
|
+
# @option params [Array<Types::Tag>] :tags
|
|
787
|
+
# The tags to add to the data protection settings resource. A tag is a
|
|
788
|
+
# key-value pair.
|
|
789
|
+
#
|
|
790
|
+
# @return [Types::CreateDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
791
|
+
#
|
|
792
|
+
# * {Types::CreateDataProtectionSettingsResponse#data_protection_settings_arn #data_protection_settings_arn} => String
|
|
793
|
+
#
|
|
794
|
+
# @example Request syntax with placeholder values
|
|
795
|
+
#
|
|
796
|
+
# resp = client.create_data_protection_settings({
|
|
797
|
+
# additional_encryption_context: {
|
|
798
|
+
# "StringType" => "StringType",
|
|
799
|
+
# },
|
|
800
|
+
# client_token: "ClientToken",
|
|
801
|
+
# customer_managed_key: "keyArn",
|
|
802
|
+
# description: "DescriptionSafe",
|
|
803
|
+
# display_name: "DisplayNameSafe",
|
|
804
|
+
# inline_redaction_configuration: {
|
|
805
|
+
# global_confidence_level: 1,
|
|
806
|
+
# global_enforced_urls: ["InlineRedactionUrl"],
|
|
807
|
+
# global_exempt_urls: ["InlineRedactionUrl"],
|
|
808
|
+
# inline_redaction_patterns: [ # required
|
|
809
|
+
# {
|
|
810
|
+
# built_in_pattern_id: "BuiltInPatternId",
|
|
811
|
+
# confidence_level: 1,
|
|
812
|
+
# custom_pattern: {
|
|
813
|
+
# keyword_regex: "Regex",
|
|
814
|
+
# pattern_description: "DescriptionSafe",
|
|
815
|
+
# pattern_name: "PatternName", # required
|
|
816
|
+
# pattern_regex: "Regex", # required
|
|
817
|
+
# },
|
|
818
|
+
# enforced_urls: ["InlineRedactionUrl"],
|
|
819
|
+
# exempt_urls: ["InlineRedactionUrl"],
|
|
820
|
+
# redaction_place_holder: { # required
|
|
821
|
+
# redaction_place_holder_text: "RedactionPlaceHolderText",
|
|
822
|
+
# redaction_place_holder_type: "CustomText", # required, accepts CustomText
|
|
823
|
+
# },
|
|
824
|
+
# },
|
|
825
|
+
# ],
|
|
826
|
+
# },
|
|
827
|
+
# tags: [
|
|
828
|
+
# {
|
|
829
|
+
# key: "TagKey", # required
|
|
830
|
+
# value: "TagValue", # required
|
|
831
|
+
# },
|
|
832
|
+
# ],
|
|
833
|
+
# })
|
|
834
|
+
#
|
|
835
|
+
# @example Response structure
|
|
836
|
+
#
|
|
837
|
+
# resp.data_protection_settings_arn #=> String
|
|
838
|
+
#
|
|
839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateDataProtectionSettings AWS API Documentation
|
|
840
|
+
#
|
|
841
|
+
# @overload create_data_protection_settings(params = {})
|
|
842
|
+
# @param [Hash] params ({})
|
|
843
|
+
def create_data_protection_settings(params = {}, options = {})
|
|
844
|
+
req = build_request(:create_data_protection_settings, params)
|
|
845
|
+
req.send_request(options)
|
|
846
|
+
end
|
|
847
|
+
|
|
720
848
|
# Creates an identity provider resource that is then associated with a
|
|
721
849
|
# web portal.
|
|
722
850
|
#
|
|
@@ -744,7 +872,6 @@ module Aws::WorkSpacesWeb
|
|
|
744
872
|
# * `client_secret`
|
|
745
873
|
#
|
|
746
874
|
# * `authorize_scopes`
|
|
747
|
-
#
|
|
748
875
|
# * For Facebook:
|
|
749
876
|
#
|
|
750
877
|
# * `client_id`
|
|
@@ -754,7 +881,6 @@ module Aws::WorkSpacesWeb
|
|
|
754
881
|
# * `authorize_scopes`
|
|
755
882
|
#
|
|
756
883
|
# * `api_version`
|
|
757
|
-
#
|
|
758
884
|
# * For Sign in with Apple:
|
|
759
885
|
#
|
|
760
886
|
# * `client_id`
|
|
@@ -766,7 +892,6 @@ module Aws::WorkSpacesWeb
|
|
|
766
892
|
# * `private_key`
|
|
767
893
|
#
|
|
768
894
|
# * `authorize_scopes`
|
|
769
|
-
#
|
|
770
895
|
# * For OIDC providers:
|
|
771
896
|
#
|
|
772
897
|
# * `client_id`
|
|
@@ -790,7 +915,6 @@ module Aws::WorkSpacesWeb
|
|
|
790
915
|
#
|
|
791
916
|
# * `jwks_uri` *if not available from discovery URL specified by
|
|
792
917
|
# `oidc_issuer` key*
|
|
793
|
-
#
|
|
794
918
|
# * For SAML providers:
|
|
795
919
|
#
|
|
796
920
|
# * `MetadataFile` OR `MetadataURL`
|
|
@@ -1335,6 +1459,28 @@ module Aws::WorkSpacesWeb
|
|
|
1335
1459
|
req.send_request(options)
|
|
1336
1460
|
end
|
|
1337
1461
|
|
|
1462
|
+
# Deletes data protection settings.
|
|
1463
|
+
#
|
|
1464
|
+
# @option params [required, String] :data_protection_settings_arn
|
|
1465
|
+
# The ARN of the data protection settings.
|
|
1466
|
+
#
|
|
1467
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1468
|
+
#
|
|
1469
|
+
# @example Request syntax with placeholder values
|
|
1470
|
+
#
|
|
1471
|
+
# resp = client.delete_data_protection_settings({
|
|
1472
|
+
# data_protection_settings_arn: "ARN", # required
|
|
1473
|
+
# })
|
|
1474
|
+
#
|
|
1475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteDataProtectionSettings AWS API Documentation
|
|
1476
|
+
#
|
|
1477
|
+
# @overload delete_data_protection_settings(params = {})
|
|
1478
|
+
# @param [Hash] params ({})
|
|
1479
|
+
def delete_data_protection_settings(params = {}, options = {})
|
|
1480
|
+
req = build_request(:delete_data_protection_settings, params)
|
|
1481
|
+
req.send_request(options)
|
|
1482
|
+
end
|
|
1483
|
+
|
|
1338
1484
|
# Deletes the identity provider.
|
|
1339
1485
|
#
|
|
1340
1486
|
# @option params [required, String] :identity_provider_arn
|
|
@@ -1511,6 +1657,28 @@ module Aws::WorkSpacesWeb
|
|
|
1511
1657
|
req.send_request(options)
|
|
1512
1658
|
end
|
|
1513
1659
|
|
|
1660
|
+
# Disassociates data protection settings from a web portal.
|
|
1661
|
+
#
|
|
1662
|
+
# @option params [required, String] :portal_arn
|
|
1663
|
+
# The ARN of the web portal.
|
|
1664
|
+
#
|
|
1665
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1666
|
+
#
|
|
1667
|
+
# @example Request syntax with placeholder values
|
|
1668
|
+
#
|
|
1669
|
+
# resp = client.disassociate_data_protection_settings({
|
|
1670
|
+
# portal_arn: "ARN", # required
|
|
1671
|
+
# })
|
|
1672
|
+
#
|
|
1673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateDataProtectionSettings AWS API Documentation
|
|
1674
|
+
#
|
|
1675
|
+
# @overload disassociate_data_protection_settings(params = {})
|
|
1676
|
+
# @param [Hash] params ({})
|
|
1677
|
+
def disassociate_data_protection_settings(params = {}, options = {})
|
|
1678
|
+
req = build_request(:disassociate_data_protection_settings, params)
|
|
1679
|
+
req.send_request(options)
|
|
1680
|
+
end
|
|
1681
|
+
|
|
1514
1682
|
# Disassociates IP access settings from a web portal.
|
|
1515
1683
|
#
|
|
1516
1684
|
# @option params [required, String] :portal_arn
|
|
@@ -1681,6 +1849,60 @@ module Aws::WorkSpacesWeb
|
|
|
1681
1849
|
req.send_request(options)
|
|
1682
1850
|
end
|
|
1683
1851
|
|
|
1852
|
+
# Gets the data protection settings.
|
|
1853
|
+
#
|
|
1854
|
+
# @option params [required, String] :data_protection_settings_arn
|
|
1855
|
+
# The ARN of the data protection settings.
|
|
1856
|
+
#
|
|
1857
|
+
# @return [Types::GetDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1858
|
+
#
|
|
1859
|
+
# * {Types::GetDataProtectionSettingsResponse#data_protection_settings #data_protection_settings} => Types::DataProtectionSettings
|
|
1860
|
+
#
|
|
1861
|
+
# @example Request syntax with placeholder values
|
|
1862
|
+
#
|
|
1863
|
+
# resp = client.get_data_protection_settings({
|
|
1864
|
+
# data_protection_settings_arn: "ARN", # required
|
|
1865
|
+
# })
|
|
1866
|
+
#
|
|
1867
|
+
# @example Response structure
|
|
1868
|
+
#
|
|
1869
|
+
# resp.data_protection_settings.additional_encryption_context #=> Hash
|
|
1870
|
+
# resp.data_protection_settings.additional_encryption_context["StringType"] #=> String
|
|
1871
|
+
# resp.data_protection_settings.associated_portal_arns #=> Array
|
|
1872
|
+
# resp.data_protection_settings.associated_portal_arns[0] #=> String
|
|
1873
|
+
# resp.data_protection_settings.creation_date #=> Time
|
|
1874
|
+
# resp.data_protection_settings.customer_managed_key #=> String
|
|
1875
|
+
# resp.data_protection_settings.data_protection_settings_arn #=> String
|
|
1876
|
+
# resp.data_protection_settings.description #=> String
|
|
1877
|
+
# resp.data_protection_settings.display_name #=> String
|
|
1878
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_confidence_level #=> Integer
|
|
1879
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls #=> Array
|
|
1880
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls[0] #=> String
|
|
1881
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls #=> Array
|
|
1882
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls[0] #=> String
|
|
1883
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns #=> Array
|
|
1884
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].built_in_pattern_id #=> String
|
|
1885
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].confidence_level #=> Integer
|
|
1886
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.keyword_regex #=> String
|
|
1887
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_description #=> String
|
|
1888
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_name #=> String
|
|
1889
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_regex #=> String
|
|
1890
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls #=> Array
|
|
1891
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls[0] #=> String
|
|
1892
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls #=> Array
|
|
1893
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls[0] #=> String
|
|
1894
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_text #=> String
|
|
1895
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_type #=> String, one of "CustomText"
|
|
1896
|
+
#
|
|
1897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetDataProtectionSettings AWS API Documentation
|
|
1898
|
+
#
|
|
1899
|
+
# @overload get_data_protection_settings(params = {})
|
|
1900
|
+
# @param [Hash] params ({})
|
|
1901
|
+
def get_data_protection_settings(params = {}, options = {})
|
|
1902
|
+
req = build_request(:get_data_protection_settings, params)
|
|
1903
|
+
req.send_request(options)
|
|
1904
|
+
end
|
|
1905
|
+
|
|
1684
1906
|
# Gets the identity provider.
|
|
1685
1907
|
#
|
|
1686
1908
|
# @option params [required, String] :identity_provider_arn
|
|
@@ -1811,6 +2033,7 @@ module Aws::WorkSpacesWeb
|
|
|
1811
2033
|
# resp.portal.browser_type #=> String, one of "Chrome"
|
|
1812
2034
|
# resp.portal.creation_date #=> Time
|
|
1813
2035
|
# resp.portal.customer_managed_key #=> String
|
|
2036
|
+
# resp.portal.data_protection_settings_arn #=> String
|
|
1814
2037
|
# resp.portal.display_name #=> String
|
|
1815
2038
|
# resp.portal.instance_type #=> String, one of "standard.regular", "standard.large", "standard.xlarge"
|
|
1816
2039
|
# resp.portal.ip_access_settings_arn #=> String
|
|
@@ -2090,6 +2313,47 @@ module Aws::WorkSpacesWeb
|
|
|
2090
2313
|
req.send_request(options)
|
|
2091
2314
|
end
|
|
2092
2315
|
|
|
2316
|
+
# Retrieves a list of data protection settings.
|
|
2317
|
+
#
|
|
2318
|
+
# @option params [Integer] :max_results
|
|
2319
|
+
# The maximum number of results to be included in the next page.
|
|
2320
|
+
#
|
|
2321
|
+
# @option params [String] :next_token
|
|
2322
|
+
# The pagination token used to retrieve the next page of results for
|
|
2323
|
+
# this operation.
|
|
2324
|
+
#
|
|
2325
|
+
# @return [Types::ListDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2326
|
+
#
|
|
2327
|
+
# * {Types::ListDataProtectionSettingsResponse#data_protection_settings #data_protection_settings} => Array<Types::DataProtectionSettingsSummary>
|
|
2328
|
+
# * {Types::ListDataProtectionSettingsResponse#next_token #next_token} => String
|
|
2329
|
+
#
|
|
2330
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2331
|
+
#
|
|
2332
|
+
# @example Request syntax with placeholder values
|
|
2333
|
+
#
|
|
2334
|
+
# resp = client.list_data_protection_settings({
|
|
2335
|
+
# max_results: 1,
|
|
2336
|
+
# next_token: "PaginationToken",
|
|
2337
|
+
# })
|
|
2338
|
+
#
|
|
2339
|
+
# @example Response structure
|
|
2340
|
+
#
|
|
2341
|
+
# resp.data_protection_settings #=> Array
|
|
2342
|
+
# resp.data_protection_settings[0].creation_date #=> Time
|
|
2343
|
+
# resp.data_protection_settings[0].data_protection_settings_arn #=> String
|
|
2344
|
+
# resp.data_protection_settings[0].description #=> String
|
|
2345
|
+
# resp.data_protection_settings[0].display_name #=> String
|
|
2346
|
+
# resp.next_token #=> String
|
|
2347
|
+
#
|
|
2348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListDataProtectionSettings AWS API Documentation
|
|
2349
|
+
#
|
|
2350
|
+
# @overload list_data_protection_settings(params = {})
|
|
2351
|
+
# @param [Hash] params ({})
|
|
2352
|
+
def list_data_protection_settings(params = {}, options = {})
|
|
2353
|
+
req = build_request(:list_data_protection_settings, params)
|
|
2354
|
+
req.send_request(options)
|
|
2355
|
+
end
|
|
2356
|
+
|
|
2093
2357
|
# Retrieves a list of identity providers for a specific web portal.
|
|
2094
2358
|
#
|
|
2095
2359
|
# @option params [Integer] :max_results
|
|
@@ -2245,6 +2509,7 @@ module Aws::WorkSpacesWeb
|
|
|
2245
2509
|
# resp.portals[0].browser_settings_arn #=> String
|
|
2246
2510
|
# resp.portals[0].browser_type #=> String, one of "Chrome"
|
|
2247
2511
|
# resp.portals[0].creation_date #=> Time
|
|
2512
|
+
# resp.portals[0].data_protection_settings_arn #=> String
|
|
2248
2513
|
# resp.portals[0].display_name #=> String
|
|
2249
2514
|
# resp.portals[0].instance_type #=> String, one of "standard.regular", "standard.large", "standard.xlarge"
|
|
2250
2515
|
# resp.portals[0].ip_access_settings_arn #=> String
|
|
@@ -2664,6 +2929,109 @@ module Aws::WorkSpacesWeb
|
|
|
2664
2929
|
req.send_request(options)
|
|
2665
2930
|
end
|
|
2666
2931
|
|
|
2932
|
+
# Updates data protection settings.
|
|
2933
|
+
#
|
|
2934
|
+
# @option params [String] :client_token
|
|
2935
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
2936
|
+
# idempotency of the request. Idempotency ensures that an API request
|
|
2937
|
+
# completes only once. With an idempotent request, if the original
|
|
2938
|
+
# request completes successfully, subsequent retries with the same
|
|
2939
|
+
# client token return the result from the original successful request.
|
|
2940
|
+
#
|
|
2941
|
+
# If you do not specify a client token, one is automatically generated
|
|
2942
|
+
# by the Amazon Web Services SDK.
|
|
2943
|
+
#
|
|
2944
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2945
|
+
# not need to pass this option.**
|
|
2946
|
+
#
|
|
2947
|
+
# @option params [required, String] :data_protection_settings_arn
|
|
2948
|
+
# The ARN of the data protection settings.
|
|
2949
|
+
#
|
|
2950
|
+
# @option params [String] :description
|
|
2951
|
+
# The description of the data protection settings.
|
|
2952
|
+
#
|
|
2953
|
+
# @option params [String] :display_name
|
|
2954
|
+
# The display name of the data protection settings.
|
|
2955
|
+
#
|
|
2956
|
+
# @option params [Types::InlineRedactionConfiguration] :inline_redaction_configuration
|
|
2957
|
+
# The inline redaction configuration of the data protection settings
|
|
2958
|
+
# that will be applied to all sessions.
|
|
2959
|
+
#
|
|
2960
|
+
# @return [Types::UpdateDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2961
|
+
#
|
|
2962
|
+
# * {Types::UpdateDataProtectionSettingsResponse#data_protection_settings #data_protection_settings} => Types::DataProtectionSettings
|
|
2963
|
+
#
|
|
2964
|
+
# @example Request syntax with placeholder values
|
|
2965
|
+
#
|
|
2966
|
+
# resp = client.update_data_protection_settings({
|
|
2967
|
+
# client_token: "ClientToken",
|
|
2968
|
+
# data_protection_settings_arn: "ARN", # required
|
|
2969
|
+
# description: "DescriptionSafe",
|
|
2970
|
+
# display_name: "DisplayNameSafe",
|
|
2971
|
+
# inline_redaction_configuration: {
|
|
2972
|
+
# global_confidence_level: 1,
|
|
2973
|
+
# global_enforced_urls: ["InlineRedactionUrl"],
|
|
2974
|
+
# global_exempt_urls: ["InlineRedactionUrl"],
|
|
2975
|
+
# inline_redaction_patterns: [ # required
|
|
2976
|
+
# {
|
|
2977
|
+
# built_in_pattern_id: "BuiltInPatternId",
|
|
2978
|
+
# confidence_level: 1,
|
|
2979
|
+
# custom_pattern: {
|
|
2980
|
+
# keyword_regex: "Regex",
|
|
2981
|
+
# pattern_description: "DescriptionSafe",
|
|
2982
|
+
# pattern_name: "PatternName", # required
|
|
2983
|
+
# pattern_regex: "Regex", # required
|
|
2984
|
+
# },
|
|
2985
|
+
# enforced_urls: ["InlineRedactionUrl"],
|
|
2986
|
+
# exempt_urls: ["InlineRedactionUrl"],
|
|
2987
|
+
# redaction_place_holder: { # required
|
|
2988
|
+
# redaction_place_holder_text: "RedactionPlaceHolderText",
|
|
2989
|
+
# redaction_place_holder_type: "CustomText", # required, accepts CustomText
|
|
2990
|
+
# },
|
|
2991
|
+
# },
|
|
2992
|
+
# ],
|
|
2993
|
+
# },
|
|
2994
|
+
# })
|
|
2995
|
+
#
|
|
2996
|
+
# @example Response structure
|
|
2997
|
+
#
|
|
2998
|
+
# resp.data_protection_settings.additional_encryption_context #=> Hash
|
|
2999
|
+
# resp.data_protection_settings.additional_encryption_context["StringType"] #=> String
|
|
3000
|
+
# resp.data_protection_settings.associated_portal_arns #=> Array
|
|
3001
|
+
# resp.data_protection_settings.associated_portal_arns[0] #=> String
|
|
3002
|
+
# resp.data_protection_settings.creation_date #=> Time
|
|
3003
|
+
# resp.data_protection_settings.customer_managed_key #=> String
|
|
3004
|
+
# resp.data_protection_settings.data_protection_settings_arn #=> String
|
|
3005
|
+
# resp.data_protection_settings.description #=> String
|
|
3006
|
+
# resp.data_protection_settings.display_name #=> String
|
|
3007
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_confidence_level #=> Integer
|
|
3008
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls #=> Array
|
|
3009
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls[0] #=> String
|
|
3010
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls #=> Array
|
|
3011
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls[0] #=> String
|
|
3012
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns #=> Array
|
|
3013
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].built_in_pattern_id #=> String
|
|
3014
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].confidence_level #=> Integer
|
|
3015
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.keyword_regex #=> String
|
|
3016
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_description #=> String
|
|
3017
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_name #=> String
|
|
3018
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_regex #=> String
|
|
3019
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls #=> Array
|
|
3020
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls[0] #=> String
|
|
3021
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls #=> Array
|
|
3022
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls[0] #=> String
|
|
3023
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_text #=> String
|
|
3024
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_type #=> String, one of "CustomText"
|
|
3025
|
+
#
|
|
3026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateDataProtectionSettings AWS API Documentation
|
|
3027
|
+
#
|
|
3028
|
+
# @overload update_data_protection_settings(params = {})
|
|
3029
|
+
# @param [Hash] params ({})
|
|
3030
|
+
def update_data_protection_settings(params = {}, options = {})
|
|
3031
|
+
req = build_request(:update_data_protection_settings, params)
|
|
3032
|
+
req.send_request(options)
|
|
3033
|
+
end
|
|
3034
|
+
|
|
2667
3035
|
# Updates the identity provider.
|
|
2668
3036
|
#
|
|
2669
3037
|
# @option params [String] :client_token
|
|
@@ -2693,7 +3061,6 @@ module Aws::WorkSpacesWeb
|
|
|
2693
3061
|
# * `client_secret`
|
|
2694
3062
|
#
|
|
2695
3063
|
# * `authorize_scopes`
|
|
2696
|
-
#
|
|
2697
3064
|
# * For Facebook:
|
|
2698
3065
|
#
|
|
2699
3066
|
# * `client_id`
|
|
@@ -2703,7 +3070,6 @@ module Aws::WorkSpacesWeb
|
|
|
2703
3070
|
# * `authorize_scopes`
|
|
2704
3071
|
#
|
|
2705
3072
|
# * `api_version`
|
|
2706
|
-
#
|
|
2707
3073
|
# * For Sign in with Apple:
|
|
2708
3074
|
#
|
|
2709
3075
|
# * `client_id`
|
|
@@ -2715,7 +3081,6 @@ module Aws::WorkSpacesWeb
|
|
|
2715
3081
|
# * `private_key`
|
|
2716
3082
|
#
|
|
2717
3083
|
# * `authorize_scopes`
|
|
2718
|
-
#
|
|
2719
3084
|
# * For OIDC providers:
|
|
2720
3085
|
#
|
|
2721
3086
|
# * `client_id`
|
|
@@ -2739,7 +3104,6 @@ module Aws::WorkSpacesWeb
|
|
|
2739
3104
|
#
|
|
2740
3105
|
# * `jwks_uri` *if not available from discovery URL specified by
|
|
2741
3106
|
# `oidc_issuer` key*
|
|
2742
|
-
#
|
|
2743
3107
|
# * For SAML providers:
|
|
2744
3108
|
#
|
|
2745
3109
|
# * `MetadataFile` OR `MetadataURL`
|
|
@@ -2979,6 +3343,7 @@ module Aws::WorkSpacesWeb
|
|
|
2979
3343
|
# resp.portal.browser_type #=> String, one of "Chrome"
|
|
2980
3344
|
# resp.portal.creation_date #=> Time
|
|
2981
3345
|
# resp.portal.customer_managed_key #=> String
|
|
3346
|
+
# resp.portal.data_protection_settings_arn #=> String
|
|
2982
3347
|
# resp.portal.display_name #=> String
|
|
2983
3348
|
# resp.portal.instance_type #=> String, one of "standard.regular", "standard.large", "standard.xlarge"
|
|
2984
3349
|
# resp.portal.ip_access_settings_arn #=> String
|
|
@@ -3245,7 +3610,7 @@ module Aws::WorkSpacesWeb
|
|
|
3245
3610
|
tracer: tracer
|
|
3246
3611
|
)
|
|
3247
3612
|
context[:gem_name] = 'aws-sdk-workspacesweb'
|
|
3248
|
-
context[:gem_version] = '1.
|
|
3613
|
+
context[:gem_version] = '1.36.0'
|
|
3249
3614
|
Seahorse::Client::Request.new(handlers, context)
|
|
3250
3615
|
end
|
|
3251
3616
|
|