@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,145 +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 { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateDatasetCommand,
|
|
18
|
-
serializeAws_json1_1CreateDatasetCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateDatasetCommandInput extends CreateDatasetRequest {}
|
|
22
|
-
export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an empty dataset and adds it to the specified dataset group. Use <a>CreateDatasetImportJob</a> to import your training data to a dataset.</p>
|
|
26
|
-
* <p>There are three types of datasets:</p>
|
|
27
|
-
* <ul>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Interactions</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Items</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Users</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* </ul>
|
|
38
|
-
* <p>Each dataset type has an associated schema with required field types. Only the
|
|
39
|
-
* <code>Interactions</code> dataset is required in order to train a model (also referred to as
|
|
40
|
-
* creating a solution).</p>
|
|
41
|
-
* <p>A dataset can be in one of the following states:</p>
|
|
42
|
-
* <ul>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* </ul>
|
|
50
|
-
* <p>To get the status of the dataset, call <a>DescribeDataset</a>.</p>
|
|
51
|
-
* <p class="title">
|
|
52
|
-
* <b>Related APIs</b>
|
|
53
|
-
* </p>
|
|
54
|
-
* <ul>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>
|
|
57
|
-
* <a>CreateDatasetGroup</a>
|
|
58
|
-
* </p>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>
|
|
62
|
-
* <a>ListDatasets</a>
|
|
63
|
-
* </p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>
|
|
67
|
-
* <a>DescribeDataset</a>
|
|
68
|
-
* </p>
|
|
69
|
-
* </li>
|
|
70
|
-
* <li>
|
|
71
|
-
* <p>
|
|
72
|
-
* <a>DeleteDataset</a>
|
|
73
|
-
* </p>
|
|
74
|
-
* </li>
|
|
75
|
-
* </ul>
|
|
76
|
-
* @example
|
|
77
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
78
|
-
* ```javascript
|
|
79
|
-
* import { PersonalizeClient, CreateDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
80
|
-
* // const { PersonalizeClient, CreateDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
81
|
-
* const client = new PersonalizeClient(config);
|
|
82
|
-
* const command = new CreateDatasetCommand(input);
|
|
83
|
-
* const response = await client.send(command);
|
|
84
|
-
* ```
|
|
85
|
-
*
|
|
86
|
-
* @see {@link CreateDatasetCommandInput} for command's `input` shape.
|
|
87
|
-
* @see {@link CreateDatasetCommandOutput} for command's `response` shape.
|
|
88
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
export class CreateDatasetCommand extends $Command<
|
|
92
|
-
CreateDatasetCommandInput,
|
|
93
|
-
CreateDatasetCommandOutput,
|
|
94
|
-
PersonalizeClientResolvedConfig
|
|
95
|
-
> {
|
|
96
|
-
// Start section: command_properties
|
|
97
|
-
// End section: command_properties
|
|
98
|
-
|
|
99
|
-
constructor(readonly input: CreateDatasetCommandInput) {
|
|
100
|
-
// Start section: command_constructor
|
|
101
|
-
super();
|
|
102
|
-
// End section: command_constructor
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
resolveMiddleware(
|
|
109
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
110
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
111
|
-
options?: __HttpHandlerOptions
|
|
112
|
-
): Handler<CreateDatasetCommandInput, CreateDatasetCommandOutput> {
|
|
113
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
114
|
-
|
|
115
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
116
|
-
|
|
117
|
-
const { logger } = configuration;
|
|
118
|
-
const clientName = "PersonalizeClient";
|
|
119
|
-
const commandName = "CreateDatasetCommand";
|
|
120
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
121
|
-
logger,
|
|
122
|
-
clientName,
|
|
123
|
-
commandName,
|
|
124
|
-
inputFilterSensitiveLog: CreateDatasetRequest.filterSensitiveLog,
|
|
125
|
-
outputFilterSensitiveLog: CreateDatasetResponse.filterSensitiveLog,
|
|
126
|
-
};
|
|
127
|
-
const { requestHandler } = configuration;
|
|
128
|
-
return stack.resolve(
|
|
129
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
130
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
131
|
-
handlerExecutionContext
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
private serialize(input: CreateDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
136
|
-
return serializeAws_json1_1CreateDatasetCommand(input, context);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDatasetCommandOutput> {
|
|
140
|
-
return deserializeAws_json1_1CreateDatasetCommand(output, context);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Start section: command_body_extra
|
|
144
|
-
// End section: command_body_extra
|
|
145
|
-
}
|
|
@@ -1,116 +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 { CreateDatasetExportJobRequest, CreateDatasetExportJobResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateDatasetExportJobCommand,
|
|
18
|
-
serializeAws_json1_1CreateDatasetExportJobCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateDatasetExportJobCommandInput extends CreateDatasetExportJobRequest {}
|
|
22
|
-
export interface CreateDatasetExportJobCommandOutput extends CreateDatasetExportJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>
|
|
26
|
-
* Creates a job that exports data from your dataset to an Amazon S3 bucket.
|
|
27
|
-
* To allow Amazon Personalize to export the training data, you must specify an
|
|
28
|
-
* service-linked IAM role that gives Amazon Personalize <code>PutObject</code> permissions for your Amazon S3 bucket.
|
|
29
|
-
* For information, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/export-data.html">Exporting a dataset</a>
|
|
30
|
-
* in the Amazon Personalize developer guide.
|
|
31
|
-
* </p>
|
|
32
|
-
* <p>
|
|
33
|
-
* <b>Status</b>
|
|
34
|
-
* </p>
|
|
35
|
-
* <p>A dataset export job can be in one of the following states:</p>
|
|
36
|
-
* <ul>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* <p>
|
|
42
|
-
* To get the status of the export job, call <a>DescribeDatasetExportJob</a>,
|
|
43
|
-
* and specify the Amazon Resource Name (ARN) of the dataset export job. The dataset export is
|
|
44
|
-
* complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response
|
|
45
|
-
* includes a <code>failureReason</code> key, which describes why the job failed.
|
|
46
|
-
* </p>
|
|
47
|
-
* @example
|
|
48
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
49
|
-
* ```javascript
|
|
50
|
-
* import { PersonalizeClient, CreateDatasetExportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
51
|
-
* // const { PersonalizeClient, CreateDatasetExportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
52
|
-
* const client = new PersonalizeClient(config);
|
|
53
|
-
* const command = new CreateDatasetExportJobCommand(input);
|
|
54
|
-
* const response = await client.send(command);
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @see {@link CreateDatasetExportJobCommandInput} for command's `input` shape.
|
|
58
|
-
* @see {@link CreateDatasetExportJobCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
export class CreateDatasetExportJobCommand extends $Command<
|
|
63
|
-
CreateDatasetExportJobCommandInput,
|
|
64
|
-
CreateDatasetExportJobCommandOutput,
|
|
65
|
-
PersonalizeClientResolvedConfig
|
|
66
|
-
> {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
|
-
|
|
70
|
-
constructor(readonly input: CreateDatasetExportJobCommandInput) {
|
|
71
|
-
// Start section: command_constructor
|
|
72
|
-
super();
|
|
73
|
-
// End section: command_constructor
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
resolveMiddleware(
|
|
80
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
81
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
83
|
-
): Handler<CreateDatasetExportJobCommandInput, CreateDatasetExportJobCommandOutput> {
|
|
84
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
|
-
|
|
86
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
87
|
-
|
|
88
|
-
const { logger } = configuration;
|
|
89
|
-
const clientName = "PersonalizeClient";
|
|
90
|
-
const commandName = "CreateDatasetExportJobCommand";
|
|
91
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
92
|
-
logger,
|
|
93
|
-
clientName,
|
|
94
|
-
commandName,
|
|
95
|
-
inputFilterSensitiveLog: CreateDatasetExportJobRequest.filterSensitiveLog,
|
|
96
|
-
outputFilterSensitiveLog: CreateDatasetExportJobResponse.filterSensitiveLog,
|
|
97
|
-
};
|
|
98
|
-
const { requestHandler } = configuration;
|
|
99
|
-
return stack.resolve(
|
|
100
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
101
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
102
|
-
handlerExecutionContext
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private serialize(input: CreateDatasetExportJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
107
|
-
return serializeAws_json1_1CreateDatasetExportJobCommand(input, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDatasetExportJobCommandOutput> {
|
|
111
|
-
return deserializeAws_json1_1CreateDatasetExportJobCommand(output, context);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Start section: command_body_extra
|
|
115
|
-
// End section: command_body_extra
|
|
116
|
-
}
|
|
@@ -1,170 +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 { CreateDatasetGroupRequest, CreateDatasetGroupResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateDatasetGroupCommand,
|
|
18
|
-
serializeAws_json1_1CreateDatasetGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateDatasetGroupCommandInput extends CreateDatasetGroupRequest {}
|
|
22
|
-
export interface CreateDatasetGroupCommandOutput extends CreateDatasetGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an empty dataset group. A dataset group contains related datasets that supply data
|
|
26
|
-
* for training a model. A dataset group can contain at most three datasets, one for each type of
|
|
27
|
-
* dataset:</p>
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Interactions</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Items</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Users</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
39
|
-
* <p>To train a model (create a solution), a dataset group that contains an
|
|
40
|
-
* <code>Interactions</code> dataset is required. Call <a>CreateDataset</a> to add a
|
|
41
|
-
* dataset to the group.</p>
|
|
42
|
-
* <p>A dataset group can be in one of the following states:</p>
|
|
43
|
-
* <ul>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>DELETE PENDING</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* </ul>
|
|
51
|
-
* <p>To get the status of the dataset group, call <a>DescribeDatasetGroup</a>. If
|
|
52
|
-
* the status shows as CREATE FAILED, the response includes a <code>failureReason</code> key,
|
|
53
|
-
* which describes why the creation failed.</p>
|
|
54
|
-
* <note>
|
|
55
|
-
* <p>You must wait until the <code>status</code> of the dataset group is <code>ACTIVE</code>
|
|
56
|
-
* before adding a dataset to the group.</p>
|
|
57
|
-
* </note>
|
|
58
|
-
* <p>You can specify an Key Management Service (KMS) key to encrypt the datasets in the group. If you
|
|
59
|
-
* specify a KMS key, you must also include an Identity and Access Management (IAM) role that has permission to
|
|
60
|
-
* access the key.</p>
|
|
61
|
-
* <p class="title">
|
|
62
|
-
* <b>APIs that require a dataset group ARN in the request</b>
|
|
63
|
-
* </p>
|
|
64
|
-
* <ul>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>
|
|
67
|
-
* <a>CreateDataset</a>
|
|
68
|
-
* </p>
|
|
69
|
-
* </li>
|
|
70
|
-
* <li>
|
|
71
|
-
* <p>
|
|
72
|
-
* <a>CreateEventTracker</a>
|
|
73
|
-
* </p>
|
|
74
|
-
* </li>
|
|
75
|
-
* <li>
|
|
76
|
-
* <p>
|
|
77
|
-
* <a>CreateSolution</a>
|
|
78
|
-
* </p>
|
|
79
|
-
* </li>
|
|
80
|
-
* </ul>
|
|
81
|
-
* <p class="title">
|
|
82
|
-
* <b>Related APIs</b>
|
|
83
|
-
* </p>
|
|
84
|
-
* <ul>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>
|
|
87
|
-
* <a>ListDatasetGroups</a>
|
|
88
|
-
* </p>
|
|
89
|
-
* </li>
|
|
90
|
-
* <li>
|
|
91
|
-
* <p>
|
|
92
|
-
* <a>DescribeDatasetGroup</a>
|
|
93
|
-
* </p>
|
|
94
|
-
* </li>
|
|
95
|
-
* <li>
|
|
96
|
-
* <p>
|
|
97
|
-
* <a>DeleteDatasetGroup</a>
|
|
98
|
-
* </p>
|
|
99
|
-
* </li>
|
|
100
|
-
* </ul>
|
|
101
|
-
* @example
|
|
102
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
103
|
-
* ```javascript
|
|
104
|
-
* import { PersonalizeClient, CreateDatasetGroupCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
105
|
-
* // const { PersonalizeClient, CreateDatasetGroupCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
106
|
-
* const client = new PersonalizeClient(config);
|
|
107
|
-
* const command = new CreateDatasetGroupCommand(input);
|
|
108
|
-
* const response = await client.send(command);
|
|
109
|
-
* ```
|
|
110
|
-
*
|
|
111
|
-
* @see {@link CreateDatasetGroupCommandInput} for command's `input` shape.
|
|
112
|
-
* @see {@link CreateDatasetGroupCommandOutput} for command's `response` shape.
|
|
113
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
export class CreateDatasetGroupCommand extends $Command<
|
|
117
|
-
CreateDatasetGroupCommandInput,
|
|
118
|
-
CreateDatasetGroupCommandOutput,
|
|
119
|
-
PersonalizeClientResolvedConfig
|
|
120
|
-
> {
|
|
121
|
-
// Start section: command_properties
|
|
122
|
-
// End section: command_properties
|
|
123
|
-
|
|
124
|
-
constructor(readonly input: CreateDatasetGroupCommandInput) {
|
|
125
|
-
// Start section: command_constructor
|
|
126
|
-
super();
|
|
127
|
-
// End section: command_constructor
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
resolveMiddleware(
|
|
134
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
135
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
136
|
-
options?: __HttpHandlerOptions
|
|
137
|
-
): Handler<CreateDatasetGroupCommandInput, CreateDatasetGroupCommandOutput> {
|
|
138
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
139
|
-
|
|
140
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
141
|
-
|
|
142
|
-
const { logger } = configuration;
|
|
143
|
-
const clientName = "PersonalizeClient";
|
|
144
|
-
const commandName = "CreateDatasetGroupCommand";
|
|
145
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
146
|
-
logger,
|
|
147
|
-
clientName,
|
|
148
|
-
commandName,
|
|
149
|
-
inputFilterSensitiveLog: CreateDatasetGroupRequest.filterSensitiveLog,
|
|
150
|
-
outputFilterSensitiveLog: CreateDatasetGroupResponse.filterSensitiveLog,
|
|
151
|
-
};
|
|
152
|
-
const { requestHandler } = configuration;
|
|
153
|
-
return stack.resolve(
|
|
154
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
155
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
156
|
-
handlerExecutionContext
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
private serialize(input: CreateDatasetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
161
|
-
return serializeAws_json1_1CreateDatasetGroupCommand(input, context);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDatasetGroupCommandOutput> {
|
|
165
|
-
return deserializeAws_json1_1CreateDatasetGroupCommand(output, context);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// Start section: command_body_extra
|
|
169
|
-
// End section: command_body_extra
|
|
170
|
-
}
|
|
@@ -1,136 +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 { CreateDatasetImportJobRequest, CreateDatasetImportJobResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateDatasetImportJobCommand,
|
|
18
|
-
serializeAws_json1_1CreateDatasetImportJobCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateDatasetImportJobCommandInput extends CreateDatasetImportJobRequest {}
|
|
22
|
-
export interface CreateDatasetImportJobCommandOutput extends CreateDatasetImportJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a job that imports training data from your data source (an Amazon S3 bucket) to an
|
|
26
|
-
* Amazon Personalize dataset. To allow Amazon Personalize to import the training data, you must specify an
|
|
27
|
-
* IAM service role that has permission to read from the data source, as Amazon Personalize makes a
|
|
28
|
-
* copy of your data and processes it internally. For information on granting access
|
|
29
|
-
* to your Amazon S3 bucket, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/granting-personalize-s3-access.html">Giving Amazon Personalize
|
|
30
|
-
* Access to Amazon S3 Resources</a>. </p>
|
|
31
|
-
* <important>
|
|
32
|
-
* <p>The dataset import job replaces any existing data in the dataset that you imported in bulk.</p>
|
|
33
|
-
* </important>
|
|
34
|
-
* <p>
|
|
35
|
-
* <b>Status</b>
|
|
36
|
-
* </p>
|
|
37
|
-
* <p>A dataset import job can be in one of the following states:</p>
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* </ul>
|
|
43
|
-
* <p>To get the status of the import job, call <a>DescribeDatasetImportJob</a>,
|
|
44
|
-
* providing the Amazon Resource Name (ARN) of the dataset import job. The dataset import is
|
|
45
|
-
* complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response
|
|
46
|
-
* includes a <code>failureReason</code> key, which describes why the job failed.</p>
|
|
47
|
-
* <note>
|
|
48
|
-
* <p>Importing takes time. You must wait until the status shows as ACTIVE before training a
|
|
49
|
-
* model using the dataset.</p>
|
|
50
|
-
* </note>
|
|
51
|
-
*
|
|
52
|
-
* <p class="title">
|
|
53
|
-
* <b>Related APIs</b>
|
|
54
|
-
* </p>
|
|
55
|
-
* <ul>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>
|
|
58
|
-
* <a>ListDatasetImportJobs</a>
|
|
59
|
-
* </p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>
|
|
63
|
-
* <a>DescribeDatasetImportJob</a>
|
|
64
|
-
* </p>
|
|
65
|
-
* </li>
|
|
66
|
-
* </ul>
|
|
67
|
-
* @example
|
|
68
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
69
|
-
* ```javascript
|
|
70
|
-
* import { PersonalizeClient, CreateDatasetImportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
71
|
-
* // const { PersonalizeClient, CreateDatasetImportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
72
|
-
* const client = new PersonalizeClient(config);
|
|
73
|
-
* const command = new CreateDatasetImportJobCommand(input);
|
|
74
|
-
* const response = await client.send(command);
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
|
-
* @see {@link CreateDatasetImportJobCommandInput} for command's `input` shape.
|
|
78
|
-
* @see {@link CreateDatasetImportJobCommandOutput} for command's `response` shape.
|
|
79
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
export class CreateDatasetImportJobCommand extends $Command<
|
|
83
|
-
CreateDatasetImportJobCommandInput,
|
|
84
|
-
CreateDatasetImportJobCommandOutput,
|
|
85
|
-
PersonalizeClientResolvedConfig
|
|
86
|
-
> {
|
|
87
|
-
// Start section: command_properties
|
|
88
|
-
// End section: command_properties
|
|
89
|
-
|
|
90
|
-
constructor(readonly input: CreateDatasetImportJobCommandInput) {
|
|
91
|
-
// Start section: command_constructor
|
|
92
|
-
super();
|
|
93
|
-
// End section: command_constructor
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
resolveMiddleware(
|
|
100
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
101
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
102
|
-
options?: __HttpHandlerOptions
|
|
103
|
-
): Handler<CreateDatasetImportJobCommandInput, CreateDatasetImportJobCommandOutput> {
|
|
104
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
105
|
-
|
|
106
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
107
|
-
|
|
108
|
-
const { logger } = configuration;
|
|
109
|
-
const clientName = "PersonalizeClient";
|
|
110
|
-
const commandName = "CreateDatasetImportJobCommand";
|
|
111
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
112
|
-
logger,
|
|
113
|
-
clientName,
|
|
114
|
-
commandName,
|
|
115
|
-
inputFilterSensitiveLog: CreateDatasetImportJobRequest.filterSensitiveLog,
|
|
116
|
-
outputFilterSensitiveLog: CreateDatasetImportJobResponse.filterSensitiveLog,
|
|
117
|
-
};
|
|
118
|
-
const { requestHandler } = configuration;
|
|
119
|
-
return stack.resolve(
|
|
120
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
121
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
122
|
-
handlerExecutionContext
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
private serialize(input: CreateDatasetImportJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
127
|
-
return serializeAws_json1_1CreateDatasetImportJobCommand(input, context);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDatasetImportJobCommandOutput> {
|
|
131
|
-
return deserializeAws_json1_1CreateDatasetImportJobCommand(output, context);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// Start section: command_body_extra
|
|
135
|
-
// End section: command_body_extra
|
|
136
|
-
}
|