@aws-sdk/client-cleanrooms 3.461.0 → 3.465.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 +136 -0
- package/dist-cjs/CleanRooms.js +34 -0
- package/dist-cjs/commands/CreateConfiguredAudienceModelAssociationCommand.js +51 -0
- package/dist-cjs/commands/CreatePrivacyBudgetTemplateCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfiguredAudienceModelAssociationCommand.js +51 -0
- package/dist-cjs/commands/DeletePrivacyBudgetTemplateCommand.js +51 -0
- package/dist-cjs/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +51 -0
- package/dist-cjs/commands/GetConfiguredAudienceModelAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetPrivacyBudgetTemplateCommand.js +51 -0
- package/dist-cjs/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +51 -0
- package/dist-cjs/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +51 -0
- package/dist-cjs/commands/ListCollaborationPrivacyBudgetsCommand.js +51 -0
- package/dist-cjs/commands/ListConfiguredAudienceModelAssociationsCommand.js +51 -0
- package/dist-cjs/commands/ListPrivacyBudgetTemplatesCommand.js +51 -0
- package/dist-cjs/commands/ListPrivacyBudgetsCommand.js +51 -0
- package/dist-cjs/commands/PreviewPrivacyImpactCommand.js +51 -0
- package/dist-cjs/commands/UpdateConfiguredAudienceModelAssociationCommand.js +51 -0
- package/dist-cjs/commands/UpdatePrivacyBudgetTemplateCommand.js +51 -0
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/models/models_0.js +64 -2
- package/dist-cjs/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/ListCollaborationPrivacyBudgetsPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfiguredAudienceModelAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListPrivacyBudgetTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/ListPrivacyBudgetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1513 -128
- package/dist-es/CleanRooms.js +34 -0
- package/dist-es/commands/CreateConfiguredAudienceModelAssociationCommand.js +47 -0
- package/dist-es/commands/CreatePrivacyBudgetTemplateCommand.js +47 -0
- package/dist-es/commands/DeleteConfiguredAudienceModelAssociationCommand.js +47 -0
- package/dist-es/commands/DeletePrivacyBudgetTemplateCommand.js +47 -0
- package/dist-es/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +47 -0
- package/dist-es/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +47 -0
- package/dist-es/commands/GetConfiguredAudienceModelAssociationCommand.js +47 -0
- package/dist-es/commands/GetPrivacyBudgetTemplateCommand.js +47 -0
- package/dist-es/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +47 -0
- package/dist-es/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +47 -0
- package/dist-es/commands/ListCollaborationPrivacyBudgetsCommand.js +47 -0
- package/dist-es/commands/ListConfiguredAudienceModelAssociationsCommand.js +47 -0
- package/dist-es/commands/ListPrivacyBudgetTemplatesCommand.js +47 -0
- package/dist-es/commands/ListPrivacyBudgetsCommand.js +47 -0
- package/dist-es/commands/PreviewPrivacyImpactCommand.js +47 -0
- package/dist-es/commands/UpdateConfiguredAudienceModelAssociationCommand.js +47 -0
- package/dist-es/commands/UpdatePrivacyBudgetTemplateCommand.js +47 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/models/models_0.js +62 -0
- package/dist-es/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.js +25 -0
- package/dist-es/pagination/ListCollaborationPrivacyBudgetsPaginator.js +25 -0
- package/dist-es/pagination/ListConfiguredAudienceModelAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListPrivacyBudgetTemplatesPaginator.js +25 -0
- package/dist-es/pagination/ListPrivacyBudgetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1541 -191
- package/dist-types/CleanRooms.d.ts +119 -0
- package/dist-types/CleanRoomsClient.d.ts +19 -2
- package/dist-types/commands/CreateConfiguredAudienceModelAssociationCommand.d.ts +114 -0
- package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +14 -0
- package/dist-types/commands/CreatePrivacyBudgetTemplateCommand.d.ts +119 -0
- package/dist-types/commands/DeleteConfiguredAudienceModelAssociationCommand.d.ts +87 -0
- package/dist-types/commands/DeletePrivacyBudgetTemplateCommand.d.ts +87 -0
- package/dist-types/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.d.ts +100 -0
- package/dist-types/commands/GetCollaborationPrivacyBudgetTemplateCommand.d.ts +105 -0
- package/dist-types/commands/GetConfiguredAudienceModelAssociationCommand.d.ts +102 -0
- package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +7 -0
- package/dist-types/commands/GetPrivacyBudgetTemplateCommand.d.ts +106 -0
- package/dist-types/commands/GetProtectedQueryCommand.d.ts +11 -0
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +7 -0
- package/dist-types/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.d.ts +103 -0
- package/dist-types/commands/ListCollaborationPrivacyBudgetTemplatesCommand.d.ts +102 -0
- package/dist-types/commands/ListCollaborationPrivacyBudgetsCommand.d.ts +116 -0
- package/dist-types/commands/ListConfiguredAudienceModelAssociationsCommand.d.ts +105 -0
- package/dist-types/commands/ListPrivacyBudgetTemplatesCommand.d.ts +103 -0
- package/dist-types/commands/ListPrivacyBudgetsCommand.d.ts +117 -0
- package/dist-types/commands/PreviewPrivacyImpactCommand.d.ts +103 -0
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +11 -0
- package/dist-types/commands/UpdateConfiguredAudienceModelAssociationCommand.d.ts +104 -0
- package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +14 -0
- package/dist-types/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +116 -0
- package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +11 -0
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/models/models_0.d.ts +2605 -1044
- package/dist-types/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationPrivacyBudgetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfiguredAudienceModelAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPrivacyBudgetTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPrivacyBudgetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +153 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +343 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +102 -0
- package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreatePrivacyBudgetTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeletePrivacyBudgetTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetCollaborationPrivacyBudgetTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfiguredAudienceModelAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPrivacyBudgetTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListCollaborationPrivacyBudgetTemplatesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCollaborationPrivacyBudgetsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfiguredAudienceModelAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPrivacyBudgetTemplatesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPrivacyBudgetsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PreviewPrivacyImpactCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +477 -0
- package/dist-types/ts3.4/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationPrivacyBudgetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfiguredAudienceModelAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPrivacyBudgetTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPrivacyBudgetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +204 -0
- package/package.json +14 -16
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListConfiguredAudienceModelAssociationsCommand, se_ListConfiguredAudienceModelAssociationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListConfiguredAudienceModelAssociationsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListConfiguredAudienceModelAssociationsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "CleanRoomsClient";
|
|
26
|
+
const commandName = "ListConfiguredAudienceModelAssociationsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSBastionControlPlaneServiceLambda",
|
|
35
|
+
operation: "ListConfiguredAudienceModelAssociations",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListConfiguredAudienceModelAssociationsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListConfiguredAudienceModelAssociationsCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListPrivacyBudgetTemplatesCommand, se_ListPrivacyBudgetTemplatesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListPrivacyBudgetTemplatesCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListPrivacyBudgetTemplatesCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "CleanRoomsClient";
|
|
26
|
+
const commandName = "ListPrivacyBudgetTemplatesCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSBastionControlPlaneServiceLambda",
|
|
35
|
+
operation: "ListPrivacyBudgetTemplates",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListPrivacyBudgetTemplatesCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListPrivacyBudgetTemplatesCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListPrivacyBudgetsCommand, se_ListPrivacyBudgetsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListPrivacyBudgetsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListPrivacyBudgetsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "CleanRoomsClient";
|
|
26
|
+
const commandName = "ListPrivacyBudgetsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSBastionControlPlaneServiceLambda",
|
|
35
|
+
operation: "ListPrivacyBudgets",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListPrivacyBudgetsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListPrivacyBudgetsCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_PreviewPrivacyImpactCommand, se_PreviewPrivacyImpactCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PreviewPrivacyImpactCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PreviewPrivacyImpactCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "CleanRoomsClient";
|
|
26
|
+
const commandName = "PreviewPrivacyImpactCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSBastionControlPlaneServiceLambda",
|
|
35
|
+
operation: "PreviewPrivacyImpact",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_PreviewPrivacyImpactCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_PreviewPrivacyImpactCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UpdateConfiguredAudienceModelAssociationCommand, se_UpdateConfiguredAudienceModelAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateConfiguredAudienceModelAssociationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConfiguredAudienceModelAssociationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "CleanRoomsClient";
|
|
26
|
+
const commandName = "UpdateConfiguredAudienceModelAssociationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSBastionControlPlaneServiceLambda",
|
|
35
|
+
operation: "UpdateConfiguredAudienceModelAssociation",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UpdateConfiguredAudienceModelAssociationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UpdateConfiguredAudienceModelAssociationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UpdatePrivacyBudgetTemplateCommand, se_UpdatePrivacyBudgetTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdatePrivacyBudgetTemplateCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePrivacyBudgetTemplateCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "CleanRoomsClient";
|
|
26
|
+
const commandName = "UpdatePrivacyBudgetTemplateCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSBastionControlPlaneServiceLambda",
|
|
35
|
+
operation: "UpdatePrivacyBudgetTemplate",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UpdatePrivacyBudgetTemplateCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UpdatePrivacyBudgetTemplateCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -2,44 +2,61 @@ export * from "./BatchGetCollaborationAnalysisTemplateCommand";
|
|
|
2
2
|
export * from "./BatchGetSchemaCommand";
|
|
3
3
|
export * from "./CreateAnalysisTemplateCommand";
|
|
4
4
|
export * from "./CreateCollaborationCommand";
|
|
5
|
+
export * from "./CreateConfiguredAudienceModelAssociationCommand";
|
|
5
6
|
export * from "./CreateConfiguredTableAnalysisRuleCommand";
|
|
6
7
|
export * from "./CreateConfiguredTableAssociationCommand";
|
|
7
8
|
export * from "./CreateConfiguredTableCommand";
|
|
8
9
|
export * from "./CreateMembershipCommand";
|
|
10
|
+
export * from "./CreatePrivacyBudgetTemplateCommand";
|
|
9
11
|
export * from "./DeleteAnalysisTemplateCommand";
|
|
10
12
|
export * from "./DeleteCollaborationCommand";
|
|
13
|
+
export * from "./DeleteConfiguredAudienceModelAssociationCommand";
|
|
11
14
|
export * from "./DeleteConfiguredTableAnalysisRuleCommand";
|
|
12
15
|
export * from "./DeleteConfiguredTableAssociationCommand";
|
|
13
16
|
export * from "./DeleteConfiguredTableCommand";
|
|
14
17
|
export * from "./DeleteMemberCommand";
|
|
15
18
|
export * from "./DeleteMembershipCommand";
|
|
19
|
+
export * from "./DeletePrivacyBudgetTemplateCommand";
|
|
16
20
|
export * from "./GetAnalysisTemplateCommand";
|
|
17
21
|
export * from "./GetCollaborationAnalysisTemplateCommand";
|
|
18
22
|
export * from "./GetCollaborationCommand";
|
|
23
|
+
export * from "./GetCollaborationConfiguredAudienceModelAssociationCommand";
|
|
24
|
+
export * from "./GetCollaborationPrivacyBudgetTemplateCommand";
|
|
25
|
+
export * from "./GetConfiguredAudienceModelAssociationCommand";
|
|
19
26
|
export * from "./GetConfiguredTableAnalysisRuleCommand";
|
|
20
27
|
export * from "./GetConfiguredTableAssociationCommand";
|
|
21
28
|
export * from "./GetConfiguredTableCommand";
|
|
22
29
|
export * from "./GetMembershipCommand";
|
|
30
|
+
export * from "./GetPrivacyBudgetTemplateCommand";
|
|
23
31
|
export * from "./GetProtectedQueryCommand";
|
|
24
32
|
export * from "./GetSchemaAnalysisRuleCommand";
|
|
25
33
|
export * from "./GetSchemaCommand";
|
|
26
34
|
export * from "./ListAnalysisTemplatesCommand";
|
|
27
35
|
export * from "./ListCollaborationAnalysisTemplatesCommand";
|
|
36
|
+
export * from "./ListCollaborationConfiguredAudienceModelAssociationsCommand";
|
|
37
|
+
export * from "./ListCollaborationPrivacyBudgetTemplatesCommand";
|
|
38
|
+
export * from "./ListCollaborationPrivacyBudgetsCommand";
|
|
28
39
|
export * from "./ListCollaborationsCommand";
|
|
40
|
+
export * from "./ListConfiguredAudienceModelAssociationsCommand";
|
|
29
41
|
export * from "./ListConfiguredTableAssociationsCommand";
|
|
30
42
|
export * from "./ListConfiguredTablesCommand";
|
|
31
43
|
export * from "./ListMembersCommand";
|
|
32
44
|
export * from "./ListMembershipsCommand";
|
|
45
|
+
export * from "./ListPrivacyBudgetTemplatesCommand";
|
|
46
|
+
export * from "./ListPrivacyBudgetsCommand";
|
|
33
47
|
export * from "./ListProtectedQueriesCommand";
|
|
34
48
|
export * from "./ListSchemasCommand";
|
|
35
49
|
export * from "./ListTagsForResourceCommand";
|
|
50
|
+
export * from "./PreviewPrivacyImpactCommand";
|
|
36
51
|
export * from "./StartProtectedQueryCommand";
|
|
37
52
|
export * from "./TagResourceCommand";
|
|
38
53
|
export * from "./UntagResourceCommand";
|
|
39
54
|
export * from "./UpdateAnalysisTemplateCommand";
|
|
40
55
|
export * from "./UpdateCollaborationCommand";
|
|
56
|
+
export * from "./UpdateConfiguredAudienceModelAssociationCommand";
|
|
41
57
|
export * from "./UpdateConfiguredTableAnalysisRuleCommand";
|
|
42
58
|
export * from "./UpdateConfiguredTableAssociationCommand";
|
|
43
59
|
export * from "./UpdateConfiguredTableCommand";
|
|
44
60
|
export * from "./UpdateMembershipCommand";
|
|
61
|
+
export * from "./UpdatePrivacyBudgetTemplateCommand";
|
|
45
62
|
export * from "./UpdateProtectedQueryCommand";
|
|
@@ -219,6 +219,36 @@ export const MemberStatus = {
|
|
|
219
219
|
LEFT: "LEFT",
|
|
220
220
|
REMOVED: "REMOVED",
|
|
221
221
|
};
|
|
222
|
+
export const PrivacyBudgetTemplateAutoRefresh = {
|
|
223
|
+
CALENDAR_MONTH: "CALENDAR_MONTH",
|
|
224
|
+
NONE: "NONE",
|
|
225
|
+
};
|
|
226
|
+
export var PrivacyBudgetTemplateParametersOutput;
|
|
227
|
+
(function (PrivacyBudgetTemplateParametersOutput) {
|
|
228
|
+
PrivacyBudgetTemplateParametersOutput.visit = (value, visitor) => {
|
|
229
|
+
if (value.differentialPrivacy !== undefined)
|
|
230
|
+
return visitor.differentialPrivacy(value.differentialPrivacy);
|
|
231
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
232
|
+
};
|
|
233
|
+
})(PrivacyBudgetTemplateParametersOutput || (PrivacyBudgetTemplateParametersOutput = {}));
|
|
234
|
+
export const PrivacyBudgetType = {
|
|
235
|
+
DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY",
|
|
236
|
+
};
|
|
237
|
+
export const DifferentialPrivacyAggregationType = {
|
|
238
|
+
AVG: "AVG",
|
|
239
|
+
COUNT: "COUNT",
|
|
240
|
+
COUNT_DISTINCT: "COUNT_DISTINCT",
|
|
241
|
+
STDDEV: "STDDEV",
|
|
242
|
+
SUM: "SUM",
|
|
243
|
+
};
|
|
244
|
+
export var PrivacyBudget;
|
|
245
|
+
(function (PrivacyBudget) {
|
|
246
|
+
PrivacyBudget.visit = (value, visitor) => {
|
|
247
|
+
if (value.differentialPrivacy !== undefined)
|
|
248
|
+
return visitor.differentialPrivacy(value.differentialPrivacy);
|
|
249
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
250
|
+
};
|
|
251
|
+
})(PrivacyBudget || (PrivacyBudget = {}));
|
|
222
252
|
export const FilterableMemberStatus = {
|
|
223
253
|
ACTIVE: "ACTIVE",
|
|
224
254
|
INVITED: "INVITED",
|
|
@@ -304,12 +334,44 @@ export const ProtectedQueryStatus = {
|
|
|
304
334
|
SUCCESS: "SUCCESS",
|
|
305
335
|
TIMED_OUT: "TIMED_OUT",
|
|
306
336
|
};
|
|
337
|
+
export var PreviewPrivacyImpactParametersInput;
|
|
338
|
+
(function (PreviewPrivacyImpactParametersInput) {
|
|
339
|
+
PreviewPrivacyImpactParametersInput.visit = (value, visitor) => {
|
|
340
|
+
if (value.differentialPrivacy !== undefined)
|
|
341
|
+
return visitor.differentialPrivacy(value.differentialPrivacy);
|
|
342
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
343
|
+
};
|
|
344
|
+
})(PreviewPrivacyImpactParametersInput || (PreviewPrivacyImpactParametersInput = {}));
|
|
345
|
+
export var PrivacyImpact;
|
|
346
|
+
(function (PrivacyImpact) {
|
|
347
|
+
PrivacyImpact.visit = (value, visitor) => {
|
|
348
|
+
if (value.differentialPrivacy !== undefined)
|
|
349
|
+
return visitor.differentialPrivacy(value.differentialPrivacy);
|
|
350
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
351
|
+
};
|
|
352
|
+
})(PrivacyImpact || (PrivacyImpact = {}));
|
|
307
353
|
export const ProtectedQueryType = {
|
|
308
354
|
SQL: "SQL",
|
|
309
355
|
};
|
|
310
356
|
export const TargetProtectedQueryStatus = {
|
|
311
357
|
CANCELLED: "CANCELLED",
|
|
312
358
|
};
|
|
359
|
+
export var PrivacyBudgetTemplateParametersInput;
|
|
360
|
+
(function (PrivacyBudgetTemplateParametersInput) {
|
|
361
|
+
PrivacyBudgetTemplateParametersInput.visit = (value, visitor) => {
|
|
362
|
+
if (value.differentialPrivacy !== undefined)
|
|
363
|
+
return visitor.differentialPrivacy(value.differentialPrivacy);
|
|
364
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
365
|
+
};
|
|
366
|
+
})(PrivacyBudgetTemplateParametersInput || (PrivacyBudgetTemplateParametersInput = {}));
|
|
367
|
+
export var PrivacyBudgetTemplateUpdateParameters;
|
|
368
|
+
(function (PrivacyBudgetTemplateUpdateParameters) {
|
|
369
|
+
PrivacyBudgetTemplateUpdateParameters.visit = (value, visitor) => {
|
|
370
|
+
if (value.differentialPrivacy !== undefined)
|
|
371
|
+
return visitor.differentialPrivacy(value.differentialPrivacy);
|
|
372
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
373
|
+
};
|
|
374
|
+
})(PrivacyBudgetTemplateUpdateParameters || (PrivacyBudgetTemplateUpdateParameters = {}));
|
|
313
375
|
export const AnalysisParameterFilterSensitiveLog = (obj) => ({
|
|
314
376
|
...obj,
|
|
315
377
|
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListCollaborationConfiguredAudienceModelAssociationsCommand, } from "../commands/ListCollaborationConfiguredAudienceModelAssociationsCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListCollaborationConfiguredAudienceModelAssociationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListCollaborationConfiguredAudienceModelAssociations(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListCollaborationPrivacyBudgetTemplatesCommand, } from "../commands/ListCollaborationPrivacyBudgetTemplatesCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListCollaborationPrivacyBudgetTemplatesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListCollaborationPrivacyBudgetTemplates(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListCollaborationPrivacyBudgetsCommand, } from "../commands/ListCollaborationPrivacyBudgetsCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListCollaborationPrivacyBudgetsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListCollaborationPrivacyBudgets(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListConfiguredAudienceModelAssociationsCommand, } from "../commands/ListConfiguredAudienceModelAssociationsCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListConfiguredAudienceModelAssociationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListConfiguredAudienceModelAssociations(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListPrivacyBudgetTemplatesCommand, } from "../commands/ListPrivacyBudgetTemplatesCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListPrivacyBudgetTemplatesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListPrivacyBudgetTemplates(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListPrivacyBudgetsCommand, } from "../commands/ListPrivacyBudgetsCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListPrivacyBudgetsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListPrivacyBudgets(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAnalysisTemplatesPaginator";
|
|
3
3
|
export * from "./ListCollaborationAnalysisTemplatesPaginator";
|
|
4
|
+
export * from "./ListCollaborationConfiguredAudienceModelAssociationsPaginator";
|
|
5
|
+
export * from "./ListCollaborationPrivacyBudgetTemplatesPaginator";
|
|
6
|
+
export * from "./ListCollaborationPrivacyBudgetsPaginator";
|
|
4
7
|
export * from "./ListCollaborationsPaginator";
|
|
8
|
+
export * from "./ListConfiguredAudienceModelAssociationsPaginator";
|
|
5
9
|
export * from "./ListConfiguredTableAssociationsPaginator";
|
|
6
10
|
export * from "./ListConfiguredTablesPaginator";
|
|
7
11
|
export * from "./ListMembersPaginator";
|
|
8
12
|
export * from "./ListMembershipsPaginator";
|
|
13
|
+
export * from "./ListPrivacyBudgetTemplatesPaginator";
|
|
14
|
+
export * from "./ListPrivacyBudgetsPaginator";
|
|
9
15
|
export * from "./ListProtectedQueriesPaginator";
|
|
10
16
|
export * from "./ListSchemasPaginator";
|