@aws-sdk/client-cleanrooms 3.879.0 → 3.881.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 (46) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +221 -15
  3. package/dist-es/CleanRooms.js +6 -0
  4. package/dist-es/commands/CreateCollaborationChangeRequestCommand.js +22 -0
  5. package/dist-es/commands/GetCollaborationChangeRequestCommand.js +22 -0
  6. package/dist-es/commands/ListCollaborationChangeRequestsCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +24 -15
  9. package/dist-es/models/models_1.js +15 -0
  10. package/dist-es/pagination/ListCollaborationChangeRequestsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_restJson1.js +113 -0
  13. package/dist-types/CleanRooms.d.ts +21 -0
  14. package/dist-types/CleanRoomsClient.d.ts +5 -2
  15. package/dist-types/commands/CreateCollaborationChangeRequestCommand.d.ts +131 -0
  16. package/dist-types/commands/CreateCollaborationCommand.d.ts +6 -0
  17. package/dist-types/commands/CreateMembershipCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteMembershipCommand.d.ts +1 -1
  19. package/dist-types/commands/GetCollaborationChangeRequestCommand.d.ts +112 -0
  20. package/dist-types/commands/GetCollaborationCommand.d.ts +3 -0
  21. package/dist-types/commands/GetMembershipCommand.d.ts +1 -1
  22. package/dist-types/commands/GetProtectedJobCommand.d.ts +1 -2
  23. package/dist-types/commands/ListCollaborationChangeRequestsCommand.d.ts +117 -0
  24. package/dist-types/commands/UpdateCollaborationCommand.d.ts +3 -0
  25. package/dist-types/commands/index.d.ts +3 -0
  26. package/dist-types/models/models_0.d.ts +318 -317
  27. package/dist-types/models/models_1.d.ts +318 -1
  28. package/dist-types/pagination/ListCollaborationChangeRequestsPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  31. package/dist-types/ts3.4/CleanRooms.d.ts +51 -0
  32. package/dist-types/ts3.4/CleanRoomsClient.d.ts +18 -0
  33. package/dist-types/ts3.4/commands/CreateCollaborationChangeRequestCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/GetCollaborationChangeRequestCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/GetProtectedJobCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/ListCollaborationChangeRequestsCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +101 -106
  42. package/dist-types/ts3.4/models/models_1.d.ts +106 -6
  43. package/dist-types/ts3.4/pagination/ListCollaborationChangeRequestsPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  46. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CleanRoomsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CleanRoomsClient";
8
+ import {
9
+ GetCollaborationChangeRequestInput,
10
+ GetCollaborationChangeRequestOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetCollaborationChangeRequestCommandInput
15
+ extends GetCollaborationChangeRequestInput {}
16
+ export interface GetCollaborationChangeRequestCommandOutput
17
+ extends GetCollaborationChangeRequestOutput,
18
+ __MetadataBearer {}
19
+ declare const GetCollaborationChangeRequestCommand_base: {
20
+ new (
21
+ input: GetCollaborationChangeRequestCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetCollaborationChangeRequestCommandInput,
24
+ GetCollaborationChangeRequestCommandOutput,
25
+ CleanRoomsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetCollaborationChangeRequestCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetCollaborationChangeRequestCommandInput,
33
+ GetCollaborationChangeRequestCommandOutput,
34
+ CleanRoomsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetCollaborationChangeRequestCommand extends GetCollaborationChangeRequestCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetCollaborationChangeRequestInput;
44
+ output: GetCollaborationChangeRequestOutput;
45
+ };
46
+ sdk: {
47
+ input: GetCollaborationChangeRequestCommandInput;
48
+ output: GetCollaborationChangeRequestCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../CleanRoomsClient";
8
- import { GetMembershipInput, GetMembershipOutput } from "../models/models_0";
8
+ import { GetMembershipInput, GetMembershipOutput } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface GetMembershipCommandInput extends GetMembershipInput {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../CleanRoomsClient";
8
- import { GetProtectedJobInput } from "../models/models_0";
9
- import { GetProtectedJobOutput } from "../models/models_1";
8
+ import {
9
+ GetProtectedJobInput,
10
+ GetProtectedJobOutput,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetProtectedJobCommandInput extends GetProtectedJobInput {}
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CleanRoomsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CleanRoomsClient";
8
+ import {
9
+ ListCollaborationChangeRequestsInput,
10
+ ListCollaborationChangeRequestsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListCollaborationChangeRequestsCommandInput
15
+ extends ListCollaborationChangeRequestsInput {}
16
+ export interface ListCollaborationChangeRequestsCommandOutput
17
+ extends ListCollaborationChangeRequestsOutput,
18
+ __MetadataBearer {}
19
+ declare const ListCollaborationChangeRequestsCommand_base: {
20
+ new (
21
+ input: ListCollaborationChangeRequestsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListCollaborationChangeRequestsCommandInput,
24
+ ListCollaborationChangeRequestsCommandOutput,
25
+ CleanRoomsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListCollaborationChangeRequestsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListCollaborationChangeRequestsCommandInput,
33
+ ListCollaborationChangeRequestsCommandOutput,
34
+ CleanRoomsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListCollaborationChangeRequestsCommand extends ListCollaborationChangeRequestsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListCollaborationChangeRequestsInput;
44
+ output: ListCollaborationChangeRequestsOutput;
45
+ };
46
+ sdk: {
47
+ input: ListCollaborationChangeRequestsCommandInput;
48
+ output: ListCollaborationChangeRequestsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -2,6 +2,7 @@ export * from "./BatchGetCollaborationAnalysisTemplateCommand";
2
2
  export * from "./BatchGetSchemaAnalysisRuleCommand";
3
3
  export * from "./BatchGetSchemaCommand";
4
4
  export * from "./CreateAnalysisTemplateCommand";
5
+ export * from "./CreateCollaborationChangeRequestCommand";
5
6
  export * from "./CreateCollaborationCommand";
6
7
  export * from "./CreateConfiguredAudienceModelAssociationCommand";
7
8
  export * from "./CreateConfiguredTableAnalysisRuleCommand";
@@ -26,6 +27,7 @@ export * from "./DeleteMembershipCommand";
26
27
  export * from "./DeletePrivacyBudgetTemplateCommand";
27
28
  export * from "./GetAnalysisTemplateCommand";
28
29
  export * from "./GetCollaborationAnalysisTemplateCommand";
30
+ export * from "./GetCollaborationChangeRequestCommand";
29
31
  export * from "./GetCollaborationCommand";
30
32
  export * from "./GetCollaborationConfiguredAudienceModelAssociationCommand";
31
33
  export * from "./GetCollaborationIdNamespaceAssociationCommand";
@@ -45,6 +47,7 @@ export * from "./GetSchemaAnalysisRuleCommand";
45
47
  export * from "./GetSchemaCommand";
46
48
  export * from "./ListAnalysisTemplatesCommand";
47
49
  export * from "./ListCollaborationAnalysisTemplatesCommand";
50
+ export * from "./ListCollaborationChangeRequestsCommand";
48
51
  export * from "./ListCollaborationConfiguredAudienceModelAssociationsCommand";
49
52
  export * from "./ListCollaborationIdNamespaceAssociationsCommand";
50
53
  export * from "./ListCollaborationPrivacyBudgetTemplatesCommand";
@@ -697,6 +697,11 @@ export interface AthenaTableReference {
697
697
  databaseName: string | undefined;
698
698
  tableName: string | undefined;
699
699
  }
700
+ export declare const AutoApprovedChangeType: {
701
+ readonly ADD_MEMBER: "ADD_MEMBER";
702
+ };
703
+ export type AutoApprovedChangeType =
704
+ (typeof AutoApprovedChangeType)[keyof typeof AutoApprovedChangeType];
700
705
  export interface BatchGetCollaborationAnalysisTemplateInput {
701
706
  collaborationIdentifier: string | undefined;
702
707
  analysisTemplateArns: string[] | undefined;
@@ -932,6 +937,7 @@ export interface CreateCollaborationInput {
932
937
  tags?: Record<string, string> | undefined;
933
938
  creatorPaymentConfiguration?: PaymentConfiguration | undefined;
934
939
  analyticsEngine?: AnalyticsEngine | undefined;
940
+ autoApprovedChangeRequestTypes?: AutoApprovedChangeType[] | undefined;
935
941
  }
936
942
  export declare const MemberStatus: {
937
943
  readonly ACTIVE: "ACTIVE";
@@ -956,10 +962,77 @@ export interface Collaboration {
956
962
  queryLogStatus: CollaborationQueryLogStatus | undefined;
957
963
  jobLogStatus?: CollaborationJobLogStatus | undefined;
958
964
  analyticsEngine?: AnalyticsEngine | undefined;
965
+ autoApprovedChangeTypes?: AutoApprovedChangeType[] | undefined;
959
966
  }
960
967
  export interface CreateCollaborationOutput {
961
968
  collaboration: Collaboration | undefined;
962
969
  }
970
+ export interface MemberChangeSpecification {
971
+ accountId: string | undefined;
972
+ memberAbilities: MemberAbility[] | undefined;
973
+ displayName?: string | undefined;
974
+ }
975
+ export type ChangeSpecification =
976
+ | ChangeSpecification.MemberMember
977
+ | ChangeSpecification.$UnknownMember;
978
+ export declare namespace ChangeSpecification {
979
+ interface MemberMember {
980
+ member: MemberChangeSpecification;
981
+ $unknown?: never;
982
+ }
983
+ interface $UnknownMember {
984
+ member?: never;
985
+ $unknown: [string, any];
986
+ }
987
+ interface Visitor<T> {
988
+ member: (value: MemberChangeSpecification) => T;
989
+ _: (name: string, value: any) => T;
990
+ }
991
+ const visit: <T>(value: ChangeSpecification, visitor: Visitor<T>) => T;
992
+ }
993
+ export declare const ChangeSpecificationType: {
994
+ readonly MEMBER: "MEMBER";
995
+ };
996
+ export type ChangeSpecificationType =
997
+ (typeof ChangeSpecificationType)[keyof typeof ChangeSpecificationType];
998
+ export interface ChangeInput {
999
+ specificationType: ChangeSpecificationType | undefined;
1000
+ specification: ChangeSpecification | undefined;
1001
+ }
1002
+ export interface CreateCollaborationChangeRequestInput {
1003
+ collaborationIdentifier: string | undefined;
1004
+ changes: ChangeInput[] | undefined;
1005
+ }
1006
+ export declare const ChangeType: {
1007
+ readonly ADD_MEMBER: "ADD_MEMBER";
1008
+ };
1009
+ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
1010
+ export interface Change {
1011
+ specificationType: ChangeSpecificationType | undefined;
1012
+ specification: ChangeSpecification | undefined;
1013
+ types: ChangeType[] | undefined;
1014
+ }
1015
+ export declare const ChangeRequestStatus: {
1016
+ readonly APPROVED: "APPROVED";
1017
+ readonly CANCELLED: "CANCELLED";
1018
+ readonly COMMITTED: "COMMITTED";
1019
+ readonly DENIED: "DENIED";
1020
+ readonly PENDING: "PENDING";
1021
+ };
1022
+ export type ChangeRequestStatus =
1023
+ (typeof ChangeRequestStatus)[keyof typeof ChangeRequestStatus];
1024
+ export interface CollaborationChangeRequest {
1025
+ id: string | undefined;
1026
+ collaborationId: string | undefined;
1027
+ createTime: Date | undefined;
1028
+ updateTime: Date | undefined;
1029
+ status: ChangeRequestStatus | undefined;
1030
+ isAutoApproved: boolean | undefined;
1031
+ changes: Change[] | undefined;
1032
+ }
1033
+ export interface CreateCollaborationChangeRequestOutput {
1034
+ collaborationChangeRequest: CollaborationChangeRequest | undefined;
1035
+ }
963
1036
  export interface DeleteCollaborationInput {
964
1037
  collaborationIdentifier: string | undefined;
965
1038
  }
@@ -982,6 +1055,13 @@ export interface GetCollaborationAnalysisTemplateInput {
982
1055
  export interface GetCollaborationAnalysisTemplateOutput {
983
1056
  collaborationAnalysisTemplate: CollaborationAnalysisTemplate | undefined;
984
1057
  }
1058
+ export interface GetCollaborationChangeRequestInput {
1059
+ collaborationIdentifier: string | undefined;
1060
+ changeRequestIdentifier: string | undefined;
1061
+ }
1062
+ export interface GetCollaborationChangeRequestOutput {
1063
+ collaborationChangeRequest: CollaborationChangeRequest | undefined;
1064
+ }
985
1065
  export interface GetCollaborationConfiguredAudienceModelAssociationInput {
986
1066
  collaborationIdentifier: string | undefined;
987
1067
  configuredAudienceModelAssociationIdentifier: string | undefined;
@@ -1135,6 +1215,27 @@ export interface ListCollaborationAnalysisTemplatesOutput {
1135
1215
  | CollaborationAnalysisTemplateSummary[]
1136
1216
  | undefined;
1137
1217
  }
1218
+ export interface ListCollaborationChangeRequestsInput {
1219
+ collaborationIdentifier: string | undefined;
1220
+ status?: ChangeRequestStatus | undefined;
1221
+ nextToken?: string | undefined;
1222
+ maxResults?: number | undefined;
1223
+ }
1224
+ export interface CollaborationChangeRequestSummary {
1225
+ id: string | undefined;
1226
+ collaborationId: string | undefined;
1227
+ createTime: Date | undefined;
1228
+ updateTime: Date | undefined;
1229
+ status: ChangeRequestStatus | undefined;
1230
+ isAutoApproved: boolean | undefined;
1231
+ changes: Change[] | undefined;
1232
+ }
1233
+ export interface ListCollaborationChangeRequestsOutput {
1234
+ collaborationChangeRequestSummaries:
1235
+ | CollaborationChangeRequestSummary[]
1236
+ | undefined;
1237
+ nextToken?: string | undefined;
1238
+ }
1138
1239
  export interface ListCollaborationConfiguredAudienceModelAssociationsInput {
1139
1240
  collaborationIdentifier: string | undefined;
1140
1241
  nextToken?: string | undefined;
@@ -2043,112 +2144,6 @@ export declare const MembershipQueryLogStatus: {
2043
2144
  };
2044
2145
  export type MembershipQueryLogStatus =
2045
2146
  (typeof MembershipQueryLogStatus)[keyof typeof MembershipQueryLogStatus];
2046
- export interface CreateMembershipInput {
2047
- collaborationIdentifier: string | undefined;
2048
- queryLogStatus: MembershipQueryLogStatus | undefined;
2049
- jobLogStatus?: MembershipJobLogStatus | undefined;
2050
- tags?: Record<string, string> | undefined;
2051
- defaultResultConfiguration?:
2052
- | MembershipProtectedQueryResultConfiguration
2053
- | undefined;
2054
- defaultJobResultConfiguration?:
2055
- | MembershipProtectedJobResultConfiguration
2056
- | undefined;
2057
- paymentConfiguration?: MembershipPaymentConfiguration | undefined;
2058
- }
2059
- export declare const MembershipStatus: {
2060
- readonly ACTIVE: "ACTIVE";
2061
- readonly COLLABORATION_DELETED: "COLLABORATION_DELETED";
2062
- readonly REMOVED: "REMOVED";
2063
- };
2064
- export type MembershipStatus =
2065
- (typeof MembershipStatus)[keyof typeof MembershipStatus];
2066
- export interface Membership {
2067
- id: string | undefined;
2068
- arn: string | undefined;
2069
- collaborationArn: string | undefined;
2070
- collaborationId: string | undefined;
2071
- collaborationCreatorAccountId: string | undefined;
2072
- collaborationCreatorDisplayName: string | undefined;
2073
- collaborationName: string | undefined;
2074
- createTime: Date | undefined;
2075
- updateTime: Date | undefined;
2076
- status: MembershipStatus | undefined;
2077
- memberAbilities: MemberAbility[] | undefined;
2078
- mlMemberAbilities?: MLMemberAbilities | undefined;
2079
- queryLogStatus: MembershipQueryLogStatus | undefined;
2080
- jobLogStatus?: MembershipJobLogStatus | undefined;
2081
- defaultResultConfiguration?:
2082
- | MembershipProtectedQueryResultConfiguration
2083
- | undefined;
2084
- defaultJobResultConfiguration?:
2085
- | MembershipProtectedJobResultConfiguration
2086
- | undefined;
2087
- paymentConfiguration: MembershipPaymentConfiguration | undefined;
2088
- }
2089
- export interface CreateMembershipOutput {
2090
- membership: Membership | undefined;
2091
- }
2092
- export interface DeleteMembershipInput {
2093
- membershipIdentifier: string | undefined;
2094
- }
2095
- export interface DeleteMembershipOutput {}
2096
- export interface GetMembershipInput {
2097
- membershipIdentifier: string | undefined;
2098
- }
2099
- export interface GetMembershipOutput {
2100
- membership: Membership | undefined;
2101
- }
2102
- export interface GetProtectedJobInput {
2103
- membershipIdentifier: string | undefined;
2104
- protectedJobIdentifier: string | undefined;
2105
- }
2106
- export interface ProtectedJobError {
2107
- message: string | undefined;
2108
- code: string | undefined;
2109
- }
2110
- export interface ProtectedJobParameters {
2111
- analysisTemplateArn?: string | undefined;
2112
- }
2113
- export interface ProtectedJobSingleMemberOutput {
2114
- accountId: string | undefined;
2115
- }
2116
- export interface ProtectedJobS3Output {
2117
- location: string | undefined;
2118
- }
2119
- export type ProtectedJobOutput =
2120
- | ProtectedJobOutput.MemberListMember
2121
- | ProtectedJobOutput.S3Member
2122
- | ProtectedJobOutput.$UnknownMember;
2123
- export declare namespace ProtectedJobOutput {
2124
- interface S3Member {
2125
- s3: ProtectedJobS3Output;
2126
- memberList?: never;
2127
- $unknown?: never;
2128
- }
2129
- interface MemberListMember {
2130
- s3?: never;
2131
- memberList: ProtectedJobSingleMemberOutput[];
2132
- $unknown?: never;
2133
- }
2134
- interface $UnknownMember {
2135
- s3?: never;
2136
- memberList?: never;
2137
- $unknown: [string, any];
2138
- }
2139
- interface Visitor<T> {
2140
- s3: (value: ProtectedJobS3Output) => T;
2141
- memberList: (value: ProtectedJobSingleMemberOutput[]) => T;
2142
- _: (name: string, value: any) => T;
2143
- }
2144
- const visit: <T>(value: ProtectedJobOutput, visitor: Visitor<T>) => T;
2145
- }
2146
- export interface ProtectedJobResult {
2147
- output: ProtectedJobOutput | undefined;
2148
- }
2149
- export interface ProtectedJobMemberOutputConfigurationOutput {
2150
- accountId: string | undefined;
2151
- }
2152
2147
  export declare const AnalysisParameterFilterSensitiveLog: (
2153
2148
  obj: AnalysisParameter
2154
2149
  ) => any;
@@ -2,24 +2,124 @@ import {
2
2
  AnalysisType,
3
3
  DifferentialPrivacyAggregationType,
4
4
  MemberAbility,
5
- Membership,
6
5
  MembershipJobLogStatus,
7
6
  MembershipPaymentConfiguration,
8
7
  MembershipProtectedJobResultConfiguration,
9
8
  MembershipProtectedQueryResultConfiguration,
10
9
  MembershipQueryLogStatus,
11
- MembershipStatus,
12
10
  MLMemberAbilities,
13
11
  PrivacyBudget,
14
12
  PrivacyBudgetTemplateAutoRefresh,
15
13
  PrivacyBudgetTemplateParametersOutput,
16
14
  PrivacyBudgetType,
17
- ProtectedJobError,
18
- ProtectedJobMemberOutputConfigurationOutput,
19
- ProtectedJobParameters,
20
- ProtectedJobResult,
21
15
  ProtectedQueryS3OutputConfiguration,
22
16
  } from "./models_0";
17
+ export interface CreateMembershipInput {
18
+ collaborationIdentifier: string | undefined;
19
+ queryLogStatus: MembershipQueryLogStatus | undefined;
20
+ jobLogStatus?: MembershipJobLogStatus | undefined;
21
+ tags?: Record<string, string> | undefined;
22
+ defaultResultConfiguration?:
23
+ | MembershipProtectedQueryResultConfiguration
24
+ | undefined;
25
+ defaultJobResultConfiguration?:
26
+ | MembershipProtectedJobResultConfiguration
27
+ | undefined;
28
+ paymentConfiguration?: MembershipPaymentConfiguration | undefined;
29
+ }
30
+ export declare const MembershipStatus: {
31
+ readonly ACTIVE: "ACTIVE";
32
+ readonly COLLABORATION_DELETED: "COLLABORATION_DELETED";
33
+ readonly REMOVED: "REMOVED";
34
+ };
35
+ export type MembershipStatus =
36
+ (typeof MembershipStatus)[keyof typeof MembershipStatus];
37
+ export interface Membership {
38
+ id: string | undefined;
39
+ arn: string | undefined;
40
+ collaborationArn: string | undefined;
41
+ collaborationId: string | undefined;
42
+ collaborationCreatorAccountId: string | undefined;
43
+ collaborationCreatorDisplayName: string | undefined;
44
+ collaborationName: string | undefined;
45
+ createTime: Date | undefined;
46
+ updateTime: Date | undefined;
47
+ status: MembershipStatus | undefined;
48
+ memberAbilities: MemberAbility[] | undefined;
49
+ mlMemberAbilities?: MLMemberAbilities | undefined;
50
+ queryLogStatus: MembershipQueryLogStatus | undefined;
51
+ jobLogStatus?: MembershipJobLogStatus | undefined;
52
+ defaultResultConfiguration?:
53
+ | MembershipProtectedQueryResultConfiguration
54
+ | undefined;
55
+ defaultJobResultConfiguration?:
56
+ | MembershipProtectedJobResultConfiguration
57
+ | undefined;
58
+ paymentConfiguration: MembershipPaymentConfiguration | undefined;
59
+ }
60
+ export interface CreateMembershipOutput {
61
+ membership: Membership | undefined;
62
+ }
63
+ export interface DeleteMembershipInput {
64
+ membershipIdentifier: string | undefined;
65
+ }
66
+ export interface DeleteMembershipOutput {}
67
+ export interface GetMembershipInput {
68
+ membershipIdentifier: string | undefined;
69
+ }
70
+ export interface GetMembershipOutput {
71
+ membership: Membership | undefined;
72
+ }
73
+ export interface GetProtectedJobInput {
74
+ membershipIdentifier: string | undefined;
75
+ protectedJobIdentifier: string | undefined;
76
+ }
77
+ export interface ProtectedJobError {
78
+ message: string | undefined;
79
+ code: string | undefined;
80
+ }
81
+ export interface ProtectedJobParameters {
82
+ analysisTemplateArn?: string | undefined;
83
+ }
84
+ export interface ProtectedJobSingleMemberOutput {
85
+ accountId: string | undefined;
86
+ }
87
+ export interface ProtectedJobS3Output {
88
+ location: string | undefined;
89
+ }
90
+ export type ProtectedJobOutput =
91
+ | ProtectedJobOutput.MemberListMember
92
+ | ProtectedJobOutput.S3Member
93
+ | ProtectedJobOutput.$UnknownMember;
94
+ export declare namespace ProtectedJobOutput {
95
+ interface S3Member {
96
+ s3: ProtectedJobS3Output;
97
+ memberList?: never;
98
+ $unknown?: never;
99
+ }
100
+ interface MemberListMember {
101
+ s3?: never;
102
+ memberList: ProtectedJobSingleMemberOutput[];
103
+ $unknown?: never;
104
+ }
105
+ interface $UnknownMember {
106
+ s3?: never;
107
+ memberList?: never;
108
+ $unknown: [string, any];
109
+ }
110
+ interface Visitor<T> {
111
+ s3: (value: ProtectedJobS3Output) => T;
112
+ memberList: (value: ProtectedJobSingleMemberOutput[]) => T;
113
+ _: (name: string, value: any) => T;
114
+ }
115
+ const visit: <T>(value: ProtectedJobOutput, visitor: Visitor<T>) => T;
116
+ }
117
+ export interface ProtectedJobResult {
118
+ output: ProtectedJobOutput | undefined;
119
+ }
120
+ export interface ProtectedJobMemberOutputConfigurationOutput {
121
+ accountId: string | undefined;
122
+ }
23
123
  export interface ProtectedJobS3OutputConfigurationOutput {
24
124
  bucket: string | undefined;
25
125
  keyPrefix?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCollaborationChangeRequestsCommandInput,
4
+ ListCollaborationChangeRequestsCommandOutput,
5
+ } from "../commands/ListCollaborationChangeRequestsCommand";
6
+ import { CleanRoomsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCollaborationChangeRequests: (
8
+ config: CleanRoomsPaginationConfiguration,
9
+ input: ListCollaborationChangeRequestsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCollaborationChangeRequestsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAnalysisTemplatesPaginator";
3
3
  export * from "./ListCollaborationAnalysisTemplatesPaginator";
4
+ export * from "./ListCollaborationChangeRequestsPaginator";
4
5
  export * from "./ListCollaborationConfiguredAudienceModelAssociationsPaginator";
5
6
  export * from "./ListCollaborationIdNamespaceAssociationsPaginator";
6
7
  export * from "./ListCollaborationPrivacyBudgetTemplatesPaginator";
@@ -19,6 +19,10 @@ import {
19
19
  CreateAnalysisTemplateCommandInput,
20
20
  CreateAnalysisTemplateCommandOutput,
21
21
  } from "../commands/CreateAnalysisTemplateCommand";
22
+ import {
23
+ CreateCollaborationChangeRequestCommandInput,
24
+ CreateCollaborationChangeRequestCommandOutput,
25
+ } from "../commands/CreateCollaborationChangeRequestCommand";
22
26
  import {
23
27
  CreateCollaborationCommandInput,
24
28
  CreateCollaborationCommandOutput,
@@ -115,6 +119,10 @@ import {
115
119
  GetCollaborationAnalysisTemplateCommandInput,
116
120
  GetCollaborationAnalysisTemplateCommandOutput,
117
121
  } from "../commands/GetCollaborationAnalysisTemplateCommand";
122
+ import {
123
+ GetCollaborationChangeRequestCommandInput,
124
+ GetCollaborationChangeRequestCommandOutput,
125
+ } from "../commands/GetCollaborationChangeRequestCommand";
118
126
  import {
119
127
  GetCollaborationCommandInput,
120
128
  GetCollaborationCommandOutput,
@@ -191,6 +199,10 @@ import {
191
199
  ListCollaborationAnalysisTemplatesCommandInput,
192
200
  ListCollaborationAnalysisTemplatesCommandOutput,
193
201
  } from "../commands/ListCollaborationAnalysisTemplatesCommand";
202
+ import {
203
+ ListCollaborationChangeRequestsCommandInput,
204
+ ListCollaborationChangeRequestsCommandOutput,
205
+ } from "../commands/ListCollaborationChangeRequestsCommand";
194
206
  import {
195
207
  ListCollaborationConfiguredAudienceModelAssociationsCommandInput,
196
208
  ListCollaborationConfiguredAudienceModelAssociationsCommandOutput,
@@ -359,6 +371,10 @@ export declare const se_CreateCollaborationCommand: (
359
371
  input: CreateCollaborationCommandInput,
360
372
  context: __SerdeContext
361
373
  ) => Promise<__HttpRequest>;
374
+ export declare const se_CreateCollaborationChangeRequestCommand: (
375
+ input: CreateCollaborationChangeRequestCommandInput,
376
+ context: __SerdeContext
377
+ ) => Promise<__HttpRequest>;
362
378
  export declare const se_CreateConfiguredAudienceModelAssociationCommand: (
363
379
  input: CreateConfiguredAudienceModelAssociationCommandInput,
364
380
  context: __SerdeContext
@@ -455,6 +471,10 @@ export declare const se_GetCollaborationAnalysisTemplateCommand: (
455
471
  input: GetCollaborationAnalysisTemplateCommandInput,
456
472
  context: __SerdeContext
457
473
  ) => Promise<__HttpRequest>;
474
+ export declare const se_GetCollaborationChangeRequestCommand: (
475
+ input: GetCollaborationChangeRequestCommandInput,
476
+ context: __SerdeContext
477
+ ) => Promise<__HttpRequest>;
458
478
  export declare const se_GetCollaborationConfiguredAudienceModelAssociationCommand: (
459
479
  input: GetCollaborationConfiguredAudienceModelAssociationCommandInput,
460
480
  context: __SerdeContext
@@ -527,6 +547,10 @@ export declare const se_ListCollaborationAnalysisTemplatesCommand: (
527
547
  input: ListCollaborationAnalysisTemplatesCommandInput,
528
548
  context: __SerdeContext
529
549
  ) => Promise<__HttpRequest>;
550
+ export declare const se_ListCollaborationChangeRequestsCommand: (
551
+ input: ListCollaborationChangeRequestsCommandInput,
552
+ context: __SerdeContext
553
+ ) => Promise<__HttpRequest>;
530
554
  export declare const se_ListCollaborationConfiguredAudienceModelAssociationsCommand: (
531
555
  input: ListCollaborationConfiguredAudienceModelAssociationsCommandInput,
532
556
  context: __SerdeContext
@@ -695,6 +719,10 @@ export declare const de_CreateCollaborationCommand: (
695
719
  output: __HttpResponse,
696
720
  context: __SerdeContext
697
721
  ) => Promise<CreateCollaborationCommandOutput>;
722
+ export declare const de_CreateCollaborationChangeRequestCommand: (
723
+ output: __HttpResponse,
724
+ context: __SerdeContext
725
+ ) => Promise<CreateCollaborationChangeRequestCommandOutput>;
698
726
  export declare const de_CreateConfiguredAudienceModelAssociationCommand: (
699
727
  output: __HttpResponse,
700
728
  context: __SerdeContext
@@ -791,6 +819,10 @@ export declare const de_GetCollaborationAnalysisTemplateCommand: (
791
819
  output: __HttpResponse,
792
820
  context: __SerdeContext
793
821
  ) => Promise<GetCollaborationAnalysisTemplateCommandOutput>;
822
+ export declare const de_GetCollaborationChangeRequestCommand: (
823
+ output: __HttpResponse,
824
+ context: __SerdeContext
825
+ ) => Promise<GetCollaborationChangeRequestCommandOutput>;
794
826
  export declare const de_GetCollaborationConfiguredAudienceModelAssociationCommand: (
795
827
  output: __HttpResponse,
796
828
  context: __SerdeContext
@@ -863,6 +895,10 @@ export declare const de_ListCollaborationAnalysisTemplatesCommand: (
863
895
  output: __HttpResponse,
864
896
  context: __SerdeContext
865
897
  ) => Promise<ListCollaborationAnalysisTemplatesCommandOutput>;
898
+ export declare const de_ListCollaborationChangeRequestsCommand: (
899
+ output: __HttpResponse,
900
+ context: __SerdeContext
901
+ ) => Promise<ListCollaborationChangeRequestsCommandOutput>;
866
902
  export declare const de_ListCollaborationConfiguredAudienceModelAssociationsCommand: (
867
903
  output: __HttpResponse,
868
904
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cleanrooms",
3
3
  "description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native",
4
- "version": "3.879.0",
4
+ "version": "3.881.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cleanrooms",