@aws-sdk/client-cleanroomsml 3.478.0 → 3.484.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 +11 -11
@@ -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_StartAudienceExportJobCommand, se_StartAudienceExportJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartAudienceExportJobCommand 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, StartAudienceExportJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "StartAudienceExportJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "StartAudienceExportJob",
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_StartAudienceExportJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartAudienceExportJobCommand(output, context);
46
- }
7
+ export class StartAudienceExportJobCommand 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", "StartAudienceExportJob", {})
19
+ .n("CleanRoomsMLClient", "StartAudienceExportJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartAudienceExportJobCommand)
22
+ .de(de_StartAudienceExportJobCommand)
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_StartAudienceGenerationJobCommand, se_StartAudienceGenerationJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartAudienceGenerationJobCommand 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, StartAudienceGenerationJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "StartAudienceGenerationJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "StartAudienceGenerationJob",
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_StartAudienceGenerationJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartAudienceGenerationJobCommand(output, context);
46
- }
7
+ export class StartAudienceGenerationJobCommand 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", "StartAudienceGenerationJob", {})
19
+ .n("CleanRoomsMLClient", "StartAudienceGenerationJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartAudienceGenerationJobCommand)
22
+ .de(de_StartAudienceGenerationJobCommand)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "TagResource",
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_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand 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", "TagResource", {})
19
+ .n("CleanRoomsMLClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand 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", "UntagResource", {})
19
+ .n("CleanRoomsMLClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
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_UpdateConfiguredAudienceModelCommand, se_UpdateConfiguredAudienceModelCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateConfiguredAudienceModelCommand 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, UpdateConfiguredAudienceModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CleanRoomsMLClient";
26
- const commandName = "UpdateConfiguredAudienceModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStarkControlService",
35
- operation: "UpdateConfiguredAudienceModel",
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_UpdateConfiguredAudienceModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateConfiguredAudienceModelCommand(output, context);
46
- }
7
+ export class UpdateConfiguredAudienceModelCommand 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", "UpdateConfiguredAudienceModel", {})
19
+ .n("CleanRoomsMLClient", "UpdateConfiguredAudienceModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateConfiguredAudienceModelCommand)
22
+ .de(de_UpdateConfiguredAudienceModelCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "cleanrooms-ml",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
5
4
  import { CreateAudienceModelRequest, CreateAudienceModelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateAudienceModelCommandInput extends CreateAudienceModelRequ
21
20
  */
22
21
  export interface CreateAudienceModelCommandOutput extends CreateAudienceModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateAudienceModelCommand_base: {
24
+ new (input: CreateAudienceModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAudienceModelCommandInput, CreateAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Defines the information necessary to create an audience model. An audience model is a machine learning model that Clean Rooms ML trains to measure similarity between users. Clean Rooms ML manages training and storing the audience model. The audience model can be used in multiple calls to the <a>StartAudienceGenerationJob</a> API.</p>
@@ -74,23 +77,5 @@ export interface CreateAudienceModelCommandOutput extends CreateAudienceModelRes
74
77
  * <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
75
78
  *
76
79
  */
77
- export declare class CreateAudienceModelCommand extends $Command<CreateAudienceModelCommandInput, CreateAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig> {
78
- readonly input: CreateAudienceModelCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: CreateAudienceModelCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAudienceModelCommandInput, CreateAudienceModelCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class CreateAudienceModelCommand extends CreateAudienceModelCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
5
4
  import { CreateConfiguredAudienceModelRequest, CreateConfiguredAudienceModelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateConfiguredAudienceModelCommandInput extends CreateConfigu
21
20
  */
22
21
  export interface CreateConfiguredAudienceModelCommandOutput extends CreateConfiguredAudienceModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateConfiguredAudienceModelCommand_base: {
24
+ new (input: CreateConfiguredAudienceModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConfiguredAudienceModelCommandInput, CreateConfiguredAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Defines the information necessary to create a configured audience model.</p>
@@ -90,23 +93,5 @@ export interface CreateConfiguredAudienceModelCommandOutput extends CreateConfig
90
93
  * <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
91
94
  *
92
95
  */
93
- export declare class CreateConfiguredAudienceModelCommand extends $Command<CreateConfiguredAudienceModelCommandInput, CreateConfiguredAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig> {
94
- readonly input: CreateConfiguredAudienceModelCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: CreateConfiguredAudienceModelCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConfiguredAudienceModelCommandInput, CreateConfiguredAudienceModelCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class CreateConfiguredAudienceModelCommand extends CreateConfiguredAudienceModelCommand_base {
112
97
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
5
4
  import { CreateTrainingDatasetRequest, CreateTrainingDatasetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateTrainingDatasetCommandInput extends CreateTrainingDataset
21
20
  */
22
21
  export interface CreateTrainingDatasetCommandOutput extends CreateTrainingDatasetResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateTrainingDatasetCommand_base: {
24
+ new (input: CreateTrainingDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTrainingDatasetCommandInput, CreateTrainingDatasetCommandOutput, CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Defines the information necessary to create a training dataset, or seed audience. In Clean Rooms ML, the <code>TrainingDataset</code> is metadata that points to a Glue table, which is read only during <code>AudienceModel</code> creation.</p>
@@ -87,23 +90,5 @@ export interface CreateTrainingDatasetCommandOutput extends CreateTrainingDatase
87
90
  * <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
88
91
  *
89
92
  */
90
- export declare class CreateTrainingDatasetCommand extends $Command<CreateTrainingDatasetCommandInput, CreateTrainingDatasetCommandOutput, CleanRoomsMLClientResolvedConfig> {
91
- readonly input: CreateTrainingDatasetCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: CreateTrainingDatasetCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrainingDatasetCommandInput, CreateTrainingDatasetCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class CreateTrainingDatasetCommand extends CreateTrainingDatasetCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
5
4
  import { DeleteAudienceGenerationJobRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteAudienceGenerationJobCommandInput extends DeleteAudienceG
21
20
  */
22
21
  export interface DeleteAudienceGenerationJobCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteAudienceGenerationJobCommand_base: {
24
+ new (input: DeleteAudienceGenerationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAudienceGenerationJobCommandInput, DeleteAudienceGenerationJobCommandOutput, CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified audience generation job, and removes all data associated with the job.</p>
@@ -61,23 +64,5 @@ export interface DeleteAudienceGenerationJobCommandOutput extends __MetadataBear
61
64
  * <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
62
65
  *
63
66
  */
64
- export declare class DeleteAudienceGenerationJobCommand extends $Command<DeleteAudienceGenerationJobCommandInput, DeleteAudienceGenerationJobCommandOutput, CleanRoomsMLClientResolvedConfig> {
65
- readonly input: DeleteAudienceGenerationJobCommandInput;
66
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
- /**
68
- * @public
69
- */
70
- constructor(input: DeleteAudienceGenerationJobCommandInput);
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAudienceGenerationJobCommandInput, DeleteAudienceGenerationJobCommandOutput>;
75
- /**
76
- * @internal
77
- */
78
- private serialize;
79
- /**
80
- * @internal
81
- */
82
- private deserialize;
67
+ export declare class DeleteAudienceGenerationJobCommand extends DeleteAudienceGenerationJobCommand_base {
83
68
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
5
4
  import { DeleteAudienceModelRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteAudienceModelCommandInput extends DeleteAudienceModelRequ
21
20
  */
22
21
  export interface DeleteAudienceModelCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteAudienceModelCommand_base: {
24
+ new (input: DeleteAudienceModelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAudienceModelCommandInput, DeleteAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Specifies an audience model that you want to delete. You can't delete an audience model if there are any configured audience models that depend on the audience model.</p>
@@ -61,23 +64,5 @@ export interface DeleteAudienceModelCommandOutput extends __MetadataBearer {
61
64
  * <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
62
65
  *
63
66
  */
64
- export declare class DeleteAudienceModelCommand extends $Command<DeleteAudienceModelCommandInput, DeleteAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig> {
65
- readonly input: DeleteAudienceModelCommandInput;
66
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
- /**
68
- * @public
69
- */
70
- constructor(input: DeleteAudienceModelCommandInput);
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAudienceModelCommandInput, DeleteAudienceModelCommandOutput>;
75
- /**
76
- * @internal
77
- */
78
- private serialize;
79
- /**
80
- * @internal
81
- */
82
- private deserialize;
67
+ export declare class DeleteAudienceModelCommand extends DeleteAudienceModelCommand_base {
83
68
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
5
4
  import { DeleteConfiguredAudienceModelRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteConfiguredAudienceModelCommandInput extends DeleteConfigu
21
20
  */
22
21
  export interface DeleteConfiguredAudienceModelCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteConfiguredAudienceModelCommand_base: {
24
+ new (input: DeleteConfiguredAudienceModelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfiguredAudienceModelCommandInput, DeleteConfiguredAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified configured audience model. You can't delete a configured audience model if there are any lookalike models that use the configured audience model. If you delete a configured audience model, it will be removed from any collaborations that it is associated to.</p>
@@ -61,23 +64,5 @@ export interface DeleteConfiguredAudienceModelCommandOutput extends __MetadataBe
61
64
  * <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
62
65
  *
63
66
  */
64
- export declare class DeleteConfiguredAudienceModelCommand extends $Command<DeleteConfiguredAudienceModelCommandInput, DeleteConfiguredAudienceModelCommandOutput, CleanRoomsMLClientResolvedConfig> {
65
- readonly input: DeleteConfiguredAudienceModelCommandInput;
66
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
- /**
68
- * @public
69
- */
70
- constructor(input: DeleteConfiguredAudienceModelCommandInput);
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteConfiguredAudienceModelCommandInput, DeleteConfiguredAudienceModelCommandOutput>;
75
- /**
76
- * @internal
77
- */
78
- private serialize;
79
- /**
80
- * @internal
81
- */
82
- private deserialize;
67
+ export declare class DeleteConfiguredAudienceModelCommand extends DeleteConfiguredAudienceModelCommand_base {
83
68
  }