@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.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/Personalize.js +0 -4
- package/dist-cjs/PersonalizeClient.js +0 -9
- package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +0 -25
- package/dist-cjs/commands/CreateCampaignCommand.js +0 -94
- package/dist-cjs/commands/CreateDatasetCommand.js +0 -74
- package/dist-cjs/commands/CreateDatasetExportJobCommand.js +0 -45
- package/dist-cjs/commands/CreateDatasetGroupCommand.js +0 -99
- package/dist-cjs/commands/CreateDatasetImportJobCommand.js +0 -65
- package/dist-cjs/commands/CreateEventTrackerCommand.js +0 -69
- package/dist-cjs/commands/CreateFilterCommand.js +0 -24
- package/dist-cjs/commands/CreateSchemaCommand.js +0 -49
- package/dist-cjs/commands/CreateSolutionCommand.js +0 -96
- package/dist-cjs/commands/CreateSolutionVersionCommand.js +0 -91
- package/dist-cjs/commands/DeleteCampaignCommand.js +0 -29
- package/dist-cjs/commands/DeleteDatasetCommand.js +0 -26
- package/dist-cjs/commands/DeleteDatasetGroupCommand.js +0 -36
- package/dist-cjs/commands/DeleteEventTrackerCommand.js +0 -26
- package/dist-cjs/commands/DeleteFilterCommand.js +0 -24
- package/dist-cjs/commands/DeleteSchemaCommand.js +0 -26
- package/dist-cjs/commands/DeleteSolutionCommand.js +0 -30
- package/dist-cjs/commands/DescribeAlgorithmCommand.js +0 -24
- package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +0 -26
- package/dist-cjs/commands/DescribeCampaignCommand.js +0 -36
- package/dist-cjs/commands/DescribeDatasetCommand.js +0 -24
- package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeDatasetGroupCommand.js +0 -24
- package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeEventTrackerCommand.js +0 -26
- package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +0 -24
- package/dist-cjs/commands/DescribeFilterCommand.js +0 -24
- package/dist-cjs/commands/DescribeRecipeCommand.js +0 -42
- package/dist-cjs/commands/DescribeSchemaCommand.js +0 -25
- package/dist-cjs/commands/DescribeSolutionCommand.js +0 -25
- package/dist-cjs/commands/DescribeSolutionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetSolutionMetricsCommand.js +0 -24
- package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +0 -25
- package/dist-cjs/commands/ListCampaignsCommand.js +0 -27
- package/dist-cjs/commands/ListDatasetExportJobsCommand.js +0 -28
- package/dist-cjs/commands/ListDatasetGroupsCommand.js +0 -26
- package/dist-cjs/commands/ListDatasetImportJobsCommand.js +0 -28
- package/dist-cjs/commands/ListDatasetsCommand.js +0 -26
- package/dist-cjs/commands/ListEventTrackersCommand.js +0 -27
- package/dist-cjs/commands/ListFiltersCommand.js +0 -24
- package/dist-cjs/commands/ListRecipesCommand.js +0 -25
- package/dist-cjs/commands/ListSchemasCommand.js +0 -26
- package/dist-cjs/commands/ListSolutionVersionsCommand.js +0 -27
- package/dist-cjs/commands/ListSolutionsCommand.js +0 -27
- package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +0 -37
- package/dist-cjs/commands/UpdateCampaignCommand.js +0 -32
- package/dist-cjs/commands/index.js +50 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -62
- package/dist-cjs/models/models_0.js +0 -429
- package/dist-cjs/pagination/ListBatchInferenceJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListCampaignsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDatasetExportJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDatasetGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDatasetImportJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDatasetsPaginator.js +0 -10
- package/dist-cjs/pagination/ListEventTrackersPaginator.js +0 -10
- package/dist-cjs/pagination/ListFiltersPaginator.js +0 -10
- package/dist-cjs/pagination/ListRecipesPaginator.js +0 -10
- package/dist-cjs/pagination/ListSchemasPaginator.js +0 -10
- package/dist-cjs/pagination/ListSolutionVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListSolutionsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +16 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +47 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -62
- package/dist-es/pagination/index.js +13 -0
- package/dist-types/commands/index.d.ts +47 -0
- package/dist-types/index.d.ts +4 -62
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/Personalize.d.ts +48 -728
- package/dist-types/ts3.4/PersonalizeClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateBatchInferenceJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +2 -90
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/CreateDatasetGroupCommand.d.ts +2 -95
- package/dist-types/ts3.4/commands/CreateDatasetImportJobCommand.d.ts +2 -61
- package/dist-types/ts3.4/commands/CreateEventTrackerCommand.d.ts +2 -65
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/CreateSolutionCommand.d.ts +2 -92
- package/dist-types/ts3.4/commands/CreateSolutionVersionCommand.d.ts +2 -87
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteDatasetGroupCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeleteEventTrackerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteSolutionCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeBatchInferenceJobCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDatasetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDatasetImportJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventTrackerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeFeatureTransformationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeSolutionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeSolutionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSolutionMetricsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListBatchInferenceJobsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListDatasetGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListDatasetImportJobsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListEventTrackersCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListSolutionVersionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/StopSolutionVersionCreationCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/index.d.ts +47 -0
- package/dist-types/ts3.4/index.d.ts +4 -62
- package/dist-types/ts3.4/models/models_0.d.ts +620 -2318
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -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>Creates a recommendation filter. For more information, see <a>filter</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, CreateFilterCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
14
|
-
* // const { PersonalizeClient, CreateFilterCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
15
|
-
* const client = new PersonalizeClient(config);
|
|
16
|
-
* const command = new CreateFilterCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateFilterCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateFilterCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateFilterCommand 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,60 +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>Creates an Amazon Personalize schema from the specified schema string. The schema you create
|
|
10
|
-
* must be in Avro JSON format.</p>
|
|
11
|
-
* <p>Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset
|
|
12
|
-
* type and has a set of required field and keywords.
|
|
13
|
-
* You specify a schema when you call <a>CreateDataset</a>.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p class="title">
|
|
16
|
-
* <b>Related APIs</b>
|
|
17
|
-
* </p>
|
|
18
|
-
* <ul>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>
|
|
21
|
-
* <a>ListSchemas</a>
|
|
22
|
-
* </p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>
|
|
26
|
-
* <a>DescribeSchema</a>
|
|
27
|
-
* </p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* <a>DeleteSchema</a>
|
|
32
|
-
* </p>
|
|
33
|
-
* </li>
|
|
34
|
-
* </ul>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { PersonalizeClient, CreateSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
39
|
-
* // const { PersonalizeClient, CreateSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
40
|
-
* const client = new PersonalizeClient(config);
|
|
41
|
-
* const command = new CreateSchemaCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link CreateSchemaCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link CreateSchemaCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
8
|
class CreateSchemaCommand extends smithy_client_1.Command {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
9
|
constructor(input) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
10
|
super();
|
|
56
11
|
this.input = input;
|
|
57
|
-
// End section: command_constructor
|
|
58
12
|
}
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
63
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,107 +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>Creates the configuration for training a model. A trained model is known as
|
|
10
|
-
* a solution. After the configuration is created, you train the model (create a solution)
|
|
11
|
-
* by calling the <a>CreateSolutionVersion</a> operation. Every time you call
|
|
12
|
-
* <code>CreateSolutionVersion</code>, a new version of the solution is created.</p>
|
|
13
|
-
* <p>After creating a solution version, you check its accuracy by calling
|
|
14
|
-
* <a>GetSolutionMetrics</a>. When you are satisfied with the version, you
|
|
15
|
-
* deploy it using <a>CreateCampaign</a>. The campaign provides recommendations
|
|
16
|
-
* to a client through the
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a> API.</p>
|
|
18
|
-
* <p>To train a model, Amazon Personalize requires training data and a recipe. The training data
|
|
19
|
-
* comes from the dataset group that you provide in the request. A recipe specifies
|
|
20
|
-
* the training algorithm and a feature transformation. You can specify one of the predefined
|
|
21
|
-
* recipes provided by Amazon Personalize. Alternatively, you can specify
|
|
22
|
-
* <code>performAutoML</code> and Amazon Personalize will analyze your data and select the
|
|
23
|
-
* optimum USER_PERSONALIZATION recipe for you.</p>
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>Amazon Personalize doesn't support configuring the <code>hpoObjective</code>
|
|
26
|
-
* for solution hyperparameter optimization at this time.</p>
|
|
27
|
-
* </note>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>Status</b>
|
|
30
|
-
* </p>
|
|
31
|
-
* <p>A solution can be in one of the following states:</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* </ul>
|
|
40
|
-
* <p>To get the status of the solution, call <a>DescribeSolution</a>. Wait
|
|
41
|
-
* until the status shows as ACTIVE before calling <code>CreateSolutionVersion</code>.</p>
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* <p class="title">
|
|
46
|
-
* <b>Related APIs</b>
|
|
47
|
-
* </p>
|
|
48
|
-
* <ul>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>
|
|
51
|
-
* <a>ListSolutions</a>
|
|
52
|
-
* </p>
|
|
53
|
-
* </li>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>
|
|
56
|
-
* <a>CreateSolutionVersion</a>
|
|
57
|
-
* </p>
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>
|
|
61
|
-
* <a>DescribeSolution</a>
|
|
62
|
-
* </p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>
|
|
66
|
-
* <a>DeleteSolution</a>
|
|
67
|
-
* </p>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
70
|
-
* <ul>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>
|
|
73
|
-
* <a>ListSolutionVersions</a>
|
|
74
|
-
* </p>
|
|
75
|
-
* </li>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>
|
|
78
|
-
* <a>DescribeSolutionVersion</a>
|
|
79
|
-
* </p>
|
|
80
|
-
* </li>
|
|
81
|
-
* </ul>
|
|
82
|
-
* @example
|
|
83
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
84
|
-
* ```javascript
|
|
85
|
-
* import { PersonalizeClient, CreateSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
86
|
-
* // const { PersonalizeClient, CreateSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
87
|
-
* const client = new PersonalizeClient(config);
|
|
88
|
-
* const command = new CreateSolutionCommand(input);
|
|
89
|
-
* const response = await client.send(command);
|
|
90
|
-
* ```
|
|
91
|
-
*
|
|
92
|
-
* @see {@link CreateSolutionCommandInput} for command's `input` shape.
|
|
93
|
-
* @see {@link CreateSolutionCommandOutput} for command's `response` shape.
|
|
94
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
95
|
-
*
|
|
96
|
-
*/
|
|
97
8
|
class CreateSolutionCommand extends smithy_client_1.Command {
|
|
98
|
-
// Start section: command_properties
|
|
99
|
-
// End section: command_properties
|
|
100
9
|
constructor(input) {
|
|
101
|
-
// Start section: command_constructor
|
|
102
10
|
super();
|
|
103
11
|
this.input = input;
|
|
104
|
-
// End section: command_constructor
|
|
105
12
|
}
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
110
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
111
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,102 +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>Trains or retrains an active solution. A solution is created using the <a>CreateSolution</a> operation and must be in the ACTIVE state before calling
|
|
10
|
-
* <code>CreateSolutionVersion</code>. A new version of the solution is created every time you
|
|
11
|
-
* call this operation.</p>
|
|
12
|
-
* <p>
|
|
13
|
-
* <b>Status</b>
|
|
14
|
-
* </p>
|
|
15
|
-
* <p>A solution version can be in one of the following states:</p>
|
|
16
|
-
* <ul>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>CREATE PENDING</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>CREATE IN_PROGRESS</p>
|
|
22
|
-
* </li>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>ACTIVE</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>CREATE FAILED</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>CREATE STOPPING</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>CREATE STOPPED</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ul>
|
|
36
|
-
* <p>To get the status of the version, call <a>DescribeSolutionVersion</a>. Wait
|
|
37
|
-
* until the status shows as ACTIVE before calling <code>CreateCampaign</code>.</p>
|
|
38
|
-
* <p>If the status shows as CREATE FAILED, the response includes a <code>failureReason</code>
|
|
39
|
-
* key, which describes why the job failed.</p>
|
|
40
|
-
* <p class="title">
|
|
41
|
-
* <b>Related APIs</b>
|
|
42
|
-
* </p>
|
|
43
|
-
* <ul>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <a>ListSolutionVersions</a>
|
|
47
|
-
* </p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>
|
|
51
|
-
* <a>DescribeSolutionVersion</a>
|
|
52
|
-
* </p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
55
|
-
* <ul>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>
|
|
58
|
-
* <a>ListSolutions</a>
|
|
59
|
-
* </p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>
|
|
63
|
-
* <a>CreateSolution</a>
|
|
64
|
-
* </p>
|
|
65
|
-
* </li>
|
|
66
|
-
* <li>
|
|
67
|
-
* <p>
|
|
68
|
-
* <a>DescribeSolution</a>
|
|
69
|
-
* </p>
|
|
70
|
-
* </li>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>
|
|
73
|
-
* <a>DeleteSolution</a>
|
|
74
|
-
* </p>
|
|
75
|
-
* </li>
|
|
76
|
-
* </ul>
|
|
77
|
-
* @example
|
|
78
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
79
|
-
* ```javascript
|
|
80
|
-
* import { PersonalizeClient, CreateSolutionVersionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
81
|
-
* // const { PersonalizeClient, CreateSolutionVersionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
82
|
-
* const client = new PersonalizeClient(config);
|
|
83
|
-
* const command = new CreateSolutionVersionCommand(input);
|
|
84
|
-
* const response = await client.send(command);
|
|
85
|
-
* ```
|
|
86
|
-
*
|
|
87
|
-
* @see {@link CreateSolutionVersionCommandInput} for command's `input` shape.
|
|
88
|
-
* @see {@link CreateSolutionVersionCommandOutput} for command's `response` shape.
|
|
89
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
90
|
-
*
|
|
91
|
-
*/
|
|
92
8
|
class CreateSolutionVersionCommand extends smithy_client_1.Command {
|
|
93
|
-
// Start section: command_properties
|
|
94
|
-
// End section: command_properties
|
|
95
9
|
constructor(input) {
|
|
96
|
-
// Start section: command_constructor
|
|
97
10
|
super();
|
|
98
11
|
this.input = input;
|
|
99
|
-
// End section: command_constructor
|
|
100
12
|
}
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
105
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
106
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +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>Removes a campaign by deleting the solution deployment. The solution that
|
|
10
|
-
* the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no
|
|
11
|
-
* longer be specified in a
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a>
|
|
13
|
-
* request.
|
|
14
|
-
* For more information on campaigns, see <a>CreateCampaign</a>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { PersonalizeClient, DeleteCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
19
|
-
* // const { PersonalizeClient, DeleteCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
20
|
-
* const client = new PersonalizeClient(config);
|
|
21
|
-
* const command = new DeleteCampaignCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link DeleteCampaignCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link DeleteCampaignCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class DeleteCampaignCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
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>Deletes a dataset. You can't delete a dataset if an associated
|
|
10
|
-
* <code>DatasetImportJob</code> or <code>SolutionVersion</code> is in the CREATE PENDING or IN
|
|
11
|
-
* PROGRESS state. For more 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, DeleteDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
-
* // const { PersonalizeClient, DeleteDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
-
* const client = new PersonalizeClient(config);
|
|
18
|
-
* const command = new DeleteDatasetCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteDatasetCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteDatasetCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteDatasetCommand 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>Deletes a dataset group. Before you delete a dataset group, you must delete the
|
|
10
|
-
* following:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>All associated event trackers.</p>
|
|
14
|
-
* </li>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>All associated solutions.</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>All datasets in the dataset group.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* </ul>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { PersonalizeClient, DeleteDatasetGroupCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
26
|
-
* // const { PersonalizeClient, DeleteDatasetGroupCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
27
|
-
* const client = new PersonalizeClient(config);
|
|
28
|
-
* const command = new DeleteDatasetGroupCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link DeleteDatasetGroupCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link DeleteDatasetGroupCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
8
|
class DeleteDatasetGroupCommand 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,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>Deletes the event tracker. Does not delete the event-interactions dataset from
|
|
10
|
-
* the associated dataset group. For more
|
|
11
|
-
* 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, DeleteEventTrackerCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
-
* // const { PersonalizeClient, DeleteEventTrackerCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
-
* const client = new PersonalizeClient(config);
|
|
18
|
-
* const command = new DeleteEventTrackerCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteEventTrackerCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteEventTrackerCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteEventTrackerCommand 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>Deletes a filter.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PersonalizeClient, DeleteFilterCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
14
|
-
* // const { PersonalizeClient, DeleteFilterCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
15
|
-
* const client = new PersonalizeClient(config);
|
|
16
|
-
* const command = new DeleteFilterCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteFilterCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteFilterCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteFilterCommand 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,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>Deletes a schema. Before deleting a schema, you must delete all
|
|
10
|
-
* datasets referencing the schema. For more information on schemas, see
|
|
11
|
-
* <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, DeleteSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
-
* // const { PersonalizeClient, DeleteSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
-
* const client = new PersonalizeClient(config);
|
|
18
|
-
* const command = new DeleteSchemaCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteSchemaCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteSchemaCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteSchemaCommand 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,41 +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>Deletes all versions of a solution and the <code>Solution</code> object itself.
|
|
10
|
-
* Before deleting a solution, you must delete all campaigns based on
|
|
11
|
-
* the solution. To determine what campaigns are using the solution, call
|
|
12
|
-
* <a>ListCampaigns</a> and supply the Amazon Resource Name (ARN) of the solution.
|
|
13
|
-
* You can't delete a solution if an associated <code>SolutionVersion</code> is in the
|
|
14
|
-
* CREATE PENDING or IN PROGRESS state.
|
|
15
|
-
* For more information on solutions, see <a>CreateSolution</a>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { PersonalizeClient, DeleteSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
20
|
-
* // const { PersonalizeClient, DeleteSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
21
|
-
* const client = new PersonalizeClient(config);
|
|
22
|
-
* const command = new DeleteSolutionCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DeleteSolutionCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DeleteSolutionCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class DeleteSolutionCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
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 algorithm.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PersonalizeClient, DescribeAlgorithmCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
14
|
-
* // const { PersonalizeClient, DescribeAlgorithmCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
15
|
-
* const client = new PersonalizeClient(config);
|
|
16
|
-
* const command = new DescribeAlgorithmCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeAlgorithmCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeAlgorithmCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeAlgorithmCommand 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);
|