aws-sdk-workspacesweb 1.35.0 → 1.37.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 +397 -1
- data/lib/aws-sdk-workspacesweb/client_api.rb +237 -0
- data/lib/aws-sdk-workspacesweb/types.rb +496 -0
- data/lib/aws-sdk-workspacesweb.rb +1 -1
- data/sig/client.rbs +133 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +134 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71590a8f500ab1c9933e6454e90965b55300b441b629daf52a902538e2faab39
|
4
|
+
data.tar.gz: 210e6060eb98b296137607796498954c596cfffd4a20921775b1de32b5ae1ee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35a36b26fed6a7c4e3fe927cc2101b39c605ce14d10268865b29aba6ac452ea5034ec6172ac549afa7a97b60998f025207e86c758766e39544b182964bf159fd
|
7
|
+
data.tar.gz: 82650fdd8de1a0b81719cf27d953ea132597db372d424957d0ff3f6d17b8713a6892ef864b50c7df019dd6ed445e66ed78b7258369d641fa872cef16d183b17a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.37.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.36.0 (2024-11-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added data protection settings with support for inline data redaction.
|
13
|
+
|
4
14
|
1.35.0 (2024-11-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.37.0
|
@@ -257,11 +257,34 @@ module Aws::WorkSpacesWeb
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -481,6 +504,40 @@ module Aws::WorkSpacesWeb
|
|
481
504
|
req.send_request(options)
|
482
505
|
end
|
483
506
|
|
507
|
+
# Associates a data protection settings resource with a web portal.
|
508
|
+
#
|
509
|
+
# @option params [required, String] :data_protection_settings_arn
|
510
|
+
# The ARN of the data protection settings.
|
511
|
+
#
|
512
|
+
# @option params [required, String] :portal_arn
|
513
|
+
# The ARN of the web portal.
|
514
|
+
#
|
515
|
+
# @return [Types::AssociateDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
516
|
+
#
|
517
|
+
# * {Types::AssociateDataProtectionSettingsResponse#data_protection_settings_arn #data_protection_settings_arn} => String
|
518
|
+
# * {Types::AssociateDataProtectionSettingsResponse#portal_arn #portal_arn} => String
|
519
|
+
#
|
520
|
+
# @example Request syntax with placeholder values
|
521
|
+
#
|
522
|
+
# resp = client.associate_data_protection_settings({
|
523
|
+
# data_protection_settings_arn: "ARN", # required
|
524
|
+
# portal_arn: "ARN", # required
|
525
|
+
# })
|
526
|
+
#
|
527
|
+
# @example Response structure
|
528
|
+
#
|
529
|
+
# resp.data_protection_settings_arn #=> String
|
530
|
+
# resp.portal_arn #=> String
|
531
|
+
#
|
532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateDataProtectionSettings AWS API Documentation
|
533
|
+
#
|
534
|
+
# @overload associate_data_protection_settings(params = {})
|
535
|
+
# @param [Hash] params ({})
|
536
|
+
def associate_data_protection_settings(params = {}, options = {})
|
537
|
+
req = build_request(:associate_data_protection_settings, params)
|
538
|
+
req.send_request(options)
|
539
|
+
end
|
540
|
+
|
484
541
|
# Associates an IP access settings resource with a web portal.
|
485
542
|
#
|
486
543
|
# @option params [required, String] :ip_access_settings_arn
|
@@ -717,6 +774,100 @@ module Aws::WorkSpacesWeb
|
|
717
774
|
req.send_request(options)
|
718
775
|
end
|
719
776
|
|
777
|
+
# Creates a data protection settings resource that can be associated
|
778
|
+
# with a web portal.
|
779
|
+
#
|
780
|
+
# @option params [Hash<String,String>] :additional_encryption_context
|
781
|
+
# Additional encryption context of the data protection settings.
|
782
|
+
#
|
783
|
+
# @option params [String] :client_token
|
784
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
785
|
+
# idempotency of the request. Idempotency ensures that an API request
|
786
|
+
# completes only once. With an idempotent request, if the original
|
787
|
+
# request completes successfully, subsequent retries with the same
|
788
|
+
# client token returns the result from the original successful request.
|
789
|
+
#
|
790
|
+
# If you do not specify a client token, one is automatically generated
|
791
|
+
# by the Amazon Web Services SDK.
|
792
|
+
#
|
793
|
+
# **A suitable default value is auto-generated.** You should normally
|
794
|
+
# not need to pass this option.**
|
795
|
+
#
|
796
|
+
# @option params [String] :customer_managed_key
|
797
|
+
# The custom managed key of the data protection settings.
|
798
|
+
#
|
799
|
+
# @option params [String] :description
|
800
|
+
# The description of the data protection settings.
|
801
|
+
#
|
802
|
+
# @option params [String] :display_name
|
803
|
+
# The display name of the data protection settings.
|
804
|
+
#
|
805
|
+
# @option params [Types::InlineRedactionConfiguration] :inline_redaction_configuration
|
806
|
+
# The inline redaction configuration of the data protection settings
|
807
|
+
# that will be applied to all sessions.
|
808
|
+
#
|
809
|
+
# @option params [Array<Types::Tag>] :tags
|
810
|
+
# The tags to add to the data protection settings resource. A tag is a
|
811
|
+
# key-value pair.
|
812
|
+
#
|
813
|
+
# @return [Types::CreateDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
814
|
+
#
|
815
|
+
# * {Types::CreateDataProtectionSettingsResponse#data_protection_settings_arn #data_protection_settings_arn} => String
|
816
|
+
#
|
817
|
+
# @example Request syntax with placeholder values
|
818
|
+
#
|
819
|
+
# resp = client.create_data_protection_settings({
|
820
|
+
# additional_encryption_context: {
|
821
|
+
# "StringType" => "StringType",
|
822
|
+
# },
|
823
|
+
# client_token: "ClientToken",
|
824
|
+
# customer_managed_key: "keyArn",
|
825
|
+
# description: "DescriptionSafe",
|
826
|
+
# display_name: "DisplayNameSafe",
|
827
|
+
# inline_redaction_configuration: {
|
828
|
+
# global_confidence_level: 1,
|
829
|
+
# global_enforced_urls: ["InlineRedactionUrl"],
|
830
|
+
# global_exempt_urls: ["InlineRedactionUrl"],
|
831
|
+
# inline_redaction_patterns: [ # required
|
832
|
+
# {
|
833
|
+
# built_in_pattern_id: "BuiltInPatternId",
|
834
|
+
# confidence_level: 1,
|
835
|
+
# custom_pattern: {
|
836
|
+
# keyword_regex: "Regex",
|
837
|
+
# pattern_description: "DescriptionSafe",
|
838
|
+
# pattern_name: "PatternName", # required
|
839
|
+
# pattern_regex: "Regex", # required
|
840
|
+
# },
|
841
|
+
# enforced_urls: ["InlineRedactionUrl"],
|
842
|
+
# exempt_urls: ["InlineRedactionUrl"],
|
843
|
+
# redaction_place_holder: { # required
|
844
|
+
# redaction_place_holder_text: "RedactionPlaceHolderText",
|
845
|
+
# redaction_place_holder_type: "CustomText", # required, accepts CustomText
|
846
|
+
# },
|
847
|
+
# },
|
848
|
+
# ],
|
849
|
+
# },
|
850
|
+
# tags: [
|
851
|
+
# {
|
852
|
+
# key: "TagKey", # required
|
853
|
+
# value: "TagValue", # required
|
854
|
+
# },
|
855
|
+
# ],
|
856
|
+
# })
|
857
|
+
#
|
858
|
+
# @example Response structure
|
859
|
+
#
|
860
|
+
# resp.data_protection_settings_arn #=> String
|
861
|
+
#
|
862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateDataProtectionSettings AWS API Documentation
|
863
|
+
#
|
864
|
+
# @overload create_data_protection_settings(params = {})
|
865
|
+
# @param [Hash] params ({})
|
866
|
+
def create_data_protection_settings(params = {}, options = {})
|
867
|
+
req = build_request(:create_data_protection_settings, params)
|
868
|
+
req.send_request(options)
|
869
|
+
end
|
870
|
+
|
720
871
|
# Creates an identity provider resource that is then associated with a
|
721
872
|
# web portal.
|
722
873
|
#
|
@@ -1331,6 +1482,28 @@ module Aws::WorkSpacesWeb
|
|
1331
1482
|
req.send_request(options)
|
1332
1483
|
end
|
1333
1484
|
|
1485
|
+
# Deletes data protection settings.
|
1486
|
+
#
|
1487
|
+
# @option params [required, String] :data_protection_settings_arn
|
1488
|
+
# The ARN of the data protection settings.
|
1489
|
+
#
|
1490
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1491
|
+
#
|
1492
|
+
# @example Request syntax with placeholder values
|
1493
|
+
#
|
1494
|
+
# resp = client.delete_data_protection_settings({
|
1495
|
+
# data_protection_settings_arn: "ARN", # required
|
1496
|
+
# })
|
1497
|
+
#
|
1498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteDataProtectionSettings AWS API Documentation
|
1499
|
+
#
|
1500
|
+
# @overload delete_data_protection_settings(params = {})
|
1501
|
+
# @param [Hash] params ({})
|
1502
|
+
def delete_data_protection_settings(params = {}, options = {})
|
1503
|
+
req = build_request(:delete_data_protection_settings, params)
|
1504
|
+
req.send_request(options)
|
1505
|
+
end
|
1506
|
+
|
1334
1507
|
# Deletes the identity provider.
|
1335
1508
|
#
|
1336
1509
|
# @option params [required, String] :identity_provider_arn
|
@@ -1507,6 +1680,28 @@ module Aws::WorkSpacesWeb
|
|
1507
1680
|
req.send_request(options)
|
1508
1681
|
end
|
1509
1682
|
|
1683
|
+
# Disassociates data protection settings from a web portal.
|
1684
|
+
#
|
1685
|
+
# @option params [required, String] :portal_arn
|
1686
|
+
# The ARN of the web portal.
|
1687
|
+
#
|
1688
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1689
|
+
#
|
1690
|
+
# @example Request syntax with placeholder values
|
1691
|
+
#
|
1692
|
+
# resp = client.disassociate_data_protection_settings({
|
1693
|
+
# portal_arn: "ARN", # required
|
1694
|
+
# })
|
1695
|
+
#
|
1696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateDataProtectionSettings AWS API Documentation
|
1697
|
+
#
|
1698
|
+
# @overload disassociate_data_protection_settings(params = {})
|
1699
|
+
# @param [Hash] params ({})
|
1700
|
+
def disassociate_data_protection_settings(params = {}, options = {})
|
1701
|
+
req = build_request(:disassociate_data_protection_settings, params)
|
1702
|
+
req.send_request(options)
|
1703
|
+
end
|
1704
|
+
|
1510
1705
|
# Disassociates IP access settings from a web portal.
|
1511
1706
|
#
|
1512
1707
|
# @option params [required, String] :portal_arn
|
@@ -1677,6 +1872,60 @@ module Aws::WorkSpacesWeb
|
|
1677
1872
|
req.send_request(options)
|
1678
1873
|
end
|
1679
1874
|
|
1875
|
+
# Gets the data protection settings.
|
1876
|
+
#
|
1877
|
+
# @option params [required, String] :data_protection_settings_arn
|
1878
|
+
# The ARN of the data protection settings.
|
1879
|
+
#
|
1880
|
+
# @return [Types::GetDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1881
|
+
#
|
1882
|
+
# * {Types::GetDataProtectionSettingsResponse#data_protection_settings #data_protection_settings} => Types::DataProtectionSettings
|
1883
|
+
#
|
1884
|
+
# @example Request syntax with placeholder values
|
1885
|
+
#
|
1886
|
+
# resp = client.get_data_protection_settings({
|
1887
|
+
# data_protection_settings_arn: "ARN", # required
|
1888
|
+
# })
|
1889
|
+
#
|
1890
|
+
# @example Response structure
|
1891
|
+
#
|
1892
|
+
# resp.data_protection_settings.additional_encryption_context #=> Hash
|
1893
|
+
# resp.data_protection_settings.additional_encryption_context["StringType"] #=> String
|
1894
|
+
# resp.data_protection_settings.associated_portal_arns #=> Array
|
1895
|
+
# resp.data_protection_settings.associated_portal_arns[0] #=> String
|
1896
|
+
# resp.data_protection_settings.creation_date #=> Time
|
1897
|
+
# resp.data_protection_settings.customer_managed_key #=> String
|
1898
|
+
# resp.data_protection_settings.data_protection_settings_arn #=> String
|
1899
|
+
# resp.data_protection_settings.description #=> String
|
1900
|
+
# resp.data_protection_settings.display_name #=> String
|
1901
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_confidence_level #=> Integer
|
1902
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls #=> Array
|
1903
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls[0] #=> String
|
1904
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls #=> Array
|
1905
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls[0] #=> String
|
1906
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns #=> Array
|
1907
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].built_in_pattern_id #=> String
|
1908
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].confidence_level #=> Integer
|
1909
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.keyword_regex #=> String
|
1910
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_description #=> String
|
1911
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_name #=> String
|
1912
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_regex #=> String
|
1913
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls #=> Array
|
1914
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls[0] #=> String
|
1915
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls #=> Array
|
1916
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls[0] #=> String
|
1917
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_text #=> String
|
1918
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_type #=> String, one of "CustomText"
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetDataProtectionSettings AWS API Documentation
|
1921
|
+
#
|
1922
|
+
# @overload get_data_protection_settings(params = {})
|
1923
|
+
# @param [Hash] params ({})
|
1924
|
+
def get_data_protection_settings(params = {}, options = {})
|
1925
|
+
req = build_request(:get_data_protection_settings, params)
|
1926
|
+
req.send_request(options)
|
1927
|
+
end
|
1928
|
+
|
1680
1929
|
# Gets the identity provider.
|
1681
1930
|
#
|
1682
1931
|
# @option params [required, String] :identity_provider_arn
|
@@ -1807,6 +2056,7 @@ module Aws::WorkSpacesWeb
|
|
1807
2056
|
# resp.portal.browser_type #=> String, one of "Chrome"
|
1808
2057
|
# resp.portal.creation_date #=> Time
|
1809
2058
|
# resp.portal.customer_managed_key #=> String
|
2059
|
+
# resp.portal.data_protection_settings_arn #=> String
|
1810
2060
|
# resp.portal.display_name #=> String
|
1811
2061
|
# resp.portal.instance_type #=> String, one of "standard.regular", "standard.large", "standard.xlarge"
|
1812
2062
|
# resp.portal.ip_access_settings_arn #=> String
|
@@ -2086,6 +2336,47 @@ module Aws::WorkSpacesWeb
|
|
2086
2336
|
req.send_request(options)
|
2087
2337
|
end
|
2088
2338
|
|
2339
|
+
# Retrieves a list of data protection settings.
|
2340
|
+
#
|
2341
|
+
# @option params [Integer] :max_results
|
2342
|
+
# The maximum number of results to be included in the next page.
|
2343
|
+
#
|
2344
|
+
# @option params [String] :next_token
|
2345
|
+
# The pagination token used to retrieve the next page of results for
|
2346
|
+
# this operation.
|
2347
|
+
#
|
2348
|
+
# @return [Types::ListDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2349
|
+
#
|
2350
|
+
# * {Types::ListDataProtectionSettingsResponse#data_protection_settings #data_protection_settings} => Array<Types::DataProtectionSettingsSummary>
|
2351
|
+
# * {Types::ListDataProtectionSettingsResponse#next_token #next_token} => String
|
2352
|
+
#
|
2353
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2354
|
+
#
|
2355
|
+
# @example Request syntax with placeholder values
|
2356
|
+
#
|
2357
|
+
# resp = client.list_data_protection_settings({
|
2358
|
+
# max_results: 1,
|
2359
|
+
# next_token: "PaginationToken",
|
2360
|
+
# })
|
2361
|
+
#
|
2362
|
+
# @example Response structure
|
2363
|
+
#
|
2364
|
+
# resp.data_protection_settings #=> Array
|
2365
|
+
# resp.data_protection_settings[0].creation_date #=> Time
|
2366
|
+
# resp.data_protection_settings[0].data_protection_settings_arn #=> String
|
2367
|
+
# resp.data_protection_settings[0].description #=> String
|
2368
|
+
# resp.data_protection_settings[0].display_name #=> String
|
2369
|
+
# resp.next_token #=> String
|
2370
|
+
#
|
2371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListDataProtectionSettings AWS API Documentation
|
2372
|
+
#
|
2373
|
+
# @overload list_data_protection_settings(params = {})
|
2374
|
+
# @param [Hash] params ({})
|
2375
|
+
def list_data_protection_settings(params = {}, options = {})
|
2376
|
+
req = build_request(:list_data_protection_settings, params)
|
2377
|
+
req.send_request(options)
|
2378
|
+
end
|
2379
|
+
|
2089
2380
|
# Retrieves a list of identity providers for a specific web portal.
|
2090
2381
|
#
|
2091
2382
|
# @option params [Integer] :max_results
|
@@ -2241,6 +2532,7 @@ module Aws::WorkSpacesWeb
|
|
2241
2532
|
# resp.portals[0].browser_settings_arn #=> String
|
2242
2533
|
# resp.portals[0].browser_type #=> String, one of "Chrome"
|
2243
2534
|
# resp.portals[0].creation_date #=> Time
|
2535
|
+
# resp.portals[0].data_protection_settings_arn #=> String
|
2244
2536
|
# resp.portals[0].display_name #=> String
|
2245
2537
|
# resp.portals[0].instance_type #=> String, one of "standard.regular", "standard.large", "standard.xlarge"
|
2246
2538
|
# resp.portals[0].ip_access_settings_arn #=> String
|
@@ -2660,6 +2952,109 @@ module Aws::WorkSpacesWeb
|
|
2660
2952
|
req.send_request(options)
|
2661
2953
|
end
|
2662
2954
|
|
2955
|
+
# Updates data protection settings.
|
2956
|
+
#
|
2957
|
+
# @option params [String] :client_token
|
2958
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
2959
|
+
# idempotency of the request. Idempotency ensures that an API request
|
2960
|
+
# completes only once. With an idempotent request, if the original
|
2961
|
+
# request completes successfully, subsequent retries with the same
|
2962
|
+
# client token return the result from the original successful request.
|
2963
|
+
#
|
2964
|
+
# If you do not specify a client token, one is automatically generated
|
2965
|
+
# by the Amazon Web Services SDK.
|
2966
|
+
#
|
2967
|
+
# **A suitable default value is auto-generated.** You should normally
|
2968
|
+
# not need to pass this option.**
|
2969
|
+
#
|
2970
|
+
# @option params [required, String] :data_protection_settings_arn
|
2971
|
+
# The ARN of the data protection settings.
|
2972
|
+
#
|
2973
|
+
# @option params [String] :description
|
2974
|
+
# The description of the data protection settings.
|
2975
|
+
#
|
2976
|
+
# @option params [String] :display_name
|
2977
|
+
# The display name of the data protection settings.
|
2978
|
+
#
|
2979
|
+
# @option params [Types::InlineRedactionConfiguration] :inline_redaction_configuration
|
2980
|
+
# The inline redaction configuration of the data protection settings
|
2981
|
+
# that will be applied to all sessions.
|
2982
|
+
#
|
2983
|
+
# @return [Types::UpdateDataProtectionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2984
|
+
#
|
2985
|
+
# * {Types::UpdateDataProtectionSettingsResponse#data_protection_settings #data_protection_settings} => Types::DataProtectionSettings
|
2986
|
+
#
|
2987
|
+
# @example Request syntax with placeholder values
|
2988
|
+
#
|
2989
|
+
# resp = client.update_data_protection_settings({
|
2990
|
+
# client_token: "ClientToken",
|
2991
|
+
# data_protection_settings_arn: "ARN", # required
|
2992
|
+
# description: "DescriptionSafe",
|
2993
|
+
# display_name: "DisplayNameSafe",
|
2994
|
+
# inline_redaction_configuration: {
|
2995
|
+
# global_confidence_level: 1,
|
2996
|
+
# global_enforced_urls: ["InlineRedactionUrl"],
|
2997
|
+
# global_exempt_urls: ["InlineRedactionUrl"],
|
2998
|
+
# inline_redaction_patterns: [ # required
|
2999
|
+
# {
|
3000
|
+
# built_in_pattern_id: "BuiltInPatternId",
|
3001
|
+
# confidence_level: 1,
|
3002
|
+
# custom_pattern: {
|
3003
|
+
# keyword_regex: "Regex",
|
3004
|
+
# pattern_description: "DescriptionSafe",
|
3005
|
+
# pattern_name: "PatternName", # required
|
3006
|
+
# pattern_regex: "Regex", # required
|
3007
|
+
# },
|
3008
|
+
# enforced_urls: ["InlineRedactionUrl"],
|
3009
|
+
# exempt_urls: ["InlineRedactionUrl"],
|
3010
|
+
# redaction_place_holder: { # required
|
3011
|
+
# redaction_place_holder_text: "RedactionPlaceHolderText",
|
3012
|
+
# redaction_place_holder_type: "CustomText", # required, accepts CustomText
|
3013
|
+
# },
|
3014
|
+
# },
|
3015
|
+
# ],
|
3016
|
+
# },
|
3017
|
+
# })
|
3018
|
+
#
|
3019
|
+
# @example Response structure
|
3020
|
+
#
|
3021
|
+
# resp.data_protection_settings.additional_encryption_context #=> Hash
|
3022
|
+
# resp.data_protection_settings.additional_encryption_context["StringType"] #=> String
|
3023
|
+
# resp.data_protection_settings.associated_portal_arns #=> Array
|
3024
|
+
# resp.data_protection_settings.associated_portal_arns[0] #=> String
|
3025
|
+
# resp.data_protection_settings.creation_date #=> Time
|
3026
|
+
# resp.data_protection_settings.customer_managed_key #=> String
|
3027
|
+
# resp.data_protection_settings.data_protection_settings_arn #=> String
|
3028
|
+
# resp.data_protection_settings.description #=> String
|
3029
|
+
# resp.data_protection_settings.display_name #=> String
|
3030
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_confidence_level #=> Integer
|
3031
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls #=> Array
|
3032
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_enforced_urls[0] #=> String
|
3033
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls #=> Array
|
3034
|
+
# resp.data_protection_settings.inline_redaction_configuration.global_exempt_urls[0] #=> String
|
3035
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns #=> Array
|
3036
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].built_in_pattern_id #=> String
|
3037
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].confidence_level #=> Integer
|
3038
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.keyword_regex #=> String
|
3039
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_description #=> String
|
3040
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_name #=> String
|
3041
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].custom_pattern.pattern_regex #=> String
|
3042
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls #=> Array
|
3043
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].enforced_urls[0] #=> String
|
3044
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls #=> Array
|
3045
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].exempt_urls[0] #=> String
|
3046
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_text #=> String
|
3047
|
+
# resp.data_protection_settings.inline_redaction_configuration.inline_redaction_patterns[0].redaction_place_holder.redaction_place_holder_type #=> String, one of "CustomText"
|
3048
|
+
#
|
3049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateDataProtectionSettings AWS API Documentation
|
3050
|
+
#
|
3051
|
+
# @overload update_data_protection_settings(params = {})
|
3052
|
+
# @param [Hash] params ({})
|
3053
|
+
def update_data_protection_settings(params = {}, options = {})
|
3054
|
+
req = build_request(:update_data_protection_settings, params)
|
3055
|
+
req.send_request(options)
|
3056
|
+
end
|
3057
|
+
|
2663
3058
|
# Updates the identity provider.
|
2664
3059
|
#
|
2665
3060
|
# @option params [String] :client_token
|
@@ -2971,6 +3366,7 @@ module Aws::WorkSpacesWeb
|
|
2971
3366
|
# resp.portal.browser_type #=> String, one of "Chrome"
|
2972
3367
|
# resp.portal.creation_date #=> Time
|
2973
3368
|
# resp.portal.customer_managed_key #=> String
|
3369
|
+
# resp.portal.data_protection_settings_arn #=> String
|
2974
3370
|
# resp.portal.display_name #=> String
|
2975
3371
|
# resp.portal.instance_type #=> String, one of "standard.regular", "standard.large", "standard.xlarge"
|
2976
3372
|
# resp.portal.ip_access_settings_arn #=> String
|
@@ -3237,7 +3633,7 @@ module Aws::WorkSpacesWeb
|
|
3237
3633
|
tracer: tracer
|
3238
3634
|
)
|
3239
3635
|
context[:gem_name] = 'aws-sdk-workspacesweb'
|
3240
|
-
context[:gem_version] = '1.
|
3636
|
+
context[:gem_version] = '1.37.0'
|
3241
3637
|
Seahorse::Client::Request.new(handlers, context)
|
3242
3638
|
end
|
3243
3639
|
|