@aws-sdk/client-cleanrooms 3.1076.0 → 3.1077.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.
- package/README.md +84 -0
- package/dist-cjs/index.js +769 -42
- package/dist-es/CleanRooms.js +28 -0
- package/dist-es/commands/CreateIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/CreateIntermediateTableCommand.js +16 -0
- package/dist-es/commands/DeleteIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/DeleteIntermediateTableCommand.js +16 -0
- package/dist-es/commands/DisallowIntermediateTableCommand.js +16 -0
- package/dist-es/commands/GetIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/GetIntermediateTableCommand.js +16 -0
- package/dist-es/commands/ListIntermediateTableVersionsCommand.js +16 -0
- package/dist-es/commands/ListIntermediateTablesCommand.js +16 -0
- package/dist-es/commands/PopulateIntermediateTableCommand.js +16 -0
- package/dist-es/commands/UpdateIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/UpdateIntermediateTableCommand.js +16 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +53 -4
- package/dist-es/pagination/ListIntermediateTableVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListIntermediateTablesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +467 -36
- package/dist-types/CleanRooms.d.ts +98 -0
- package/dist-types/CleanRoomsClient.d.ts +14 -2
- package/dist-types/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +10 -8
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +9 -2
- package/dist-types/commands/CreateCollaborationCommand.d.ts +1 -1
- package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +12 -0
- package/dist-types/commands/CreateConfiguredTableAssociationCommand.d.ts +9 -0
- package/dist-types/commands/CreateIdMappingTableCommand.d.ts +9 -0
- package/dist-types/commands/CreateIntermediateTableAnalysisRuleCommand.d.ts +163 -0
- package/dist-types/commands/CreateIntermediateTableCommand.d.ts +231 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntermediateTableAnalysisRuleCommand.d.ts +94 -0
- package/dist-types/commands/DeleteIntermediateTableCommand.d.ts +93 -0
- package/dist-types/commands/DeleteMembershipCommand.d.ts +1 -1
- package/dist-types/commands/DisallowIntermediateTableCommand.d.ts +94 -0
- package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +6 -0
- package/dist-types/commands/GetConfiguredTableAssociationCommand.d.ts +9 -0
- package/dist-types/commands/GetIdMappingTableCommand.d.ts +9 -0
- package/dist-types/commands/GetIntermediateTableAnalysisRuleCommand.d.ts +128 -0
- package/dist-types/commands/GetIntermediateTableCommand.d.ts +213 -0
- package/dist-types/commands/GetMembershipCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedJobCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedQueryCommand.d.ts +6 -2
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +10 -8
- package/dist-types/commands/GetSchemaCommand.d.ts +9 -2
- package/dist-types/commands/ListIntermediateTableVersionsCommand.d.ts +106 -0
- package/dist-types/commands/ListIntermediateTablesCommand.d.ts +112 -0
- package/dist-types/commands/ListProtectedQueriesCommand.d.ts +5 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PopulateIntermediateTableCommand.d.ts +115 -0
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +10 -0
- package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +12 -0
- package/dist-types/commands/UpdateConfiguredTableAssociationCommand.d.ts +9 -0
- package/dist-types/commands/UpdateIdMappingTableCommand.d.ts +9 -0
- package/dist-types/commands/UpdateIntermediateTableAnalysisRuleCommand.d.ts +161 -0
- package/dist-types/commands/UpdateIntermediateTableCommand.d.ts +221 -0
- package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +125 -12
- package/dist-types/models/models_0.d.ts +729 -436
- package/dist-types/models/models_1.d.ts +1032 -3
- package/dist-types/pagination/ListIntermediateTableVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntermediateTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +236 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateIntermediateTableAnalysisRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIntermediateTableAnalysisRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisallowIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetIntermediateTableAnalysisRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProtectedJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProtectedQueryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListIntermediateTableVersionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListIntermediateTablesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PopulateIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateIntermediateTableAnalysisRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +71 -6
- package/dist-types/ts3.4/models/models_0.d.ts +299 -261
- package/dist-types/ts3.4/models/models_1.d.ts +345 -17
- package/dist-types/ts3.4/pagination/ListIntermediateTableVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntermediateTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -0
- package/package.json +6 -8
package/dist-es/CleanRooms.js
CHANGED
|
@@ -13,6 +13,8 @@ import { CreateConfiguredTableAssociationCommand, } from "./commands/CreateConfi
|
|
|
13
13
|
import { CreateConfiguredTableCommand, } from "./commands/CreateConfiguredTableCommand";
|
|
14
14
|
import { CreateIdMappingTableCommand, } from "./commands/CreateIdMappingTableCommand";
|
|
15
15
|
import { CreateIdNamespaceAssociationCommand, } from "./commands/CreateIdNamespaceAssociationCommand";
|
|
16
|
+
import { CreateIntermediateTableAnalysisRuleCommand, } from "./commands/CreateIntermediateTableAnalysisRuleCommand";
|
|
17
|
+
import { CreateIntermediateTableCommand, } from "./commands/CreateIntermediateTableCommand";
|
|
16
18
|
import { CreateMembershipCommand, } from "./commands/CreateMembershipCommand";
|
|
17
19
|
import { CreatePrivacyBudgetTemplateCommand, } from "./commands/CreatePrivacyBudgetTemplateCommand";
|
|
18
20
|
import { DeleteAnalysisTemplateCommand, } from "./commands/DeleteAnalysisTemplateCommand";
|
|
@@ -24,9 +26,12 @@ import { DeleteConfiguredTableAssociationCommand, } from "./commands/DeleteConfi
|
|
|
24
26
|
import { DeleteConfiguredTableCommand, } from "./commands/DeleteConfiguredTableCommand";
|
|
25
27
|
import { DeleteIdMappingTableCommand, } from "./commands/DeleteIdMappingTableCommand";
|
|
26
28
|
import { DeleteIdNamespaceAssociationCommand, } from "./commands/DeleteIdNamespaceAssociationCommand";
|
|
29
|
+
import { DeleteIntermediateTableAnalysisRuleCommand, } from "./commands/DeleteIntermediateTableAnalysisRuleCommand";
|
|
30
|
+
import { DeleteIntermediateTableCommand, } from "./commands/DeleteIntermediateTableCommand";
|
|
27
31
|
import { DeleteMemberCommand, } from "./commands/DeleteMemberCommand";
|
|
28
32
|
import { DeleteMembershipCommand, } from "./commands/DeleteMembershipCommand";
|
|
29
33
|
import { DeletePrivacyBudgetTemplateCommand, } from "./commands/DeletePrivacyBudgetTemplateCommand";
|
|
34
|
+
import { DisallowIntermediateTableCommand, } from "./commands/DisallowIntermediateTableCommand";
|
|
30
35
|
import { GetAnalysisTemplateCommand, } from "./commands/GetAnalysisTemplateCommand";
|
|
31
36
|
import { GetCollaborationAnalysisTemplateCommand, } from "./commands/GetCollaborationAnalysisTemplateCommand";
|
|
32
37
|
import { GetCollaborationChangeRequestCommand, } from "./commands/GetCollaborationChangeRequestCommand";
|
|
@@ -41,6 +46,8 @@ import { GetConfiguredTableAssociationCommand, } from "./commands/GetConfiguredT
|
|
|
41
46
|
import { GetConfiguredTableCommand, } from "./commands/GetConfiguredTableCommand";
|
|
42
47
|
import { GetIdMappingTableCommand, } from "./commands/GetIdMappingTableCommand";
|
|
43
48
|
import { GetIdNamespaceAssociationCommand, } from "./commands/GetIdNamespaceAssociationCommand";
|
|
49
|
+
import { GetIntermediateTableAnalysisRuleCommand, } from "./commands/GetIntermediateTableAnalysisRuleCommand";
|
|
50
|
+
import { GetIntermediateTableCommand, } from "./commands/GetIntermediateTableCommand";
|
|
44
51
|
import { GetMembershipCommand, } from "./commands/GetMembershipCommand";
|
|
45
52
|
import { GetPrivacyBudgetTemplateCommand, } from "./commands/GetPrivacyBudgetTemplateCommand";
|
|
46
53
|
import { GetProtectedJobCommand, } from "./commands/GetProtectedJobCommand";
|
|
@@ -60,6 +67,8 @@ import { ListConfiguredTableAssociationsCommand, } from "./commands/ListConfigur
|
|
|
60
67
|
import { ListConfiguredTablesCommand, } from "./commands/ListConfiguredTablesCommand";
|
|
61
68
|
import { ListIdMappingTablesCommand, } from "./commands/ListIdMappingTablesCommand";
|
|
62
69
|
import { ListIdNamespaceAssociationsCommand, } from "./commands/ListIdNamespaceAssociationsCommand";
|
|
70
|
+
import { ListIntermediateTablesCommand, } from "./commands/ListIntermediateTablesCommand";
|
|
71
|
+
import { ListIntermediateTableVersionsCommand, } from "./commands/ListIntermediateTableVersionsCommand";
|
|
63
72
|
import { ListMembersCommand, } from "./commands/ListMembersCommand";
|
|
64
73
|
import { ListMembershipsCommand, } from "./commands/ListMembershipsCommand";
|
|
65
74
|
import { ListPrivacyBudgetsCommand, } from "./commands/ListPrivacyBudgetsCommand";
|
|
@@ -69,6 +78,7 @@ import { ListProtectedQueriesCommand, } from "./commands/ListProtectedQueriesCom
|
|
|
69
78
|
import { ListSchemasCommand, } from "./commands/ListSchemasCommand";
|
|
70
79
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
71
80
|
import { PopulateIdMappingTableCommand, } from "./commands/PopulateIdMappingTableCommand";
|
|
81
|
+
import { PopulateIntermediateTableCommand, } from "./commands/PopulateIntermediateTableCommand";
|
|
72
82
|
import { PreviewPrivacyImpactCommand, } from "./commands/PreviewPrivacyImpactCommand";
|
|
73
83
|
import { StartProtectedJobCommand, } from "./commands/StartProtectedJobCommand";
|
|
74
84
|
import { StartProtectedQueryCommand, } from "./commands/StartProtectedQueryCommand";
|
|
@@ -84,6 +94,8 @@ import { UpdateConfiguredTableAssociationCommand, } from "./commands/UpdateConfi
|
|
|
84
94
|
import { UpdateConfiguredTableCommand, } from "./commands/UpdateConfiguredTableCommand";
|
|
85
95
|
import { UpdateIdMappingTableCommand, } from "./commands/UpdateIdMappingTableCommand";
|
|
86
96
|
import { UpdateIdNamespaceAssociationCommand, } from "./commands/UpdateIdNamespaceAssociationCommand";
|
|
97
|
+
import { UpdateIntermediateTableAnalysisRuleCommand, } from "./commands/UpdateIntermediateTableAnalysisRuleCommand";
|
|
98
|
+
import { UpdateIntermediateTableCommand, } from "./commands/UpdateIntermediateTableCommand";
|
|
87
99
|
import { UpdateMembershipCommand, } from "./commands/UpdateMembershipCommand";
|
|
88
100
|
import { UpdatePrivacyBudgetTemplateCommand, } from "./commands/UpdatePrivacyBudgetTemplateCommand";
|
|
89
101
|
import { UpdateProtectedJobCommand, } from "./commands/UpdateProtectedJobCommand";
|
|
@@ -101,6 +113,8 @@ import { paginateListConfiguredTableAssociations } from "./pagination/ListConfig
|
|
|
101
113
|
import { paginateListConfiguredTables } from "./pagination/ListConfiguredTablesPaginator";
|
|
102
114
|
import { paginateListIdMappingTables } from "./pagination/ListIdMappingTablesPaginator";
|
|
103
115
|
import { paginateListIdNamespaceAssociations } from "./pagination/ListIdNamespaceAssociationsPaginator";
|
|
116
|
+
import { paginateListIntermediateTables } from "./pagination/ListIntermediateTablesPaginator";
|
|
117
|
+
import { paginateListIntermediateTableVersions } from "./pagination/ListIntermediateTableVersionsPaginator";
|
|
104
118
|
import { paginateListMemberships } from "./pagination/ListMembershipsPaginator";
|
|
105
119
|
import { paginateListMembers } from "./pagination/ListMembersPaginator";
|
|
106
120
|
import { paginateListPrivacyBudgets } from "./pagination/ListPrivacyBudgetsPaginator";
|
|
@@ -122,6 +136,8 @@ const commands = {
|
|
|
122
136
|
CreateConfiguredTableAssociationAnalysisRuleCommand,
|
|
123
137
|
CreateIdMappingTableCommand,
|
|
124
138
|
CreateIdNamespaceAssociationCommand,
|
|
139
|
+
CreateIntermediateTableCommand,
|
|
140
|
+
CreateIntermediateTableAnalysisRuleCommand,
|
|
125
141
|
CreateMembershipCommand,
|
|
126
142
|
CreatePrivacyBudgetTemplateCommand,
|
|
127
143
|
DeleteAnalysisTemplateCommand,
|
|
@@ -133,9 +149,12 @@ const commands = {
|
|
|
133
149
|
DeleteConfiguredTableAssociationAnalysisRuleCommand,
|
|
134
150
|
DeleteIdMappingTableCommand,
|
|
135
151
|
DeleteIdNamespaceAssociationCommand,
|
|
152
|
+
DeleteIntermediateTableCommand,
|
|
153
|
+
DeleteIntermediateTableAnalysisRuleCommand,
|
|
136
154
|
DeleteMemberCommand,
|
|
137
155
|
DeleteMembershipCommand,
|
|
138
156
|
DeletePrivacyBudgetTemplateCommand,
|
|
157
|
+
DisallowIntermediateTableCommand,
|
|
139
158
|
GetAnalysisTemplateCommand,
|
|
140
159
|
GetCollaborationCommand,
|
|
141
160
|
GetCollaborationAnalysisTemplateCommand,
|
|
@@ -150,6 +169,8 @@ const commands = {
|
|
|
150
169
|
GetConfiguredTableAssociationAnalysisRuleCommand,
|
|
151
170
|
GetIdMappingTableCommand,
|
|
152
171
|
GetIdNamespaceAssociationCommand,
|
|
172
|
+
GetIntermediateTableCommand,
|
|
173
|
+
GetIntermediateTableAnalysisRuleCommand,
|
|
153
174
|
GetMembershipCommand,
|
|
154
175
|
GetPrivacyBudgetTemplateCommand,
|
|
155
176
|
GetProtectedJobCommand,
|
|
@@ -169,6 +190,8 @@ const commands = {
|
|
|
169
190
|
ListConfiguredTablesCommand,
|
|
170
191
|
ListIdMappingTablesCommand,
|
|
171
192
|
ListIdNamespaceAssociationsCommand,
|
|
193
|
+
ListIntermediateTablesCommand,
|
|
194
|
+
ListIntermediateTableVersionsCommand,
|
|
172
195
|
ListMembersCommand,
|
|
173
196
|
ListMembershipsCommand,
|
|
174
197
|
ListPrivacyBudgetsCommand,
|
|
@@ -178,6 +201,7 @@ const commands = {
|
|
|
178
201
|
ListSchemasCommand,
|
|
179
202
|
ListTagsForResourceCommand,
|
|
180
203
|
PopulateIdMappingTableCommand,
|
|
204
|
+
PopulateIntermediateTableCommand,
|
|
181
205
|
PreviewPrivacyImpactCommand,
|
|
182
206
|
StartProtectedJobCommand,
|
|
183
207
|
StartProtectedQueryCommand,
|
|
@@ -193,6 +217,8 @@ const commands = {
|
|
|
193
217
|
UpdateConfiguredTableAssociationAnalysisRuleCommand,
|
|
194
218
|
UpdateIdMappingTableCommand,
|
|
195
219
|
UpdateIdNamespaceAssociationCommand,
|
|
220
|
+
UpdateIntermediateTableCommand,
|
|
221
|
+
UpdateIntermediateTableAnalysisRuleCommand,
|
|
196
222
|
UpdateMembershipCommand,
|
|
197
223
|
UpdatePrivacyBudgetTemplateCommand,
|
|
198
224
|
UpdateProtectedJobCommand,
|
|
@@ -212,6 +238,8 @@ const paginators = {
|
|
|
212
238
|
paginateListConfiguredTables,
|
|
213
239
|
paginateListIdMappingTables,
|
|
214
240
|
paginateListIdNamespaceAssociations,
|
|
241
|
+
paginateListIntermediateTables,
|
|
242
|
+
paginateListIntermediateTableVersions,
|
|
215
243
|
paginateListMembers,
|
|
216
244
|
paginateListMemberships,
|
|
217
245
|
paginateListPrivacyBudgets,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateIntermediateTableAnalysisRule$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateIntermediateTableAnalysisRuleCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "CreateIntermediateTableAnalysisRule", {})
|
|
13
|
+
.n("CleanRoomsClient", "CreateIntermediateTableAnalysisRuleCommand")
|
|
14
|
+
.sc(CreateIntermediateTableAnalysisRule$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateIntermediateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateIntermediateTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "CreateIntermediateTable", {})
|
|
13
|
+
.n("CleanRoomsClient", "CreateIntermediateTableCommand")
|
|
14
|
+
.sc(CreateIntermediateTable$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteIntermediateTableAnalysisRule$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteIntermediateTableAnalysisRuleCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "DeleteIntermediateTableAnalysisRule", {})
|
|
13
|
+
.n("CleanRoomsClient", "DeleteIntermediateTableAnalysisRuleCommand")
|
|
14
|
+
.sc(DeleteIntermediateTableAnalysisRule$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteIntermediateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteIntermediateTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "DeleteIntermediateTable", {})
|
|
13
|
+
.n("CleanRoomsClient", "DeleteIntermediateTableCommand")
|
|
14
|
+
.sc(DeleteIntermediateTable$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DisallowIntermediateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DisallowIntermediateTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "DisallowIntermediateTable", {})
|
|
13
|
+
.n("CleanRoomsClient", "DisallowIntermediateTableCommand")
|
|
14
|
+
.sc(DisallowIntermediateTable$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetIntermediateTableAnalysisRule$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetIntermediateTableAnalysisRuleCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "GetIntermediateTableAnalysisRule", {})
|
|
13
|
+
.n("CleanRoomsClient", "GetIntermediateTableAnalysisRuleCommand")
|
|
14
|
+
.sc(GetIntermediateTableAnalysisRule$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetIntermediateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetIntermediateTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "GetIntermediateTable", {})
|
|
13
|
+
.n("CleanRoomsClient", "GetIntermediateTableCommand")
|
|
14
|
+
.sc(GetIntermediateTable$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListIntermediateTableVersions$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListIntermediateTableVersionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "ListIntermediateTableVersions", {})
|
|
13
|
+
.n("CleanRoomsClient", "ListIntermediateTableVersionsCommand")
|
|
14
|
+
.sc(ListIntermediateTableVersions$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListIntermediateTables$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListIntermediateTablesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "ListIntermediateTables", {})
|
|
13
|
+
.n("CleanRoomsClient", "ListIntermediateTablesCommand")
|
|
14
|
+
.sc(ListIntermediateTables$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PopulateIntermediateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PopulateIntermediateTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "PopulateIntermediateTable", {})
|
|
13
|
+
.n("CleanRoomsClient", "PopulateIntermediateTableCommand")
|
|
14
|
+
.sc(PopulateIntermediateTable$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateIntermediateTableAnalysisRule$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateIntermediateTableAnalysisRuleCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "UpdateIntermediateTableAnalysisRule", {})
|
|
13
|
+
.n("CleanRoomsClient", "UpdateIntermediateTableAnalysisRuleCommand")
|
|
14
|
+
.sc(UpdateIntermediateTableAnalysisRule$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateIntermediateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateIntermediateTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBastionControlPlaneServiceLambda", "UpdateIntermediateTable", {})
|
|
13
|
+
.n("CleanRoomsClient", "UpdateIntermediateTableCommand")
|
|
14
|
+
.sc(UpdateIntermediateTable$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -11,6 +11,8 @@ export * from "./CreateConfiguredTableAssociationCommand";
|
|
|
11
11
|
export * from "./CreateConfiguredTableCommand";
|
|
12
12
|
export * from "./CreateIdMappingTableCommand";
|
|
13
13
|
export * from "./CreateIdNamespaceAssociationCommand";
|
|
14
|
+
export * from "./CreateIntermediateTableAnalysisRuleCommand";
|
|
15
|
+
export * from "./CreateIntermediateTableCommand";
|
|
14
16
|
export * from "./CreateMembershipCommand";
|
|
15
17
|
export * from "./CreatePrivacyBudgetTemplateCommand";
|
|
16
18
|
export * from "./DeleteAnalysisTemplateCommand";
|
|
@@ -22,9 +24,12 @@ export * from "./DeleteConfiguredTableAssociationCommand";
|
|
|
22
24
|
export * from "./DeleteConfiguredTableCommand";
|
|
23
25
|
export * from "./DeleteIdMappingTableCommand";
|
|
24
26
|
export * from "./DeleteIdNamespaceAssociationCommand";
|
|
27
|
+
export * from "./DeleteIntermediateTableAnalysisRuleCommand";
|
|
28
|
+
export * from "./DeleteIntermediateTableCommand";
|
|
25
29
|
export * from "./DeleteMemberCommand";
|
|
26
30
|
export * from "./DeleteMembershipCommand";
|
|
27
31
|
export * from "./DeletePrivacyBudgetTemplateCommand";
|
|
32
|
+
export * from "./DisallowIntermediateTableCommand";
|
|
28
33
|
export * from "./GetAnalysisTemplateCommand";
|
|
29
34
|
export * from "./GetCollaborationAnalysisTemplateCommand";
|
|
30
35
|
export * from "./GetCollaborationChangeRequestCommand";
|
|
@@ -39,6 +44,8 @@ export * from "./GetConfiguredTableAssociationCommand";
|
|
|
39
44
|
export * from "./GetConfiguredTableCommand";
|
|
40
45
|
export * from "./GetIdMappingTableCommand";
|
|
41
46
|
export * from "./GetIdNamespaceAssociationCommand";
|
|
47
|
+
export * from "./GetIntermediateTableAnalysisRuleCommand";
|
|
48
|
+
export * from "./GetIntermediateTableCommand";
|
|
42
49
|
export * from "./GetMembershipCommand";
|
|
43
50
|
export * from "./GetPrivacyBudgetTemplateCommand";
|
|
44
51
|
export * from "./GetProtectedJobCommand";
|
|
@@ -58,6 +65,8 @@ export * from "./ListConfiguredTableAssociationsCommand";
|
|
|
58
65
|
export * from "./ListConfiguredTablesCommand";
|
|
59
66
|
export * from "./ListIdMappingTablesCommand";
|
|
60
67
|
export * from "./ListIdNamespaceAssociationsCommand";
|
|
68
|
+
export * from "./ListIntermediateTableVersionsCommand";
|
|
69
|
+
export * from "./ListIntermediateTablesCommand";
|
|
61
70
|
export * from "./ListMembersCommand";
|
|
62
71
|
export * from "./ListMembershipsCommand";
|
|
63
72
|
export * from "./ListPrivacyBudgetTemplatesCommand";
|
|
@@ -67,6 +76,7 @@ export * from "./ListProtectedQueriesCommand";
|
|
|
67
76
|
export * from "./ListSchemasCommand";
|
|
68
77
|
export * from "./ListTagsForResourceCommand";
|
|
69
78
|
export * from "./PopulateIdMappingTableCommand";
|
|
79
|
+
export * from "./PopulateIntermediateTableCommand";
|
|
70
80
|
export * from "./PreviewPrivacyImpactCommand";
|
|
71
81
|
export * from "./StartProtectedJobCommand";
|
|
72
82
|
export * from "./StartProtectedQueryCommand";
|
|
@@ -82,6 +92,8 @@ export * from "./UpdateConfiguredTableAssociationCommand";
|
|
|
82
92
|
export * from "./UpdateConfiguredTableCommand";
|
|
83
93
|
export * from "./UpdateIdMappingTableCommand";
|
|
84
94
|
export * from "./UpdateIdNamespaceAssociationCommand";
|
|
95
|
+
export * from "./UpdateIntermediateTableAnalysisRuleCommand";
|
|
96
|
+
export * from "./UpdateIntermediateTableCommand";
|
|
85
97
|
export * from "./UpdateMembershipCommand";
|
|
86
98
|
export * from "./UpdatePrivacyBudgetTemplateCommand";
|
|
87
99
|
export * from "./UpdateProtectedJobCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -237,6 +237,12 @@ export const SchemaStatusReasonCode = {
|
|
|
237
237
|
COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED: "COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED",
|
|
238
238
|
DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED: "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED",
|
|
239
239
|
ID_MAPPING_TABLE_NOT_POPULATED: "ID_MAPPING_TABLE_NOT_POPULATED",
|
|
240
|
+
INTERMEDIATE_TABLE_ANALYSIS_RULE_MISSING: "INTERMEDIATE_TABLE_ANALYSIS_RULE_MISSING",
|
|
241
|
+
INTERMEDIATE_TABLE_BASE_TABLE_REMOVED: "INTERMEDIATE_TABLE_BASE_TABLE_REMOVED",
|
|
242
|
+
INTERMEDIATE_TABLE_DISALLOWED_BY_DATA_PROVIDER: "INTERMEDIATE_TABLE_DISALLOWED_BY_DATA_PROVIDER",
|
|
243
|
+
INTERMEDIATE_TABLE_INHERITED_CONSTRAINTS_VIOLATED: "INTERMEDIATE_TABLE_INHERITED_CONSTRAINTS_VIOLATED",
|
|
244
|
+
INTERMEDIATE_TABLE_NOT_POPULATED: "INTERMEDIATE_TABLE_NOT_POPULATED",
|
|
245
|
+
INTERMEDIATE_TABLE_RETENTION_PERIOD_EXPIRED: "INTERMEDIATE_TABLE_RETENTION_PERIOD_EXPIRED",
|
|
240
246
|
RESULT_RECEIVERS_NOT_ALLOWED: "RESULT_RECEIVERS_NOT_ALLOWED",
|
|
241
247
|
RESULT_RECEIVERS_NOT_CONFIGURED: "RESULT_RECEIVERS_NOT_CONFIGURED",
|
|
242
248
|
};
|
|
@@ -254,6 +260,7 @@ export const SelectedAnalysisMethod = {
|
|
|
254
260
|
};
|
|
255
261
|
export const SchemaType = {
|
|
256
262
|
ID_MAPPING_TABLE: "ID_MAPPING_TABLE",
|
|
263
|
+
INTERMEDIATE_TABLE: "INTERMEDIATE_TABLE",
|
|
257
264
|
TABLE: "TABLE",
|
|
258
265
|
};
|
|
259
266
|
export const MemberAbility = {
|
|
@@ -332,6 +339,18 @@ export const ConfiguredTableAssociationAnalysisRuleType = {
|
|
|
332
339
|
CUSTOM: "CUSTOM",
|
|
333
340
|
LIST: "LIST",
|
|
334
341
|
};
|
|
342
|
+
export const ResourceStatus = {
|
|
343
|
+
BASE_TABLE_REMOVED: "BASE_TABLE_REMOVED",
|
|
344
|
+
CREATED: "CREATED",
|
|
345
|
+
DISALLOWED_BY_DATA_PROVIDER: "DISALLOWED_BY_DATA_PROVIDER",
|
|
346
|
+
POPULATE_FAILED: "POPULATE_FAILED",
|
|
347
|
+
POPULATE_STARTED: "POPULATE_STARTED",
|
|
348
|
+
POPULATE_SUCCESS: "POPULATE_SUCCESS",
|
|
349
|
+
RETENTION_PERIOD_EXPIRED: "RETENTION_PERIOD_EXPIRED",
|
|
350
|
+
};
|
|
351
|
+
export const ChildResourceType = {
|
|
352
|
+
INTERMEDIATE_TABLE: "INTERMEDIATE_TABLE",
|
|
353
|
+
};
|
|
335
354
|
export const ConfiguredTableAnalysisRuleType = {
|
|
336
355
|
AGGREGATION: "AGGREGATION",
|
|
337
356
|
CUSTOM: "CUSTOM",
|
|
@@ -342,6 +361,40 @@ export const JobType = {
|
|
|
342
361
|
DELETE_ONLY: "DELETE_ONLY",
|
|
343
362
|
INCREMENTAL: "INCREMENTAL",
|
|
344
363
|
};
|
|
364
|
+
export const IntermediateTableAnalysisRuleType = {
|
|
365
|
+
CUSTOM: "CUSTOM",
|
|
366
|
+
};
|
|
367
|
+
export const PopulateIntermediateTableAnalysisType = {
|
|
368
|
+
QUERY: "QUERY",
|
|
369
|
+
};
|
|
370
|
+
export const BaseTableDependencyType = {
|
|
371
|
+
ID_MAPPING_TABLE: "ID_MAPPING_TABLE",
|
|
372
|
+
INTERMEDIATE_TABLE: "INTERMEDIATE_TABLE",
|
|
373
|
+
TABLE: "TABLE",
|
|
374
|
+
};
|
|
375
|
+
export const IntermediateTableStatus = {
|
|
376
|
+
BASE_TABLE_REMOVED: "BASE_TABLE_REMOVED",
|
|
377
|
+
CREATED: "CREATED",
|
|
378
|
+
DISALLOWED_BY_DATA_PROVIDER: "DISALLOWED_BY_DATA_PROVIDER",
|
|
379
|
+
POPULATE_FAILED: "POPULATE_FAILED",
|
|
380
|
+
POPULATE_STARTED: "POPULATE_STARTED",
|
|
381
|
+
POPULATE_SUCCESS: "POPULATE_SUCCESS",
|
|
382
|
+
RETENTION_PERIOD_EXPIRED: "RETENTION_PERIOD_EXPIRED",
|
|
383
|
+
};
|
|
384
|
+
export const BaseTableParentType = {
|
|
385
|
+
DIRECT: "DIRECT",
|
|
386
|
+
INDIRECT: "INDIRECT",
|
|
387
|
+
};
|
|
388
|
+
export const IntermediateTableVersionStatus = {
|
|
389
|
+
POPULATE_FAILED: "POPULATE_FAILED",
|
|
390
|
+
POPULATE_STARTED: "POPULATE_STARTED",
|
|
391
|
+
POPULATE_SUCCESS: "POPULATE_SUCCESS",
|
|
392
|
+
RETENTION_PERIOD_EXPIRED: "RETENTION_PERIOD_EXPIRED",
|
|
393
|
+
};
|
|
394
|
+
export const WorkerComputeType = {
|
|
395
|
+
CR1X: "CR.1X",
|
|
396
|
+
CR4X: "CR.4X",
|
|
397
|
+
};
|
|
345
398
|
export const ResultFormat = {
|
|
346
399
|
CSV: "CSV",
|
|
347
400
|
PARQUET: "PARQUET",
|
|
@@ -371,10 +424,6 @@ export const ProtectedJobStatus = {
|
|
|
371
424
|
SUBMITTED: "SUBMITTED",
|
|
372
425
|
SUCCESS: "SUCCESS",
|
|
373
426
|
};
|
|
374
|
-
export const WorkerComputeType = {
|
|
375
|
-
CR1X: "CR.1X",
|
|
376
|
-
CR4X: "CR.4X",
|
|
377
|
-
};
|
|
378
427
|
export const ProtectedQueryStatus = {
|
|
379
428
|
CANCELLED: "CANCELLED",
|
|
380
429
|
CANCELLING: "CANCELLING",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
3
|
+
import { ListIntermediateTableVersionsCommand, } from "../commands/ListIntermediateTableVersionsCommand";
|
|
4
|
+
export const paginateListIntermediateTableVersions = createPaginator(CleanRoomsClient, ListIntermediateTableVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
3
|
+
import { ListIntermediateTablesCommand, } from "../commands/ListIntermediateTablesCommand";
|
|
4
|
+
export const paginateListIntermediateTables = createPaginator(CleanRoomsClient, ListIntermediateTablesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -12,6 +12,8 @@ export * from "./ListConfiguredTableAssociationsPaginator";
|
|
|
12
12
|
export * from "./ListConfiguredTablesPaginator";
|
|
13
13
|
export * from "./ListIdMappingTablesPaginator";
|
|
14
14
|
export * from "./ListIdNamespaceAssociationsPaginator";
|
|
15
|
+
export * from "./ListIntermediateTablesPaginator";
|
|
16
|
+
export * from "./ListIntermediateTableVersionsPaginator";
|
|
15
17
|
export * from "./ListMembersPaginator";
|
|
16
18
|
export * from "./ListMembershipsPaginator";
|
|
17
19
|
export * from "./ListPrivacyBudgetsPaginator";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AWSBastionControlPlaneServiceLambda",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "CleanRooms",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|