@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,39 +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 dataset export jobs that use the given dataset. When a dataset is not
10
- * specified, all the dataset export jobs associated with the account are listed. The response
11
- * provides the properties for each dataset export job, including the Amazon Resource Name (ARN).
12
- * For more information on dataset export jobs, see <a>CreateDatasetExportJob</a>. For
13
- * more information on datasets, see <a>CreateDataset</a>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { PersonalizeClient, ListDatasetExportJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
18
- * // const { PersonalizeClient, ListDatasetExportJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
19
- * const client = new PersonalizeClient(config);
20
- * const command = new ListDatasetExportJobsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link ListDatasetExportJobsCommandInput} for command's `input` shape.
25
- * @see {@link ListDatasetExportJobsCommandOutput} for command's `response` shape.
26
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class ListDatasetExportJobsCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
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>Returns a list of dataset groups. The response provides the properties for each dataset
10
- * group, including the Amazon Resource Name (ARN). For more information on dataset groups, see
11
- * <a>CreateDatasetGroup</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, ListDatasetGroupsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
16
- * // const { PersonalizeClient, ListDatasetGroupsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
17
- * const client = new PersonalizeClient(config);
18
- * const command = new ListDatasetGroupsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListDatasetGroupsCommandInput} for command's `input` shape.
23
- * @see {@link ListDatasetGroupsCommandOutput} for command's `response` shape.
24
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListDatasetGroupsCommand 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,39 +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 dataset import jobs that use the given dataset. When a dataset is not
10
- * specified, all the dataset import jobs associated with the account are listed. The response
11
- * provides the properties for each dataset import job, including the Amazon Resource Name (ARN).
12
- * For more information on dataset import jobs, see <a>CreateDatasetImportJob</a>. For
13
- * more information on datasets, see <a>CreateDataset</a>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { PersonalizeClient, ListDatasetImportJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
18
- * // const { PersonalizeClient, ListDatasetImportJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
19
- * const client = new PersonalizeClient(config);
20
- * const command = new ListDatasetImportJobsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link ListDatasetImportJobsCommandInput} for command's `input` shape.
25
- * @see {@link ListDatasetImportJobsCommandOutput} for command's `response` shape.
26
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class ListDatasetImportJobsCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
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>Returns the list of datasets contained in the given dataset group. The response provides
10
- * the properties for each dataset, including the Amazon Resource Name (ARN). For more
11
- * information on datasets, see <a>CreateDataset</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, ListDatasetsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
16
- * // const { PersonalizeClient, ListDatasetsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
17
- * const client = new PersonalizeClient(config);
18
- * const command = new ListDatasetsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListDatasetsCommandInput} for command's `input` shape.
23
- * @see {@link ListDatasetsCommandOutput} for command's `response` shape.
24
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListDatasetsCommand 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,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 the list of event trackers associated with the account.
10
- * The response provides the properties for each event tracker, including the Amazon Resource
11
- * Name (ARN) and tracking ID. For more
12
- * information on event trackers, see <a>CreateEventTracker</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, ListEventTrackersCommand } from "@aws-sdk/client-personalize"; // ES Modules import
17
- * // const { PersonalizeClient, ListEventTrackersCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
18
- * const client = new PersonalizeClient(config);
19
- * const command = new ListEventTrackersCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListEventTrackersCommandInput} for command's `input` shape.
24
- * @see {@link ListEventTrackersCommandOutput} for command's `response` shape.
25
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListEventTrackersCommand 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);
@@ -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>Lists all filters that belong to a given dataset group.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PersonalizeClient, ListFiltersCommand } from "@aws-sdk/client-personalize"; // ES Modules import
14
- * // const { PersonalizeClient, ListFiltersCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
15
- * const client = new PersonalizeClient(config);
16
- * const command = new ListFiltersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListFiltersCommandInput} for command's `input` shape.
21
- * @see {@link ListFiltersCommandOutput} for command's `response` shape.
22
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListFiltersCommand 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>Returns a list of available recipes. The response provides the properties
10
- * for each recipe, including the recipe's Amazon Resource Name (ARN).</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { PersonalizeClient, ListRecipesCommand } from "@aws-sdk/client-personalize"; // ES Modules import
15
- * // const { PersonalizeClient, ListRecipesCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
16
- * const client = new PersonalizeClient(config);
17
- * const command = new ListRecipesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListRecipesCommandInput} for command's `input` shape.
22
- * @see {@link ListRecipesCommandOutput} for command's `response` shape.
23
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListRecipesCommand 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>Returns the list of schemas associated with the account. The response provides the
10
- * properties for each schema, including the Amazon Resource Name (ARN).
11
- * For more information on schemas, see <a>CreateSchema</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, ListSchemasCommand } from "@aws-sdk/client-personalize"; // ES Modules import
16
- * // const { PersonalizeClient, ListSchemasCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
17
- * const client = new PersonalizeClient(config);
18
- * const command = new ListSchemasCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListSchemasCommandInput} for command's `input` shape.
23
- * @see {@link ListSchemasCommandOutput} for command's `response` shape.
24
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListSchemasCommand 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,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 solution versions for the given solution. When a solution is not
10
- * specified, all the solution versions associated with the account are listed. The response
11
- * provides the properties for each solution version, including the Amazon Resource Name (ARN).
12
- * For more information on solutions, see <a>CreateSolution</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, ListSolutionVersionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
17
- * // const { PersonalizeClient, ListSolutionVersionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
18
- * const client = new PersonalizeClient(config);
19
- * const command = new ListSolutionVersionsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListSolutionVersionsCommandInput} for command's `input` shape.
24
- * @see {@link ListSolutionVersionsCommandOutput} for command's `response` shape.
25
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListSolutionVersionsCommand 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);
@@ -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 solutions that use the given dataset group.
10
- * When a dataset group is not specified, all the solutions associated with the account are listed.
11
- * The response provides the properties for each solution, including the Amazon Resource Name (ARN).
12
- * For more information on solutions, see <a>CreateSolution</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, ListSolutionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
17
- * // const { PersonalizeClient, ListSolutionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
18
- * const client = new PersonalizeClient(config);
19
- * const command = new ListSolutionsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListSolutionsCommandInput} for command's `input` shape.
24
- * @see {@link ListSolutionsCommandOutput} for command's `response` shape.
25
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListSolutionsCommand 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);
@@ -5,48 +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>Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
10
- * </p>
11
- * <p>Depending on the current state of the solution version, the solution version state changes as follows:</p>
12
- * <ul>
13
- * <li>
14
- * <p>CREATE_PENDING > CREATE_STOPPED</p>
15
- * <p>or</p>
16
- * </li>
17
- * <li>
18
- * <p>CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED</p>
19
- * </li>
20
- * </ul>
21
- * <p>You are billed for all of the training completed up
22
- * until you stop the solution version creation. You cannot resume creating a solution version once it has been stopped.</p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { PersonalizeClient, StopSolutionVersionCreationCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
- * // const { PersonalizeClient, StopSolutionVersionCreationCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
- * const client = new PersonalizeClient(config);
29
- * const command = new StopSolutionVersionCreationCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link StopSolutionVersionCreationCommandInput} for command's `input` shape.
34
- * @see {@link StopSolutionVersionCreationCommandOutput} for command's `response` shape.
35
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class StopSolutionVersionCreationCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +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>Updates a campaign by either deploying a new solution or changing the value of the
10
- * campaign's <code>minProvisionedTPS</code> parameter.</p>
11
- * <p>To update a campaign, the campaign status must be ACTIVE or CREATE FAILED.
12
- * Check the campaign status using the <a>DescribeCampaign</a> API.</p>
13
- * <note>
14
- * <p>You must wait until the <code>status</code> of the
15
- * updated campaign is <code>ACTIVE</code> before asking the campaign for recommendations.</p>
16
- * </note>
17
- * <p>For more information on campaigns, see <a>CreateCampaign</a>.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { PersonalizeClient, UpdateCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
22
- * // const { PersonalizeClient, UpdateCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
23
- * const client = new PersonalizeClient(config);
24
- * const command = new UpdateCampaignCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link UpdateCampaignCommandInput} for command's `input` shape.
29
- * @see {@link UpdateCampaignCommandOutput} for command's `response` shape.
30
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class UpdateCampaignCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateBatchInferenceJobCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateCampaignCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateDatasetCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateDatasetExportJobCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateDatasetGroupCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateDatasetImportJobCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateEventTrackerCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateFilterCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateSchemaCommand"), exports);
13
+ tslib_1.__exportStar(require("./CreateSolutionCommand"), exports);
14
+ tslib_1.__exportStar(require("./CreateSolutionVersionCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteCampaignCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteDatasetCommand"), exports);
17
+ tslib_1.__exportStar(require("./DeleteDatasetGroupCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteEventTrackerCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteFilterCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeleteSchemaCommand"), exports);
21
+ tslib_1.__exportStar(require("./DeleteSolutionCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeAlgorithmCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribeBatchInferenceJobCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeCampaignCommand"), exports);
25
+ tslib_1.__exportStar(require("./DescribeDatasetCommand"), exports);
26
+ tslib_1.__exportStar(require("./DescribeDatasetExportJobCommand"), exports);
27
+ tslib_1.__exportStar(require("./DescribeDatasetGroupCommand"), exports);
28
+ tslib_1.__exportStar(require("./DescribeDatasetImportJobCommand"), exports);
29
+ tslib_1.__exportStar(require("./DescribeEventTrackerCommand"), exports);
30
+ tslib_1.__exportStar(require("./DescribeFeatureTransformationCommand"), exports);
31
+ tslib_1.__exportStar(require("./DescribeFilterCommand"), exports);
32
+ tslib_1.__exportStar(require("./DescribeRecipeCommand"), exports);
33
+ tslib_1.__exportStar(require("./DescribeSchemaCommand"), exports);
34
+ tslib_1.__exportStar(require("./DescribeSolutionCommand"), exports);
35
+ tslib_1.__exportStar(require("./DescribeSolutionVersionCommand"), exports);
36
+ tslib_1.__exportStar(require("./GetSolutionMetricsCommand"), exports);
37
+ tslib_1.__exportStar(require("./ListBatchInferenceJobsCommand"), exports);
38
+ tslib_1.__exportStar(require("./ListCampaignsCommand"), exports);
39
+ tslib_1.__exportStar(require("./ListDatasetExportJobsCommand"), exports);
40
+ tslib_1.__exportStar(require("./ListDatasetGroupsCommand"), exports);
41
+ tslib_1.__exportStar(require("./ListDatasetImportJobsCommand"), exports);
42
+ tslib_1.__exportStar(require("./ListDatasetsCommand"), exports);
43
+ tslib_1.__exportStar(require("./ListEventTrackersCommand"), exports);
44
+ tslib_1.__exportStar(require("./ListFiltersCommand"), exports);
45
+ tslib_1.__exportStar(require("./ListRecipesCommand"), exports);
46
+ tslib_1.__exportStar(require("./ListSchemasCommand"), exports);
47
+ tslib_1.__exportStar(require("./ListSolutionVersionsCommand"), exports);
48
+ tslib_1.__exportStar(require("./ListSolutionsCommand"), exports);
49
+ tslib_1.__exportStar(require("./StopSolutionVersionCreationCommand"), exports);
50
+ tslib_1.__exportStar(require("./UpdateCampaignCommand"), exports);
@@ -28,22 +28,27 @@ const partitionHash = {
28
28
  "us-west-1",
29
29
  "us-west-2",
30
30
  ],
31
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
31
32
  hostname: "personalize.{region}.amazonaws.com",
32
33
  },
33
34
  "aws-cn": {
34
35
  regions: ["cn-north-1", "cn-northwest-1"],
36
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
35
37
  hostname: "personalize.{region}.amazonaws.com.cn",
36
38
  },
37
39
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
40
+ regions: ["us-iso-east-1", "us-iso-west-1"],
41
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
39
42
  hostname: "personalize.{region}.c2s.ic.gov",
40
43
  },
41
44
  "aws-iso-b": {
42
45
  regions: ["us-isob-east-1"],
46
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
43
47
  hostname: "personalize.{region}.sc2s.sgov.gov",
44
48
  },
45
49
  "aws-us-gov": {
46
50
  regions: ["us-gov-east-1", "us-gov-west-1"],
51
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
47
52
  hostname: "personalize.{region}.amazonaws.com",
48
53
  },
49
54
  };
package/dist-cjs/index.js CHANGED
@@ -1,66 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./PersonalizeClient"), exports);
5
4
  tslib_1.__exportStar(require("./Personalize"), exports);
6
- tslib_1.__exportStar(require("./commands/CreateBatchInferenceJobCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateCampaignCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateDatasetCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateDatasetExportJobCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateDatasetGroupCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateDatasetImportJobCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateEventTrackerCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/CreateFilterCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/CreateSchemaCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/CreateSolutionCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/CreateSolutionVersionCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeleteCampaignCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DeleteDatasetCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DeleteDatasetGroupCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DeleteEventTrackerCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DeleteFilterCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DeleteSchemaCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DeleteSolutionCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DescribeAlgorithmCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DescribeBatchInferenceJobCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DescribeCampaignCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/DescribeDatasetCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribeDatasetExportJobCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DescribeDatasetGroupCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/DescribeDatasetImportJobCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/DescribeEventTrackerCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/DescribeFeatureTransformationCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/DescribeFilterCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/DescribeRecipeCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/DescribeSchemaCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/DescribeSolutionCommand"), exports);
37
- tslib_1.__exportStar(require("./commands/DescribeSolutionVersionCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/GetSolutionMetricsCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/ListBatchInferenceJobsCommand"), exports);
40
- tslib_1.__exportStar(require("./pagination/ListBatchInferenceJobsPaginator"), exports);
41
- tslib_1.__exportStar(require("./commands/ListCampaignsCommand"), exports);
42
- tslib_1.__exportStar(require("./pagination/ListCampaignsPaginator"), exports);
43
- tslib_1.__exportStar(require("./commands/ListDatasetExportJobsCommand"), exports);
44
- tslib_1.__exportStar(require("./pagination/ListDatasetExportJobsPaginator"), exports);
45
- tslib_1.__exportStar(require("./commands/ListDatasetGroupsCommand"), exports);
46
- tslib_1.__exportStar(require("./pagination/ListDatasetGroupsPaginator"), exports);
47
- tslib_1.__exportStar(require("./commands/ListDatasetImportJobsCommand"), exports);
48
- tslib_1.__exportStar(require("./pagination/ListDatasetImportJobsPaginator"), exports);
49
- tslib_1.__exportStar(require("./commands/ListDatasetsCommand"), exports);
50
- tslib_1.__exportStar(require("./pagination/ListDatasetsPaginator"), exports);
51
- tslib_1.__exportStar(require("./commands/ListEventTrackersCommand"), exports);
52
- tslib_1.__exportStar(require("./pagination/ListEventTrackersPaginator"), exports);
53
- tslib_1.__exportStar(require("./commands/ListFiltersCommand"), exports);
54
- tslib_1.__exportStar(require("./pagination/ListFiltersPaginator"), exports);
55
- tslib_1.__exportStar(require("./commands/ListRecipesCommand"), exports);
56
- tslib_1.__exportStar(require("./pagination/ListRecipesPaginator"), exports);
57
- tslib_1.__exportStar(require("./commands/ListSchemasCommand"), exports);
58
- tslib_1.__exportStar(require("./pagination/ListSchemasPaginator"), exports);
59
- tslib_1.__exportStar(require("./commands/ListSolutionsCommand"), exports);
60
- tslib_1.__exportStar(require("./pagination/ListSolutionsPaginator"), exports);
61
- tslib_1.__exportStar(require("./commands/ListSolutionVersionsCommand"), exports);
62
- tslib_1.__exportStar(require("./pagination/ListSolutionVersionsPaginator"), exports);
63
- tslib_1.__exportStar(require("./commands/StopSolutionVersionCreationCommand"), exports);
64
- tslib_1.__exportStar(require("./commands/UpdateCampaignCommand"), exports);
65
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
66
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./PersonalizeClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);