aws-sdk-workspacesweb 1.35.0 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -87,6 +89,18 @@ module Aws
87
89
  ) -> _AssociateBrowserSettingsResponseSuccess
88
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateBrowserSettingsResponseSuccess
89
91
 
92
+ interface _AssociateDataProtectionSettingsResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateDataProtectionSettingsResponse]
94
+ def data_protection_settings_arn: () -> ::String
95
+ def portal_arn: () -> ::String
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#associate_data_protection_settings-instance_method
98
+ def associate_data_protection_settings: (
99
+ data_protection_settings_arn: ::String,
100
+ portal_arn: ::String
101
+ ) -> _AssociateDataProtectionSettingsResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDataProtectionSettingsResponseSuccess
103
+
90
104
  interface _AssociateIpAccessSettingsResponseSuccess
91
105
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateIpAccessSettingsResponse]
92
106
  def ip_access_settings_arn: () -> ::String
@@ -166,6 +180,49 @@ module Aws
166
180
  ) -> _CreateBrowserSettingsResponseSuccess
167
181
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBrowserSettingsResponseSuccess
168
182
 
183
+ interface _CreateDataProtectionSettingsResponseSuccess
184
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataProtectionSettingsResponse]
185
+ def data_protection_settings_arn: () -> ::String
186
+ end
187
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#create_data_protection_settings-instance_method
188
+ def create_data_protection_settings: (
189
+ ?additional_encryption_context: Hash[::String, ::String],
190
+ ?client_token: ::String,
191
+ ?customer_managed_key: ::String,
192
+ ?description: ::String,
193
+ ?display_name: ::String,
194
+ ?inline_redaction_configuration: {
195
+ global_confidence_level: ::Integer?,
196
+ global_enforced_urls: Array[::String]?,
197
+ global_exempt_urls: Array[::String]?,
198
+ inline_redaction_patterns: Array[
199
+ {
200
+ built_in_pattern_id: ::String?,
201
+ confidence_level: ::Integer?,
202
+ custom_pattern: {
203
+ keyword_regex: ::String?,
204
+ pattern_description: ::String?,
205
+ pattern_name: ::String,
206
+ pattern_regex: ::String
207
+ }?,
208
+ enforced_urls: Array[::String]?,
209
+ exempt_urls: Array[::String]?,
210
+ redaction_place_holder: {
211
+ redaction_place_holder_text: ::String?,
212
+ redaction_place_holder_type: ("CustomText")
213
+ }
214
+ },
215
+ ]
216
+ },
217
+ ?tags: Array[
218
+ {
219
+ key: ::String,
220
+ value: ::String
221
+ },
222
+ ]
223
+ ) -> _CreateDataProtectionSettingsResponseSuccess
224
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataProtectionSettingsResponseSuccess
225
+
169
226
  interface _CreateIdentityProviderResponseSuccess
170
227
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdentityProviderResponse]
171
228
  def identity_provider_arn: () -> ::String
@@ -339,6 +396,15 @@ module Aws
339
396
  ) -> _DeleteBrowserSettingsResponseSuccess
340
397
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBrowserSettingsResponseSuccess
341
398
 
399
+ interface _DeleteDataProtectionSettingsResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataProtectionSettingsResponse]
401
+ end
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#delete_data_protection_settings-instance_method
403
+ def delete_data_protection_settings: (
404
+ data_protection_settings_arn: ::String
405
+ ) -> _DeleteDataProtectionSettingsResponseSuccess
406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataProtectionSettingsResponseSuccess
407
+
342
408
  interface _DeleteIdentityProviderResponseSuccess
343
409
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIdentityProviderResponse]
344
410
  end
@@ -411,6 +477,15 @@ module Aws
411
477
  ) -> _DisassociateBrowserSettingsResponseSuccess
412
478
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateBrowserSettingsResponseSuccess
413
479
 
480
+ interface _DisassociateDataProtectionSettingsResponseSuccess
481
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateDataProtectionSettingsResponse]
482
+ end
483
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#disassociate_data_protection_settings-instance_method
484
+ def disassociate_data_protection_settings: (
485
+ portal_arn: ::String
486
+ ) -> _DisassociateDataProtectionSettingsResponseSuccess
487
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDataProtectionSettingsResponseSuccess
488
+
414
489
  interface _DisassociateIpAccessSettingsResponseSuccess
415
490
  include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateIpAccessSettingsResponse]
416
491
  end
@@ -476,6 +551,16 @@ module Aws
476
551
  ) -> _GetBrowserSettingsResponseSuccess
477
552
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBrowserSettingsResponseSuccess
478
553
 
554
+ interface _GetDataProtectionSettingsResponseSuccess
555
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataProtectionSettingsResponse]
556
+ def data_protection_settings: () -> Types::DataProtectionSettings
557
+ end
558
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#get_data_protection_settings-instance_method
559
+ def get_data_protection_settings: (
560
+ data_protection_settings_arn: ::String
561
+ ) -> _GetDataProtectionSettingsResponseSuccess
562
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataProtectionSettingsResponseSuccess
563
+
479
564
  interface _GetIdentityProviderResponseSuccess
480
565
  include ::Seahorse::Client::_ResponseSuccess[Types::GetIdentityProviderResponse]
481
566
  def identity_provider: () -> Types::IdentityProvider
@@ -592,6 +677,18 @@ module Aws
592
677
  ) -> _ListBrowserSettingsResponseSuccess
593
678
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBrowserSettingsResponseSuccess
594
679
 
680
+ interface _ListDataProtectionSettingsResponseSuccess
681
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataProtectionSettingsResponse]
682
+ def data_protection_settings: () -> ::Array[Types::DataProtectionSettingsSummary]
683
+ def next_token: () -> ::String
684
+ end
685
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#list_data_protection_settings-instance_method
686
+ def list_data_protection_settings: (
687
+ ?max_results: ::Integer,
688
+ ?next_token: ::String
689
+ ) -> _ListDataProtectionSettingsResponseSuccess
690
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataProtectionSettingsResponseSuccess
691
+
595
692
  interface _ListIdentityProvidersResponseSuccess
596
693
  include ::Seahorse::Client::_ResponseSuccess[Types::ListIdentityProvidersResponse]
597
694
  def identity_providers: () -> ::Array[Types::IdentityProviderSummary]
@@ -756,6 +853,42 @@ module Aws
756
853
  ) -> _UpdateBrowserSettingsResponseSuccess
757
854
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBrowserSettingsResponseSuccess
758
855
 
856
+ interface _UpdateDataProtectionSettingsResponseSuccess
857
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataProtectionSettingsResponse]
858
+ def data_protection_settings: () -> Types::DataProtectionSettings
859
+ end
860
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#update_data_protection_settings-instance_method
861
+ def update_data_protection_settings: (
862
+ ?client_token: ::String,
863
+ data_protection_settings_arn: ::String,
864
+ ?description: ::String,
865
+ ?display_name: ::String,
866
+ ?inline_redaction_configuration: {
867
+ global_confidence_level: ::Integer?,
868
+ global_enforced_urls: Array[::String]?,
869
+ global_exempt_urls: Array[::String]?,
870
+ inline_redaction_patterns: Array[
871
+ {
872
+ built_in_pattern_id: ::String?,
873
+ confidence_level: ::Integer?,
874
+ custom_pattern: {
875
+ keyword_regex: ::String?,
876
+ pattern_description: ::String?,
877
+ pattern_name: ::String,
878
+ pattern_regex: ::String
879
+ }?,
880
+ enforced_urls: Array[::String]?,
881
+ exempt_urls: Array[::String]?,
882
+ redaction_place_holder: {
883
+ redaction_place_holder_text: ::String?,
884
+ redaction_place_holder_type: ("CustomText")
885
+ }
886
+ },
887
+ ]
888
+ }
889
+ ) -> _UpdateDataProtectionSettingsResponseSuccess
890
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataProtectionSettingsResponseSuccess
891
+
759
892
  interface _UpdateIdentityProviderResponseSuccess
760
893
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentityProviderResponse]
761
894
  def identity_provider: () -> Types::IdentityProvider
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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.37.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: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement