@aws-sdk/client-cleanroomsml 3.478.0 → 3.481.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 (105) hide show
  1. package/dist-cjs/commands/CreateAudienceModelCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConfiguredAudienceModelCommand.js +18 -41
  3. package/dist-cjs/commands/CreateTrainingDatasetCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteAudienceGenerationJobCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteAudienceModelCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteConfiguredAudienceModelCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteConfiguredAudienceModelPolicyCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteTrainingDatasetCommand.js +18 -41
  9. package/dist-cjs/commands/GetAudienceGenerationJobCommand.js +18 -41
  10. package/dist-cjs/commands/GetAudienceModelCommand.js +18 -41
  11. package/dist-cjs/commands/GetConfiguredAudienceModelCommand.js +18 -41
  12. package/dist-cjs/commands/GetConfiguredAudienceModelPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/GetTrainingDatasetCommand.js +18 -41
  14. package/dist-cjs/commands/ListAudienceExportJobsCommand.js +18 -41
  15. package/dist-cjs/commands/ListAudienceGenerationJobsCommand.js +18 -41
  16. package/dist-cjs/commands/ListAudienceModelsCommand.js +18 -41
  17. package/dist-cjs/commands/ListConfiguredAudienceModelsCommand.js +18 -41
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  19. package/dist-cjs/commands/ListTrainingDatasetsCommand.js +18 -41
  20. package/dist-cjs/commands/PutConfiguredAudienceModelPolicyCommand.js +18 -41
  21. package/dist-cjs/commands/StartAudienceExportJobCommand.js +18 -41
  22. package/dist-cjs/commands/StartAudienceGenerationJobCommand.js +18 -41
  23. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  24. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateConfiguredAudienceModelCommand.js +18 -41
  26. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  27. package/dist-es/commands/CreateAudienceModelCommand.js +18 -41
  28. package/dist-es/commands/CreateConfiguredAudienceModelCommand.js +18 -41
  29. package/dist-es/commands/CreateTrainingDatasetCommand.js +18 -41
  30. package/dist-es/commands/DeleteAudienceGenerationJobCommand.js +18 -41
  31. package/dist-es/commands/DeleteAudienceModelCommand.js +18 -41
  32. package/dist-es/commands/DeleteConfiguredAudienceModelCommand.js +18 -41
  33. package/dist-es/commands/DeleteConfiguredAudienceModelPolicyCommand.js +18 -41
  34. package/dist-es/commands/DeleteTrainingDatasetCommand.js +18 -41
  35. package/dist-es/commands/GetAudienceGenerationJobCommand.js +18 -41
  36. package/dist-es/commands/GetAudienceModelCommand.js +18 -41
  37. package/dist-es/commands/GetConfiguredAudienceModelCommand.js +18 -41
  38. package/dist-es/commands/GetConfiguredAudienceModelPolicyCommand.js +18 -41
  39. package/dist-es/commands/GetTrainingDatasetCommand.js +18 -41
  40. package/dist-es/commands/ListAudienceExportJobsCommand.js +18 -41
  41. package/dist-es/commands/ListAudienceGenerationJobsCommand.js +18 -41
  42. package/dist-es/commands/ListAudienceModelsCommand.js +18 -41
  43. package/dist-es/commands/ListConfiguredAudienceModelsCommand.js +18 -41
  44. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  45. package/dist-es/commands/ListTrainingDatasetsCommand.js +18 -41
  46. package/dist-es/commands/PutConfiguredAudienceModelPolicyCommand.js +18 -41
  47. package/dist-es/commands/StartAudienceExportJobCommand.js +18 -41
  48. package/dist-es/commands/StartAudienceGenerationJobCommand.js +18 -41
  49. package/dist-es/commands/TagResourceCommand.js +18 -41
  50. package/dist-es/commands/UntagResourceCommand.js +18 -41
  51. package/dist-es/commands/UpdateConfiguredAudienceModelCommand.js +18 -41
  52. package/dist-es/endpoint/EndpointParameters.js +6 -0
  53. package/dist-types/commands/CreateAudienceModelCommand.d.ts +6 -21
  54. package/dist-types/commands/CreateConfiguredAudienceModelCommand.d.ts +6 -21
  55. package/dist-types/commands/CreateTrainingDatasetCommand.d.ts +6 -21
  56. package/dist-types/commands/DeleteAudienceGenerationJobCommand.d.ts +6 -21
  57. package/dist-types/commands/DeleteAudienceModelCommand.d.ts +6 -21
  58. package/dist-types/commands/DeleteConfiguredAudienceModelCommand.d.ts +6 -21
  59. package/dist-types/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +6 -21
  60. package/dist-types/commands/DeleteTrainingDatasetCommand.d.ts +6 -21
  61. package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +6 -21
  62. package/dist-types/commands/GetAudienceModelCommand.d.ts +6 -21
  63. package/dist-types/commands/GetConfiguredAudienceModelCommand.d.ts +6 -21
  64. package/dist-types/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +6 -21
  65. package/dist-types/commands/GetTrainingDatasetCommand.d.ts +6 -21
  66. package/dist-types/commands/ListAudienceExportJobsCommand.d.ts +6 -21
  67. package/dist-types/commands/ListAudienceGenerationJobsCommand.d.ts +6 -21
  68. package/dist-types/commands/ListAudienceModelsCommand.d.ts +6 -21
  69. package/dist-types/commands/ListConfiguredAudienceModelsCommand.d.ts +6 -21
  70. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  71. package/dist-types/commands/ListTrainingDatasetsCommand.d.ts +6 -21
  72. package/dist-types/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +6 -21
  73. package/dist-types/commands/StartAudienceExportJobCommand.d.ts +6 -21
  74. package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +6 -21
  75. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  76. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  77. package/dist-types/commands/UpdateConfiguredAudienceModelCommand.d.ts +6 -21
  78. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  79. package/dist-types/ts3.4/commands/CreateAudienceModelCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/CreateTrainingDatasetCommand.d.ts +12 -24
  82. package/dist-types/ts3.4/commands/DeleteAudienceGenerationJobCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/DeleteAudienceModelCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/DeleteTrainingDatasetCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/GetAudienceGenerationJobCommand.d.ts +12 -24
  88. package/dist-types/ts3.4/commands/GetAudienceModelCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/GetTrainingDatasetCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/ListAudienceExportJobsCommand.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/ListAudienceGenerationJobsCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/ListAudienceModelsCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/ListConfiguredAudienceModelsCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/ListTrainingDatasetsCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/StartAudienceExportJobCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/StartAudienceGenerationJobCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  105. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateTrainingDatasetCommand, se_CreateTrainingDatasetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateTrainingDatasetCommand 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, CreateTrainingDatasetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "CreateTrainingDatasetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "CreateTrainingDataset",
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_CreateTrainingDatasetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateTrainingDatasetCommand(output, context);
46
- }
7
+ export class CreateTrainingDatasetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "CreateTrainingDataset", {})
19
+ .n("CleanRoomsMLClient", "CreateTrainingDatasetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateTrainingDatasetCommand)
22
+ .de(de_CreateTrainingDatasetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteAudienceGenerationJobCommand, se_DeleteAudienceGenerationJobCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteAudienceGenerationJobCommand 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, DeleteAudienceGenerationJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "DeleteAudienceGenerationJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "DeleteAudienceGenerationJob",
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_DeleteAudienceGenerationJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteAudienceGenerationJobCommand(output, context);
46
- }
7
+ export class DeleteAudienceGenerationJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "DeleteAudienceGenerationJob", {})
19
+ .n("CleanRoomsMLClient", "DeleteAudienceGenerationJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteAudienceGenerationJobCommand)
22
+ .de(de_DeleteAudienceGenerationJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteAudienceModelCommand, se_DeleteAudienceModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteAudienceModelCommand 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, DeleteAudienceModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "DeleteAudienceModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "DeleteAudienceModel",
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_DeleteAudienceModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteAudienceModelCommand(output, context);
46
- }
7
+ export class DeleteAudienceModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "DeleteAudienceModel", {})
19
+ .n("CleanRoomsMLClient", "DeleteAudienceModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteAudienceModelCommand)
22
+ .de(de_DeleteAudienceModelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteConfiguredAudienceModelCommand, se_DeleteConfiguredAudienceModelCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteConfiguredAudienceModelCommand 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, DeleteConfiguredAudienceModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "DeleteConfiguredAudienceModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "DeleteConfiguredAudienceModel",
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_DeleteConfiguredAudienceModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteConfiguredAudienceModelCommand(output, context);
46
- }
7
+ export class DeleteConfiguredAudienceModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "DeleteConfiguredAudienceModel", {})
19
+ .n("CleanRoomsMLClient", "DeleteConfiguredAudienceModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteConfiguredAudienceModelCommand)
22
+ .de(de_DeleteConfiguredAudienceModelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteConfiguredAudienceModelPolicyCommand, se_DeleteConfiguredAudienceModelPolicyCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteConfiguredAudienceModelPolicyCommand 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, DeleteConfiguredAudienceModelPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "DeleteConfiguredAudienceModelPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "DeleteConfiguredAudienceModelPolicy",
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_DeleteConfiguredAudienceModelPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteConfiguredAudienceModelPolicyCommand(output, context);
46
- }
7
+ export class DeleteConfiguredAudienceModelPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "DeleteConfiguredAudienceModelPolicy", {})
19
+ .n("CleanRoomsMLClient", "DeleteConfiguredAudienceModelPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteConfiguredAudienceModelPolicyCommand)
22
+ .de(de_DeleteConfiguredAudienceModelPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteTrainingDatasetCommand, se_DeleteTrainingDatasetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteTrainingDatasetCommand 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, DeleteTrainingDatasetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "DeleteTrainingDatasetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "DeleteTrainingDataset",
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_DeleteTrainingDatasetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteTrainingDatasetCommand(output, context);
46
- }
7
+ export class DeleteTrainingDatasetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "DeleteTrainingDataset", {})
19
+ .n("CleanRoomsMLClient", "DeleteTrainingDatasetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteTrainingDatasetCommand)
22
+ .de(de_DeleteTrainingDatasetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetAudienceGenerationJobCommand, se_GetAudienceGenerationJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAudienceGenerationJobCommand 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, GetAudienceGenerationJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "GetAudienceGenerationJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "GetAudienceGenerationJob",
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_GetAudienceGenerationJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAudienceGenerationJobCommand(output, context);
46
- }
7
+ export class GetAudienceGenerationJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "GetAudienceGenerationJob", {})
19
+ .n("CleanRoomsMLClient", "GetAudienceGenerationJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAudienceGenerationJobCommand)
22
+ .de(de_GetAudienceGenerationJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetAudienceModelCommand, se_GetAudienceModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAudienceModelCommand 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, GetAudienceModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "GetAudienceModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "GetAudienceModel",
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_GetAudienceModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAudienceModelCommand(output, context);
46
- }
7
+ export class GetAudienceModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "GetAudienceModel", {})
19
+ .n("CleanRoomsMLClient", "GetAudienceModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAudienceModelCommand)
22
+ .de(de_GetAudienceModelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetConfiguredAudienceModelCommand, se_GetConfiguredAudienceModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetConfiguredAudienceModelCommand 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, GetConfiguredAudienceModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "GetConfiguredAudienceModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "GetConfiguredAudienceModel",
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_GetConfiguredAudienceModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetConfiguredAudienceModelCommand(output, context);
46
- }
7
+ export class GetConfiguredAudienceModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStarkControlService", "GetConfiguredAudienceModel", {})
19
+ .n("CleanRoomsMLClient", "GetConfiguredAudienceModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetConfiguredAudienceModelCommand)
22
+ .de(de_GetConfiguredAudienceModelCommand)
23
+ .build() {
47
24
  }