@aws-sdk/client-personalize 3.36.0 → 3.39.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 (137) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Personalize.js +0 -4
  3. package/dist-cjs/PersonalizeClient.js +0 -9
  4. package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +0 -25
  5. package/dist-cjs/commands/CreateCampaignCommand.js +0 -94
  6. package/dist-cjs/commands/CreateDatasetCommand.js +0 -74
  7. package/dist-cjs/commands/CreateDatasetExportJobCommand.js +0 -45
  8. package/dist-cjs/commands/CreateDatasetGroupCommand.js +0 -99
  9. package/dist-cjs/commands/CreateDatasetImportJobCommand.js +0 -65
  10. package/dist-cjs/commands/CreateEventTrackerCommand.js +0 -69
  11. package/dist-cjs/commands/CreateFilterCommand.js +0 -24
  12. package/dist-cjs/commands/CreateSchemaCommand.js +0 -49
  13. package/dist-cjs/commands/CreateSolutionCommand.js +0 -96
  14. package/dist-cjs/commands/CreateSolutionVersionCommand.js +0 -91
  15. package/dist-cjs/commands/DeleteCampaignCommand.js +0 -29
  16. package/dist-cjs/commands/DeleteDatasetCommand.js +0 -26
  17. package/dist-cjs/commands/DeleteDatasetGroupCommand.js +0 -36
  18. package/dist-cjs/commands/DeleteEventTrackerCommand.js +0 -26
  19. package/dist-cjs/commands/DeleteFilterCommand.js +0 -24
  20. package/dist-cjs/commands/DeleteSchemaCommand.js +0 -26
  21. package/dist-cjs/commands/DeleteSolutionCommand.js +0 -30
  22. package/dist-cjs/commands/DescribeAlgorithmCommand.js +0 -24
  23. package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +0 -26
  24. package/dist-cjs/commands/DescribeCampaignCommand.js +0 -36
  25. package/dist-cjs/commands/DescribeDatasetCommand.js +0 -24
  26. package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +0 -25
  27. package/dist-cjs/commands/DescribeDatasetGroupCommand.js +0 -24
  28. package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +0 -25
  29. package/dist-cjs/commands/DescribeEventTrackerCommand.js +0 -26
  30. package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +0 -24
  31. package/dist-cjs/commands/DescribeFilterCommand.js +0 -24
  32. package/dist-cjs/commands/DescribeRecipeCommand.js +0 -42
  33. package/dist-cjs/commands/DescribeSchemaCommand.js +0 -25
  34. package/dist-cjs/commands/DescribeSolutionCommand.js +0 -25
  35. package/dist-cjs/commands/DescribeSolutionVersionCommand.js +0 -24
  36. package/dist-cjs/commands/GetSolutionMetricsCommand.js +0 -24
  37. package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +0 -25
  38. package/dist-cjs/commands/ListCampaignsCommand.js +0 -27
  39. package/dist-cjs/commands/ListDatasetExportJobsCommand.js +0 -28
  40. package/dist-cjs/commands/ListDatasetGroupsCommand.js +0 -26
  41. package/dist-cjs/commands/ListDatasetImportJobsCommand.js +0 -28
  42. package/dist-cjs/commands/ListDatasetsCommand.js +0 -26
  43. package/dist-cjs/commands/ListEventTrackersCommand.js +0 -27
  44. package/dist-cjs/commands/ListFiltersCommand.js +0 -24
  45. package/dist-cjs/commands/ListRecipesCommand.js +0 -25
  46. package/dist-cjs/commands/ListSchemasCommand.js +0 -26
  47. package/dist-cjs/commands/ListSolutionVersionsCommand.js +0 -27
  48. package/dist-cjs/commands/ListSolutionsCommand.js +0 -27
  49. package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +0 -37
  50. package/dist-cjs/commands/UpdateCampaignCommand.js +0 -32
  51. package/dist-cjs/commands/index.js +50 -0
  52. package/dist-cjs/endpoints.js +6 -1
  53. package/dist-cjs/index.js +4 -62
  54. package/dist-cjs/models/models_0.js +0 -429
  55. package/dist-cjs/pagination/ListBatchInferenceJobsPaginator.js +0 -10
  56. package/dist-cjs/pagination/ListCampaignsPaginator.js +0 -10
  57. package/dist-cjs/pagination/ListDatasetExportJobsPaginator.js +0 -10
  58. package/dist-cjs/pagination/ListDatasetGroupsPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListDatasetImportJobsPaginator.js +0 -10
  60. package/dist-cjs/pagination/ListDatasetsPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListEventTrackersPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListFiltersPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListRecipesPaginator.js +0 -10
  64. package/dist-cjs/pagination/ListSchemasPaginator.js +0 -10
  65. package/dist-cjs/pagination/ListSolutionVersionsPaginator.js +0 -10
  66. package/dist-cjs/pagination/ListSolutionsPaginator.js +0 -10
  67. package/dist-cjs/pagination/index.js +16 -0
  68. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  69. package/dist-cjs/runtimeConfig.browser.js +1 -5
  70. package/dist-cjs/runtimeConfig.js +1 -5
  71. package/dist-cjs/runtimeConfig.native.js +0 -3
  72. package/dist-cjs/runtimeConfig.shared.js +0 -3
  73. package/dist-es/commands/index.js +47 -0
  74. package/dist-es/endpoints.js +6 -1
  75. package/dist-es/index.js +4 -62
  76. package/dist-es/pagination/index.js +13 -0
  77. package/dist-types/commands/index.d.ts +47 -0
  78. package/dist-types/index.d.ts +4 -62
  79. package/dist-types/pagination/index.d.ts +13 -0
  80. package/dist-types/ts3.4/Personalize.d.ts +48 -728
  81. package/dist-types/ts3.4/PersonalizeClient.d.ts +24 -90
  82. package/dist-types/ts3.4/commands/CreateBatchInferenceJobCommand.d.ts +2 -21
  83. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +2 -90
  84. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -70
  85. package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +2 -41
  86. package/dist-types/ts3.4/commands/CreateDatasetGroupCommand.d.ts +2 -95
  87. package/dist-types/ts3.4/commands/CreateDatasetImportJobCommand.d.ts +2 -61
  88. package/dist-types/ts3.4/commands/CreateEventTrackerCommand.d.ts +2 -65
  89. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +2 -45
  91. package/dist-types/ts3.4/commands/CreateSolutionCommand.d.ts +2 -92
  92. package/dist-types/ts3.4/commands/CreateSolutionVersionCommand.d.ts +2 -87
  93. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +2 -25
  94. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -22
  95. package/dist-types/ts3.4/commands/DeleteDatasetGroupCommand.d.ts +2 -32
  96. package/dist-types/ts3.4/commands/DeleteEventTrackerCommand.d.ts +2 -22
  97. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +2 -22
  99. package/dist-types/ts3.4/commands/DeleteSolutionCommand.d.ts +2 -26
  100. package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/DescribeBatchInferenceJobCommand.d.ts +2 -22
  102. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +2 -32
  103. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +2 -21
  105. package/dist-types/ts3.4/commands/DescribeDatasetGroupCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/DescribeDatasetImportJobCommand.d.ts +2 -21
  107. package/dist-types/ts3.4/commands/DescribeEventTrackerCommand.d.ts +2 -22
  108. package/dist-types/ts3.4/commands/DescribeFeatureTransformationCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/DescribeFilterCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +2 -38
  111. package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +2 -21
  112. package/dist-types/ts3.4/commands/DescribeSolutionCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/DescribeSolutionVersionCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/GetSolutionMetricsCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/ListBatchInferenceJobsCommand.d.ts +2 -21
  116. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +2 -23
  117. package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +2 -24
  118. package/dist-types/ts3.4/commands/ListDatasetGroupsCommand.d.ts +2 -22
  119. package/dist-types/ts3.4/commands/ListDatasetImportJobsCommand.d.ts +2 -24
  120. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -22
  121. package/dist-types/ts3.4/commands/ListEventTrackersCommand.d.ts +2 -23
  122. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +2 -21
  124. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +2 -22
  125. package/dist-types/ts3.4/commands/ListSolutionVersionsCommand.d.ts +2 -23
  126. package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +2 -23
  127. package/dist-types/ts3.4/commands/StopSolutionVersionCreationCommand.d.ts +2 -33
  128. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +2 -28
  129. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  130. package/dist-types/ts3.4/index.d.ts +4 -62
  131. package/dist-types/ts3.4/models/models_0.d.ts +620 -2318
  132. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  136. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  137. package/package.json +32 -32
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets the properties of a batch inference job including name, Amazon Resource Name (ARN),
10
- * status, input and output configurations, and the ARN of the solution version used to generate
11
- * the recommendations.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { PersonalizeClient, DescribeBatchInferenceJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
16
- * // const { PersonalizeClient, DescribeBatchInferenceJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
17
- * const client = new PersonalizeClient(config);
18
- * const command = new DescribeBatchInferenceJobCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeBatchInferenceJobCommandInput} for command's `input` shape.
23
- * @see {@link DescribeBatchInferenceJobCommandOutput} for command's `response` shape.
24
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeBatchInferenceJobCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes the given campaign, including its status.</p>
10
- * <p>A campaign can be in one of the following states:</p>
11
- * <ul>
12
- * <li>
13
- * <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
14
- * </li>
15
- * <li>
16
- * <p>DELETE PENDING > DELETE IN_PROGRESS</p>
17
- * </li>
18
- * </ul>
19
- * <p>When the <code>status</code> is <code>CREATE FAILED</code>, the response includes the
20
- * <code>failureReason</code> key, which describes why.</p>
21
- * <p>For more information on campaigns, see <a>CreateCampaign</a>.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { PersonalizeClient, DescribeCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
26
- * // const { PersonalizeClient, DescribeCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
27
- * const client = new PersonalizeClient(config);
28
- * const command = new DescribeCampaignCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link DescribeCampaignCommandInput} for command's `input` shape.
33
- * @see {@link DescribeCampaignCommandOutput} for command's `response` shape.
34
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class DescribeCampaignCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes the given dataset. For more information on datasets, see <a>CreateDataset</a>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PersonalizeClient, DescribeDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
14
- * // const { PersonalizeClient, DescribeDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
15
- * const client = new PersonalizeClient(config);
16
- * const command = new DescribeDatasetCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeDatasetCommandInput} for command's `input` shape.
21
- * @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
22
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeDatasetCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes the dataset export job created by <a>CreateDatasetExportJob</a>,
10
- * including the export job status.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { PersonalizeClient, DescribeDatasetExportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
15
- * // const { PersonalizeClient, DescribeDatasetExportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
16
- * const client = new PersonalizeClient(config);
17
- * const command = new DescribeDatasetExportJobCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeDatasetExportJobCommandInput} for command's `input` shape.
22
- * @see {@link DescribeDatasetExportJobCommandOutput} for command's `response` shape.
23
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeDatasetExportJobCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes the given dataset group. For more information on dataset groups, see <a>CreateDatasetGroup</a>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PersonalizeClient, DescribeDatasetGroupCommand } from "@aws-sdk/client-personalize"; // ES Modules import
14
- * // const { PersonalizeClient, DescribeDatasetGroupCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
15
- * const client = new PersonalizeClient(config);
16
- * const command = new DescribeDatasetGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeDatasetGroupCommandInput} for command's `input` shape.
21
- * @see {@link DescribeDatasetGroupCommandOutput} for command's `response` shape.
22
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeDatasetGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes the dataset import job created by <a>CreateDatasetImportJob</a>,
10
- * including the import job status.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { PersonalizeClient, DescribeDatasetImportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
15
- * // const { PersonalizeClient, DescribeDatasetImportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
16
- * const client = new PersonalizeClient(config);
17
- * const command = new DescribeDatasetImportJobCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeDatasetImportJobCommandInput} for command's `input` shape.
22
- * @see {@link DescribeDatasetImportJobCommandOutput} for command's `response` shape.
23
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeDatasetImportJobCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes an event tracker. The response includes the <code>trackingId</code> and
10
- * <code>status</code> of the event tracker.
11
- * For more information on event trackers, see <a>CreateEventTracker</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { PersonalizeClient, DescribeEventTrackerCommand } from "@aws-sdk/client-personalize"; // ES Modules import
16
- * // const { PersonalizeClient, DescribeEventTrackerCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
17
- * const client = new PersonalizeClient(config);
18
- * const command = new DescribeEventTrackerCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeEventTrackerCommandInput} for command's `input` shape.
23
- * @see {@link DescribeEventTrackerCommandOutput} for command's `response` shape.
24
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeEventTrackerCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes the given feature transformation.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PersonalizeClient, DescribeFeatureTransformationCommand } from "@aws-sdk/client-personalize"; // ES Modules import
14
- * // const { PersonalizeClient, DescribeFeatureTransformationCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
15
- * const client = new PersonalizeClient(config);
16
- * const command = new DescribeFeatureTransformationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeFeatureTransformationCommandInput} for command's `input` shape.
21
- * @see {@link DescribeFeatureTransformationCommandOutput} for command's `response` shape.
22
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeFeatureTransformationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes a filter's properties.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PersonalizeClient, DescribeFilterCommand } from "@aws-sdk/client-personalize"; // ES Modules import
14
- * // const { PersonalizeClient, DescribeFilterCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
15
- * const client = new PersonalizeClient(config);
16
- * const command = new DescribeFilterCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeFilterCommandInput} for command's `input` shape.
21
- * @see {@link DescribeFilterCommandOutput} for command's `response` shape.
22
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeFilterCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,53 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes a recipe.</p>
10
- * <p>A recipe contains three items:</p>
11
- * <ul>
12
- * <li>
13
- * <p>An algorithm that trains a model.</p>
14
- * </li>
15
- * <li>
16
- * <p>Hyperparameters that govern the training.</p>
17
- * </li>
18
- * <li>
19
- * <p>Feature transformation information for modifying the input data before training.</p>
20
- * </li>
21
- * </ul>
22
- * <p>Amazon Personalize provides a set of predefined recipes. You specify a recipe when you create a
23
- * solution with the <a>CreateSolution</a> API.
24
- * <code>CreateSolution</code> trains a model by using the algorithm
25
- * in the specified recipe and a training dataset. The solution, when deployed as a campaign,
26
- * can provide recommendations using the
27
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a> API.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { PersonalizeClient, DescribeRecipeCommand } from "@aws-sdk/client-personalize"; // ES Modules import
32
- * // const { PersonalizeClient, DescribeRecipeCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
33
- * const client = new PersonalizeClient(config);
34
- * const command = new DescribeRecipeCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeRecipeCommandInput} for command's `input` shape.
39
- * @see {@link DescribeRecipeCommandOutput} for command's `response` shape.
40
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
8
  class DescribeRecipeCommand extends smithy_client_1.Command {
44
- // Start section: command_properties
45
- // End section: command_properties
46
9
  constructor(input) {
47
- // Start section: command_constructor
48
10
  super();
49
11
  this.input = input;
50
- // End section: command_constructor
51
12
  }
52
- /**
53
- * @internal
54
- */
55
13
  resolveMiddleware(clientStack, configuration, options) {
56
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
57
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes a schema. For more information on schemas, see
10
- * <a>CreateSchema</a>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { PersonalizeClient, DescribeSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import
15
- * // const { PersonalizeClient, DescribeSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
16
- * const client = new PersonalizeClient(config);
17
- * const command = new DescribeSchemaCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeSchemaCommandInput} for command's `input` shape.
22
- * @see {@link DescribeSchemaCommandOutput} for command's `response` shape.
23
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeSchemaCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes a solution.
10
- * For more information on solutions, see <a>CreateSolution</a>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { PersonalizeClient, DescribeSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
15
- * // const { PersonalizeClient, DescribeSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
16
- * const client = new PersonalizeClient(config);
17
- * const command = new DescribeSolutionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeSolutionCommandInput} for command's `input` shape.
22
- * @see {@link DescribeSolutionCommandOutput} for command's `response` shape.
23
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeSolutionCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes a specific version of a solution. For more information on solutions, see <a>CreateSolution</a>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PersonalizeClient, DescribeSolutionVersionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
14
- * // const { PersonalizeClient, DescribeSolutionVersionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
15
- * const client = new PersonalizeClient(config);
16
- * const command = new DescribeSolutionVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeSolutionVersionCommandInput} for command's `input` shape.
21
- * @see {@link DescribeSolutionVersionCommandOutput} for command's `response` shape.
22
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeSolutionVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets the metrics for the specified solution version.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PersonalizeClient, GetSolutionMetricsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
14
- * // const { PersonalizeClient, GetSolutionMetricsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
15
- * const client = new PersonalizeClient(config);
16
- * const command = new GetSolutionMetricsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetSolutionMetricsCommandInput} for command's `input` shape.
21
- * @see {@link GetSolutionMetricsCommandOutput} for command's `response` shape.
22
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetSolutionMetricsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the batch inference jobs that have been performed off of a solution
10
- * version.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { PersonalizeClient, ListBatchInferenceJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
15
- * // const { PersonalizeClient, ListBatchInferenceJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
16
- * const client = new PersonalizeClient(config);
17
- * const command = new ListBatchInferenceJobsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListBatchInferenceJobsCommandInput} for command's `input` shape.
22
- * @see {@link ListBatchInferenceJobsCommandOutput} for command's `response` shape.
23
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListBatchInferenceJobsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Returns a list of campaigns that use the given solution.
10
- * When a solution is not specified, all the campaigns associated with the account are listed.
11
- * The response provides the properties for each campaign, including the Amazon Resource Name (ARN).
12
- * For more information on campaigns, see <a>CreateCampaign</a>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { PersonalizeClient, ListCampaignsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
17
- * // const { PersonalizeClient, ListCampaignsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
18
- * const client = new PersonalizeClient(config);
19
- * const command = new ListCampaignsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListCampaignsCommandInput} for command's `input` shape.
24
- * @see {@link ListCampaignsCommandOutput} for command's `response` shape.
25
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListCampaignsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);