@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_GetConfiguredAudienceModelPolicyCommand, se_GetConfiguredAudienceModelPolicyCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetConfiguredAudienceModelPolicyCommand 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, GetConfiguredAudienceModelPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "GetConfiguredAudienceModelPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "GetConfiguredAudienceModelPolicy",
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_GetConfiguredAudienceModelPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetConfiguredAudienceModelPolicyCommand(output, context);
46
- }
7
+ export class GetConfiguredAudienceModelPolicyCommand 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", "GetConfiguredAudienceModelPolicy", {})
19
+ .n("CleanRoomsMLClient", "GetConfiguredAudienceModelPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetConfiguredAudienceModelPolicyCommand)
22
+ .de(de_GetConfiguredAudienceModelPolicyCommand)
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_GetTrainingDatasetCommand, se_GetTrainingDatasetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetTrainingDatasetCommand 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, GetTrainingDatasetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "GetTrainingDatasetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "GetTrainingDataset",
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_GetTrainingDatasetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetTrainingDatasetCommand(output, context);
46
- }
7
+ export class GetTrainingDatasetCommand 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", "GetTrainingDataset", {})
19
+ .n("CleanRoomsMLClient", "GetTrainingDatasetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetTrainingDatasetCommand)
22
+ .de(de_GetTrainingDatasetCommand)
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_ListAudienceExportJobsCommand, se_ListAudienceExportJobsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAudienceExportJobsCommand 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, ListAudienceExportJobsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "ListAudienceExportJobsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "ListAudienceExportJobs",
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_ListAudienceExportJobsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAudienceExportJobsCommand(output, context);
46
- }
7
+ export class ListAudienceExportJobsCommand 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", "ListAudienceExportJobs", {})
19
+ .n("CleanRoomsMLClient", "ListAudienceExportJobsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAudienceExportJobsCommand)
22
+ .de(de_ListAudienceExportJobsCommand)
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_ListAudienceGenerationJobsCommand, se_ListAudienceGenerationJobsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAudienceGenerationJobsCommand 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, ListAudienceGenerationJobsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "ListAudienceGenerationJobsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "ListAudienceGenerationJobs",
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_ListAudienceGenerationJobsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAudienceGenerationJobsCommand(output, context);
46
- }
7
+ export class ListAudienceGenerationJobsCommand 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", "ListAudienceGenerationJobs", {})
19
+ .n("CleanRoomsMLClient", "ListAudienceGenerationJobsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAudienceGenerationJobsCommand)
22
+ .de(de_ListAudienceGenerationJobsCommand)
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_ListAudienceModelsCommand, se_ListAudienceModelsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAudienceModelsCommand 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, ListAudienceModelsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "ListAudienceModelsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "ListAudienceModels",
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_ListAudienceModelsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAudienceModelsCommand(output, context);
46
- }
7
+ export class ListAudienceModelsCommand 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", "ListAudienceModels", {})
19
+ .n("CleanRoomsMLClient", "ListAudienceModelsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAudienceModelsCommand)
22
+ .de(de_ListAudienceModelsCommand)
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_ListConfiguredAudienceModelsCommand, se_ListConfiguredAudienceModelsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListConfiguredAudienceModelsCommand 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, ListConfiguredAudienceModelsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "ListConfiguredAudienceModelsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "ListConfiguredAudienceModels",
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_ListConfiguredAudienceModelsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListConfiguredAudienceModelsCommand(output, context);
46
- }
7
+ export class ListConfiguredAudienceModelsCommand 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", "ListConfiguredAudienceModels", {})
19
+ .n("CleanRoomsMLClient", "ListConfiguredAudienceModelsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListConfiguredAudienceModelsCommand)
22
+ .de(de_ListConfiguredAudienceModelsCommand)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
19
+ .n("CleanRoomsMLClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
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_ListTrainingDatasetsCommand, se_ListTrainingDatasetsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTrainingDatasetsCommand 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, ListTrainingDatasetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "ListTrainingDatasetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "ListTrainingDatasets",
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_ListTrainingDatasetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTrainingDatasetsCommand(output, context);
46
- }
7
+ export class ListTrainingDatasetsCommand 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", "ListTrainingDatasets", {})
19
+ .n("CleanRoomsMLClient", "ListTrainingDatasetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTrainingDatasetsCommand)
22
+ .de(de_ListTrainingDatasetsCommand)
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_PutConfiguredAudienceModelPolicyCommand, se_PutConfiguredAudienceModelPolicyCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PutConfiguredAudienceModelPolicyCommand 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, PutConfiguredAudienceModelPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "PutConfiguredAudienceModelPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "PutConfiguredAudienceModelPolicy",
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_PutConfiguredAudienceModelPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutConfiguredAudienceModelPolicyCommand(output, context);
46
- }
7
+ export class PutConfiguredAudienceModelPolicyCommand 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", "PutConfiguredAudienceModelPolicy", {})
19
+ .n("CleanRoomsMLClient", "PutConfiguredAudienceModelPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutConfiguredAudienceModelPolicyCommand)
22
+ .de(de_PutConfiguredAudienceModelPolicyCommand)
23
+ .build() {
47
24
  }