@aws-sdk/client-personalize 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/Personalize.js +0 -5
- package/dist-cjs/PersonalizeClient.js +0 -10
- package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +0 -26
- package/dist-cjs/commands/CreateCampaignCommand.js +0 -95
- package/dist-cjs/commands/CreateDatasetCommand.js +0 -75
- package/dist-cjs/commands/CreateDatasetExportJobCommand.js +0 -46
- package/dist-cjs/commands/CreateDatasetGroupCommand.js +0 -100
- package/dist-cjs/commands/CreateDatasetImportJobCommand.js +0 -66
- package/dist-cjs/commands/CreateEventTrackerCommand.js +0 -70
- package/dist-cjs/commands/CreateFilterCommand.js +0 -25
- package/dist-cjs/commands/CreateSchemaCommand.js +0 -50
- package/dist-cjs/commands/CreateSolutionCommand.js +0 -97
- package/dist-cjs/commands/CreateSolutionVersionCommand.js +0 -92
- package/dist-cjs/commands/DeleteCampaignCommand.js +0 -30
- package/dist-cjs/commands/DeleteDatasetCommand.js +0 -27
- package/dist-cjs/commands/DeleteDatasetGroupCommand.js +0 -37
- package/dist-cjs/commands/DeleteEventTrackerCommand.js +0 -27
- package/dist-cjs/commands/DeleteFilterCommand.js +0 -25
- package/dist-cjs/commands/DeleteSchemaCommand.js +0 -27
- package/dist-cjs/commands/DeleteSolutionCommand.js +0 -31
- package/dist-cjs/commands/DescribeAlgorithmCommand.js +0 -25
- package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +0 -27
- package/dist-cjs/commands/DescribeCampaignCommand.js +0 -37
- package/dist-cjs/commands/DescribeDatasetCommand.js +0 -25
- package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +0 -26
- package/dist-cjs/commands/DescribeDatasetGroupCommand.js +0 -25
- package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventTrackerCommand.js +0 -27
- package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +0 -25
- package/dist-cjs/commands/DescribeFilterCommand.js +0 -25
- package/dist-cjs/commands/DescribeRecipeCommand.js +0 -43
- package/dist-cjs/commands/DescribeSchemaCommand.js +0 -26
- package/dist-cjs/commands/DescribeSolutionCommand.js +0 -26
- package/dist-cjs/commands/DescribeSolutionVersionCommand.js +0 -25
- package/dist-cjs/commands/GetSolutionMetricsCommand.js +0 -25
- package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +0 -26
- package/dist-cjs/commands/ListCampaignsCommand.js +0 -28
- package/dist-cjs/commands/ListDatasetExportJobsCommand.js +0 -29
- package/dist-cjs/commands/ListDatasetGroupsCommand.js +0 -27
- package/dist-cjs/commands/ListDatasetImportJobsCommand.js +0 -29
- package/dist-cjs/commands/ListDatasetsCommand.js +0 -27
- package/dist-cjs/commands/ListEventTrackersCommand.js +0 -28
- package/dist-cjs/commands/ListFiltersCommand.js +0 -25
- package/dist-cjs/commands/ListRecipesCommand.js +0 -26
- package/dist-cjs/commands/ListSchemasCommand.js +0 -27
- package/dist-cjs/commands/ListSolutionVersionsCommand.js +0 -28
- package/dist-cjs/commands/ListSolutionsCommand.js +0 -28
- package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +0 -38
- package/dist-cjs/commands/UpdateCampaignCommand.js +0 -33
- package/dist-cjs/commands/index.js +50 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -63
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -430
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListBatchInferenceJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListCampaignsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDatasetExportJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDatasetGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDatasetImportJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDatasetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListEventTrackersPaginator.js +0 -11
- package/dist-cjs/pagination/ListFiltersPaginator.js +0 -11
- package/dist-cjs/pagination/ListRecipesPaginator.js +0 -11
- package/dist-cjs/pagination/ListSchemasPaginator.js +0 -11
- package/dist-cjs/pagination/ListSolutionVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListSolutionsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +16 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Personalize.js +0 -1
- package/dist-es/PersonalizeClient.js +0 -1
- package/dist-es/commands/CreateBatchInferenceJobCommand.js +0 -1
- package/dist-es/commands/CreateCampaignCommand.js +0 -1
- package/dist-es/commands/CreateDatasetCommand.js +0 -1
- package/dist-es/commands/CreateDatasetExportJobCommand.js +0 -1
- package/dist-es/commands/CreateDatasetGroupCommand.js +0 -1
- package/dist-es/commands/CreateDatasetImportJobCommand.js +0 -1
- package/dist-es/commands/CreateEventTrackerCommand.js +0 -1
- package/dist-es/commands/CreateFilterCommand.js +0 -1
- package/dist-es/commands/CreateSchemaCommand.js +0 -1
- package/dist-es/commands/CreateSolutionCommand.js +0 -1
- package/dist-es/commands/CreateSolutionVersionCommand.js +0 -1
- package/dist-es/commands/DeleteCampaignCommand.js +0 -1
- package/dist-es/commands/DeleteDatasetCommand.js +0 -1
- package/dist-es/commands/DeleteDatasetGroupCommand.js +0 -1
- package/dist-es/commands/DeleteEventTrackerCommand.js +0 -1
- package/dist-es/commands/DeleteFilterCommand.js +0 -1
- package/dist-es/commands/DeleteSchemaCommand.js +0 -1
- package/dist-es/commands/DeleteSolutionCommand.js +0 -1
- package/dist-es/commands/DescribeAlgorithmCommand.js +0 -1
- package/dist-es/commands/DescribeBatchInferenceJobCommand.js +0 -1
- package/dist-es/commands/DescribeCampaignCommand.js +0 -1
- package/dist-es/commands/DescribeDatasetCommand.js +0 -1
- package/dist-es/commands/DescribeDatasetExportJobCommand.js +0 -1
- package/dist-es/commands/DescribeDatasetGroupCommand.js +0 -1
- package/dist-es/commands/DescribeDatasetImportJobCommand.js +0 -1
- package/dist-es/commands/DescribeEventTrackerCommand.js +0 -1
- package/dist-es/commands/DescribeFeatureTransformationCommand.js +0 -1
- package/dist-es/commands/DescribeFilterCommand.js +0 -1
- package/dist-es/commands/DescribeRecipeCommand.js +0 -1
- package/dist-es/commands/DescribeSchemaCommand.js +0 -1
- package/dist-es/commands/DescribeSolutionCommand.js +0 -1
- package/dist-es/commands/DescribeSolutionVersionCommand.js +0 -1
- package/dist-es/commands/GetSolutionMetricsCommand.js +0 -1
- package/dist-es/commands/ListBatchInferenceJobsCommand.js +0 -1
- package/dist-es/commands/ListCampaignsCommand.js +0 -1
- package/dist-es/commands/ListDatasetExportJobsCommand.js +0 -1
- package/dist-es/commands/ListDatasetGroupsCommand.js +0 -1
- package/dist-es/commands/ListDatasetImportJobsCommand.js +0 -1
- package/dist-es/commands/ListDatasetsCommand.js +0 -1
- package/dist-es/commands/ListEventTrackersCommand.js +0 -1
- package/dist-es/commands/ListFiltersCommand.js +0 -1
- package/dist-es/commands/ListRecipesCommand.js +0 -1
- package/dist-es/commands/ListSchemasCommand.js +0 -1
- package/dist-es/commands/ListSolutionVersionsCommand.js +0 -1
- package/dist-es/commands/ListSolutionsCommand.js +0 -1
- package/dist-es/commands/StopSolutionVersionCreationCommand.js +0 -1
- package/dist-es/commands/UpdateCampaignCommand.js +0 -1
- package/dist-es/commands/index.js +47 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -63
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListBatchInferenceJobsPaginator.js +0 -1
- package/dist-es/pagination/ListCampaignsPaginator.js +0 -1
- package/dist-es/pagination/ListDatasetExportJobsPaginator.js +0 -1
- package/dist-es/pagination/ListDatasetGroupsPaginator.js +0 -1
- package/dist-es/pagination/ListDatasetImportJobsPaginator.js +0 -1
- package/dist-es/pagination/ListDatasetsPaginator.js +0 -1
- package/dist-es/pagination/ListEventTrackersPaginator.js +0 -1
- package/dist-es/pagination/ListFiltersPaginator.js +0 -1
- package/dist-es/pagination/ListRecipesPaginator.js +0 -1
- package/dist-es/pagination/ListSchemasPaginator.js +0 -1
- package/dist-es/pagination/ListSolutionVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListSolutionsPaginator.js +0 -1
- package/dist-es/pagination/index.js +13 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- 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 +33 -30
- package/dist-cjs/Personalize.js.map +0 -1
- package/dist-cjs/PersonalizeClient.js.map +0 -1
- package/dist-cjs/commands/CreateBatchInferenceJobCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCampaignCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDatasetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDatasetExportJobCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDatasetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDatasetImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/CreateEventTrackerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFilterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSolutionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSolutionVersionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCampaignCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDatasetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDatasetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEventTrackerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFilterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSolutionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAlgorithmCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCampaignCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDatasetCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDatasetExportJobCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDatasetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDatasetImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventTrackerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFeatureTransformationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFilterCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSolutionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSolutionVersionCommand.js.map +0 -1
- package/dist-cjs/commands/GetSolutionMetricsCommand.js.map +0 -1
- package/dist-cjs/commands/ListBatchInferenceJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListCampaignsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDatasetExportJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDatasetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDatasetImportJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDatasetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListEventTrackersCommand.js.map +0 -1
- package/dist-cjs/commands/ListFiltersCommand.js.map +0 -1
- package/dist-cjs/commands/ListRecipesCommand.js.map +0 -1
- package/dist-cjs/commands/ListSchemasCommand.js.map +0 -1
- package/dist-cjs/commands/ListSolutionVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSolutionsCommand.js.map +0 -1
- package/dist-cjs/commands/StopSolutionVersionCreationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateCampaignCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListBatchInferenceJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListCampaignsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDatasetExportJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDatasetGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDatasetImportJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDatasetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListEventTrackersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFiltersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRecipesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSolutionVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSolutionsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Personalize.js.map +0 -1
- package/dist-es/PersonalizeClient.js.map +0 -1
- package/dist-es/commands/CreateBatchInferenceJobCommand.js.map +0 -1
- package/dist-es/commands/CreateCampaignCommand.js.map +0 -1
- package/dist-es/commands/CreateDatasetCommand.js.map +0 -1
- package/dist-es/commands/CreateDatasetExportJobCommand.js.map +0 -1
- package/dist-es/commands/CreateDatasetGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateDatasetImportJobCommand.js.map +0 -1
- package/dist-es/commands/CreateEventTrackerCommand.js.map +0 -1
- package/dist-es/commands/CreateFilterCommand.js.map +0 -1
- package/dist-es/commands/CreateSchemaCommand.js.map +0 -1
- package/dist-es/commands/CreateSolutionCommand.js.map +0 -1
- package/dist-es/commands/CreateSolutionVersionCommand.js.map +0 -1
- package/dist-es/commands/DeleteCampaignCommand.js.map +0 -1
- package/dist-es/commands/DeleteDatasetCommand.js.map +0 -1
- package/dist-es/commands/DeleteDatasetGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteEventTrackerCommand.js.map +0 -1
- package/dist-es/commands/DeleteFilterCommand.js.map +0 -1
- package/dist-es/commands/DeleteSchemaCommand.js.map +0 -1
- package/dist-es/commands/DeleteSolutionCommand.js.map +0 -1
- package/dist-es/commands/DescribeAlgorithmCommand.js.map +0 -1
- package/dist-es/commands/DescribeBatchInferenceJobCommand.js.map +0 -1
- package/dist-es/commands/DescribeCampaignCommand.js.map +0 -1
- package/dist-es/commands/DescribeDatasetCommand.js.map +0 -1
- package/dist-es/commands/DescribeDatasetExportJobCommand.js.map +0 -1
- package/dist-es/commands/DescribeDatasetGroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeDatasetImportJobCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventTrackerCommand.js.map +0 -1
- package/dist-es/commands/DescribeFeatureTransformationCommand.js.map +0 -1
- package/dist-es/commands/DescribeFilterCommand.js.map +0 -1
- package/dist-es/commands/DescribeRecipeCommand.js.map +0 -1
- package/dist-es/commands/DescribeSchemaCommand.js.map +0 -1
- package/dist-es/commands/DescribeSolutionCommand.js.map +0 -1
- package/dist-es/commands/DescribeSolutionVersionCommand.js.map +0 -1
- package/dist-es/commands/GetSolutionMetricsCommand.js.map +0 -1
- package/dist-es/commands/ListBatchInferenceJobsCommand.js.map +0 -1
- package/dist-es/commands/ListCampaignsCommand.js.map +0 -1
- package/dist-es/commands/ListDatasetExportJobsCommand.js.map +0 -1
- package/dist-es/commands/ListDatasetGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListDatasetImportJobsCommand.js.map +0 -1
- package/dist-es/commands/ListDatasetsCommand.js.map +0 -1
- package/dist-es/commands/ListEventTrackersCommand.js.map +0 -1
- package/dist-es/commands/ListFiltersCommand.js.map +0 -1
- package/dist-es/commands/ListRecipesCommand.js.map +0 -1
- package/dist-es/commands/ListSchemasCommand.js.map +0 -1
- package/dist-es/commands/ListSolutionVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListSolutionsCommand.js.map +0 -1
- package/dist-es/commands/StopSolutionVersionCreationCommand.js.map +0 -1
- package/dist-es/commands/UpdateCampaignCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListBatchInferenceJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListCampaignsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDatasetExportJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDatasetGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDatasetImportJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDatasetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListEventTrackersPaginator.js.map +0 -1
- package/dist-es/pagination/ListFiltersPaginator.js.map +0 -1
- package/dist-es/pagination/ListRecipesPaginator.js.map +0 -1
- package/dist-es/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist-es/pagination/ListSolutionVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSolutionsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Personalize.ts +0 -2286
- package/src/PersonalizeClient.ts +0 -426
- package/src/commands/CreateBatchInferenceJobCommand.ts +0 -96
- package/src/commands/CreateCampaignCommand.ts +0 -165
- package/src/commands/CreateDatasetCommand.ts +0 -145
- package/src/commands/CreateDatasetExportJobCommand.ts +0 -116
- package/src/commands/CreateDatasetGroupCommand.ts +0 -170
- package/src/commands/CreateDatasetImportJobCommand.ts +0 -136
- package/src/commands/CreateEventTrackerCommand.ts +0 -140
- package/src/commands/CreateFilterCommand.ts +0 -95
- package/src/commands/CreateSchemaCommand.ts +0 -120
- package/src/commands/CreateSolutionCommand.ts +0 -167
- package/src/commands/CreateSolutionVersionCommand.ts +0 -162
- package/src/commands/DeleteCampaignCommand.ts +0 -100
- package/src/commands/DeleteDatasetCommand.ts +0 -97
- package/src/commands/DeleteDatasetGroupCommand.ts +0 -107
- package/src/commands/DeleteEventTrackerCommand.ts +0 -97
- package/src/commands/DeleteFilterCommand.ts +0 -95
- package/src/commands/DeleteSchemaCommand.ts +0 -97
- package/src/commands/DeleteSolutionCommand.ts +0 -101
- package/src/commands/DescribeAlgorithmCommand.ts +0 -95
- package/src/commands/DescribeBatchInferenceJobCommand.ts +0 -100
- package/src/commands/DescribeCampaignCommand.ts +0 -107
- package/src/commands/DescribeDatasetCommand.ts +0 -95
- package/src/commands/DescribeDatasetExportJobCommand.ts +0 -96
- package/src/commands/DescribeDatasetGroupCommand.ts +0 -95
- package/src/commands/DescribeDatasetImportJobCommand.ts +0 -96
- package/src/commands/DescribeEventTrackerCommand.ts +0 -97
- package/src/commands/DescribeFeatureTransformationCommand.ts +0 -100
- package/src/commands/DescribeFilterCommand.ts +0 -95
- package/src/commands/DescribeRecipeCommand.ts +0 -113
- package/src/commands/DescribeSchemaCommand.ts +0 -96
- package/src/commands/DescribeSolutionCommand.ts +0 -96
- package/src/commands/DescribeSolutionVersionCommand.ts +0 -95
- package/src/commands/GetSolutionMetricsCommand.ts +0 -95
- package/src/commands/ListBatchInferenceJobsCommand.ts +0 -96
- package/src/commands/ListCampaignsCommand.ts +0 -98
- package/src/commands/ListDatasetExportJobsCommand.ts +0 -99
- package/src/commands/ListDatasetGroupsCommand.ts +0 -97
- package/src/commands/ListDatasetImportJobsCommand.ts +0 -99
- package/src/commands/ListDatasetsCommand.ts +0 -97
- package/src/commands/ListEventTrackersCommand.ts +0 -98
- package/src/commands/ListFiltersCommand.ts +0 -95
- package/src/commands/ListRecipesCommand.ts +0 -96
- package/src/commands/ListSchemasCommand.ts +0 -97
- package/src/commands/ListSolutionVersionsCommand.ts +0 -98
- package/src/commands/ListSolutionsCommand.ts +0 -98
- package/src/commands/StopSolutionVersionCreationCommand.ts +0 -111
- package/src/commands/UpdateCampaignCommand.ts +0 -103
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -63
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -4353
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListBatchInferenceJobsPaginator.ts +0 -59
- package/src/pagination/ListCampaignsPaginator.ts +0 -59
- package/src/pagination/ListDatasetExportJobsPaginator.ts +0 -59
- package/src/pagination/ListDatasetGroupsPaginator.ts +0 -59
- package/src/pagination/ListDatasetImportJobsPaginator.ts +0 -59
- package/src/pagination/ListDatasetsPaginator.ts +0 -59
- package/src/pagination/ListEventTrackersPaginator.ts +0 -59
- package/src/pagination/ListFiltersPaginator.ts +0 -55
- package/src/pagination/ListRecipesPaginator.ts +0 -55
- package/src/pagination/ListSchemasPaginator.ts +0 -55
- package/src/pagination/ListSolutionVersionsPaginator.ts +0 -59
- package/src/pagination/ListSolutionsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -6542
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateEventTrackerRequest, CreateEventTrackerResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateEventTrackerCommand,
|
|
18
|
-
serializeAws_json1_1CreateEventTrackerCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateEventTrackerCommandInput extends CreateEventTrackerRequest {}
|
|
22
|
-
export interface CreateEventTrackerCommandOutput extends CreateEventTrackerResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an event tracker that you use when adding event data to a specified dataset
|
|
26
|
-
* group using the
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html">PutEvents</a> API.</p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>Only one event tracker can be associated with a dataset group. You will get
|
|
30
|
-
* an error if you call <code>CreateEventTracker</code> using the same dataset group as an
|
|
31
|
-
* existing event tracker.</p>
|
|
32
|
-
* </note>
|
|
33
|
-
* <p>When you create an event tracker, the response includes a tracking ID, which you pass as a parameter when you use the
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html">PutEvents</a> operation.
|
|
35
|
-
* Amazon Personalize then appends the event data to the Interactions dataset of the dataset group you specify
|
|
36
|
-
* in your event tracker.
|
|
37
|
-
* </p>
|
|
38
|
-
* <p>The event tracker can be in one of the following states:</p>
|
|
39
|
-
* <ul>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* <p>To get the status of the event tracker, call <a>DescribeEventTracker</a>.</p>
|
|
48
|
-
* <note>
|
|
49
|
-
* <p>The event tracker must be in the ACTIVE state before using the tracking ID.</p>
|
|
50
|
-
* </note>
|
|
51
|
-
* <p class="title">
|
|
52
|
-
* <b>Related APIs</b>
|
|
53
|
-
* </p>
|
|
54
|
-
* <ul>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>
|
|
57
|
-
* <a>ListEventTrackers</a>
|
|
58
|
-
* </p>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>
|
|
62
|
-
* <a>DescribeEventTracker</a>
|
|
63
|
-
* </p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>
|
|
67
|
-
* <a>DeleteEventTracker</a>
|
|
68
|
-
* </p>
|
|
69
|
-
* </li>
|
|
70
|
-
* </ul>
|
|
71
|
-
* @example
|
|
72
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
73
|
-
* ```javascript
|
|
74
|
-
* import { PersonalizeClient, CreateEventTrackerCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
75
|
-
* // const { PersonalizeClient, CreateEventTrackerCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
76
|
-
* const client = new PersonalizeClient(config);
|
|
77
|
-
* const command = new CreateEventTrackerCommand(input);
|
|
78
|
-
* const response = await client.send(command);
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* @see {@link CreateEventTrackerCommandInput} for command's `input` shape.
|
|
82
|
-
* @see {@link CreateEventTrackerCommandOutput} for command's `response` shape.
|
|
83
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
export class CreateEventTrackerCommand extends $Command<
|
|
87
|
-
CreateEventTrackerCommandInput,
|
|
88
|
-
CreateEventTrackerCommandOutput,
|
|
89
|
-
PersonalizeClientResolvedConfig
|
|
90
|
-
> {
|
|
91
|
-
// Start section: command_properties
|
|
92
|
-
// End section: command_properties
|
|
93
|
-
|
|
94
|
-
constructor(readonly input: CreateEventTrackerCommandInput) {
|
|
95
|
-
// Start section: command_constructor
|
|
96
|
-
super();
|
|
97
|
-
// End section: command_constructor
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
resolveMiddleware(
|
|
104
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
105
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
106
|
-
options?: __HttpHandlerOptions
|
|
107
|
-
): Handler<CreateEventTrackerCommandInput, CreateEventTrackerCommandOutput> {
|
|
108
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
109
|
-
|
|
110
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
111
|
-
|
|
112
|
-
const { logger } = configuration;
|
|
113
|
-
const clientName = "PersonalizeClient";
|
|
114
|
-
const commandName = "CreateEventTrackerCommand";
|
|
115
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
116
|
-
logger,
|
|
117
|
-
clientName,
|
|
118
|
-
commandName,
|
|
119
|
-
inputFilterSensitiveLog: CreateEventTrackerRequest.filterSensitiveLog,
|
|
120
|
-
outputFilterSensitiveLog: CreateEventTrackerResponse.filterSensitiveLog,
|
|
121
|
-
};
|
|
122
|
-
const { requestHandler } = configuration;
|
|
123
|
-
return stack.resolve(
|
|
124
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
125
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
126
|
-
handlerExecutionContext
|
|
127
|
-
);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
private serialize(input: CreateEventTrackerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
131
|
-
return serializeAws_json1_1CreateEventTrackerCommand(input, context);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateEventTrackerCommandOutput> {
|
|
135
|
-
return deserializeAws_json1_1CreateEventTrackerCommand(output, context);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// Start section: command_body_extra
|
|
139
|
-
// End section: command_body_extra
|
|
140
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateFilterRequest, CreateFilterResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateFilterCommand,
|
|
18
|
-
serializeAws_json1_1CreateFilterCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateFilterCommandInput extends CreateFilterRequest {}
|
|
22
|
-
export interface CreateFilterCommandOutput extends CreateFilterResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a recommendation filter. For more information, see <a>filter</a>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { PersonalizeClient, CreateFilterCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
30
|
-
* // const { PersonalizeClient, CreateFilterCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
31
|
-
* const client = new PersonalizeClient(config);
|
|
32
|
-
* const command = new CreateFilterCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateFilterCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateFilterCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateFilterCommand extends $Command<
|
|
42
|
-
CreateFilterCommandInput,
|
|
43
|
-
CreateFilterCommandOutput,
|
|
44
|
-
PersonalizeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateFilterCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateFilterCommandInput, CreateFilterCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "PersonalizeClient";
|
|
69
|
-
const commandName = "CreateFilterCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateFilterRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateFilterResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateFilterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1CreateFilterCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFilterCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1CreateFilterCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateSchemaRequest, CreateSchemaResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateSchemaCommand,
|
|
18
|
-
serializeAws_json1_1CreateSchemaCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateSchemaCommandInput extends CreateSchemaRequest {}
|
|
22
|
-
export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an Amazon Personalize schema from the specified schema string. The schema you create
|
|
26
|
-
* must be in Avro JSON format.</p>
|
|
27
|
-
* <p>Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset
|
|
28
|
-
* type and has a set of required field and keywords.
|
|
29
|
-
* You specify a schema when you call <a>CreateDataset</a>.</p>
|
|
30
|
-
*
|
|
31
|
-
* <p class="title">
|
|
32
|
-
* <b>Related APIs</b>
|
|
33
|
-
* </p>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <a>ListSchemas</a>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <a>DescribeSchema</a>
|
|
43
|
-
* </p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <a>DeleteSchema</a>
|
|
48
|
-
* </p>
|
|
49
|
-
* </li>
|
|
50
|
-
* </ul>
|
|
51
|
-
* @example
|
|
52
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
-
* ```javascript
|
|
54
|
-
* import { PersonalizeClient, CreateSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
55
|
-
* // const { PersonalizeClient, CreateSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
56
|
-
* const client = new PersonalizeClient(config);
|
|
57
|
-
* const command = new CreateSchemaCommand(input);
|
|
58
|
-
* const response = await client.send(command);
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* @see {@link CreateSchemaCommandInput} for command's `input` shape.
|
|
62
|
-
* @see {@link CreateSchemaCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
export class CreateSchemaCommand extends $Command<
|
|
67
|
-
CreateSchemaCommandInput,
|
|
68
|
-
CreateSchemaCommandOutput,
|
|
69
|
-
PersonalizeClientResolvedConfig
|
|
70
|
-
> {
|
|
71
|
-
// Start section: command_properties
|
|
72
|
-
// End section: command_properties
|
|
73
|
-
|
|
74
|
-
constructor(readonly input: CreateSchemaCommandInput) {
|
|
75
|
-
// Start section: command_constructor
|
|
76
|
-
super();
|
|
77
|
-
// End section: command_constructor
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(
|
|
84
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
85
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
86
|
-
options?: __HttpHandlerOptions
|
|
87
|
-
): Handler<CreateSchemaCommandInput, CreateSchemaCommandOutput> {
|
|
88
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
89
|
-
|
|
90
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
91
|
-
|
|
92
|
-
const { logger } = configuration;
|
|
93
|
-
const clientName = "PersonalizeClient";
|
|
94
|
-
const commandName = "CreateSchemaCommand";
|
|
95
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
96
|
-
logger,
|
|
97
|
-
clientName,
|
|
98
|
-
commandName,
|
|
99
|
-
inputFilterSensitiveLog: CreateSchemaRequest.filterSensitiveLog,
|
|
100
|
-
outputFilterSensitiveLog: CreateSchemaResponse.filterSensitiveLog,
|
|
101
|
-
};
|
|
102
|
-
const { requestHandler } = configuration;
|
|
103
|
-
return stack.resolve(
|
|
104
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
105
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
106
|
-
handlerExecutionContext
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private serialize(input: CreateSchemaCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
111
|
-
return serializeAws_json1_1CreateSchemaCommand(input, context);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateSchemaCommandOutput> {
|
|
115
|
-
return deserializeAws_json1_1CreateSchemaCommand(output, context);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// Start section: command_body_extra
|
|
119
|
-
// End section: command_body_extra
|
|
120
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateSolutionRequest, CreateSolutionResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateSolutionCommand,
|
|
18
|
-
serializeAws_json1_1CreateSolutionCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateSolutionCommandInput extends CreateSolutionRequest {}
|
|
22
|
-
export interface CreateSolutionCommandOutput extends CreateSolutionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates the configuration for training a model. A trained model is known as
|
|
26
|
-
* a solution. After the configuration is created, you train the model (create a solution)
|
|
27
|
-
* by calling the <a>CreateSolutionVersion</a> operation. Every time you call
|
|
28
|
-
* <code>CreateSolutionVersion</code>, a new version of the solution is created.</p>
|
|
29
|
-
* <p>After creating a solution version, you check its accuracy by calling
|
|
30
|
-
* <a>GetSolutionMetrics</a>. When you are satisfied with the version, you
|
|
31
|
-
* deploy it using <a>CreateCampaign</a>. The campaign provides recommendations
|
|
32
|
-
* to a client through the
|
|
33
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a> API.</p>
|
|
34
|
-
* <p>To train a model, Amazon Personalize requires training data and a recipe. The training data
|
|
35
|
-
* comes from the dataset group that you provide in the request. A recipe specifies
|
|
36
|
-
* the training algorithm and a feature transformation. You can specify one of the predefined
|
|
37
|
-
* recipes provided by Amazon Personalize. Alternatively, you can specify
|
|
38
|
-
* <code>performAutoML</code> and Amazon Personalize will analyze your data and select the
|
|
39
|
-
* optimum USER_PERSONALIZATION recipe for you.</p>
|
|
40
|
-
* <note>
|
|
41
|
-
* <p>Amazon Personalize doesn't support configuring the <code>hpoObjective</code>
|
|
42
|
-
* for solution hyperparameter optimization at this time.</p>
|
|
43
|
-
* </note>
|
|
44
|
-
* <p>
|
|
45
|
-
* <b>Status</b>
|
|
46
|
-
* </p>
|
|
47
|
-
* <p>A solution can be in one of the following states:</p>
|
|
48
|
-
* <ul>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* </ul>
|
|
56
|
-
* <p>To get the status of the solution, call <a>DescribeSolution</a>. Wait
|
|
57
|
-
* until the status shows as ACTIVE before calling <code>CreateSolutionVersion</code>.</p>
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* <p class="title">
|
|
62
|
-
* <b>Related APIs</b>
|
|
63
|
-
* </p>
|
|
64
|
-
* <ul>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>
|
|
67
|
-
* <a>ListSolutions</a>
|
|
68
|
-
* </p>
|
|
69
|
-
* </li>
|
|
70
|
-
* <li>
|
|
71
|
-
* <p>
|
|
72
|
-
* <a>CreateSolutionVersion</a>
|
|
73
|
-
* </p>
|
|
74
|
-
* </li>
|
|
75
|
-
* <li>
|
|
76
|
-
* <p>
|
|
77
|
-
* <a>DescribeSolution</a>
|
|
78
|
-
* </p>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>
|
|
82
|
-
* <a>DeleteSolution</a>
|
|
83
|
-
* </p>
|
|
84
|
-
* </li>
|
|
85
|
-
* </ul>
|
|
86
|
-
* <ul>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>
|
|
89
|
-
* <a>ListSolutionVersions</a>
|
|
90
|
-
* </p>
|
|
91
|
-
* </li>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>
|
|
94
|
-
* <a>DescribeSolutionVersion</a>
|
|
95
|
-
* </p>
|
|
96
|
-
* </li>
|
|
97
|
-
* </ul>
|
|
98
|
-
* @example
|
|
99
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
100
|
-
* ```javascript
|
|
101
|
-
* import { PersonalizeClient, CreateSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
102
|
-
* // const { PersonalizeClient, CreateSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
103
|
-
* const client = new PersonalizeClient(config);
|
|
104
|
-
* const command = new CreateSolutionCommand(input);
|
|
105
|
-
* const response = await client.send(command);
|
|
106
|
-
* ```
|
|
107
|
-
*
|
|
108
|
-
* @see {@link CreateSolutionCommandInput} for command's `input` shape.
|
|
109
|
-
* @see {@link CreateSolutionCommandOutput} for command's `response` shape.
|
|
110
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
111
|
-
*
|
|
112
|
-
*/
|
|
113
|
-
export class CreateSolutionCommand extends $Command<
|
|
114
|
-
CreateSolutionCommandInput,
|
|
115
|
-
CreateSolutionCommandOutput,
|
|
116
|
-
PersonalizeClientResolvedConfig
|
|
117
|
-
> {
|
|
118
|
-
// Start section: command_properties
|
|
119
|
-
// End section: command_properties
|
|
120
|
-
|
|
121
|
-
constructor(readonly input: CreateSolutionCommandInput) {
|
|
122
|
-
// Start section: command_constructor
|
|
123
|
-
super();
|
|
124
|
-
// End section: command_constructor
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
|
-
resolveMiddleware(
|
|
131
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
132
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
133
|
-
options?: __HttpHandlerOptions
|
|
134
|
-
): Handler<CreateSolutionCommandInput, CreateSolutionCommandOutput> {
|
|
135
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
136
|
-
|
|
137
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
138
|
-
|
|
139
|
-
const { logger } = configuration;
|
|
140
|
-
const clientName = "PersonalizeClient";
|
|
141
|
-
const commandName = "CreateSolutionCommand";
|
|
142
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
143
|
-
logger,
|
|
144
|
-
clientName,
|
|
145
|
-
commandName,
|
|
146
|
-
inputFilterSensitiveLog: CreateSolutionRequest.filterSensitiveLog,
|
|
147
|
-
outputFilterSensitiveLog: CreateSolutionResponse.filterSensitiveLog,
|
|
148
|
-
};
|
|
149
|
-
const { requestHandler } = configuration;
|
|
150
|
-
return stack.resolve(
|
|
151
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
152
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
153
|
-
handlerExecutionContext
|
|
154
|
-
);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
private serialize(input: CreateSolutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
158
|
-
return serializeAws_json1_1CreateSolutionCommand(input, context);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateSolutionCommandOutput> {
|
|
162
|
-
return deserializeAws_json1_1CreateSolutionCommand(output, context);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// Start section: command_body_extra
|
|
166
|
-
// End section: command_body_extra
|
|
167
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateSolutionVersionRequest, CreateSolutionVersionResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateSolutionVersionCommand,
|
|
18
|
-
serializeAws_json1_1CreateSolutionVersionCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateSolutionVersionCommandInput extends CreateSolutionVersionRequest {}
|
|
22
|
-
export interface CreateSolutionVersionCommandOutput extends CreateSolutionVersionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <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
|
|
26
|
-
* <code>CreateSolutionVersion</code>. A new version of the solution is created every time you
|
|
27
|
-
* call this operation.</p>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>Status</b>
|
|
30
|
-
* </p>
|
|
31
|
-
* <p>A solution version can be in one of the following states:</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>CREATE PENDING</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>CREATE IN_PROGRESS</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>ACTIVE</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>CREATE FAILED</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>CREATE STOPPING</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>CREATE STOPPED</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
* <p>To get the status of the version, call <a>DescribeSolutionVersion</a>. Wait
|
|
53
|
-
* until the status shows as ACTIVE before calling <code>CreateCampaign</code>.</p>
|
|
54
|
-
* <p>If the status shows as CREATE FAILED, the response includes a <code>failureReason</code>
|
|
55
|
-
* key, which describes why the job failed.</p>
|
|
56
|
-
* <p class="title">
|
|
57
|
-
* <b>Related APIs</b>
|
|
58
|
-
* </p>
|
|
59
|
-
* <ul>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>
|
|
62
|
-
* <a>ListSolutionVersions</a>
|
|
63
|
-
* </p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>
|
|
67
|
-
* <a>DescribeSolutionVersion</a>
|
|
68
|
-
* </p>
|
|
69
|
-
* </li>
|
|
70
|
-
* </ul>
|
|
71
|
-
* <ul>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>
|
|
74
|
-
* <a>ListSolutions</a>
|
|
75
|
-
* </p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>
|
|
79
|
-
* <a>CreateSolution</a>
|
|
80
|
-
* </p>
|
|
81
|
-
* </li>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>
|
|
84
|
-
* <a>DescribeSolution</a>
|
|
85
|
-
* </p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>
|
|
89
|
-
* <a>DeleteSolution</a>
|
|
90
|
-
* </p>
|
|
91
|
-
* </li>
|
|
92
|
-
* </ul>
|
|
93
|
-
* @example
|
|
94
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
95
|
-
* ```javascript
|
|
96
|
-
* import { PersonalizeClient, CreateSolutionVersionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
97
|
-
* // const { PersonalizeClient, CreateSolutionVersionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
98
|
-
* const client = new PersonalizeClient(config);
|
|
99
|
-
* const command = new CreateSolutionVersionCommand(input);
|
|
100
|
-
* const response = await client.send(command);
|
|
101
|
-
* ```
|
|
102
|
-
*
|
|
103
|
-
* @see {@link CreateSolutionVersionCommandInput} for command's `input` shape.
|
|
104
|
-
* @see {@link CreateSolutionVersionCommandOutput} for command's `response` shape.
|
|
105
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
export class CreateSolutionVersionCommand extends $Command<
|
|
109
|
-
CreateSolutionVersionCommandInput,
|
|
110
|
-
CreateSolutionVersionCommandOutput,
|
|
111
|
-
PersonalizeClientResolvedConfig
|
|
112
|
-
> {
|
|
113
|
-
// Start section: command_properties
|
|
114
|
-
// End section: command_properties
|
|
115
|
-
|
|
116
|
-
constructor(readonly input: CreateSolutionVersionCommandInput) {
|
|
117
|
-
// Start section: command_constructor
|
|
118
|
-
super();
|
|
119
|
-
// End section: command_constructor
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
resolveMiddleware(
|
|
126
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
127
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
128
|
-
options?: __HttpHandlerOptions
|
|
129
|
-
): Handler<CreateSolutionVersionCommandInput, CreateSolutionVersionCommandOutput> {
|
|
130
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
131
|
-
|
|
132
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
133
|
-
|
|
134
|
-
const { logger } = configuration;
|
|
135
|
-
const clientName = "PersonalizeClient";
|
|
136
|
-
const commandName = "CreateSolutionVersionCommand";
|
|
137
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
138
|
-
logger,
|
|
139
|
-
clientName,
|
|
140
|
-
commandName,
|
|
141
|
-
inputFilterSensitiveLog: CreateSolutionVersionRequest.filterSensitiveLog,
|
|
142
|
-
outputFilterSensitiveLog: CreateSolutionVersionResponse.filterSensitiveLog,
|
|
143
|
-
};
|
|
144
|
-
const { requestHandler } = configuration;
|
|
145
|
-
return stack.resolve(
|
|
146
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
147
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
148
|
-
handlerExecutionContext
|
|
149
|
-
);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
private serialize(input: CreateSolutionVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
153
|
-
return serializeAws_json1_1CreateSolutionVersionCommand(input, context);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateSolutionVersionCommandOutput> {
|
|
157
|
-
return deserializeAws_json1_1CreateSolutionVersionCommand(output, context);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// Start section: command_body_extra
|
|
161
|
-
// End section: command_body_extra
|
|
162
|
-
}
|