@aws-sdk/client-workspaces-web 3.693.0 → 3.697.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.
Files changed (47) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +443 -0
  3. package/dist-es/WorkSpacesWeb.js +14 -0
  4. package/dist-es/commands/AssociateDataProtectionSettingsCommand.js +22 -0
  5. package/dist-es/commands/CreateDataProtectionSettingsCommand.js +23 -0
  6. package/dist-es/commands/DeleteDataProtectionSettingsCommand.js +22 -0
  7. package/dist-es/commands/DisassociateDataProtectionSettingsCommand.js +22 -0
  8. package/dist-es/commands/GetDataProtectionSettingsCommand.js +23 -0
  9. package/dist-es/commands/ListDataProtectionSettingsCommand.js +23 -0
  10. package/dist-es/commands/UpdateDataProtectionSettingsCommand.js +23 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +80 -0
  13. package/dist-es/pagination/ListDataProtectionSettingsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +210 -0
  16. package/dist-types/WorkSpacesWeb.d.ts +51 -0
  17. package/dist-types/WorkSpacesWebClient.d.ts +9 -2
  18. package/dist-types/commands/AssociateDataProtectionSettingsCommand.d.ts +91 -0
  19. package/dist-types/commands/CreateDataProtectionSettingsCommand.d.ts +135 -0
  20. package/dist-types/commands/DeleteDataProtectionSettingsCommand.d.ts +84 -0
  21. package/dist-types/commands/DisassociateDataProtectionSettingsCommand.d.ts +87 -0
  22. package/dist-types/commands/GetDataProtectionSettingsCommand.d.ts +129 -0
  23. package/dist-types/commands/GetPortalCommand.d.ts +1 -0
  24. package/dist-types/commands/ListDataProtectionSettingsCommand.d.ts +92 -0
  25. package/dist-types/commands/ListPortalsCommand.d.ts +1 -0
  26. package/dist-types/commands/UpdateDataProtectionSettingsCommand.d.ts +163 -0
  27. package/dist-types/commands/UpdatePortalCommand.d.ts +1 -0
  28. package/dist-types/commands/index.d.ts +7 -0
  29. package/dist-types/models/models_0.d.ts +468 -0
  30. package/dist-types/pagination/ListDataProtectionSettingsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  33. package/dist-types/ts3.4/WorkSpacesWeb.d.ts +127 -0
  34. package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/AssociateDataProtectionSettingsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/CreateDataProtectionSettingsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/DeleteDataProtectionSettingsCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DisassociateDataProtectionSettingsCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/GetDataProtectionSettingsCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/ListDataProtectionSettingsCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/UpdateDataProtectionSettingsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +132 -0
  44. package/dist-types/ts3.4/pagination/ListDataProtectionSettingsPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  47. package/package.json +35 -35
@@ -182,6 +182,36 @@ export declare class ValidationException extends __BaseException {
182
182
  */
183
183
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
184
184
  }
185
+ /**
186
+ * @public
187
+ */
188
+ export interface AssociateDataProtectionSettingsRequest {
189
+ /**
190
+ * <p>The ARN of the web portal.</p>
191
+ * @public
192
+ */
193
+ portalArn: string | undefined;
194
+ /**
195
+ * <p>The ARN of the data protection settings.</p>
196
+ * @public
197
+ */
198
+ dataProtectionSettingsArn: string | undefined;
199
+ }
200
+ /**
201
+ * @public
202
+ */
203
+ export interface AssociateDataProtectionSettingsResponse {
204
+ /**
205
+ * <p>The ARN of the web portal.</p>
206
+ * @public
207
+ */
208
+ portalArn: string | undefined;
209
+ /**
210
+ * <p>The ARN of the data protection settings resource.</p>
211
+ * @public
212
+ */
213
+ dataProtectionSettingsArn: string | undefined;
214
+ }
185
215
  /**
186
216
  * @public
187
217
  */
@@ -587,6 +617,375 @@ export interface UpdateBrowserSettingsResponse {
587
617
  */
588
618
  browserSettings: BrowserSettings | undefined;
589
619
  }
620
+ /**
621
+ * <p>The pattern configuration for redacting custom data types in session.</p>
622
+ * @public
623
+ */
624
+ export interface CustomPattern {
625
+ /**
626
+ * <p>The pattern name for the custom pattern.</p>
627
+ * @public
628
+ */
629
+ patternName: string | undefined;
630
+ /**
631
+ * <p>The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.</p>
632
+ * @public
633
+ */
634
+ patternRegex: string | undefined;
635
+ /**
636
+ * <p>The pattern description for the customer pattern.</p>
637
+ * @public
638
+ */
639
+ patternDescription?: string | undefined;
640
+ /**
641
+ * <p>The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”</p>
642
+ * @public
643
+ */
644
+ keywordRegex?: string | undefined;
645
+ }
646
+ /**
647
+ * @public
648
+ * @enum
649
+ */
650
+ export declare const RedactionPlaceHolderType: {
651
+ readonly CUSTOM_TEXT: "CustomText";
652
+ };
653
+ /**
654
+ * @public
655
+ */
656
+ export type RedactionPlaceHolderType = (typeof RedactionPlaceHolderType)[keyof typeof RedactionPlaceHolderType];
657
+ /**
658
+ * <p>The redaction placeholder that will replace the redacted text in session.</p>
659
+ * @public
660
+ */
661
+ export interface RedactionPlaceHolder {
662
+ /**
663
+ * <p>The redaction placeholder type that will replace the redacted text in session.</p>
664
+ * @public
665
+ */
666
+ redactionPlaceHolderType: RedactionPlaceHolderType | undefined;
667
+ /**
668
+ * <p>The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.</p>
669
+ * @public
670
+ */
671
+ redactionPlaceHolderText?: string | undefined;
672
+ }
673
+ /**
674
+ * <p>The set of patterns that determine the data types redacted in session.</p>
675
+ * @public
676
+ */
677
+ export interface InlineRedactionPattern {
678
+ /**
679
+ * <p>The built-in pattern from the list of preconfigured patterns. Either a customPattern or builtInPatternId is required.</p>
680
+ * @public
681
+ */
682
+ builtInPatternId?: string | undefined;
683
+ /**
684
+ * <p>&gt;The configuration for a custom pattern. Either a customPattern or builtInPatternId is required.</p>
685
+ * @public
686
+ */
687
+ customPattern?: CustomPattern | undefined;
688
+ /**
689
+ * <p>The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.</p>
690
+ * @public
691
+ */
692
+ redactionPlaceHolder: RedactionPlaceHolder | undefined;
693
+ /**
694
+ * <p>The enforced URL configuration for the inline redaction pattern. This will override the global enforced URL configuration.</p>
695
+ * @public
696
+ */
697
+ enforcedUrls?: string[] | undefined;
698
+ /**
699
+ * <p>The exempt URL configuration for the inline redaction pattern. This will override the global exempt URL configuration for the inline redaction pattern.</p>
700
+ * @public
701
+ */
702
+ exemptUrls?: string[] | undefined;
703
+ /**
704
+ * <p>The confidence level for inline redaction pattern. This indicates the certainty of data
705
+ * type matches in the redaction process. Confidence level 3 means high confidence, and
706
+ * requires a formatted text pattern match in order for content to be redacted. Confidence
707
+ * level 2 means medium confidence, and redaction considers both formatted and unformatted
708
+ * text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and
709
+ * redaction is enforced for both formatted pattern + unformatted pattern without keyword.
710
+ * This overrides the global confidence level.</p>
711
+ * @public
712
+ */
713
+ confidenceLevel?: number | undefined;
714
+ }
715
+ /**
716
+ * <p>The configuration for in-session inline redaction.</p>
717
+ * @public
718
+ */
719
+ export interface InlineRedactionConfiguration {
720
+ /**
721
+ * <p>The inline redaction patterns to be enabled for the inline redaction configuration.</p>
722
+ * @public
723
+ */
724
+ inlineRedactionPatterns: InlineRedactionPattern[] | undefined;
725
+ /**
726
+ * <p>The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list.</p>
727
+ * @public
728
+ */
729
+ globalEnforcedUrls?: string[] | undefined;
730
+ /**
731
+ * <p>The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list.</p>
732
+ * @public
733
+ */
734
+ globalExemptUrls?: string[] | undefined;
735
+ /**
736
+ * <p>The global confidence level for the inline redaction configuration. This indicates the
737
+ * certainty of data type matches in the redaction process. Confidence level 3 means high
738
+ * confidence, and requires a formatted text pattern match in order for content to be
739
+ * redacted. Confidence level 2 means medium confidence, and redaction considers both
740
+ * formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1
741
+ * means low confidence, and redaction is enforced for both formatted pattern + unformatted
742
+ * pattern without keyword. This is applied to patterns that do not have a pattern-level
743
+ * confidence level. Defaults to confidence level 2.</p>
744
+ * @public
745
+ */
746
+ globalConfidenceLevel?: number | undefined;
747
+ }
748
+ /**
749
+ * @public
750
+ */
751
+ export interface CreateDataProtectionSettingsRequest {
752
+ /**
753
+ * <p>The display name of the data protection settings.</p>
754
+ * @public
755
+ */
756
+ displayName?: string | undefined;
757
+ /**
758
+ * <p>The description of the data protection settings.</p>
759
+ * @public
760
+ */
761
+ description?: string | undefined;
762
+ /**
763
+ * <p>The tags to add to the data protection settings resource. A tag is a key-value pair.</p>
764
+ * @public
765
+ */
766
+ tags?: Tag[] | undefined;
767
+ /**
768
+ * <p>The custom managed key of the data protection settings.</p>
769
+ * @public
770
+ */
771
+ customerManagedKey?: string | undefined;
772
+ /**
773
+ * <p>Additional encryption context of the data protection settings.</p>
774
+ * @public
775
+ */
776
+ additionalEncryptionContext?: Record<string, string> | undefined;
777
+ /**
778
+ * <p>The inline redaction configuration of the data protection settings that will be applied to all sessions.</p>
779
+ * @public
780
+ */
781
+ inlineRedactionConfiguration?: InlineRedactionConfiguration | undefined;
782
+ /**
783
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
784
+ * request. Idempotency ensures that an API request completes only once. With an idempotent
785
+ * request, if the original request completes successfully, subsequent retries with the same
786
+ * client token returns the result from the original successful request. </p>
787
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
788
+ * SDK.</p>
789
+ * @public
790
+ */
791
+ clientToken?: string | undefined;
792
+ }
793
+ /**
794
+ * @public
795
+ */
796
+ export interface CreateDataProtectionSettingsResponse {
797
+ /**
798
+ * <p>The ARN of the data protection settings resource.</p>
799
+ * @public
800
+ */
801
+ dataProtectionSettingsArn: string | undefined;
802
+ }
803
+ /**
804
+ * @public
805
+ */
806
+ export interface DeleteDataProtectionSettingsRequest {
807
+ /**
808
+ * <p>The ARN of the data protection settings.</p>
809
+ * @public
810
+ */
811
+ dataProtectionSettingsArn: string | undefined;
812
+ }
813
+ /**
814
+ * @public
815
+ */
816
+ export interface DeleteDataProtectionSettingsResponse {
817
+ }
818
+ /**
819
+ * @public
820
+ */
821
+ export interface GetDataProtectionSettingsRequest {
822
+ /**
823
+ * <p>The ARN of the data protection settings.</p>
824
+ * @public
825
+ */
826
+ dataProtectionSettingsArn: string | undefined;
827
+ }
828
+ /**
829
+ * <p>The data protection settings resource that can be associated with a web portal.</p>
830
+ * @public
831
+ */
832
+ export interface DataProtectionSettings {
833
+ /**
834
+ * <p>The ARN of the data protection settings resource.</p>
835
+ * @public
836
+ */
837
+ dataProtectionSettingsArn: string | undefined;
838
+ /**
839
+ * <p>The inline redaction configuration for the data protection settings.</p>
840
+ * @public
841
+ */
842
+ inlineRedactionConfiguration?: InlineRedactionConfiguration | undefined;
843
+ /**
844
+ * <p>A list of web portal ARNs that this data protection settings resource is associated
845
+ * with.</p>
846
+ * @public
847
+ */
848
+ associatedPortalArns?: string[] | undefined;
849
+ /**
850
+ * <p>The display name of the data protection settings.</p>
851
+ * @public
852
+ */
853
+ displayName?: string | undefined;
854
+ /**
855
+ * <p>The description of the data protection settings.</p>
856
+ * @public
857
+ */
858
+ description?: string | undefined;
859
+ /**
860
+ * <p>The creation date timestamp of the data protection settings.</p>
861
+ * @public
862
+ */
863
+ creationDate?: Date | undefined;
864
+ /**
865
+ * <p>The customer managed key used to encrypt sensitive information in the data protection
866
+ * settings.</p>
867
+ * @public
868
+ */
869
+ customerManagedKey?: string | undefined;
870
+ /**
871
+ * <p>The additional encryption context of the data protection settings.</p>
872
+ * @public
873
+ */
874
+ additionalEncryptionContext?: Record<string, string> | undefined;
875
+ }
876
+ /**
877
+ * @public
878
+ */
879
+ export interface GetDataProtectionSettingsResponse {
880
+ /**
881
+ * <p>The data protection settings.</p>
882
+ * @public
883
+ */
884
+ dataProtectionSettings?: DataProtectionSettings | undefined;
885
+ }
886
+ /**
887
+ * @public
888
+ */
889
+ export interface ListDataProtectionSettingsRequest {
890
+ /**
891
+ * <p>The pagination token used to retrieve the next page of results for this
892
+ * operation.</p>
893
+ * @public
894
+ */
895
+ nextToken?: string | undefined;
896
+ /**
897
+ * <p>The maximum number of results to be included in the next page.</p>
898
+ * @public
899
+ */
900
+ maxResults?: number | undefined;
901
+ }
902
+ /**
903
+ * <p>The summary of the data protection settings.</p>
904
+ * @public
905
+ */
906
+ export interface DataProtectionSettingsSummary {
907
+ /**
908
+ * <p>The ARN of the data protection settings.</p>
909
+ * @public
910
+ */
911
+ dataProtectionSettingsArn: string | undefined;
912
+ /**
913
+ * <p>The display name of the data protection settings.</p>
914
+ * @public
915
+ */
916
+ displayName?: string | undefined;
917
+ /**
918
+ * <p>The description of the data protection settings.</p>
919
+ * @public
920
+ */
921
+ description?: string | undefined;
922
+ /**
923
+ * <p>The creation date timestamp of the data protection settings.</p>
924
+ * @public
925
+ */
926
+ creationDate?: Date | undefined;
927
+ }
928
+ /**
929
+ * @public
930
+ */
931
+ export interface ListDataProtectionSettingsResponse {
932
+ /**
933
+ * <p>The data protection settings.</p>
934
+ * @public
935
+ */
936
+ dataProtectionSettings?: DataProtectionSettingsSummary[] | undefined;
937
+ /**
938
+ * <p>The pagination token used to retrieve the next page of results for this
939
+ * operation.</p>
940
+ * @public
941
+ */
942
+ nextToken?: string | undefined;
943
+ }
944
+ /**
945
+ * @public
946
+ */
947
+ export interface UpdateDataProtectionSettingsRequest {
948
+ /**
949
+ * <p>The ARN of the data protection settings.</p>
950
+ * @public
951
+ */
952
+ dataProtectionSettingsArn: string | undefined;
953
+ /**
954
+ * <p>The inline redaction configuration of the data protection settings that will be applied to all sessions.</p>
955
+ * @public
956
+ */
957
+ inlineRedactionConfiguration?: InlineRedactionConfiguration | undefined;
958
+ /**
959
+ * <p>The display name of the data protection settings.</p>
960
+ * @public
961
+ */
962
+ displayName?: string | undefined;
963
+ /**
964
+ * <p>The description of the data protection settings.</p>
965
+ * @public
966
+ */
967
+ description?: string | undefined;
968
+ /**
969
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
970
+ * request. Idempotency ensures that an API request completes only once. With an idempotent
971
+ * request, if the original request completes successfully, subsequent retries with the same
972
+ * client token return the result from the original successful request. </p>
973
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
974
+ * SDK.</p>
975
+ * @public
976
+ */
977
+ clientToken?: string | undefined;
978
+ }
979
+ /**
980
+ * @public
981
+ */
982
+ export interface UpdateDataProtectionSettingsResponse {
983
+ /**
984
+ * <p>The data protection settings.</p>
985
+ * @public
986
+ */
987
+ dataProtectionSettings: DataProtectionSettings | undefined;
988
+ }
590
989
  /**
591
990
  * @public
592
991
  */
@@ -2141,6 +2540,21 @@ export interface DisassociateBrowserSettingsRequest {
2141
2540
  */
2142
2541
  export interface DisassociateBrowserSettingsResponse {
2143
2542
  }
2543
+ /**
2544
+ * @public
2545
+ */
2546
+ export interface DisassociateDataProtectionSettingsRequest {
2547
+ /**
2548
+ * <p>The ARN of the web portal.</p>
2549
+ * @public
2550
+ */
2551
+ portalArn: string | undefined;
2552
+ }
2553
+ /**
2554
+ * @public
2555
+ */
2556
+ export interface DisassociateDataProtectionSettingsResponse {
2557
+ }
2144
2558
  /**
2145
2559
  * @public
2146
2560
  */
@@ -2296,6 +2710,11 @@ export interface Portal {
2296
2710
  * @public
2297
2711
  */
2298
2712
  browserSettingsArn?: string | undefined;
2713
+ /**
2714
+ * <p>The ARN of the data protection settings.</p>
2715
+ * @public
2716
+ */
2717
+ dataProtectionSettingsArn?: string | undefined;
2299
2718
  /**
2300
2719
  * <p>The ARN of the user settings that is associated with the web portal.</p>
2301
2720
  * @public
@@ -2460,6 +2879,11 @@ export interface PortalSummary {
2460
2879
  * @public
2461
2880
  */
2462
2881
  browserSettingsArn?: string | undefined;
2882
+ /**
2883
+ * <p>The ARN of the data protection settings.</p>
2884
+ * @public
2885
+ */
2886
+ dataProtectionSettingsArn?: string | undefined;
2463
2887
  /**
2464
2888
  * <p>The ARN of the user settings that is associated with the web portal.</p>
2465
2889
  * @public
@@ -3600,6 +4024,50 @@ export declare const UpdateBrowserSettingsRequestFilterSensitiveLog: (obj: Updat
3600
4024
  * @internal
3601
4025
  */
3602
4026
  export declare const UpdateBrowserSettingsResponseFilterSensitiveLog: (obj: UpdateBrowserSettingsResponse) => any;
4027
+ /**
4028
+ * @internal
4029
+ */
4030
+ export declare const CustomPatternFilterSensitiveLog: (obj: CustomPattern) => any;
4031
+ /**
4032
+ * @internal
4033
+ */
4034
+ export declare const RedactionPlaceHolderFilterSensitiveLog: (obj: RedactionPlaceHolder) => any;
4035
+ /**
4036
+ * @internal
4037
+ */
4038
+ export declare const InlineRedactionPatternFilterSensitiveLog: (obj: InlineRedactionPattern) => any;
4039
+ /**
4040
+ * @internal
4041
+ */
4042
+ export declare const InlineRedactionConfigurationFilterSensitiveLog: (obj: InlineRedactionConfiguration) => any;
4043
+ /**
4044
+ * @internal
4045
+ */
4046
+ export declare const CreateDataProtectionSettingsRequestFilterSensitiveLog: (obj: CreateDataProtectionSettingsRequest) => any;
4047
+ /**
4048
+ * @internal
4049
+ */
4050
+ export declare const DataProtectionSettingsFilterSensitiveLog: (obj: DataProtectionSettings) => any;
4051
+ /**
4052
+ * @internal
4053
+ */
4054
+ export declare const GetDataProtectionSettingsResponseFilterSensitiveLog: (obj: GetDataProtectionSettingsResponse) => any;
4055
+ /**
4056
+ * @internal
4057
+ */
4058
+ export declare const DataProtectionSettingsSummaryFilterSensitiveLog: (obj: DataProtectionSettingsSummary) => any;
4059
+ /**
4060
+ * @internal
4061
+ */
4062
+ export declare const ListDataProtectionSettingsResponseFilterSensitiveLog: (obj: ListDataProtectionSettingsResponse) => any;
4063
+ /**
4064
+ * @internal
4065
+ */
4066
+ export declare const UpdateDataProtectionSettingsRequestFilterSensitiveLog: (obj: UpdateDataProtectionSettingsRequest) => any;
4067
+ /**
4068
+ * @internal
4069
+ */
4070
+ export declare const UpdateDataProtectionSettingsResponseFilterSensitiveLog: (obj: UpdateDataProtectionSettingsResponse) => any;
3603
4071
  /**
3604
4072
  * @internal
3605
4073
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListDataProtectionSettingsCommandInput, ListDataProtectionSettingsCommandOutput } from "../commands/ListDataProtectionSettingsCommand";
3
+ import { WorkSpacesWebPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListDataProtectionSettings: (config: WorkSpacesWebPaginationConfiguration, input: ListDataProtectionSettingsCommandInput, ...rest: any[]) => Paginator<ListDataProtectionSettingsCommandOutput>;
@@ -1,5 +1,6 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListBrowserSettingsPaginator";
3
+ export * from "./ListDataProtectionSettingsPaginator";
3
4
  export * from "./ListIdentityProvidersPaginator";
4
5
  export * from "./ListIpAccessSettingsPaginator";
5
6
  export * from "./ListNetworkSettingsPaginator";