@aws-sdk/client-personalize 3.212.0 → 3.213.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/dist-cjs/Personalize.js +90 -0
- package/dist-cjs/commands/CreateMetricAttributionCommand.js +46 -0
- package/dist-cjs/commands/DeleteMetricAttributionCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetricAttributionCommand.js +46 -0
- package/dist-cjs/commands/ListMetricAttributionMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListMetricAttributionsCommand.js +46 -0
- package/dist-cjs/commands/UpdateMetricAttributionCommand.js +46 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +64 -4
- package/dist-cjs/pagination/ListMetricAttributionMetricsPaginator.js +36 -0
- package/dist-cjs/pagination/ListMetricAttributionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +485 -3
- package/dist-es/Personalize.js +90 -0
- package/dist-es/commands/CreateMetricAttributionCommand.js +42 -0
- package/dist-es/commands/DeleteMetricAttributionCommand.js +42 -0
- package/dist-es/commands/DescribeMetricAttributionCommand.js +42 -0
- package/dist-es/commands/ListMetricAttributionMetricsCommand.js +42 -0
- package/dist-es/commands/ListMetricAttributionsCommand.js +42 -0
- package/dist-es/commands/UpdateMetricAttributionCommand.js +42 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +45 -0
- package/dist-es/pagination/ListMetricAttributionMetricsPaginator.js +32 -0
- package/dist-es/pagination/ListMetricAttributionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +470 -0
- package/dist-types/Personalize.d.ts +44 -0
- package/dist-types/PersonalizeClient.d.ts +8 -2
- package/dist-types/commands/CreateMetricAttributionCommand.d.ts +39 -0
- package/dist-types/commands/DeleteMetricAttributionCommand.d.ts +37 -0
- package/dist-types/commands/DescribeMetricAttributionCommand.d.ts +37 -0
- package/dist-types/commands/ListMetricAttributionMetricsCommand.d.ts +37 -0
- package/dist-types/commands/ListMetricAttributionsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateMetricAttributionCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +295 -0
- package/dist-types/pagination/ListMetricAttributionMetricsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMetricAttributionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/Personalize.d.ts +102 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateMetricAttributionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteMetricAttributionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeMetricAttributionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListMetricAttributionMetricsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListMetricAttributionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateMetricAttributionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +122 -0
- package/dist-types/ts3.4/pagination/ListMetricAttributionMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMetricAttributionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/package.json +2 -2
|
@@ -8,6 +8,7 @@ import { CreateDatasetGroupCommandInput, CreateDatasetGroupCommandOutput } from
|
|
|
8
8
|
import { CreateDatasetImportJobCommandInput, CreateDatasetImportJobCommandOutput } from "./commands/CreateDatasetImportJobCommand";
|
|
9
9
|
import { CreateEventTrackerCommandInput, CreateEventTrackerCommandOutput } from "./commands/CreateEventTrackerCommand";
|
|
10
10
|
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
11
|
+
import { CreateMetricAttributionCommandInput, CreateMetricAttributionCommandOutput } from "./commands/CreateMetricAttributionCommand";
|
|
11
12
|
import { CreateRecommenderCommandInput, CreateRecommenderCommandOutput } from "./commands/CreateRecommenderCommand";
|
|
12
13
|
import { CreateSchemaCommandInput, CreateSchemaCommandOutput } from "./commands/CreateSchemaCommand";
|
|
13
14
|
import { CreateSolutionCommandInput, CreateSolutionCommandOutput } from "./commands/CreateSolutionCommand";
|
|
@@ -17,6 +18,7 @@ import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./command
|
|
|
17
18
|
import { DeleteDatasetGroupCommandInput, DeleteDatasetGroupCommandOutput } from "./commands/DeleteDatasetGroupCommand";
|
|
18
19
|
import { DeleteEventTrackerCommandInput, DeleteEventTrackerCommandOutput } from "./commands/DeleteEventTrackerCommand";
|
|
19
20
|
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
21
|
+
import { DeleteMetricAttributionCommandInput, DeleteMetricAttributionCommandOutput } from "./commands/DeleteMetricAttributionCommand";
|
|
20
22
|
import { DeleteRecommenderCommandInput, DeleteRecommenderCommandOutput } from "./commands/DeleteRecommenderCommand";
|
|
21
23
|
import { DeleteSchemaCommandInput, DeleteSchemaCommandOutput } from "./commands/DeleteSchemaCommand";
|
|
22
24
|
import { DeleteSolutionCommandInput, DeleteSolutionCommandOutput } from "./commands/DeleteSolutionCommand";
|
|
@@ -31,6 +33,7 @@ import { DescribeDatasetImportJobCommandInput, DescribeDatasetImportJobCommandOu
|
|
|
31
33
|
import { DescribeEventTrackerCommandInput, DescribeEventTrackerCommandOutput } from "./commands/DescribeEventTrackerCommand";
|
|
32
34
|
import { DescribeFeatureTransformationCommandInput, DescribeFeatureTransformationCommandOutput } from "./commands/DescribeFeatureTransformationCommand";
|
|
33
35
|
import { DescribeFilterCommandInput, DescribeFilterCommandOutput } from "./commands/DescribeFilterCommand";
|
|
36
|
+
import { DescribeMetricAttributionCommandInput, DescribeMetricAttributionCommandOutput } from "./commands/DescribeMetricAttributionCommand";
|
|
34
37
|
import { DescribeRecipeCommandInput, DescribeRecipeCommandOutput } from "./commands/DescribeRecipeCommand";
|
|
35
38
|
import { DescribeRecommenderCommandInput, DescribeRecommenderCommandOutput } from "./commands/DescribeRecommenderCommand";
|
|
36
39
|
import { DescribeSchemaCommandInput, DescribeSchemaCommandOutput } from "./commands/DescribeSchemaCommand";
|
|
@@ -46,6 +49,8 @@ import { ListDatasetImportJobsCommandInput, ListDatasetImportJobsCommandOutput }
|
|
|
46
49
|
import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
|
|
47
50
|
import { ListEventTrackersCommandInput, ListEventTrackersCommandOutput } from "./commands/ListEventTrackersCommand";
|
|
48
51
|
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
52
|
+
import { ListMetricAttributionMetricsCommandInput, ListMetricAttributionMetricsCommandOutput } from "./commands/ListMetricAttributionMetricsCommand";
|
|
53
|
+
import { ListMetricAttributionsCommandInput, ListMetricAttributionsCommandOutput } from "./commands/ListMetricAttributionsCommand";
|
|
49
54
|
import { ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand";
|
|
50
55
|
import { ListRecommendersCommandInput, ListRecommendersCommandOutput } from "./commands/ListRecommendersCommand";
|
|
51
56
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
@@ -58,6 +63,7 @@ import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCom
|
|
|
58
63
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
59
64
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
60
65
|
import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "./commands/UpdateCampaignCommand";
|
|
66
|
+
import { UpdateMetricAttributionCommandInput, UpdateMetricAttributionCommandOutput } from "./commands/UpdateMetricAttributionCommand";
|
|
61
67
|
import { UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput } from "./commands/UpdateRecommenderCommand";
|
|
62
68
|
import { PersonalizeClient } from "./PersonalizeClient";
|
|
63
69
|
/**
|
|
@@ -437,6 +443,14 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
437
443
|
createFilter(args: CreateFilterCommandInput, options?: __HttpHandlerOptions): Promise<CreateFilterCommandOutput>;
|
|
438
444
|
createFilter(args: CreateFilterCommandInput, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
|
|
439
445
|
createFilter(args: CreateFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
|
|
446
|
+
/**
|
|
447
|
+
* <p>Creates a metric attribution.
|
|
448
|
+
* A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you imported the data, you can view reports in Amazon CloudWatch or Amazon S3.
|
|
449
|
+
* For more information, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of recommendations</a>.</p>
|
|
450
|
+
*/
|
|
451
|
+
createMetricAttribution(args: CreateMetricAttributionCommandInput, options?: __HttpHandlerOptions): Promise<CreateMetricAttributionCommandOutput>;
|
|
452
|
+
createMetricAttribution(args: CreateMetricAttributionCommandInput, cb: (err: any, data?: CreateMetricAttributionCommandOutput) => void): void;
|
|
453
|
+
createMetricAttribution(args: CreateMetricAttributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMetricAttributionCommandOutput) => void): void;
|
|
440
454
|
/**
|
|
441
455
|
* <p>Creates a recommender with the recipe (a Domain dataset group use case) you specify.
|
|
442
456
|
* You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a
|
|
@@ -752,6 +766,12 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
752
766
|
deleteFilter(args: DeleteFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFilterCommandOutput>;
|
|
753
767
|
deleteFilter(args: DeleteFilterCommandInput, cb: (err: any, data?: DeleteFilterCommandOutput) => void): void;
|
|
754
768
|
deleteFilter(args: DeleteFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFilterCommandOutput) => void): void;
|
|
769
|
+
/**
|
|
770
|
+
* <p>Deletes a metric attribution.</p>
|
|
771
|
+
*/
|
|
772
|
+
deleteMetricAttribution(args: DeleteMetricAttributionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMetricAttributionCommandOutput>;
|
|
773
|
+
deleteMetricAttribution(args: DeleteMetricAttributionCommandInput, cb: (err: any, data?: DeleteMetricAttributionCommandOutput) => void): void;
|
|
774
|
+
deleteMetricAttribution(args: DeleteMetricAttributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMetricAttributionCommandOutput) => void): void;
|
|
755
775
|
/**
|
|
756
776
|
* <p>Deactivates and removes a recommender. A deleted recommender can no longer be specified in a <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a>
|
|
757
777
|
* request.</p>
|
|
@@ -865,6 +885,12 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
865
885
|
describeFilter(args: DescribeFilterCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFilterCommandOutput>;
|
|
866
886
|
describeFilter(args: DescribeFilterCommandInput, cb: (err: any, data?: DescribeFilterCommandOutput) => void): void;
|
|
867
887
|
describeFilter(args: DescribeFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFilterCommandOutput) => void): void;
|
|
888
|
+
/**
|
|
889
|
+
* <p>Describes a metric attribution.</p>
|
|
890
|
+
*/
|
|
891
|
+
describeMetricAttribution(args: DescribeMetricAttributionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMetricAttributionCommandOutput>;
|
|
892
|
+
describeMetricAttribution(args: DescribeMetricAttributionCommandInput, cb: (err: any, data?: DescribeMetricAttributionCommandOutput) => void): void;
|
|
893
|
+
describeMetricAttribution(args: DescribeMetricAttributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMetricAttributionCommandOutput) => void): void;
|
|
868
894
|
/**
|
|
869
895
|
* <p>Describes a recipe.</p>
|
|
870
896
|
* <p>A recipe contains three items:</p>
|
|
@@ -1015,6 +1041,18 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
1015
1041
|
listFilters(args: ListFiltersCommandInput, options?: __HttpHandlerOptions): Promise<ListFiltersCommandOutput>;
|
|
1016
1042
|
listFilters(args: ListFiltersCommandInput, cb: (err: any, data?: ListFiltersCommandOutput) => void): void;
|
|
1017
1043
|
listFilters(args: ListFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFiltersCommandOutput) => void): void;
|
|
1044
|
+
/**
|
|
1045
|
+
* <p>Lists the metrics for the metric attribution.</p>
|
|
1046
|
+
*/
|
|
1047
|
+
listMetricAttributionMetrics(args: ListMetricAttributionMetricsCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricAttributionMetricsCommandOutput>;
|
|
1048
|
+
listMetricAttributionMetrics(args: ListMetricAttributionMetricsCommandInput, cb: (err: any, data?: ListMetricAttributionMetricsCommandOutput) => void): void;
|
|
1049
|
+
listMetricAttributionMetrics(args: ListMetricAttributionMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricAttributionMetricsCommandOutput) => void): void;
|
|
1050
|
+
/**
|
|
1051
|
+
* <p>Lists metric attributions.</p>
|
|
1052
|
+
*/
|
|
1053
|
+
listMetricAttributions(args: ListMetricAttributionsCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricAttributionsCommandOutput>;
|
|
1054
|
+
listMetricAttributions(args: ListMetricAttributionsCommandInput, cb: (err: any, data?: ListMetricAttributionsCommandOutput) => void): void;
|
|
1055
|
+
listMetricAttributions(args: ListMetricAttributionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricAttributionsCommandOutput) => void): void;
|
|
1018
1056
|
/**
|
|
1019
1057
|
* <p>Returns a list of available recipes. The response provides the properties
|
|
1020
1058
|
* for each recipe, including the recipe's Amazon Resource Name (ARN).</p>
|
|
@@ -1123,6 +1161,12 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
1123
1161
|
updateCampaign(args: UpdateCampaignCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCampaignCommandOutput>;
|
|
1124
1162
|
updateCampaign(args: UpdateCampaignCommandInput, cb: (err: any, data?: UpdateCampaignCommandOutput) => void): void;
|
|
1125
1163
|
updateCampaign(args: UpdateCampaignCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCampaignCommandOutput) => void): void;
|
|
1164
|
+
/**
|
|
1165
|
+
* <p>Updates a metric attribution.</p>
|
|
1166
|
+
*/
|
|
1167
|
+
updateMetricAttribution(args: UpdateMetricAttributionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMetricAttributionCommandOutput>;
|
|
1168
|
+
updateMetricAttribution(args: UpdateMetricAttributionCommandInput, cb: (err: any, data?: UpdateMetricAttributionCommandOutput) => void): void;
|
|
1169
|
+
updateMetricAttribution(args: UpdateMetricAttributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMetricAttributionCommandOutput) => void): void;
|
|
1126
1170
|
/**
|
|
1127
1171
|
* <p>Updates the recommender to modify the recommender configuration.</p>
|
|
1128
1172
|
*/
|
|
@@ -16,6 +16,7 @@ import { CreateDatasetGroupCommandInput, CreateDatasetGroupCommandOutput } from
|
|
|
16
16
|
import { CreateDatasetImportJobCommandInput, CreateDatasetImportJobCommandOutput } from "./commands/CreateDatasetImportJobCommand";
|
|
17
17
|
import { CreateEventTrackerCommandInput, CreateEventTrackerCommandOutput } from "./commands/CreateEventTrackerCommand";
|
|
18
18
|
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
19
|
+
import { CreateMetricAttributionCommandInput, CreateMetricAttributionCommandOutput } from "./commands/CreateMetricAttributionCommand";
|
|
19
20
|
import { CreateRecommenderCommandInput, CreateRecommenderCommandOutput } from "./commands/CreateRecommenderCommand";
|
|
20
21
|
import { CreateSchemaCommandInput, CreateSchemaCommandOutput } from "./commands/CreateSchemaCommand";
|
|
21
22
|
import { CreateSolutionCommandInput, CreateSolutionCommandOutput } from "./commands/CreateSolutionCommand";
|
|
@@ -25,6 +26,7 @@ import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./command
|
|
|
25
26
|
import { DeleteDatasetGroupCommandInput, DeleteDatasetGroupCommandOutput } from "./commands/DeleteDatasetGroupCommand";
|
|
26
27
|
import { DeleteEventTrackerCommandInput, DeleteEventTrackerCommandOutput } from "./commands/DeleteEventTrackerCommand";
|
|
27
28
|
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
29
|
+
import { DeleteMetricAttributionCommandInput, DeleteMetricAttributionCommandOutput } from "./commands/DeleteMetricAttributionCommand";
|
|
28
30
|
import { DeleteRecommenderCommandInput, DeleteRecommenderCommandOutput } from "./commands/DeleteRecommenderCommand";
|
|
29
31
|
import { DeleteSchemaCommandInput, DeleteSchemaCommandOutput } from "./commands/DeleteSchemaCommand";
|
|
30
32
|
import { DeleteSolutionCommandInput, DeleteSolutionCommandOutput } from "./commands/DeleteSolutionCommand";
|
|
@@ -39,6 +41,7 @@ import { DescribeDatasetImportJobCommandInput, DescribeDatasetImportJobCommandOu
|
|
|
39
41
|
import { DescribeEventTrackerCommandInput, DescribeEventTrackerCommandOutput } from "./commands/DescribeEventTrackerCommand";
|
|
40
42
|
import { DescribeFeatureTransformationCommandInput, DescribeFeatureTransformationCommandOutput } from "./commands/DescribeFeatureTransformationCommand";
|
|
41
43
|
import { DescribeFilterCommandInput, DescribeFilterCommandOutput } from "./commands/DescribeFilterCommand";
|
|
44
|
+
import { DescribeMetricAttributionCommandInput, DescribeMetricAttributionCommandOutput } from "./commands/DescribeMetricAttributionCommand";
|
|
42
45
|
import { DescribeRecipeCommandInput, DescribeRecipeCommandOutput } from "./commands/DescribeRecipeCommand";
|
|
43
46
|
import { DescribeRecommenderCommandInput, DescribeRecommenderCommandOutput } from "./commands/DescribeRecommenderCommand";
|
|
44
47
|
import { DescribeSchemaCommandInput, DescribeSchemaCommandOutput } from "./commands/DescribeSchemaCommand";
|
|
@@ -54,6 +57,8 @@ import { ListDatasetImportJobsCommandInput, ListDatasetImportJobsCommandOutput }
|
|
|
54
57
|
import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
|
|
55
58
|
import { ListEventTrackersCommandInput, ListEventTrackersCommandOutput } from "./commands/ListEventTrackersCommand";
|
|
56
59
|
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
60
|
+
import { ListMetricAttributionMetricsCommandInput, ListMetricAttributionMetricsCommandOutput } from "./commands/ListMetricAttributionMetricsCommand";
|
|
61
|
+
import { ListMetricAttributionsCommandInput, ListMetricAttributionsCommandOutput } from "./commands/ListMetricAttributionsCommand";
|
|
57
62
|
import { ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand";
|
|
58
63
|
import { ListRecommendersCommandInput, ListRecommendersCommandOutput } from "./commands/ListRecommendersCommand";
|
|
59
64
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
@@ -66,10 +71,11 @@ import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCom
|
|
|
66
71
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
67
72
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
68
73
|
import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "./commands/UpdateCampaignCommand";
|
|
74
|
+
import { UpdateMetricAttributionCommandInput, UpdateMetricAttributionCommandOutput } from "./commands/UpdateMetricAttributionCommand";
|
|
69
75
|
import { UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput } from "./commands/UpdateRecommenderCommand";
|
|
70
76
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
71
|
-
export declare type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StartRecommenderCommandInput | StopRecommenderCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateRecommenderCommandInput;
|
|
72
|
-
export declare type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StartRecommenderCommandOutput | StopRecommenderCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateRecommenderCommandOutput;
|
|
77
|
+
export declare type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateMetricAttributionCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteMetricAttributionCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeMetricAttributionCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListMetricAttributionMetricsCommandInput | ListMetricAttributionsCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StartRecommenderCommandInput | StopRecommenderCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateMetricAttributionCommandInput | UpdateRecommenderCommandInput;
|
|
78
|
+
export declare type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateMetricAttributionCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteMetricAttributionCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeMetricAttributionCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListMetricAttributionMetricsCommandOutput | ListMetricAttributionsCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StartRecommenderCommandOutput | StopRecommenderCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateMetricAttributionCommandOutput | UpdateRecommenderCommandOutput;
|
|
73
79
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
74
80
|
/**
|
|
75
81
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CreateMetricAttributionRequest, CreateMetricAttributionResponse } from "../models/models_0";
|
|
5
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
6
|
+
export interface CreateMetricAttributionCommandInput extends CreateMetricAttributionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateMetricAttributionCommandOutput extends CreateMetricAttributionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a metric attribution.
|
|
12
|
+
* A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you imported the data, you can view reports in Amazon CloudWatch or Amazon S3.
|
|
13
|
+
* For more information, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of recommendations</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, CreateMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
18
|
+
* // const { PersonalizeClient, CreateMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
19
|
+
* const client = new PersonalizeClient(config);
|
|
20
|
+
* const command = new CreateMetricAttributionCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link CreateMetricAttributionCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link CreateMetricAttributionCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class CreateMetricAttributionCommand extends $Command<CreateMetricAttributionCommandInput, CreateMetricAttributionCommandOutput, PersonalizeClientResolvedConfig> {
|
|
30
|
+
readonly input: CreateMetricAttributionCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: CreateMetricAttributionCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMetricAttributionCommandInput, CreateMetricAttributionCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteMetricAttributionRequest } from "../models/models_0";
|
|
5
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
6
|
+
export interface DeleteMetricAttributionCommandInput extends DeleteMetricAttributionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteMetricAttributionCommandOutput extends __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes a metric attribution.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, DeleteMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, DeleteMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new DeleteMetricAttributionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteMetricAttributionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteMetricAttributionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteMetricAttributionCommand extends $Command<DeleteMetricAttributionCommandInput, DeleteMetricAttributionCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteMetricAttributionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteMetricAttributionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMetricAttributionCommandInput, DeleteMetricAttributionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DescribeMetricAttributionRequest, DescribeMetricAttributionResponse } from "../models/models_0";
|
|
5
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
6
|
+
export interface DescribeMetricAttributionCommandInput extends DescribeMetricAttributionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DescribeMetricAttributionCommandOutput extends DescribeMetricAttributionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Describes a metric attribution.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, DescribeMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, DescribeMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new DescribeMetricAttributionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeMetricAttributionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeMetricAttributionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeMetricAttributionCommand extends $Command<DescribeMetricAttributionCommandInput, DescribeMetricAttributionCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeMetricAttributionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DescribeMetricAttributionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeMetricAttributionCommandInput, DescribeMetricAttributionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListMetricAttributionMetricsRequest, ListMetricAttributionMetricsResponse } from "../models/models_0";
|
|
5
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
6
|
+
export interface ListMetricAttributionMetricsCommandInput extends ListMetricAttributionMetricsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListMetricAttributionMetricsCommandOutput extends ListMetricAttributionMetricsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the metrics for the metric attribution.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, ListMetricAttributionMetricsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, ListMetricAttributionMetricsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new ListMetricAttributionMetricsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListMetricAttributionMetricsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListMetricAttributionMetricsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListMetricAttributionMetricsCommand extends $Command<ListMetricAttributionMetricsCommandInput, ListMetricAttributionMetricsCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: ListMetricAttributionMetricsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListMetricAttributionMetricsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMetricAttributionMetricsCommandInput, ListMetricAttributionMetricsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListMetricAttributionsRequest, ListMetricAttributionsResponse } from "../models/models_0";
|
|
5
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
6
|
+
export interface ListMetricAttributionsCommandInput extends ListMetricAttributionsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListMetricAttributionsCommandOutput extends ListMetricAttributionsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists metric attributions.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, ListMetricAttributionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, ListMetricAttributionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new ListMetricAttributionsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListMetricAttributionsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListMetricAttributionsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListMetricAttributionsCommand extends $Command<ListMetricAttributionsCommandInput, ListMetricAttributionsCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: ListMetricAttributionsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListMetricAttributionsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMetricAttributionsCommandInput, ListMetricAttributionsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateMetricAttributionRequest, UpdateMetricAttributionResponse } from "../models/models_0";
|
|
5
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
6
|
+
export interface UpdateMetricAttributionCommandInput extends UpdateMetricAttributionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateMetricAttributionCommandOutput extends UpdateMetricAttributionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates a metric attribution.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, UpdateMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, UpdateMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new UpdateMetricAttributionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateMetricAttributionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateMetricAttributionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateMetricAttributionCommand extends $Command<UpdateMetricAttributionCommandInput, UpdateMetricAttributionCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateMetricAttributionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateMetricAttributionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateMetricAttributionCommandInput, UpdateMetricAttributionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./CreateDatasetGroupCommand";
|
|
|
7
7
|
export * from "./CreateDatasetImportJobCommand";
|
|
8
8
|
export * from "./CreateEventTrackerCommand";
|
|
9
9
|
export * from "./CreateFilterCommand";
|
|
10
|
+
export * from "./CreateMetricAttributionCommand";
|
|
10
11
|
export * from "./CreateRecommenderCommand";
|
|
11
12
|
export * from "./CreateSchemaCommand";
|
|
12
13
|
export * from "./CreateSolutionCommand";
|
|
@@ -16,6 +17,7 @@ export * from "./DeleteDatasetCommand";
|
|
|
16
17
|
export * from "./DeleteDatasetGroupCommand";
|
|
17
18
|
export * from "./DeleteEventTrackerCommand";
|
|
18
19
|
export * from "./DeleteFilterCommand";
|
|
20
|
+
export * from "./DeleteMetricAttributionCommand";
|
|
19
21
|
export * from "./DeleteRecommenderCommand";
|
|
20
22
|
export * from "./DeleteSchemaCommand";
|
|
21
23
|
export * from "./DeleteSolutionCommand";
|
|
@@ -30,6 +32,7 @@ export * from "./DescribeDatasetImportJobCommand";
|
|
|
30
32
|
export * from "./DescribeEventTrackerCommand";
|
|
31
33
|
export * from "./DescribeFeatureTransformationCommand";
|
|
32
34
|
export * from "./DescribeFilterCommand";
|
|
35
|
+
export * from "./DescribeMetricAttributionCommand";
|
|
33
36
|
export * from "./DescribeRecipeCommand";
|
|
34
37
|
export * from "./DescribeRecommenderCommand";
|
|
35
38
|
export * from "./DescribeSchemaCommand";
|
|
@@ -45,6 +48,8 @@ export * from "./ListDatasetImportJobsCommand";
|
|
|
45
48
|
export * from "./ListDatasetsCommand";
|
|
46
49
|
export * from "./ListEventTrackersCommand";
|
|
47
50
|
export * from "./ListFiltersCommand";
|
|
51
|
+
export * from "./ListMetricAttributionMetricsCommand";
|
|
52
|
+
export * from "./ListMetricAttributionsCommand";
|
|
48
53
|
export * from "./ListRecipesCommand";
|
|
49
54
|
export * from "./ListRecommendersCommand";
|
|
50
55
|
export * from "./ListSchemasCommand";
|
|
@@ -57,4 +62,5 @@ export * from "./StopSolutionVersionCreationCommand";
|
|
|
57
62
|
export * from "./TagResourceCommand";
|
|
58
63
|
export * from "./UntagResourceCommand";
|
|
59
64
|
export * from "./UpdateCampaignCommand";
|
|
65
|
+
export * from "./UpdateMetricAttributionCommand";
|
|
60
66
|
export * from "./UpdateRecommenderCommand";
|