aws-sdk-workspacesweb 1.35.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.
data/sig/client.rbs CHANGED
@@ -87,6 +87,18 @@ module Aws
87
87
  ) -> _AssociateBrowserSettingsResponseSuccess
88
88
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateBrowserSettingsResponseSuccess
89
89
 
90
+ interface _AssociateDataProtectionSettingsResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateDataProtectionSettingsResponse]
92
+ def data_protection_settings_arn: () -> ::String
93
+ def portal_arn: () -> ::String
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#associate_data_protection_settings-instance_method
96
+ def associate_data_protection_settings: (
97
+ data_protection_settings_arn: ::String,
98
+ portal_arn: ::String
99
+ ) -> _AssociateDataProtectionSettingsResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDataProtectionSettingsResponseSuccess
101
+
90
102
  interface _AssociateIpAccessSettingsResponseSuccess
91
103
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateIpAccessSettingsResponse]
92
104
  def ip_access_settings_arn: () -> ::String
@@ -166,6 +178,49 @@ module Aws
166
178
  ) -> _CreateBrowserSettingsResponseSuccess
167
179
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBrowserSettingsResponseSuccess
168
180
 
181
+ interface _CreateDataProtectionSettingsResponseSuccess
182
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataProtectionSettingsResponse]
183
+ def data_protection_settings_arn: () -> ::String
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#create_data_protection_settings-instance_method
186
+ def create_data_protection_settings: (
187
+ ?additional_encryption_context: Hash[::String, ::String],
188
+ ?client_token: ::String,
189
+ ?customer_managed_key: ::String,
190
+ ?description: ::String,
191
+ ?display_name: ::String,
192
+ ?inline_redaction_configuration: {
193
+ global_confidence_level: ::Integer?,
194
+ global_enforced_urls: Array[::String]?,
195
+ global_exempt_urls: Array[::String]?,
196
+ inline_redaction_patterns: Array[
197
+ {
198
+ built_in_pattern_id: ::String?,
199
+ confidence_level: ::Integer?,
200
+ custom_pattern: {
201
+ keyword_regex: ::String?,
202
+ pattern_description: ::String?,
203
+ pattern_name: ::String,
204
+ pattern_regex: ::String
205
+ }?,
206
+ enforced_urls: Array[::String]?,
207
+ exempt_urls: Array[::String]?,
208
+ redaction_place_holder: {
209
+ redaction_place_holder_text: ::String?,
210
+ redaction_place_holder_type: ("CustomText")
211
+ }
212
+ },
213
+ ]
214
+ },
215
+ ?tags: Array[
216
+ {
217
+ key: ::String,
218
+ value: ::String
219
+ },
220
+ ]
221
+ ) -> _CreateDataProtectionSettingsResponseSuccess
222
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataProtectionSettingsResponseSuccess
223
+
169
224
  interface _CreateIdentityProviderResponseSuccess
170
225
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdentityProviderResponse]
171
226
  def identity_provider_arn: () -> ::String
@@ -339,6 +394,15 @@ module Aws
339
394
  ) -> _DeleteBrowserSettingsResponseSuccess
340
395
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBrowserSettingsResponseSuccess
341
396
 
397
+ interface _DeleteDataProtectionSettingsResponseSuccess
398
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataProtectionSettingsResponse]
399
+ end
400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#delete_data_protection_settings-instance_method
401
+ def delete_data_protection_settings: (
402
+ data_protection_settings_arn: ::String
403
+ ) -> _DeleteDataProtectionSettingsResponseSuccess
404
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataProtectionSettingsResponseSuccess
405
+
342
406
  interface _DeleteIdentityProviderResponseSuccess
343
407
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIdentityProviderResponse]
344
408
  end
@@ -411,6 +475,15 @@ module Aws
411
475
  ) -> _DisassociateBrowserSettingsResponseSuccess
412
476
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateBrowserSettingsResponseSuccess
413
477
 
478
+ interface _DisassociateDataProtectionSettingsResponseSuccess
479
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateDataProtectionSettingsResponse]
480
+ end
481
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#disassociate_data_protection_settings-instance_method
482
+ def disassociate_data_protection_settings: (
483
+ portal_arn: ::String
484
+ ) -> _DisassociateDataProtectionSettingsResponseSuccess
485
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDataProtectionSettingsResponseSuccess
486
+
414
487
  interface _DisassociateIpAccessSettingsResponseSuccess
415
488
  include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateIpAccessSettingsResponse]
416
489
  end
@@ -476,6 +549,16 @@ module Aws
476
549
  ) -> _GetBrowserSettingsResponseSuccess
477
550
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBrowserSettingsResponseSuccess
478
551
 
552
+ interface _GetDataProtectionSettingsResponseSuccess
553
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataProtectionSettingsResponse]
554
+ def data_protection_settings: () -> Types::DataProtectionSettings
555
+ end
556
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#get_data_protection_settings-instance_method
557
+ def get_data_protection_settings: (
558
+ data_protection_settings_arn: ::String
559
+ ) -> _GetDataProtectionSettingsResponseSuccess
560
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataProtectionSettingsResponseSuccess
561
+
479
562
  interface _GetIdentityProviderResponseSuccess
480
563
  include ::Seahorse::Client::_ResponseSuccess[Types::GetIdentityProviderResponse]
481
564
  def identity_provider: () -> Types::IdentityProvider
@@ -592,6 +675,18 @@ module Aws
592
675
  ) -> _ListBrowserSettingsResponseSuccess
593
676
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBrowserSettingsResponseSuccess
594
677
 
678
+ interface _ListDataProtectionSettingsResponseSuccess
679
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataProtectionSettingsResponse]
680
+ def data_protection_settings: () -> ::Array[Types::DataProtectionSettingsSummary]
681
+ def next_token: () -> ::String
682
+ end
683
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#list_data_protection_settings-instance_method
684
+ def list_data_protection_settings: (
685
+ ?max_results: ::Integer,
686
+ ?next_token: ::String
687
+ ) -> _ListDataProtectionSettingsResponseSuccess
688
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataProtectionSettingsResponseSuccess
689
+
595
690
  interface _ListIdentityProvidersResponseSuccess
596
691
  include ::Seahorse::Client::_ResponseSuccess[Types::ListIdentityProvidersResponse]
597
692
  def identity_providers: () -> ::Array[Types::IdentityProviderSummary]
@@ -756,6 +851,42 @@ module Aws
756
851
  ) -> _UpdateBrowserSettingsResponseSuccess
757
852
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBrowserSettingsResponseSuccess
758
853
 
854
+ interface _UpdateDataProtectionSettingsResponseSuccess
855
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataProtectionSettingsResponse]
856
+ def data_protection_settings: () -> Types::DataProtectionSettings
857
+ end
858
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#update_data_protection_settings-instance_method
859
+ def update_data_protection_settings: (
860
+ ?client_token: ::String,
861
+ data_protection_settings_arn: ::String,
862
+ ?description: ::String,
863
+ ?display_name: ::String,
864
+ ?inline_redaction_configuration: {
865
+ global_confidence_level: ::Integer?,
866
+ global_enforced_urls: Array[::String]?,
867
+ global_exempt_urls: Array[::String]?,
868
+ inline_redaction_patterns: Array[
869
+ {
870
+ built_in_pattern_id: ::String?,
871
+ confidence_level: ::Integer?,
872
+ custom_pattern: {
873
+ keyword_regex: ::String?,
874
+ pattern_description: ::String?,
875
+ pattern_name: ::String,
876
+ pattern_regex: ::String
877
+ }?,
878
+ enforced_urls: Array[::String]?,
879
+ exempt_urls: Array[::String]?,
880
+ redaction_place_holder: {
881
+ redaction_place_holder_text: ::String?,
882
+ redaction_place_holder_type: ("CustomText")
883
+ }
884
+ },
885
+ ]
886
+ }
887
+ ) -> _UpdateDataProtectionSettingsResponseSuccess
888
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataProtectionSettingsResponseSuccess
889
+
759
890
  interface _UpdateIdentityProviderResponseSuccess
760
891
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentityProviderResponse]
761
892
  def identity_provider: () -> Types::IdentityProvider
data/sig/types.rbs CHANGED
@@ -25,6 +25,18 @@ module Aws::WorkSpacesWeb
25
25
  SENSITIVE: []
26
26
  end
27
27
 
28
+ class AssociateDataProtectionSettingsRequest
29
+ attr_accessor data_protection_settings_arn: ::String
30
+ attr_accessor portal_arn: ::String
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class AssociateDataProtectionSettingsResponse
35
+ attr_accessor data_protection_settings_arn: ::String
36
+ attr_accessor portal_arn: ::String
37
+ SENSITIVE: []
38
+ end
39
+
28
40
  class AssociateIpAccessSettingsRequest
29
41
  attr_accessor ip_access_settings_arn: ::String
30
42
  attr_accessor portal_arn: ::String
@@ -152,6 +164,22 @@ module Aws::WorkSpacesWeb
152
164
  SENSITIVE: []
153
165
  end
154
166
 
167
+ class CreateDataProtectionSettingsRequest
168
+ attr_accessor additional_encryption_context: ::Hash[::String, ::String]
169
+ attr_accessor client_token: ::String
170
+ attr_accessor customer_managed_key: ::String
171
+ attr_accessor description: ::String
172
+ attr_accessor display_name: ::String
173
+ attr_accessor inline_redaction_configuration: Types::InlineRedactionConfiguration
174
+ attr_accessor tags: ::Array[Types::Tag]
175
+ SENSITIVE: [:description, :display_name]
176
+ end
177
+
178
+ class CreateDataProtectionSettingsResponse
179
+ attr_accessor data_protection_settings_arn: ::String
180
+ SENSITIVE: []
181
+ end
182
+
155
183
  class CreateIdentityProviderRequest
156
184
  attr_accessor client_token: ::String
157
185
  attr_accessor identity_provider_details: ::Hash[::String, ::String]
@@ -261,6 +289,34 @@ module Aws::WorkSpacesWeb
261
289
  SENSITIVE: []
262
290
  end
263
291
 
292
+ class CustomPattern
293
+ attr_accessor keyword_regex: ::String
294
+ attr_accessor pattern_description: ::String
295
+ attr_accessor pattern_name: ::String
296
+ attr_accessor pattern_regex: ::String
297
+ SENSITIVE: [:keyword_regex, :pattern_description, :pattern_name, :pattern_regex]
298
+ end
299
+
300
+ class DataProtectionSettings
301
+ attr_accessor additional_encryption_context: ::Hash[::String, ::String]
302
+ attr_accessor associated_portal_arns: ::Array[::String]
303
+ attr_accessor creation_date: ::Time
304
+ attr_accessor customer_managed_key: ::String
305
+ attr_accessor data_protection_settings_arn: ::String
306
+ attr_accessor description: ::String
307
+ attr_accessor display_name: ::String
308
+ attr_accessor inline_redaction_configuration: Types::InlineRedactionConfiguration
309
+ SENSITIVE: [:description, :display_name]
310
+ end
311
+
312
+ class DataProtectionSettingsSummary
313
+ attr_accessor creation_date: ::Time
314
+ attr_accessor data_protection_settings_arn: ::String
315
+ attr_accessor description: ::String
316
+ attr_accessor display_name: ::String
317
+ SENSITIVE: [:description, :display_name]
318
+ end
319
+
264
320
  class DeleteBrowserSettingsRequest
265
321
  attr_accessor browser_settings_arn: ::String
266
322
  SENSITIVE: []
@@ -269,6 +325,14 @@ module Aws::WorkSpacesWeb
269
325
  class DeleteBrowserSettingsResponse < Aws::EmptyStructure
270
326
  end
271
327
 
328
+ class DeleteDataProtectionSettingsRequest
329
+ attr_accessor data_protection_settings_arn: ::String
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class DeleteDataProtectionSettingsResponse < Aws::EmptyStructure
334
+ end
335
+
272
336
  class DeleteIdentityProviderRequest
273
337
  attr_accessor identity_provider_arn: ::String
274
338
  SENSITIVE: []
@@ -333,6 +397,14 @@ module Aws::WorkSpacesWeb
333
397
  class DisassociateBrowserSettingsResponse < Aws::EmptyStructure
334
398
  end
335
399
 
400
+ class DisassociateDataProtectionSettingsRequest
401
+ attr_accessor portal_arn: ::String
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class DisassociateDataProtectionSettingsResponse < Aws::EmptyStructure
406
+ end
407
+
336
408
  class DisassociateIpAccessSettingsRequest
337
409
  attr_accessor portal_arn: ::String
338
410
  SENSITIVE: []
@@ -392,6 +464,16 @@ module Aws::WorkSpacesWeb
392
464
  SENSITIVE: []
393
465
  end
394
466
 
467
+ class GetDataProtectionSettingsRequest
468
+ attr_accessor data_protection_settings_arn: ::String
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class GetDataProtectionSettingsResponse
473
+ attr_accessor data_protection_settings: Types::DataProtectionSettings
474
+ SENSITIVE: []
475
+ end
476
+
395
477
  class GetIdentityProviderRequest
396
478
  attr_accessor identity_provider_arn: ::String
397
479
  SENSITIVE: []
@@ -511,6 +593,24 @@ module Aws::WorkSpacesWeb
511
593
  SENSITIVE: [:identity_provider_name]
512
594
  end
513
595
 
596
+ class InlineRedactionConfiguration
597
+ attr_accessor global_confidence_level: ::Integer
598
+ attr_accessor global_enforced_urls: ::Array[::String]
599
+ attr_accessor global_exempt_urls: ::Array[::String]
600
+ attr_accessor inline_redaction_patterns: ::Array[Types::InlineRedactionPattern]
601
+ SENSITIVE: []
602
+ end
603
+
604
+ class InlineRedactionPattern
605
+ attr_accessor built_in_pattern_id: ::String
606
+ attr_accessor confidence_level: ::Integer
607
+ attr_accessor custom_pattern: Types::CustomPattern
608
+ attr_accessor enforced_urls: ::Array[::String]
609
+ attr_accessor exempt_urls: ::Array[::String]
610
+ attr_accessor redaction_place_holder: Types::RedactionPlaceHolder
611
+ SENSITIVE: [:built_in_pattern_id]
612
+ end
613
+
514
614
  class InternalServerException
515
615
  attr_accessor message: ::String
516
616
  attr_accessor retry_after_seconds: ::Integer
@@ -555,6 +655,18 @@ module Aws::WorkSpacesWeb
555
655
  SENSITIVE: []
556
656
  end
557
657
 
658
+ class ListDataProtectionSettingsRequest
659
+ attr_accessor max_results: ::Integer
660
+ attr_accessor next_token: ::String
661
+ SENSITIVE: []
662
+ end
663
+
664
+ class ListDataProtectionSettingsResponse
665
+ attr_accessor data_protection_settings: ::Array[Types::DataProtectionSettingsSummary]
666
+ attr_accessor next_token: ::String
667
+ SENSITIVE: []
668
+ end
669
+
558
670
  class ListIdentityProvidersRequest
559
671
  attr_accessor max_results: ::Integer
560
672
  attr_accessor next_token: ::String
@@ -703,6 +815,7 @@ module Aws::WorkSpacesWeb
703
815
  attr_accessor browser_type: ("Chrome")
704
816
  attr_accessor creation_date: ::Time
705
817
  attr_accessor customer_managed_key: ::String
818
+ attr_accessor data_protection_settings_arn: ::String
706
819
  attr_accessor display_name: ::String
707
820
  attr_accessor instance_type: ("standard.regular" | "standard.large" | "standard.xlarge")
708
821
  attr_accessor ip_access_settings_arn: ::String
@@ -724,6 +837,7 @@ module Aws::WorkSpacesWeb
724
837
  attr_accessor browser_settings_arn: ::String
725
838
  attr_accessor browser_type: ("Chrome")
726
839
  attr_accessor creation_date: ::Time
840
+ attr_accessor data_protection_settings_arn: ::String
727
841
  attr_accessor display_name: ::String
728
842
  attr_accessor instance_type: ("standard.regular" | "standard.large" | "standard.xlarge")
729
843
  attr_accessor ip_access_settings_arn: ::String
@@ -739,6 +853,12 @@ module Aws::WorkSpacesWeb
739
853
  SENSITIVE: [:display_name]
740
854
  end
741
855
 
856
+ class RedactionPlaceHolder
857
+ attr_accessor redaction_place_holder_text: ::String
858
+ attr_accessor redaction_place_holder_type: ("CustomText")
859
+ SENSITIVE: [:redaction_place_holder_text]
860
+ end
861
+
742
862
  class ResourceNotFoundException
743
863
  attr_accessor message: ::String
744
864
  attr_accessor resource_id: ::String
@@ -838,6 +958,20 @@ module Aws::WorkSpacesWeb
838
958
  SENSITIVE: []
839
959
  end
840
960
 
961
+ class UpdateDataProtectionSettingsRequest
962
+ attr_accessor client_token: ::String
963
+ attr_accessor data_protection_settings_arn: ::String
964
+ attr_accessor description: ::String
965
+ attr_accessor display_name: ::String
966
+ attr_accessor inline_redaction_configuration: Types::InlineRedactionConfiguration
967
+ SENSITIVE: [:description, :display_name]
968
+ end
969
+
970
+ class UpdateDataProtectionSettingsResponse
971
+ attr_accessor data_protection_settings: Types::DataProtectionSettings
972
+ SENSITIVE: []
973
+ end
974
+
841
975
  class UpdateIdentityProviderRequest
842
976
  attr_accessor client_token: ::String
843
977
  attr_accessor identity_provider_arn: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workspacesweb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.36.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: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core