@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,101 +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 { DeleteSolutionRequest } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeleteSolutionCommand,
|
|
18
|
-
serializeAws_json1_1DeleteSolutionCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteSolutionCommandInput extends DeleteSolutionRequest {}
|
|
22
|
-
export interface DeleteSolutionCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes all versions of a solution and the <code>Solution</code> object itself.
|
|
26
|
-
* Before deleting a solution, you must delete all campaigns based on
|
|
27
|
-
* the solution. To determine what campaigns are using the solution, call
|
|
28
|
-
* <a>ListCampaigns</a> and supply the Amazon Resource Name (ARN) of the solution.
|
|
29
|
-
* You can't delete a solution if an associated <code>SolutionVersion</code> is in the
|
|
30
|
-
* CREATE PENDING or IN PROGRESS state.
|
|
31
|
-
* For more information on solutions, see <a>CreateSolution</a>.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { PersonalizeClient, DeleteSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
36
|
-
* // const { PersonalizeClient, DeleteSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
37
|
-
* const client = new PersonalizeClient(config);
|
|
38
|
-
* const command = new DeleteSolutionCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteSolutionCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteSolutionCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteSolutionCommand extends $Command<
|
|
48
|
-
DeleteSolutionCommandInput,
|
|
49
|
-
DeleteSolutionCommandOutput,
|
|
50
|
-
PersonalizeClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteSolutionCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<DeleteSolutionCommandInput, DeleteSolutionCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "PersonalizeClient";
|
|
75
|
-
const commandName = "DeleteSolutionCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteSolutionRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: DeleteSolutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1DeleteSolutionCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSolutionCommandOutput> {
|
|
96
|
-
return deserializeAws_json1_1DeleteSolutionCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -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 { DescribeAlgorithmRequest, DescribeAlgorithmResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeAlgorithmCommand,
|
|
18
|
-
serializeAws_json1_1DescribeAlgorithmCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeAlgorithmCommandInput extends DescribeAlgorithmRequest {}
|
|
22
|
-
export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describes the given algorithm.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { PersonalizeClient, DescribeAlgorithmCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
30
|
-
* // const { PersonalizeClient, DescribeAlgorithmCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
31
|
-
* const client = new PersonalizeClient(config);
|
|
32
|
-
* const command = new DescribeAlgorithmCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeAlgorithmCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeAlgorithmCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeAlgorithmCommand extends $Command<
|
|
42
|
-
DescribeAlgorithmCommandInput,
|
|
43
|
-
DescribeAlgorithmCommandOutput,
|
|
44
|
-
PersonalizeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeAlgorithmCommandInput) {
|
|
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<DescribeAlgorithmCommandInput, DescribeAlgorithmCommandOutput> {
|
|
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 = "DescribeAlgorithmCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeAlgorithmRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeAlgorithmResponse.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: DescribeAlgorithmCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DescribeAlgorithmCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeAlgorithmCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DescribeAlgorithmCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,100 +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 { DescribeBatchInferenceJobRequest, DescribeBatchInferenceJobResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeBatchInferenceJobCommand,
|
|
18
|
-
serializeAws_json1_1DescribeBatchInferenceJobCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeBatchInferenceJobCommandInput extends DescribeBatchInferenceJobRequest {}
|
|
22
|
-
export interface DescribeBatchInferenceJobCommandOutput extends DescribeBatchInferenceJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets the properties of a batch inference job including name, Amazon Resource Name (ARN),
|
|
26
|
-
* status, input and output configurations, and the ARN of the solution version used to generate
|
|
27
|
-
* the recommendations.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { PersonalizeClient, DescribeBatchInferenceJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
32
|
-
* // const { PersonalizeClient, DescribeBatchInferenceJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
33
|
-
* const client = new PersonalizeClient(config);
|
|
34
|
-
* const command = new DescribeBatchInferenceJobCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribeBatchInferenceJobCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribeBatchInferenceJobCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribeBatchInferenceJobCommand extends $Command<
|
|
44
|
-
DescribeBatchInferenceJobCommandInput,
|
|
45
|
-
DescribeBatchInferenceJobCommandOutput,
|
|
46
|
-
PersonalizeClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribeBatchInferenceJobCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DescribeBatchInferenceJobCommandInput, DescribeBatchInferenceJobCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "PersonalizeClient";
|
|
71
|
-
const commandName = "DescribeBatchInferenceJobCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribeBatchInferenceJobRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribeBatchInferenceJobResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DescribeBatchInferenceJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1DescribeBatchInferenceJobCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<DescribeBatchInferenceJobCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1DescribeBatchInferenceJobCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,107 +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 { DescribeCampaignRequest, DescribeCampaignResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeCampaignCommand,
|
|
18
|
-
serializeAws_json1_1DescribeCampaignCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeCampaignCommandInput extends DescribeCampaignRequest {}
|
|
22
|
-
export interface DescribeCampaignCommandOutput extends DescribeCampaignResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describes the given campaign, including its status.</p>
|
|
26
|
-
* <p>A campaign can be in one of the following states:</p>
|
|
27
|
-
* <ul>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* </ul>
|
|
35
|
-
* <p>When the <code>status</code> is <code>CREATE FAILED</code>, the response includes the
|
|
36
|
-
* <code>failureReason</code> key, which describes why.</p>
|
|
37
|
-
* <p>For more information on campaigns, see <a>CreateCampaign</a>.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { PersonalizeClient, DescribeCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
42
|
-
* // const { PersonalizeClient, DescribeCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
43
|
-
* const client = new PersonalizeClient(config);
|
|
44
|
-
* const command = new DescribeCampaignCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link DescribeCampaignCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link DescribeCampaignCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class DescribeCampaignCommand extends $Command<
|
|
54
|
-
DescribeCampaignCommandInput,
|
|
55
|
-
DescribeCampaignCommandOutput,
|
|
56
|
-
PersonalizeClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: DescribeCampaignCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<DescribeCampaignCommandInput, DescribeCampaignCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "PersonalizeClient";
|
|
81
|
-
const commandName = "DescribeCampaignCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: DescribeCampaignRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: DescribeCampaignResponse.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: DescribeCampaignCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_json1_1DescribeCampaignCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeCampaignCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1DescribeCampaignCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -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 { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeDatasetCommand,
|
|
18
|
-
serializeAws_json1_1DescribeDatasetCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {}
|
|
22
|
-
export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describes the given dataset. For more information on datasets, see <a>CreateDataset</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, DescribeDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
30
|
-
* // const { PersonalizeClient, DescribeDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
31
|
-
* const client = new PersonalizeClient(config);
|
|
32
|
-
* const command = new DescribeDatasetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeDatasetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeDatasetCommand extends $Command<
|
|
42
|
-
DescribeDatasetCommandInput,
|
|
43
|
-
DescribeDatasetCommandOutput,
|
|
44
|
-
PersonalizeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeDatasetCommandInput) {
|
|
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<DescribeDatasetCommandInput, DescribeDatasetCommandOutput> {
|
|
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 = "DescribeDatasetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeDatasetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeDatasetResponse.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: DescribeDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DescribeDatasetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDatasetCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DescribeDatasetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +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 { DescribeDatasetExportJobRequest, DescribeDatasetExportJobResponse } from "../models/models_0";
|
|
15
|
-
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeDatasetExportJobCommand,
|
|
18
|
-
serializeAws_json1_1DescribeDatasetExportJobCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeDatasetExportJobCommandInput extends DescribeDatasetExportJobRequest {}
|
|
22
|
-
export interface DescribeDatasetExportJobCommandOutput extends DescribeDatasetExportJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describes the dataset export job created by <a>CreateDatasetExportJob</a>,
|
|
26
|
-
* including the export job status.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { PersonalizeClient, DescribeDatasetExportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
31
|
-
* // const { PersonalizeClient, DescribeDatasetExportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
32
|
-
* const client = new PersonalizeClient(config);
|
|
33
|
-
* const command = new DescribeDatasetExportJobCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeDatasetExportJobCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeDatasetExportJobCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeDatasetExportJobCommand extends $Command<
|
|
43
|
-
DescribeDatasetExportJobCommandInput,
|
|
44
|
-
DescribeDatasetExportJobCommandOutput,
|
|
45
|
-
PersonalizeClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeDatasetExportJobCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: PersonalizeClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribeDatasetExportJobCommandInput, DescribeDatasetExportJobCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "PersonalizeClient";
|
|
70
|
-
const commandName = "DescribeDatasetExportJobCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeDatasetExportJobRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeDatasetExportJobResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DescribeDatasetExportJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DescribeDatasetExportJobCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDatasetExportJobCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1DescribeDatasetExportJobCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|