@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
package/src/Personalize.ts
DELETED
|
@@ -1,2286 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
CreateBatchInferenceJobCommand,
|
|
5
|
-
CreateBatchInferenceJobCommandInput,
|
|
6
|
-
CreateBatchInferenceJobCommandOutput,
|
|
7
|
-
} from "./commands/CreateBatchInferenceJobCommand";
|
|
8
|
-
import {
|
|
9
|
-
CreateCampaignCommand,
|
|
10
|
-
CreateCampaignCommandInput,
|
|
11
|
-
CreateCampaignCommandOutput,
|
|
12
|
-
} from "./commands/CreateCampaignCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateDatasetCommand,
|
|
15
|
-
CreateDatasetCommandInput,
|
|
16
|
-
CreateDatasetCommandOutput,
|
|
17
|
-
} from "./commands/CreateDatasetCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateDatasetExportJobCommand,
|
|
20
|
-
CreateDatasetExportJobCommandInput,
|
|
21
|
-
CreateDatasetExportJobCommandOutput,
|
|
22
|
-
} from "./commands/CreateDatasetExportJobCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateDatasetGroupCommand,
|
|
25
|
-
CreateDatasetGroupCommandInput,
|
|
26
|
-
CreateDatasetGroupCommandOutput,
|
|
27
|
-
} from "./commands/CreateDatasetGroupCommand";
|
|
28
|
-
import {
|
|
29
|
-
CreateDatasetImportJobCommand,
|
|
30
|
-
CreateDatasetImportJobCommandInput,
|
|
31
|
-
CreateDatasetImportJobCommandOutput,
|
|
32
|
-
} from "./commands/CreateDatasetImportJobCommand";
|
|
33
|
-
import {
|
|
34
|
-
CreateEventTrackerCommand,
|
|
35
|
-
CreateEventTrackerCommandInput,
|
|
36
|
-
CreateEventTrackerCommandOutput,
|
|
37
|
-
} from "./commands/CreateEventTrackerCommand";
|
|
38
|
-
import {
|
|
39
|
-
CreateFilterCommand,
|
|
40
|
-
CreateFilterCommandInput,
|
|
41
|
-
CreateFilterCommandOutput,
|
|
42
|
-
} from "./commands/CreateFilterCommand";
|
|
43
|
-
import {
|
|
44
|
-
CreateSchemaCommand,
|
|
45
|
-
CreateSchemaCommandInput,
|
|
46
|
-
CreateSchemaCommandOutput,
|
|
47
|
-
} from "./commands/CreateSchemaCommand";
|
|
48
|
-
import {
|
|
49
|
-
CreateSolutionCommand,
|
|
50
|
-
CreateSolutionCommandInput,
|
|
51
|
-
CreateSolutionCommandOutput,
|
|
52
|
-
} from "./commands/CreateSolutionCommand";
|
|
53
|
-
import {
|
|
54
|
-
CreateSolutionVersionCommand,
|
|
55
|
-
CreateSolutionVersionCommandInput,
|
|
56
|
-
CreateSolutionVersionCommandOutput,
|
|
57
|
-
} from "./commands/CreateSolutionVersionCommand";
|
|
58
|
-
import {
|
|
59
|
-
DeleteCampaignCommand,
|
|
60
|
-
DeleteCampaignCommandInput,
|
|
61
|
-
DeleteCampaignCommandOutput,
|
|
62
|
-
} from "./commands/DeleteCampaignCommand";
|
|
63
|
-
import {
|
|
64
|
-
DeleteDatasetCommand,
|
|
65
|
-
DeleteDatasetCommandInput,
|
|
66
|
-
DeleteDatasetCommandOutput,
|
|
67
|
-
} from "./commands/DeleteDatasetCommand";
|
|
68
|
-
import {
|
|
69
|
-
DeleteDatasetGroupCommand,
|
|
70
|
-
DeleteDatasetGroupCommandInput,
|
|
71
|
-
DeleteDatasetGroupCommandOutput,
|
|
72
|
-
} from "./commands/DeleteDatasetGroupCommand";
|
|
73
|
-
import {
|
|
74
|
-
DeleteEventTrackerCommand,
|
|
75
|
-
DeleteEventTrackerCommandInput,
|
|
76
|
-
DeleteEventTrackerCommandOutput,
|
|
77
|
-
} from "./commands/DeleteEventTrackerCommand";
|
|
78
|
-
import {
|
|
79
|
-
DeleteFilterCommand,
|
|
80
|
-
DeleteFilterCommandInput,
|
|
81
|
-
DeleteFilterCommandOutput,
|
|
82
|
-
} from "./commands/DeleteFilterCommand";
|
|
83
|
-
import {
|
|
84
|
-
DeleteSchemaCommand,
|
|
85
|
-
DeleteSchemaCommandInput,
|
|
86
|
-
DeleteSchemaCommandOutput,
|
|
87
|
-
} from "./commands/DeleteSchemaCommand";
|
|
88
|
-
import {
|
|
89
|
-
DeleteSolutionCommand,
|
|
90
|
-
DeleteSolutionCommandInput,
|
|
91
|
-
DeleteSolutionCommandOutput,
|
|
92
|
-
} from "./commands/DeleteSolutionCommand";
|
|
93
|
-
import {
|
|
94
|
-
DescribeAlgorithmCommand,
|
|
95
|
-
DescribeAlgorithmCommandInput,
|
|
96
|
-
DescribeAlgorithmCommandOutput,
|
|
97
|
-
} from "./commands/DescribeAlgorithmCommand";
|
|
98
|
-
import {
|
|
99
|
-
DescribeBatchInferenceJobCommand,
|
|
100
|
-
DescribeBatchInferenceJobCommandInput,
|
|
101
|
-
DescribeBatchInferenceJobCommandOutput,
|
|
102
|
-
} from "./commands/DescribeBatchInferenceJobCommand";
|
|
103
|
-
import {
|
|
104
|
-
DescribeCampaignCommand,
|
|
105
|
-
DescribeCampaignCommandInput,
|
|
106
|
-
DescribeCampaignCommandOutput,
|
|
107
|
-
} from "./commands/DescribeCampaignCommand";
|
|
108
|
-
import {
|
|
109
|
-
DescribeDatasetCommand,
|
|
110
|
-
DescribeDatasetCommandInput,
|
|
111
|
-
DescribeDatasetCommandOutput,
|
|
112
|
-
} from "./commands/DescribeDatasetCommand";
|
|
113
|
-
import {
|
|
114
|
-
DescribeDatasetExportJobCommand,
|
|
115
|
-
DescribeDatasetExportJobCommandInput,
|
|
116
|
-
DescribeDatasetExportJobCommandOutput,
|
|
117
|
-
} from "./commands/DescribeDatasetExportJobCommand";
|
|
118
|
-
import {
|
|
119
|
-
DescribeDatasetGroupCommand,
|
|
120
|
-
DescribeDatasetGroupCommandInput,
|
|
121
|
-
DescribeDatasetGroupCommandOutput,
|
|
122
|
-
} from "./commands/DescribeDatasetGroupCommand";
|
|
123
|
-
import {
|
|
124
|
-
DescribeDatasetImportJobCommand,
|
|
125
|
-
DescribeDatasetImportJobCommandInput,
|
|
126
|
-
DescribeDatasetImportJobCommandOutput,
|
|
127
|
-
} from "./commands/DescribeDatasetImportJobCommand";
|
|
128
|
-
import {
|
|
129
|
-
DescribeEventTrackerCommand,
|
|
130
|
-
DescribeEventTrackerCommandInput,
|
|
131
|
-
DescribeEventTrackerCommandOutput,
|
|
132
|
-
} from "./commands/DescribeEventTrackerCommand";
|
|
133
|
-
import {
|
|
134
|
-
DescribeFeatureTransformationCommand,
|
|
135
|
-
DescribeFeatureTransformationCommandInput,
|
|
136
|
-
DescribeFeatureTransformationCommandOutput,
|
|
137
|
-
} from "./commands/DescribeFeatureTransformationCommand";
|
|
138
|
-
import {
|
|
139
|
-
DescribeFilterCommand,
|
|
140
|
-
DescribeFilterCommandInput,
|
|
141
|
-
DescribeFilterCommandOutput,
|
|
142
|
-
} from "./commands/DescribeFilterCommand";
|
|
143
|
-
import {
|
|
144
|
-
DescribeRecipeCommand,
|
|
145
|
-
DescribeRecipeCommandInput,
|
|
146
|
-
DescribeRecipeCommandOutput,
|
|
147
|
-
} from "./commands/DescribeRecipeCommand";
|
|
148
|
-
import {
|
|
149
|
-
DescribeSchemaCommand,
|
|
150
|
-
DescribeSchemaCommandInput,
|
|
151
|
-
DescribeSchemaCommandOutput,
|
|
152
|
-
} from "./commands/DescribeSchemaCommand";
|
|
153
|
-
import {
|
|
154
|
-
DescribeSolutionCommand,
|
|
155
|
-
DescribeSolutionCommandInput,
|
|
156
|
-
DescribeSolutionCommandOutput,
|
|
157
|
-
} from "./commands/DescribeSolutionCommand";
|
|
158
|
-
import {
|
|
159
|
-
DescribeSolutionVersionCommand,
|
|
160
|
-
DescribeSolutionVersionCommandInput,
|
|
161
|
-
DescribeSolutionVersionCommandOutput,
|
|
162
|
-
} from "./commands/DescribeSolutionVersionCommand";
|
|
163
|
-
import {
|
|
164
|
-
GetSolutionMetricsCommand,
|
|
165
|
-
GetSolutionMetricsCommandInput,
|
|
166
|
-
GetSolutionMetricsCommandOutput,
|
|
167
|
-
} from "./commands/GetSolutionMetricsCommand";
|
|
168
|
-
import {
|
|
169
|
-
ListBatchInferenceJobsCommand,
|
|
170
|
-
ListBatchInferenceJobsCommandInput,
|
|
171
|
-
ListBatchInferenceJobsCommandOutput,
|
|
172
|
-
} from "./commands/ListBatchInferenceJobsCommand";
|
|
173
|
-
import {
|
|
174
|
-
ListCampaignsCommand,
|
|
175
|
-
ListCampaignsCommandInput,
|
|
176
|
-
ListCampaignsCommandOutput,
|
|
177
|
-
} from "./commands/ListCampaignsCommand";
|
|
178
|
-
import {
|
|
179
|
-
ListDatasetExportJobsCommand,
|
|
180
|
-
ListDatasetExportJobsCommandInput,
|
|
181
|
-
ListDatasetExportJobsCommandOutput,
|
|
182
|
-
} from "./commands/ListDatasetExportJobsCommand";
|
|
183
|
-
import {
|
|
184
|
-
ListDatasetGroupsCommand,
|
|
185
|
-
ListDatasetGroupsCommandInput,
|
|
186
|
-
ListDatasetGroupsCommandOutput,
|
|
187
|
-
} from "./commands/ListDatasetGroupsCommand";
|
|
188
|
-
import {
|
|
189
|
-
ListDatasetImportJobsCommand,
|
|
190
|
-
ListDatasetImportJobsCommandInput,
|
|
191
|
-
ListDatasetImportJobsCommandOutput,
|
|
192
|
-
} from "./commands/ListDatasetImportJobsCommand";
|
|
193
|
-
import {
|
|
194
|
-
ListDatasetsCommand,
|
|
195
|
-
ListDatasetsCommandInput,
|
|
196
|
-
ListDatasetsCommandOutput,
|
|
197
|
-
} from "./commands/ListDatasetsCommand";
|
|
198
|
-
import {
|
|
199
|
-
ListEventTrackersCommand,
|
|
200
|
-
ListEventTrackersCommandInput,
|
|
201
|
-
ListEventTrackersCommandOutput,
|
|
202
|
-
} from "./commands/ListEventTrackersCommand";
|
|
203
|
-
import { ListFiltersCommand, ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
204
|
-
import { ListRecipesCommand, ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand";
|
|
205
|
-
import { ListSchemasCommand, ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
206
|
-
import {
|
|
207
|
-
ListSolutionsCommand,
|
|
208
|
-
ListSolutionsCommandInput,
|
|
209
|
-
ListSolutionsCommandOutput,
|
|
210
|
-
} from "./commands/ListSolutionsCommand";
|
|
211
|
-
import {
|
|
212
|
-
ListSolutionVersionsCommand,
|
|
213
|
-
ListSolutionVersionsCommandInput,
|
|
214
|
-
ListSolutionVersionsCommandOutput,
|
|
215
|
-
} from "./commands/ListSolutionVersionsCommand";
|
|
216
|
-
import {
|
|
217
|
-
StopSolutionVersionCreationCommand,
|
|
218
|
-
StopSolutionVersionCreationCommandInput,
|
|
219
|
-
StopSolutionVersionCreationCommandOutput,
|
|
220
|
-
} from "./commands/StopSolutionVersionCreationCommand";
|
|
221
|
-
import {
|
|
222
|
-
UpdateCampaignCommand,
|
|
223
|
-
UpdateCampaignCommandInput,
|
|
224
|
-
UpdateCampaignCommandOutput,
|
|
225
|
-
} from "./commands/UpdateCampaignCommand";
|
|
226
|
-
import { PersonalizeClient } from "./PersonalizeClient";
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* <p>Amazon Personalize is a machine learning service that makes it easy to add individualized
|
|
230
|
-
* recommendations to customers.</p>
|
|
231
|
-
*/
|
|
232
|
-
export class Personalize extends PersonalizeClient {
|
|
233
|
-
/**
|
|
234
|
-
* <p>Creates a batch inference job. The operation can handle up to 50 million records and the
|
|
235
|
-
* input file must be in JSON format. For more information, see <a>recommendations-batch</a>.</p>
|
|
236
|
-
*/
|
|
237
|
-
public createBatchInferenceJob(
|
|
238
|
-
args: CreateBatchInferenceJobCommandInput,
|
|
239
|
-
options?: __HttpHandlerOptions
|
|
240
|
-
): Promise<CreateBatchInferenceJobCommandOutput>;
|
|
241
|
-
public createBatchInferenceJob(
|
|
242
|
-
args: CreateBatchInferenceJobCommandInput,
|
|
243
|
-
cb: (err: any, data?: CreateBatchInferenceJobCommandOutput) => void
|
|
244
|
-
): void;
|
|
245
|
-
public createBatchInferenceJob(
|
|
246
|
-
args: CreateBatchInferenceJobCommandInput,
|
|
247
|
-
options: __HttpHandlerOptions,
|
|
248
|
-
cb: (err: any, data?: CreateBatchInferenceJobCommandOutput) => void
|
|
249
|
-
): void;
|
|
250
|
-
public createBatchInferenceJob(
|
|
251
|
-
args: CreateBatchInferenceJobCommandInput,
|
|
252
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBatchInferenceJobCommandOutput) => void),
|
|
253
|
-
cb?: (err: any, data?: CreateBatchInferenceJobCommandOutput) => void
|
|
254
|
-
): Promise<CreateBatchInferenceJobCommandOutput> | void {
|
|
255
|
-
const command = new CreateBatchInferenceJobCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
} else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
261
|
-
} else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* <p>Creates a campaign by deploying a solution version. When a client calls the
|
|
268
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a>
|
|
269
|
-
* and
|
|
270
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetPersonalizedRanking.html">GetPersonalizedRanking</a>
|
|
271
|
-
* APIs, a campaign is specified in the request.</p>
|
|
272
|
-
*
|
|
273
|
-
* <p>
|
|
274
|
-
* <b>Minimum Provisioned TPS and Auto-Scaling</b>
|
|
275
|
-
* </p>
|
|
276
|
-
*
|
|
277
|
-
* <p>A transaction is a single <code>GetRecommendations</code> or
|
|
278
|
-
* <code>GetPersonalizedRanking</code> call. Transactions per second (TPS) is the throughput
|
|
279
|
-
* and unit of billing for Amazon Personalize. The minimum provisioned TPS
|
|
280
|
-
* (<code>minProvisionedTPS</code>) specifies the baseline throughput provisioned by
|
|
281
|
-
* Amazon Personalize, and thus, the minimum billing charge.
|
|
282
|
-
* </p>
|
|
283
|
-
* <p>
|
|
284
|
-
* If your TPS increases beyond
|
|
285
|
-
* <code>minProvisionedTPS</code>, Amazon Personalize auto-scales the provisioned capacity up and down,
|
|
286
|
-
* but never below <code>minProvisionedTPS</code>.
|
|
287
|
-
* There's a short time delay while the capacity is increased that might cause loss of
|
|
288
|
-
* transactions.</p>
|
|
289
|
-
* <p>The actual TPS used is calculated as the average requests/second within a 5-minute window.
|
|
290
|
-
* You pay for maximum of either the minimum provisioned TPS or the actual TPS.
|
|
291
|
-
* We recommend starting with a low <code>minProvisionedTPS</code>, track
|
|
292
|
-
* your usage using Amazon CloudWatch metrics, and then increase the <code>minProvisionedTPS</code>
|
|
293
|
-
* as necessary.</p>
|
|
294
|
-
*
|
|
295
|
-
* <p>
|
|
296
|
-
* <b>Status</b>
|
|
297
|
-
* </p>
|
|
298
|
-
* <p>A campaign can be in one of the following states:</p>
|
|
299
|
-
* <ul>
|
|
300
|
-
* <li>
|
|
301
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
302
|
-
* </li>
|
|
303
|
-
* <li>
|
|
304
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
305
|
-
* </li>
|
|
306
|
-
* </ul>
|
|
307
|
-
* <p>To get the campaign status, call <a>DescribeCampaign</a>.</p>
|
|
308
|
-
* <note>
|
|
309
|
-
* <p>Wait until the <code>status</code> of the campaign
|
|
310
|
-
* is <code>ACTIVE</code> before asking the campaign for recommendations.</p>
|
|
311
|
-
* </note>
|
|
312
|
-
*
|
|
313
|
-
* <p class="title">
|
|
314
|
-
* <b>Related APIs</b>
|
|
315
|
-
* </p>
|
|
316
|
-
* <ul>
|
|
317
|
-
* <li>
|
|
318
|
-
* <p>
|
|
319
|
-
* <a>ListCampaigns</a>
|
|
320
|
-
* </p>
|
|
321
|
-
* </li>
|
|
322
|
-
* <li>
|
|
323
|
-
* <p>
|
|
324
|
-
* <a>DescribeCampaign</a>
|
|
325
|
-
* </p>
|
|
326
|
-
* </li>
|
|
327
|
-
* <li>
|
|
328
|
-
* <p>
|
|
329
|
-
* <a>UpdateCampaign</a>
|
|
330
|
-
* </p>
|
|
331
|
-
* </li>
|
|
332
|
-
* <li>
|
|
333
|
-
* <p>
|
|
334
|
-
* <a>DeleteCampaign</a>
|
|
335
|
-
* </p>
|
|
336
|
-
* </li>
|
|
337
|
-
* </ul>
|
|
338
|
-
*/
|
|
339
|
-
public createCampaign(
|
|
340
|
-
args: CreateCampaignCommandInput,
|
|
341
|
-
options?: __HttpHandlerOptions
|
|
342
|
-
): Promise<CreateCampaignCommandOutput>;
|
|
343
|
-
public createCampaign(
|
|
344
|
-
args: CreateCampaignCommandInput,
|
|
345
|
-
cb: (err: any, data?: CreateCampaignCommandOutput) => void
|
|
346
|
-
): void;
|
|
347
|
-
public createCampaign(
|
|
348
|
-
args: CreateCampaignCommandInput,
|
|
349
|
-
options: __HttpHandlerOptions,
|
|
350
|
-
cb: (err: any, data?: CreateCampaignCommandOutput) => void
|
|
351
|
-
): void;
|
|
352
|
-
public createCampaign(
|
|
353
|
-
args: CreateCampaignCommandInput,
|
|
354
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCampaignCommandOutput) => void),
|
|
355
|
-
cb?: (err: any, data?: CreateCampaignCommandOutput) => void
|
|
356
|
-
): Promise<CreateCampaignCommandOutput> | void {
|
|
357
|
-
const command = new CreateCampaignCommand(args);
|
|
358
|
-
if (typeof optionsOrCb === "function") {
|
|
359
|
-
this.send(command, optionsOrCb);
|
|
360
|
-
} else if (typeof cb === "function") {
|
|
361
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
362
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
363
|
-
} else {
|
|
364
|
-
return this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* <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>
|
|
370
|
-
* <p>There are three types of datasets:</p>
|
|
371
|
-
* <ul>
|
|
372
|
-
* <li>
|
|
373
|
-
* <p>Interactions</p>
|
|
374
|
-
* </li>
|
|
375
|
-
* <li>
|
|
376
|
-
* <p>Items</p>
|
|
377
|
-
* </li>
|
|
378
|
-
* <li>
|
|
379
|
-
* <p>Users</p>
|
|
380
|
-
* </li>
|
|
381
|
-
* </ul>
|
|
382
|
-
* <p>Each dataset type has an associated schema with required field types. Only the
|
|
383
|
-
* <code>Interactions</code> dataset is required in order to train a model (also referred to as
|
|
384
|
-
* creating a solution).</p>
|
|
385
|
-
* <p>A dataset can be in one of the following states:</p>
|
|
386
|
-
* <ul>
|
|
387
|
-
* <li>
|
|
388
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
389
|
-
* </li>
|
|
390
|
-
* <li>
|
|
391
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
392
|
-
* </li>
|
|
393
|
-
* </ul>
|
|
394
|
-
* <p>To get the status of the dataset, call <a>DescribeDataset</a>.</p>
|
|
395
|
-
* <p class="title">
|
|
396
|
-
* <b>Related APIs</b>
|
|
397
|
-
* </p>
|
|
398
|
-
* <ul>
|
|
399
|
-
* <li>
|
|
400
|
-
* <p>
|
|
401
|
-
* <a>CreateDatasetGroup</a>
|
|
402
|
-
* </p>
|
|
403
|
-
* </li>
|
|
404
|
-
* <li>
|
|
405
|
-
* <p>
|
|
406
|
-
* <a>ListDatasets</a>
|
|
407
|
-
* </p>
|
|
408
|
-
* </li>
|
|
409
|
-
* <li>
|
|
410
|
-
* <p>
|
|
411
|
-
* <a>DescribeDataset</a>
|
|
412
|
-
* </p>
|
|
413
|
-
* </li>
|
|
414
|
-
* <li>
|
|
415
|
-
* <p>
|
|
416
|
-
* <a>DeleteDataset</a>
|
|
417
|
-
* </p>
|
|
418
|
-
* </li>
|
|
419
|
-
* </ul>
|
|
420
|
-
*/
|
|
421
|
-
public createDataset(
|
|
422
|
-
args: CreateDatasetCommandInput,
|
|
423
|
-
options?: __HttpHandlerOptions
|
|
424
|
-
): Promise<CreateDatasetCommandOutput>;
|
|
425
|
-
public createDataset(
|
|
426
|
-
args: CreateDatasetCommandInput,
|
|
427
|
-
cb: (err: any, data?: CreateDatasetCommandOutput) => void
|
|
428
|
-
): void;
|
|
429
|
-
public createDataset(
|
|
430
|
-
args: CreateDatasetCommandInput,
|
|
431
|
-
options: __HttpHandlerOptions,
|
|
432
|
-
cb: (err: any, data?: CreateDatasetCommandOutput) => void
|
|
433
|
-
): void;
|
|
434
|
-
public createDataset(
|
|
435
|
-
args: CreateDatasetCommandInput,
|
|
436
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDatasetCommandOutput) => void),
|
|
437
|
-
cb?: (err: any, data?: CreateDatasetCommandOutput) => void
|
|
438
|
-
): Promise<CreateDatasetCommandOutput> | void {
|
|
439
|
-
const command = new CreateDatasetCommand(args);
|
|
440
|
-
if (typeof optionsOrCb === "function") {
|
|
441
|
-
this.send(command, optionsOrCb);
|
|
442
|
-
} else if (typeof cb === "function") {
|
|
443
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
-
} else {
|
|
446
|
-
return this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* <p>
|
|
452
|
-
* Creates a job that exports data from your dataset to an Amazon S3 bucket.
|
|
453
|
-
* To allow Amazon Personalize to export the training data, you must specify an
|
|
454
|
-
* service-linked IAM role that gives Amazon Personalize <code>PutObject</code> permissions for your Amazon S3 bucket.
|
|
455
|
-
* For information, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/export-data.html">Exporting a dataset</a>
|
|
456
|
-
* in the Amazon Personalize developer guide.
|
|
457
|
-
* </p>
|
|
458
|
-
* <p>
|
|
459
|
-
* <b>Status</b>
|
|
460
|
-
* </p>
|
|
461
|
-
* <p>A dataset export job can be in one of the following states:</p>
|
|
462
|
-
* <ul>
|
|
463
|
-
* <li>
|
|
464
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
465
|
-
* </li>
|
|
466
|
-
* </ul>
|
|
467
|
-
* <p>
|
|
468
|
-
* To get the status of the export job, call <a>DescribeDatasetExportJob</a>,
|
|
469
|
-
* and specify the Amazon Resource Name (ARN) of the dataset export job. The dataset export is
|
|
470
|
-
* complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response
|
|
471
|
-
* includes a <code>failureReason</code> key, which describes why the job failed.
|
|
472
|
-
* </p>
|
|
473
|
-
*/
|
|
474
|
-
public createDatasetExportJob(
|
|
475
|
-
args: CreateDatasetExportJobCommandInput,
|
|
476
|
-
options?: __HttpHandlerOptions
|
|
477
|
-
): Promise<CreateDatasetExportJobCommandOutput>;
|
|
478
|
-
public createDatasetExportJob(
|
|
479
|
-
args: CreateDatasetExportJobCommandInput,
|
|
480
|
-
cb: (err: any, data?: CreateDatasetExportJobCommandOutput) => void
|
|
481
|
-
): void;
|
|
482
|
-
public createDatasetExportJob(
|
|
483
|
-
args: CreateDatasetExportJobCommandInput,
|
|
484
|
-
options: __HttpHandlerOptions,
|
|
485
|
-
cb: (err: any, data?: CreateDatasetExportJobCommandOutput) => void
|
|
486
|
-
): void;
|
|
487
|
-
public createDatasetExportJob(
|
|
488
|
-
args: CreateDatasetExportJobCommandInput,
|
|
489
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDatasetExportJobCommandOutput) => void),
|
|
490
|
-
cb?: (err: any, data?: CreateDatasetExportJobCommandOutput) => void
|
|
491
|
-
): Promise<CreateDatasetExportJobCommandOutput> | void {
|
|
492
|
-
const command = new CreateDatasetExportJobCommand(args);
|
|
493
|
-
if (typeof optionsOrCb === "function") {
|
|
494
|
-
this.send(command, optionsOrCb);
|
|
495
|
-
} else if (typeof cb === "function") {
|
|
496
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
497
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
498
|
-
} else {
|
|
499
|
-
return this.send(command, optionsOrCb);
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* <p>Creates an empty dataset group. A dataset group contains related datasets that supply data
|
|
505
|
-
* for training a model. A dataset group can contain at most three datasets, one for each type of
|
|
506
|
-
* dataset:</p>
|
|
507
|
-
* <ul>
|
|
508
|
-
* <li>
|
|
509
|
-
* <p>Interactions</p>
|
|
510
|
-
* </li>
|
|
511
|
-
* <li>
|
|
512
|
-
* <p>Items</p>
|
|
513
|
-
* </li>
|
|
514
|
-
* <li>
|
|
515
|
-
* <p>Users</p>
|
|
516
|
-
* </li>
|
|
517
|
-
* </ul>
|
|
518
|
-
* <p>To train a model (create a solution), a dataset group that contains an
|
|
519
|
-
* <code>Interactions</code> dataset is required. Call <a>CreateDataset</a> to add a
|
|
520
|
-
* dataset to the group.</p>
|
|
521
|
-
* <p>A dataset group can be in one of the following states:</p>
|
|
522
|
-
* <ul>
|
|
523
|
-
* <li>
|
|
524
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
525
|
-
* </li>
|
|
526
|
-
* <li>
|
|
527
|
-
* <p>DELETE PENDING</p>
|
|
528
|
-
* </li>
|
|
529
|
-
* </ul>
|
|
530
|
-
* <p>To get the status of the dataset group, call <a>DescribeDatasetGroup</a>. If
|
|
531
|
-
* the status shows as CREATE FAILED, the response includes a <code>failureReason</code> key,
|
|
532
|
-
* which describes why the creation failed.</p>
|
|
533
|
-
* <note>
|
|
534
|
-
* <p>You must wait until the <code>status</code> of the dataset group is <code>ACTIVE</code>
|
|
535
|
-
* before adding a dataset to the group.</p>
|
|
536
|
-
* </note>
|
|
537
|
-
* <p>You can specify an Key Management Service (KMS) key to encrypt the datasets in the group. If you
|
|
538
|
-
* specify a KMS key, you must also include an Identity and Access Management (IAM) role that has permission to
|
|
539
|
-
* access the key.</p>
|
|
540
|
-
* <p class="title">
|
|
541
|
-
* <b>APIs that require a dataset group ARN in the request</b>
|
|
542
|
-
* </p>
|
|
543
|
-
* <ul>
|
|
544
|
-
* <li>
|
|
545
|
-
* <p>
|
|
546
|
-
* <a>CreateDataset</a>
|
|
547
|
-
* </p>
|
|
548
|
-
* </li>
|
|
549
|
-
* <li>
|
|
550
|
-
* <p>
|
|
551
|
-
* <a>CreateEventTracker</a>
|
|
552
|
-
* </p>
|
|
553
|
-
* </li>
|
|
554
|
-
* <li>
|
|
555
|
-
* <p>
|
|
556
|
-
* <a>CreateSolution</a>
|
|
557
|
-
* </p>
|
|
558
|
-
* </li>
|
|
559
|
-
* </ul>
|
|
560
|
-
* <p class="title">
|
|
561
|
-
* <b>Related APIs</b>
|
|
562
|
-
* </p>
|
|
563
|
-
* <ul>
|
|
564
|
-
* <li>
|
|
565
|
-
* <p>
|
|
566
|
-
* <a>ListDatasetGroups</a>
|
|
567
|
-
* </p>
|
|
568
|
-
* </li>
|
|
569
|
-
* <li>
|
|
570
|
-
* <p>
|
|
571
|
-
* <a>DescribeDatasetGroup</a>
|
|
572
|
-
* </p>
|
|
573
|
-
* </li>
|
|
574
|
-
* <li>
|
|
575
|
-
* <p>
|
|
576
|
-
* <a>DeleteDatasetGroup</a>
|
|
577
|
-
* </p>
|
|
578
|
-
* </li>
|
|
579
|
-
* </ul>
|
|
580
|
-
*/
|
|
581
|
-
public createDatasetGroup(
|
|
582
|
-
args: CreateDatasetGroupCommandInput,
|
|
583
|
-
options?: __HttpHandlerOptions
|
|
584
|
-
): Promise<CreateDatasetGroupCommandOutput>;
|
|
585
|
-
public createDatasetGroup(
|
|
586
|
-
args: CreateDatasetGroupCommandInput,
|
|
587
|
-
cb: (err: any, data?: CreateDatasetGroupCommandOutput) => void
|
|
588
|
-
): void;
|
|
589
|
-
public createDatasetGroup(
|
|
590
|
-
args: CreateDatasetGroupCommandInput,
|
|
591
|
-
options: __HttpHandlerOptions,
|
|
592
|
-
cb: (err: any, data?: CreateDatasetGroupCommandOutput) => void
|
|
593
|
-
): void;
|
|
594
|
-
public createDatasetGroup(
|
|
595
|
-
args: CreateDatasetGroupCommandInput,
|
|
596
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDatasetGroupCommandOutput) => void),
|
|
597
|
-
cb?: (err: any, data?: CreateDatasetGroupCommandOutput) => void
|
|
598
|
-
): Promise<CreateDatasetGroupCommandOutput> | void {
|
|
599
|
-
const command = new CreateDatasetGroupCommand(args);
|
|
600
|
-
if (typeof optionsOrCb === "function") {
|
|
601
|
-
this.send(command, optionsOrCb);
|
|
602
|
-
} else if (typeof cb === "function") {
|
|
603
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
604
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
605
|
-
} else {
|
|
606
|
-
return this.send(command, optionsOrCb);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* <p>Creates a job that imports training data from your data source (an Amazon S3 bucket) to an
|
|
612
|
-
* Amazon Personalize dataset. To allow Amazon Personalize to import the training data, you must specify an
|
|
613
|
-
* IAM service role that has permission to read from the data source, as Amazon Personalize makes a
|
|
614
|
-
* copy of your data and processes it internally. For information on granting access
|
|
615
|
-
* to your Amazon S3 bucket, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/granting-personalize-s3-access.html">Giving Amazon Personalize
|
|
616
|
-
* Access to Amazon S3 Resources</a>. </p>
|
|
617
|
-
* <important>
|
|
618
|
-
* <p>The dataset import job replaces any existing data in the dataset that you imported in bulk.</p>
|
|
619
|
-
* </important>
|
|
620
|
-
* <p>
|
|
621
|
-
* <b>Status</b>
|
|
622
|
-
* </p>
|
|
623
|
-
* <p>A dataset import job can be in one of the following states:</p>
|
|
624
|
-
* <ul>
|
|
625
|
-
* <li>
|
|
626
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
627
|
-
* </li>
|
|
628
|
-
* </ul>
|
|
629
|
-
* <p>To get the status of the import job, call <a>DescribeDatasetImportJob</a>,
|
|
630
|
-
* providing the Amazon Resource Name (ARN) of the dataset import job. The dataset import is
|
|
631
|
-
* complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response
|
|
632
|
-
* includes a <code>failureReason</code> key, which describes why the job failed.</p>
|
|
633
|
-
* <note>
|
|
634
|
-
* <p>Importing takes time. You must wait until the status shows as ACTIVE before training a
|
|
635
|
-
* model using the dataset.</p>
|
|
636
|
-
* </note>
|
|
637
|
-
*
|
|
638
|
-
* <p class="title">
|
|
639
|
-
* <b>Related APIs</b>
|
|
640
|
-
* </p>
|
|
641
|
-
* <ul>
|
|
642
|
-
* <li>
|
|
643
|
-
* <p>
|
|
644
|
-
* <a>ListDatasetImportJobs</a>
|
|
645
|
-
* </p>
|
|
646
|
-
* </li>
|
|
647
|
-
* <li>
|
|
648
|
-
* <p>
|
|
649
|
-
* <a>DescribeDatasetImportJob</a>
|
|
650
|
-
* </p>
|
|
651
|
-
* </li>
|
|
652
|
-
* </ul>
|
|
653
|
-
*/
|
|
654
|
-
public createDatasetImportJob(
|
|
655
|
-
args: CreateDatasetImportJobCommandInput,
|
|
656
|
-
options?: __HttpHandlerOptions
|
|
657
|
-
): Promise<CreateDatasetImportJobCommandOutput>;
|
|
658
|
-
public createDatasetImportJob(
|
|
659
|
-
args: CreateDatasetImportJobCommandInput,
|
|
660
|
-
cb: (err: any, data?: CreateDatasetImportJobCommandOutput) => void
|
|
661
|
-
): void;
|
|
662
|
-
public createDatasetImportJob(
|
|
663
|
-
args: CreateDatasetImportJobCommandInput,
|
|
664
|
-
options: __HttpHandlerOptions,
|
|
665
|
-
cb: (err: any, data?: CreateDatasetImportJobCommandOutput) => void
|
|
666
|
-
): void;
|
|
667
|
-
public createDatasetImportJob(
|
|
668
|
-
args: CreateDatasetImportJobCommandInput,
|
|
669
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDatasetImportJobCommandOutput) => void),
|
|
670
|
-
cb?: (err: any, data?: CreateDatasetImportJobCommandOutput) => void
|
|
671
|
-
): Promise<CreateDatasetImportJobCommandOutput> | void {
|
|
672
|
-
const command = new CreateDatasetImportJobCommand(args);
|
|
673
|
-
if (typeof optionsOrCb === "function") {
|
|
674
|
-
this.send(command, optionsOrCb);
|
|
675
|
-
} else if (typeof cb === "function") {
|
|
676
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
677
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
678
|
-
} else {
|
|
679
|
-
return this.send(command, optionsOrCb);
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* <p>Creates an event tracker that you use when adding event data to a specified dataset
|
|
685
|
-
* group using the
|
|
686
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html">PutEvents</a> API.</p>
|
|
687
|
-
* <note>
|
|
688
|
-
* <p>Only one event tracker can be associated with a dataset group. You will get
|
|
689
|
-
* an error if you call <code>CreateEventTracker</code> using the same dataset group as an
|
|
690
|
-
* existing event tracker.</p>
|
|
691
|
-
* </note>
|
|
692
|
-
* <p>When you create an event tracker, the response includes a tracking ID, which you pass as a parameter when you use the
|
|
693
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html">PutEvents</a> operation.
|
|
694
|
-
* Amazon Personalize then appends the event data to the Interactions dataset of the dataset group you specify
|
|
695
|
-
* in your event tracker.
|
|
696
|
-
* </p>
|
|
697
|
-
* <p>The event tracker can be in one of the following states:</p>
|
|
698
|
-
* <ul>
|
|
699
|
-
* <li>
|
|
700
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
701
|
-
* </li>
|
|
702
|
-
* <li>
|
|
703
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
704
|
-
* </li>
|
|
705
|
-
* </ul>
|
|
706
|
-
* <p>To get the status of the event tracker, call <a>DescribeEventTracker</a>.</p>
|
|
707
|
-
* <note>
|
|
708
|
-
* <p>The event tracker must be in the ACTIVE state before using the tracking ID.</p>
|
|
709
|
-
* </note>
|
|
710
|
-
* <p class="title">
|
|
711
|
-
* <b>Related APIs</b>
|
|
712
|
-
* </p>
|
|
713
|
-
* <ul>
|
|
714
|
-
* <li>
|
|
715
|
-
* <p>
|
|
716
|
-
* <a>ListEventTrackers</a>
|
|
717
|
-
* </p>
|
|
718
|
-
* </li>
|
|
719
|
-
* <li>
|
|
720
|
-
* <p>
|
|
721
|
-
* <a>DescribeEventTracker</a>
|
|
722
|
-
* </p>
|
|
723
|
-
* </li>
|
|
724
|
-
* <li>
|
|
725
|
-
* <p>
|
|
726
|
-
* <a>DeleteEventTracker</a>
|
|
727
|
-
* </p>
|
|
728
|
-
* </li>
|
|
729
|
-
* </ul>
|
|
730
|
-
*/
|
|
731
|
-
public createEventTracker(
|
|
732
|
-
args: CreateEventTrackerCommandInput,
|
|
733
|
-
options?: __HttpHandlerOptions
|
|
734
|
-
): Promise<CreateEventTrackerCommandOutput>;
|
|
735
|
-
public createEventTracker(
|
|
736
|
-
args: CreateEventTrackerCommandInput,
|
|
737
|
-
cb: (err: any, data?: CreateEventTrackerCommandOutput) => void
|
|
738
|
-
): void;
|
|
739
|
-
public createEventTracker(
|
|
740
|
-
args: CreateEventTrackerCommandInput,
|
|
741
|
-
options: __HttpHandlerOptions,
|
|
742
|
-
cb: (err: any, data?: CreateEventTrackerCommandOutput) => void
|
|
743
|
-
): void;
|
|
744
|
-
public createEventTracker(
|
|
745
|
-
args: CreateEventTrackerCommandInput,
|
|
746
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEventTrackerCommandOutput) => void),
|
|
747
|
-
cb?: (err: any, data?: CreateEventTrackerCommandOutput) => void
|
|
748
|
-
): Promise<CreateEventTrackerCommandOutput> | void {
|
|
749
|
-
const command = new CreateEventTrackerCommand(args);
|
|
750
|
-
if (typeof optionsOrCb === "function") {
|
|
751
|
-
this.send(command, optionsOrCb);
|
|
752
|
-
} else if (typeof cb === "function") {
|
|
753
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
754
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
755
|
-
} else {
|
|
756
|
-
return this.send(command, optionsOrCb);
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* <p>Creates a recommendation filter. For more information, see <a>filter</a>.</p>
|
|
762
|
-
*/
|
|
763
|
-
public createFilter(
|
|
764
|
-
args: CreateFilterCommandInput,
|
|
765
|
-
options?: __HttpHandlerOptions
|
|
766
|
-
): Promise<CreateFilterCommandOutput>;
|
|
767
|
-
public createFilter(args: CreateFilterCommandInput, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
|
|
768
|
-
public createFilter(
|
|
769
|
-
args: CreateFilterCommandInput,
|
|
770
|
-
options: __HttpHandlerOptions,
|
|
771
|
-
cb: (err: any, data?: CreateFilterCommandOutput) => void
|
|
772
|
-
): void;
|
|
773
|
-
public createFilter(
|
|
774
|
-
args: CreateFilterCommandInput,
|
|
775
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFilterCommandOutput) => void),
|
|
776
|
-
cb?: (err: any, data?: CreateFilterCommandOutput) => void
|
|
777
|
-
): Promise<CreateFilterCommandOutput> | void {
|
|
778
|
-
const command = new CreateFilterCommand(args);
|
|
779
|
-
if (typeof optionsOrCb === "function") {
|
|
780
|
-
this.send(command, optionsOrCb);
|
|
781
|
-
} else if (typeof cb === "function") {
|
|
782
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
783
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
784
|
-
} else {
|
|
785
|
-
return this.send(command, optionsOrCb);
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
* <p>Creates an Amazon Personalize schema from the specified schema string. The schema you create
|
|
791
|
-
* must be in Avro JSON format.</p>
|
|
792
|
-
* <p>Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset
|
|
793
|
-
* type and has a set of required field and keywords.
|
|
794
|
-
* You specify a schema when you call <a>CreateDataset</a>.</p>
|
|
795
|
-
*
|
|
796
|
-
* <p class="title">
|
|
797
|
-
* <b>Related APIs</b>
|
|
798
|
-
* </p>
|
|
799
|
-
* <ul>
|
|
800
|
-
* <li>
|
|
801
|
-
* <p>
|
|
802
|
-
* <a>ListSchemas</a>
|
|
803
|
-
* </p>
|
|
804
|
-
* </li>
|
|
805
|
-
* <li>
|
|
806
|
-
* <p>
|
|
807
|
-
* <a>DescribeSchema</a>
|
|
808
|
-
* </p>
|
|
809
|
-
* </li>
|
|
810
|
-
* <li>
|
|
811
|
-
* <p>
|
|
812
|
-
* <a>DeleteSchema</a>
|
|
813
|
-
* </p>
|
|
814
|
-
* </li>
|
|
815
|
-
* </ul>
|
|
816
|
-
*/
|
|
817
|
-
public createSchema(
|
|
818
|
-
args: CreateSchemaCommandInput,
|
|
819
|
-
options?: __HttpHandlerOptions
|
|
820
|
-
): Promise<CreateSchemaCommandOutput>;
|
|
821
|
-
public createSchema(args: CreateSchemaCommandInput, cb: (err: any, data?: CreateSchemaCommandOutput) => void): void;
|
|
822
|
-
public createSchema(
|
|
823
|
-
args: CreateSchemaCommandInput,
|
|
824
|
-
options: __HttpHandlerOptions,
|
|
825
|
-
cb: (err: any, data?: CreateSchemaCommandOutput) => void
|
|
826
|
-
): void;
|
|
827
|
-
public createSchema(
|
|
828
|
-
args: CreateSchemaCommandInput,
|
|
829
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSchemaCommandOutput) => void),
|
|
830
|
-
cb?: (err: any, data?: CreateSchemaCommandOutput) => void
|
|
831
|
-
): Promise<CreateSchemaCommandOutput> | void {
|
|
832
|
-
const command = new CreateSchemaCommand(args);
|
|
833
|
-
if (typeof optionsOrCb === "function") {
|
|
834
|
-
this.send(command, optionsOrCb);
|
|
835
|
-
} else if (typeof cb === "function") {
|
|
836
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
837
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
838
|
-
} else {
|
|
839
|
-
return this.send(command, optionsOrCb);
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* <p>Creates the configuration for training a model. A trained model is known as
|
|
845
|
-
* a solution. After the configuration is created, you train the model (create a solution)
|
|
846
|
-
* by calling the <a>CreateSolutionVersion</a> operation. Every time you call
|
|
847
|
-
* <code>CreateSolutionVersion</code>, a new version of the solution is created.</p>
|
|
848
|
-
* <p>After creating a solution version, you check its accuracy by calling
|
|
849
|
-
* <a>GetSolutionMetrics</a>. When you are satisfied with the version, you
|
|
850
|
-
* deploy it using <a>CreateCampaign</a>. The campaign provides recommendations
|
|
851
|
-
* to a client through the
|
|
852
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a> API.</p>
|
|
853
|
-
* <p>To train a model, Amazon Personalize requires training data and a recipe. The training data
|
|
854
|
-
* comes from the dataset group that you provide in the request. A recipe specifies
|
|
855
|
-
* the training algorithm and a feature transformation. You can specify one of the predefined
|
|
856
|
-
* recipes provided by Amazon Personalize. Alternatively, you can specify
|
|
857
|
-
* <code>performAutoML</code> and Amazon Personalize will analyze your data and select the
|
|
858
|
-
* optimum USER_PERSONALIZATION recipe for you.</p>
|
|
859
|
-
* <note>
|
|
860
|
-
* <p>Amazon Personalize doesn't support configuring the <code>hpoObjective</code>
|
|
861
|
-
* for solution hyperparameter optimization at this time.</p>
|
|
862
|
-
* </note>
|
|
863
|
-
* <p>
|
|
864
|
-
* <b>Status</b>
|
|
865
|
-
* </p>
|
|
866
|
-
* <p>A solution can be in one of the following states:</p>
|
|
867
|
-
* <ul>
|
|
868
|
-
* <li>
|
|
869
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
870
|
-
* </li>
|
|
871
|
-
* <li>
|
|
872
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
873
|
-
* </li>
|
|
874
|
-
* </ul>
|
|
875
|
-
* <p>To get the status of the solution, call <a>DescribeSolution</a>. Wait
|
|
876
|
-
* until the status shows as ACTIVE before calling <code>CreateSolutionVersion</code>.</p>
|
|
877
|
-
*
|
|
878
|
-
*
|
|
879
|
-
*
|
|
880
|
-
* <p class="title">
|
|
881
|
-
* <b>Related APIs</b>
|
|
882
|
-
* </p>
|
|
883
|
-
* <ul>
|
|
884
|
-
* <li>
|
|
885
|
-
* <p>
|
|
886
|
-
* <a>ListSolutions</a>
|
|
887
|
-
* </p>
|
|
888
|
-
* </li>
|
|
889
|
-
* <li>
|
|
890
|
-
* <p>
|
|
891
|
-
* <a>CreateSolutionVersion</a>
|
|
892
|
-
* </p>
|
|
893
|
-
* </li>
|
|
894
|
-
* <li>
|
|
895
|
-
* <p>
|
|
896
|
-
* <a>DescribeSolution</a>
|
|
897
|
-
* </p>
|
|
898
|
-
* </li>
|
|
899
|
-
* <li>
|
|
900
|
-
* <p>
|
|
901
|
-
* <a>DeleteSolution</a>
|
|
902
|
-
* </p>
|
|
903
|
-
* </li>
|
|
904
|
-
* </ul>
|
|
905
|
-
* <ul>
|
|
906
|
-
* <li>
|
|
907
|
-
* <p>
|
|
908
|
-
* <a>ListSolutionVersions</a>
|
|
909
|
-
* </p>
|
|
910
|
-
* </li>
|
|
911
|
-
* <li>
|
|
912
|
-
* <p>
|
|
913
|
-
* <a>DescribeSolutionVersion</a>
|
|
914
|
-
* </p>
|
|
915
|
-
* </li>
|
|
916
|
-
* </ul>
|
|
917
|
-
*/
|
|
918
|
-
public createSolution(
|
|
919
|
-
args: CreateSolutionCommandInput,
|
|
920
|
-
options?: __HttpHandlerOptions
|
|
921
|
-
): Promise<CreateSolutionCommandOutput>;
|
|
922
|
-
public createSolution(
|
|
923
|
-
args: CreateSolutionCommandInput,
|
|
924
|
-
cb: (err: any, data?: CreateSolutionCommandOutput) => void
|
|
925
|
-
): void;
|
|
926
|
-
public createSolution(
|
|
927
|
-
args: CreateSolutionCommandInput,
|
|
928
|
-
options: __HttpHandlerOptions,
|
|
929
|
-
cb: (err: any, data?: CreateSolutionCommandOutput) => void
|
|
930
|
-
): void;
|
|
931
|
-
public createSolution(
|
|
932
|
-
args: CreateSolutionCommandInput,
|
|
933
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSolutionCommandOutput) => void),
|
|
934
|
-
cb?: (err: any, data?: CreateSolutionCommandOutput) => void
|
|
935
|
-
): Promise<CreateSolutionCommandOutput> | void {
|
|
936
|
-
const command = new CreateSolutionCommand(args);
|
|
937
|
-
if (typeof optionsOrCb === "function") {
|
|
938
|
-
this.send(command, optionsOrCb);
|
|
939
|
-
} else if (typeof cb === "function") {
|
|
940
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
941
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
942
|
-
} else {
|
|
943
|
-
return this.send(command, optionsOrCb);
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* <p>Trains or retrains an active solution. A solution is created using the <a>CreateSolution</a> operation and must be in the ACTIVE state before calling
|
|
949
|
-
* <code>CreateSolutionVersion</code>. A new version of the solution is created every time you
|
|
950
|
-
* call this operation.</p>
|
|
951
|
-
* <p>
|
|
952
|
-
* <b>Status</b>
|
|
953
|
-
* </p>
|
|
954
|
-
* <p>A solution version can be in one of the following states:</p>
|
|
955
|
-
* <ul>
|
|
956
|
-
* <li>
|
|
957
|
-
* <p>CREATE PENDING</p>
|
|
958
|
-
* </li>
|
|
959
|
-
* <li>
|
|
960
|
-
* <p>CREATE IN_PROGRESS</p>
|
|
961
|
-
* </li>
|
|
962
|
-
* <li>
|
|
963
|
-
* <p>ACTIVE</p>
|
|
964
|
-
* </li>
|
|
965
|
-
* <li>
|
|
966
|
-
* <p>CREATE FAILED</p>
|
|
967
|
-
* </li>
|
|
968
|
-
* <li>
|
|
969
|
-
* <p>CREATE STOPPING</p>
|
|
970
|
-
* </li>
|
|
971
|
-
* <li>
|
|
972
|
-
* <p>CREATE STOPPED</p>
|
|
973
|
-
* </li>
|
|
974
|
-
* </ul>
|
|
975
|
-
* <p>To get the status of the version, call <a>DescribeSolutionVersion</a>. Wait
|
|
976
|
-
* until the status shows as ACTIVE before calling <code>CreateCampaign</code>.</p>
|
|
977
|
-
* <p>If the status shows as CREATE FAILED, the response includes a <code>failureReason</code>
|
|
978
|
-
* key, which describes why the job failed.</p>
|
|
979
|
-
* <p class="title">
|
|
980
|
-
* <b>Related APIs</b>
|
|
981
|
-
* </p>
|
|
982
|
-
* <ul>
|
|
983
|
-
* <li>
|
|
984
|
-
* <p>
|
|
985
|
-
* <a>ListSolutionVersions</a>
|
|
986
|
-
* </p>
|
|
987
|
-
* </li>
|
|
988
|
-
* <li>
|
|
989
|
-
* <p>
|
|
990
|
-
* <a>DescribeSolutionVersion</a>
|
|
991
|
-
* </p>
|
|
992
|
-
* </li>
|
|
993
|
-
* </ul>
|
|
994
|
-
* <ul>
|
|
995
|
-
* <li>
|
|
996
|
-
* <p>
|
|
997
|
-
* <a>ListSolutions</a>
|
|
998
|
-
* </p>
|
|
999
|
-
* </li>
|
|
1000
|
-
* <li>
|
|
1001
|
-
* <p>
|
|
1002
|
-
* <a>CreateSolution</a>
|
|
1003
|
-
* </p>
|
|
1004
|
-
* </li>
|
|
1005
|
-
* <li>
|
|
1006
|
-
* <p>
|
|
1007
|
-
* <a>DescribeSolution</a>
|
|
1008
|
-
* </p>
|
|
1009
|
-
* </li>
|
|
1010
|
-
* <li>
|
|
1011
|
-
* <p>
|
|
1012
|
-
* <a>DeleteSolution</a>
|
|
1013
|
-
* </p>
|
|
1014
|
-
* </li>
|
|
1015
|
-
* </ul>
|
|
1016
|
-
*/
|
|
1017
|
-
public createSolutionVersion(
|
|
1018
|
-
args: CreateSolutionVersionCommandInput,
|
|
1019
|
-
options?: __HttpHandlerOptions
|
|
1020
|
-
): Promise<CreateSolutionVersionCommandOutput>;
|
|
1021
|
-
public createSolutionVersion(
|
|
1022
|
-
args: CreateSolutionVersionCommandInput,
|
|
1023
|
-
cb: (err: any, data?: CreateSolutionVersionCommandOutput) => void
|
|
1024
|
-
): void;
|
|
1025
|
-
public createSolutionVersion(
|
|
1026
|
-
args: CreateSolutionVersionCommandInput,
|
|
1027
|
-
options: __HttpHandlerOptions,
|
|
1028
|
-
cb: (err: any, data?: CreateSolutionVersionCommandOutput) => void
|
|
1029
|
-
): void;
|
|
1030
|
-
public createSolutionVersion(
|
|
1031
|
-
args: CreateSolutionVersionCommandInput,
|
|
1032
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSolutionVersionCommandOutput) => void),
|
|
1033
|
-
cb?: (err: any, data?: CreateSolutionVersionCommandOutput) => void
|
|
1034
|
-
): Promise<CreateSolutionVersionCommandOutput> | void {
|
|
1035
|
-
const command = new CreateSolutionVersionCommand(args);
|
|
1036
|
-
if (typeof optionsOrCb === "function") {
|
|
1037
|
-
this.send(command, optionsOrCb);
|
|
1038
|
-
} else if (typeof cb === "function") {
|
|
1039
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1040
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1041
|
-
} else {
|
|
1042
|
-
return this.send(command, optionsOrCb);
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* <p>Removes a campaign by deleting the solution deployment. The solution that
|
|
1048
|
-
* the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no
|
|
1049
|
-
* longer be specified in a
|
|
1050
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a>
|
|
1051
|
-
* request.
|
|
1052
|
-
* For more information on campaigns, see <a>CreateCampaign</a>.</p>
|
|
1053
|
-
*/
|
|
1054
|
-
public deleteCampaign(
|
|
1055
|
-
args: DeleteCampaignCommandInput,
|
|
1056
|
-
options?: __HttpHandlerOptions
|
|
1057
|
-
): Promise<DeleteCampaignCommandOutput>;
|
|
1058
|
-
public deleteCampaign(
|
|
1059
|
-
args: DeleteCampaignCommandInput,
|
|
1060
|
-
cb: (err: any, data?: DeleteCampaignCommandOutput) => void
|
|
1061
|
-
): void;
|
|
1062
|
-
public deleteCampaign(
|
|
1063
|
-
args: DeleteCampaignCommandInput,
|
|
1064
|
-
options: __HttpHandlerOptions,
|
|
1065
|
-
cb: (err: any, data?: DeleteCampaignCommandOutput) => void
|
|
1066
|
-
): void;
|
|
1067
|
-
public deleteCampaign(
|
|
1068
|
-
args: DeleteCampaignCommandInput,
|
|
1069
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCampaignCommandOutput) => void),
|
|
1070
|
-
cb?: (err: any, data?: DeleteCampaignCommandOutput) => void
|
|
1071
|
-
): Promise<DeleteCampaignCommandOutput> | void {
|
|
1072
|
-
const command = new DeleteCampaignCommand(args);
|
|
1073
|
-
if (typeof optionsOrCb === "function") {
|
|
1074
|
-
this.send(command, optionsOrCb);
|
|
1075
|
-
} else if (typeof cb === "function") {
|
|
1076
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1077
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1078
|
-
} else {
|
|
1079
|
-
return this.send(command, optionsOrCb);
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
/**
|
|
1084
|
-
* <p>Deletes a dataset. You can't delete a dataset if an associated
|
|
1085
|
-
* <code>DatasetImportJob</code> or <code>SolutionVersion</code> is in the CREATE PENDING or IN
|
|
1086
|
-
* PROGRESS state. For more information on datasets, see <a>CreateDataset</a>.</p>
|
|
1087
|
-
*/
|
|
1088
|
-
public deleteDataset(
|
|
1089
|
-
args: DeleteDatasetCommandInput,
|
|
1090
|
-
options?: __HttpHandlerOptions
|
|
1091
|
-
): Promise<DeleteDatasetCommandOutput>;
|
|
1092
|
-
public deleteDataset(
|
|
1093
|
-
args: DeleteDatasetCommandInput,
|
|
1094
|
-
cb: (err: any, data?: DeleteDatasetCommandOutput) => void
|
|
1095
|
-
): void;
|
|
1096
|
-
public deleteDataset(
|
|
1097
|
-
args: DeleteDatasetCommandInput,
|
|
1098
|
-
options: __HttpHandlerOptions,
|
|
1099
|
-
cb: (err: any, data?: DeleteDatasetCommandOutput) => void
|
|
1100
|
-
): void;
|
|
1101
|
-
public deleteDataset(
|
|
1102
|
-
args: DeleteDatasetCommandInput,
|
|
1103
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDatasetCommandOutput) => void),
|
|
1104
|
-
cb?: (err: any, data?: DeleteDatasetCommandOutput) => void
|
|
1105
|
-
): Promise<DeleteDatasetCommandOutput> | void {
|
|
1106
|
-
const command = new DeleteDatasetCommand(args);
|
|
1107
|
-
if (typeof optionsOrCb === "function") {
|
|
1108
|
-
this.send(command, optionsOrCb);
|
|
1109
|
-
} else if (typeof cb === "function") {
|
|
1110
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1111
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1112
|
-
} else {
|
|
1113
|
-
return this.send(command, optionsOrCb);
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
/**
|
|
1118
|
-
* <p>Deletes a dataset group. Before you delete a dataset group, you must delete the
|
|
1119
|
-
* following:</p>
|
|
1120
|
-
* <ul>
|
|
1121
|
-
* <li>
|
|
1122
|
-
* <p>All associated event trackers.</p>
|
|
1123
|
-
* </li>
|
|
1124
|
-
* <li>
|
|
1125
|
-
* <p>All associated solutions.</p>
|
|
1126
|
-
* </li>
|
|
1127
|
-
* <li>
|
|
1128
|
-
* <p>All datasets in the dataset group.</p>
|
|
1129
|
-
* </li>
|
|
1130
|
-
* </ul>
|
|
1131
|
-
*/
|
|
1132
|
-
public deleteDatasetGroup(
|
|
1133
|
-
args: DeleteDatasetGroupCommandInput,
|
|
1134
|
-
options?: __HttpHandlerOptions
|
|
1135
|
-
): Promise<DeleteDatasetGroupCommandOutput>;
|
|
1136
|
-
public deleteDatasetGroup(
|
|
1137
|
-
args: DeleteDatasetGroupCommandInput,
|
|
1138
|
-
cb: (err: any, data?: DeleteDatasetGroupCommandOutput) => void
|
|
1139
|
-
): void;
|
|
1140
|
-
public deleteDatasetGroup(
|
|
1141
|
-
args: DeleteDatasetGroupCommandInput,
|
|
1142
|
-
options: __HttpHandlerOptions,
|
|
1143
|
-
cb: (err: any, data?: DeleteDatasetGroupCommandOutput) => void
|
|
1144
|
-
): void;
|
|
1145
|
-
public deleteDatasetGroup(
|
|
1146
|
-
args: DeleteDatasetGroupCommandInput,
|
|
1147
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDatasetGroupCommandOutput) => void),
|
|
1148
|
-
cb?: (err: any, data?: DeleteDatasetGroupCommandOutput) => void
|
|
1149
|
-
): Promise<DeleteDatasetGroupCommandOutput> | void {
|
|
1150
|
-
const command = new DeleteDatasetGroupCommand(args);
|
|
1151
|
-
if (typeof optionsOrCb === "function") {
|
|
1152
|
-
this.send(command, optionsOrCb);
|
|
1153
|
-
} else if (typeof cb === "function") {
|
|
1154
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1156
|
-
} else {
|
|
1157
|
-
return this.send(command, optionsOrCb);
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* <p>Deletes the event tracker. Does not delete the event-interactions dataset from
|
|
1163
|
-
* the associated dataset group. For more
|
|
1164
|
-
* information on event trackers, see <a>CreateEventTracker</a>.</p>
|
|
1165
|
-
*/
|
|
1166
|
-
public deleteEventTracker(
|
|
1167
|
-
args: DeleteEventTrackerCommandInput,
|
|
1168
|
-
options?: __HttpHandlerOptions
|
|
1169
|
-
): Promise<DeleteEventTrackerCommandOutput>;
|
|
1170
|
-
public deleteEventTracker(
|
|
1171
|
-
args: DeleteEventTrackerCommandInput,
|
|
1172
|
-
cb: (err: any, data?: DeleteEventTrackerCommandOutput) => void
|
|
1173
|
-
): void;
|
|
1174
|
-
public deleteEventTracker(
|
|
1175
|
-
args: DeleteEventTrackerCommandInput,
|
|
1176
|
-
options: __HttpHandlerOptions,
|
|
1177
|
-
cb: (err: any, data?: DeleteEventTrackerCommandOutput) => void
|
|
1178
|
-
): void;
|
|
1179
|
-
public deleteEventTracker(
|
|
1180
|
-
args: DeleteEventTrackerCommandInput,
|
|
1181
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEventTrackerCommandOutput) => void),
|
|
1182
|
-
cb?: (err: any, data?: DeleteEventTrackerCommandOutput) => void
|
|
1183
|
-
): Promise<DeleteEventTrackerCommandOutput> | void {
|
|
1184
|
-
const command = new DeleteEventTrackerCommand(args);
|
|
1185
|
-
if (typeof optionsOrCb === "function") {
|
|
1186
|
-
this.send(command, optionsOrCb);
|
|
1187
|
-
} else if (typeof cb === "function") {
|
|
1188
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1189
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1190
|
-
} else {
|
|
1191
|
-
return this.send(command, optionsOrCb);
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* <p>Deletes a filter.</p>
|
|
1197
|
-
*/
|
|
1198
|
-
public deleteFilter(
|
|
1199
|
-
args: DeleteFilterCommandInput,
|
|
1200
|
-
options?: __HttpHandlerOptions
|
|
1201
|
-
): Promise<DeleteFilterCommandOutput>;
|
|
1202
|
-
public deleteFilter(args: DeleteFilterCommandInput, cb: (err: any, data?: DeleteFilterCommandOutput) => void): void;
|
|
1203
|
-
public deleteFilter(
|
|
1204
|
-
args: DeleteFilterCommandInput,
|
|
1205
|
-
options: __HttpHandlerOptions,
|
|
1206
|
-
cb: (err: any, data?: DeleteFilterCommandOutput) => void
|
|
1207
|
-
): void;
|
|
1208
|
-
public deleteFilter(
|
|
1209
|
-
args: DeleteFilterCommandInput,
|
|
1210
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFilterCommandOutput) => void),
|
|
1211
|
-
cb?: (err: any, data?: DeleteFilterCommandOutput) => void
|
|
1212
|
-
): Promise<DeleteFilterCommandOutput> | void {
|
|
1213
|
-
const command = new DeleteFilterCommand(args);
|
|
1214
|
-
if (typeof optionsOrCb === "function") {
|
|
1215
|
-
this.send(command, optionsOrCb);
|
|
1216
|
-
} else if (typeof cb === "function") {
|
|
1217
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1218
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1219
|
-
} else {
|
|
1220
|
-
return this.send(command, optionsOrCb);
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* <p>Deletes a schema. Before deleting a schema, you must delete all
|
|
1226
|
-
* datasets referencing the schema. For more information on schemas, see
|
|
1227
|
-
* <a>CreateSchema</a>.</p>
|
|
1228
|
-
*/
|
|
1229
|
-
public deleteSchema(
|
|
1230
|
-
args: DeleteSchemaCommandInput,
|
|
1231
|
-
options?: __HttpHandlerOptions
|
|
1232
|
-
): Promise<DeleteSchemaCommandOutput>;
|
|
1233
|
-
public deleteSchema(args: DeleteSchemaCommandInput, cb: (err: any, data?: DeleteSchemaCommandOutput) => void): void;
|
|
1234
|
-
public deleteSchema(
|
|
1235
|
-
args: DeleteSchemaCommandInput,
|
|
1236
|
-
options: __HttpHandlerOptions,
|
|
1237
|
-
cb: (err: any, data?: DeleteSchemaCommandOutput) => void
|
|
1238
|
-
): void;
|
|
1239
|
-
public deleteSchema(
|
|
1240
|
-
args: DeleteSchemaCommandInput,
|
|
1241
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSchemaCommandOutput) => void),
|
|
1242
|
-
cb?: (err: any, data?: DeleteSchemaCommandOutput) => void
|
|
1243
|
-
): Promise<DeleteSchemaCommandOutput> | void {
|
|
1244
|
-
const command = new DeleteSchemaCommand(args);
|
|
1245
|
-
if (typeof optionsOrCb === "function") {
|
|
1246
|
-
this.send(command, optionsOrCb);
|
|
1247
|
-
} else if (typeof cb === "function") {
|
|
1248
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1250
|
-
} else {
|
|
1251
|
-
return this.send(command, optionsOrCb);
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* <p>Deletes all versions of a solution and the <code>Solution</code> object itself.
|
|
1257
|
-
* Before deleting a solution, you must delete all campaigns based on
|
|
1258
|
-
* the solution. To determine what campaigns are using the solution, call
|
|
1259
|
-
* <a>ListCampaigns</a> and supply the Amazon Resource Name (ARN) of the solution.
|
|
1260
|
-
* You can't delete a solution if an associated <code>SolutionVersion</code> is in the
|
|
1261
|
-
* CREATE PENDING or IN PROGRESS state.
|
|
1262
|
-
* For more information on solutions, see <a>CreateSolution</a>.</p>
|
|
1263
|
-
*/
|
|
1264
|
-
public deleteSolution(
|
|
1265
|
-
args: DeleteSolutionCommandInput,
|
|
1266
|
-
options?: __HttpHandlerOptions
|
|
1267
|
-
): Promise<DeleteSolutionCommandOutput>;
|
|
1268
|
-
public deleteSolution(
|
|
1269
|
-
args: DeleteSolutionCommandInput,
|
|
1270
|
-
cb: (err: any, data?: DeleteSolutionCommandOutput) => void
|
|
1271
|
-
): void;
|
|
1272
|
-
public deleteSolution(
|
|
1273
|
-
args: DeleteSolutionCommandInput,
|
|
1274
|
-
options: __HttpHandlerOptions,
|
|
1275
|
-
cb: (err: any, data?: DeleteSolutionCommandOutput) => void
|
|
1276
|
-
): void;
|
|
1277
|
-
public deleteSolution(
|
|
1278
|
-
args: DeleteSolutionCommandInput,
|
|
1279
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSolutionCommandOutput) => void),
|
|
1280
|
-
cb?: (err: any, data?: DeleteSolutionCommandOutput) => void
|
|
1281
|
-
): Promise<DeleteSolutionCommandOutput> | void {
|
|
1282
|
-
const command = new DeleteSolutionCommand(args);
|
|
1283
|
-
if (typeof optionsOrCb === "function") {
|
|
1284
|
-
this.send(command, optionsOrCb);
|
|
1285
|
-
} else if (typeof cb === "function") {
|
|
1286
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1288
|
-
} else {
|
|
1289
|
-
return this.send(command, optionsOrCb);
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
/**
|
|
1294
|
-
* <p>Describes the given algorithm.</p>
|
|
1295
|
-
*/
|
|
1296
|
-
public describeAlgorithm(
|
|
1297
|
-
args: DescribeAlgorithmCommandInput,
|
|
1298
|
-
options?: __HttpHandlerOptions
|
|
1299
|
-
): Promise<DescribeAlgorithmCommandOutput>;
|
|
1300
|
-
public describeAlgorithm(
|
|
1301
|
-
args: DescribeAlgorithmCommandInput,
|
|
1302
|
-
cb: (err: any, data?: DescribeAlgorithmCommandOutput) => void
|
|
1303
|
-
): void;
|
|
1304
|
-
public describeAlgorithm(
|
|
1305
|
-
args: DescribeAlgorithmCommandInput,
|
|
1306
|
-
options: __HttpHandlerOptions,
|
|
1307
|
-
cb: (err: any, data?: DescribeAlgorithmCommandOutput) => void
|
|
1308
|
-
): void;
|
|
1309
|
-
public describeAlgorithm(
|
|
1310
|
-
args: DescribeAlgorithmCommandInput,
|
|
1311
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAlgorithmCommandOutput) => void),
|
|
1312
|
-
cb?: (err: any, data?: DescribeAlgorithmCommandOutput) => void
|
|
1313
|
-
): Promise<DescribeAlgorithmCommandOutput> | void {
|
|
1314
|
-
const command = new DescribeAlgorithmCommand(args);
|
|
1315
|
-
if (typeof optionsOrCb === "function") {
|
|
1316
|
-
this.send(command, optionsOrCb);
|
|
1317
|
-
} else if (typeof cb === "function") {
|
|
1318
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1320
|
-
} else {
|
|
1321
|
-
return this.send(command, optionsOrCb);
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* <p>Gets the properties of a batch inference job including name, Amazon Resource Name (ARN),
|
|
1327
|
-
* status, input and output configurations, and the ARN of the solution version used to generate
|
|
1328
|
-
* the recommendations.</p>
|
|
1329
|
-
*/
|
|
1330
|
-
public describeBatchInferenceJob(
|
|
1331
|
-
args: DescribeBatchInferenceJobCommandInput,
|
|
1332
|
-
options?: __HttpHandlerOptions
|
|
1333
|
-
): Promise<DescribeBatchInferenceJobCommandOutput>;
|
|
1334
|
-
public describeBatchInferenceJob(
|
|
1335
|
-
args: DescribeBatchInferenceJobCommandInput,
|
|
1336
|
-
cb: (err: any, data?: DescribeBatchInferenceJobCommandOutput) => void
|
|
1337
|
-
): void;
|
|
1338
|
-
public describeBatchInferenceJob(
|
|
1339
|
-
args: DescribeBatchInferenceJobCommandInput,
|
|
1340
|
-
options: __HttpHandlerOptions,
|
|
1341
|
-
cb: (err: any, data?: DescribeBatchInferenceJobCommandOutput) => void
|
|
1342
|
-
): void;
|
|
1343
|
-
public describeBatchInferenceJob(
|
|
1344
|
-
args: DescribeBatchInferenceJobCommandInput,
|
|
1345
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeBatchInferenceJobCommandOutput) => void),
|
|
1346
|
-
cb?: (err: any, data?: DescribeBatchInferenceJobCommandOutput) => void
|
|
1347
|
-
): Promise<DescribeBatchInferenceJobCommandOutput> | void {
|
|
1348
|
-
const command = new DescribeBatchInferenceJobCommand(args);
|
|
1349
|
-
if (typeof optionsOrCb === "function") {
|
|
1350
|
-
this.send(command, optionsOrCb);
|
|
1351
|
-
} else if (typeof cb === "function") {
|
|
1352
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1353
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1354
|
-
} else {
|
|
1355
|
-
return this.send(command, optionsOrCb);
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* <p>Describes the given campaign, including its status.</p>
|
|
1361
|
-
* <p>A campaign can be in one of the following states:</p>
|
|
1362
|
-
* <ul>
|
|
1363
|
-
* <li>
|
|
1364
|
-
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
1365
|
-
* </li>
|
|
1366
|
-
* <li>
|
|
1367
|
-
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
1368
|
-
* </li>
|
|
1369
|
-
* </ul>
|
|
1370
|
-
* <p>When the <code>status</code> is <code>CREATE FAILED</code>, the response includes the
|
|
1371
|
-
* <code>failureReason</code> key, which describes why.</p>
|
|
1372
|
-
* <p>For more information on campaigns, see <a>CreateCampaign</a>.</p>
|
|
1373
|
-
*/
|
|
1374
|
-
public describeCampaign(
|
|
1375
|
-
args: DescribeCampaignCommandInput,
|
|
1376
|
-
options?: __HttpHandlerOptions
|
|
1377
|
-
): Promise<DescribeCampaignCommandOutput>;
|
|
1378
|
-
public describeCampaign(
|
|
1379
|
-
args: DescribeCampaignCommandInput,
|
|
1380
|
-
cb: (err: any, data?: DescribeCampaignCommandOutput) => void
|
|
1381
|
-
): void;
|
|
1382
|
-
public describeCampaign(
|
|
1383
|
-
args: DescribeCampaignCommandInput,
|
|
1384
|
-
options: __HttpHandlerOptions,
|
|
1385
|
-
cb: (err: any, data?: DescribeCampaignCommandOutput) => void
|
|
1386
|
-
): void;
|
|
1387
|
-
public describeCampaign(
|
|
1388
|
-
args: DescribeCampaignCommandInput,
|
|
1389
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCampaignCommandOutput) => void),
|
|
1390
|
-
cb?: (err: any, data?: DescribeCampaignCommandOutput) => void
|
|
1391
|
-
): Promise<DescribeCampaignCommandOutput> | void {
|
|
1392
|
-
const command = new DescribeCampaignCommand(args);
|
|
1393
|
-
if (typeof optionsOrCb === "function") {
|
|
1394
|
-
this.send(command, optionsOrCb);
|
|
1395
|
-
} else if (typeof cb === "function") {
|
|
1396
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1397
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1398
|
-
} else {
|
|
1399
|
-
return this.send(command, optionsOrCb);
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
* <p>Describes the given dataset. For more information on datasets, see <a>CreateDataset</a>.</p>
|
|
1405
|
-
*/
|
|
1406
|
-
public describeDataset(
|
|
1407
|
-
args: DescribeDatasetCommandInput,
|
|
1408
|
-
options?: __HttpHandlerOptions
|
|
1409
|
-
): Promise<DescribeDatasetCommandOutput>;
|
|
1410
|
-
public describeDataset(
|
|
1411
|
-
args: DescribeDatasetCommandInput,
|
|
1412
|
-
cb: (err: any, data?: DescribeDatasetCommandOutput) => void
|
|
1413
|
-
): void;
|
|
1414
|
-
public describeDataset(
|
|
1415
|
-
args: DescribeDatasetCommandInput,
|
|
1416
|
-
options: __HttpHandlerOptions,
|
|
1417
|
-
cb: (err: any, data?: DescribeDatasetCommandOutput) => void
|
|
1418
|
-
): void;
|
|
1419
|
-
public describeDataset(
|
|
1420
|
-
args: DescribeDatasetCommandInput,
|
|
1421
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDatasetCommandOutput) => void),
|
|
1422
|
-
cb?: (err: any, data?: DescribeDatasetCommandOutput) => void
|
|
1423
|
-
): Promise<DescribeDatasetCommandOutput> | void {
|
|
1424
|
-
const command = new DescribeDatasetCommand(args);
|
|
1425
|
-
if (typeof optionsOrCb === "function") {
|
|
1426
|
-
this.send(command, optionsOrCb);
|
|
1427
|
-
} else if (typeof cb === "function") {
|
|
1428
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1429
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1430
|
-
} else {
|
|
1431
|
-
return this.send(command, optionsOrCb);
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
/**
|
|
1436
|
-
* <p>Describes the dataset export job created by <a>CreateDatasetExportJob</a>,
|
|
1437
|
-
* including the export job status.</p>
|
|
1438
|
-
*/
|
|
1439
|
-
public describeDatasetExportJob(
|
|
1440
|
-
args: DescribeDatasetExportJobCommandInput,
|
|
1441
|
-
options?: __HttpHandlerOptions
|
|
1442
|
-
): Promise<DescribeDatasetExportJobCommandOutput>;
|
|
1443
|
-
public describeDatasetExportJob(
|
|
1444
|
-
args: DescribeDatasetExportJobCommandInput,
|
|
1445
|
-
cb: (err: any, data?: DescribeDatasetExportJobCommandOutput) => void
|
|
1446
|
-
): void;
|
|
1447
|
-
public describeDatasetExportJob(
|
|
1448
|
-
args: DescribeDatasetExportJobCommandInput,
|
|
1449
|
-
options: __HttpHandlerOptions,
|
|
1450
|
-
cb: (err: any, data?: DescribeDatasetExportJobCommandOutput) => void
|
|
1451
|
-
): void;
|
|
1452
|
-
public describeDatasetExportJob(
|
|
1453
|
-
args: DescribeDatasetExportJobCommandInput,
|
|
1454
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDatasetExportJobCommandOutput) => void),
|
|
1455
|
-
cb?: (err: any, data?: DescribeDatasetExportJobCommandOutput) => void
|
|
1456
|
-
): Promise<DescribeDatasetExportJobCommandOutput> | void {
|
|
1457
|
-
const command = new DescribeDatasetExportJobCommand(args);
|
|
1458
|
-
if (typeof optionsOrCb === "function") {
|
|
1459
|
-
this.send(command, optionsOrCb);
|
|
1460
|
-
} else if (typeof cb === "function") {
|
|
1461
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1462
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1463
|
-
} else {
|
|
1464
|
-
return this.send(command, optionsOrCb);
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* <p>Describes the given dataset group. For more information on dataset groups, see <a>CreateDatasetGroup</a>.</p>
|
|
1470
|
-
*/
|
|
1471
|
-
public describeDatasetGroup(
|
|
1472
|
-
args: DescribeDatasetGroupCommandInput,
|
|
1473
|
-
options?: __HttpHandlerOptions
|
|
1474
|
-
): Promise<DescribeDatasetGroupCommandOutput>;
|
|
1475
|
-
public describeDatasetGroup(
|
|
1476
|
-
args: DescribeDatasetGroupCommandInput,
|
|
1477
|
-
cb: (err: any, data?: DescribeDatasetGroupCommandOutput) => void
|
|
1478
|
-
): void;
|
|
1479
|
-
public describeDatasetGroup(
|
|
1480
|
-
args: DescribeDatasetGroupCommandInput,
|
|
1481
|
-
options: __HttpHandlerOptions,
|
|
1482
|
-
cb: (err: any, data?: DescribeDatasetGroupCommandOutput) => void
|
|
1483
|
-
): void;
|
|
1484
|
-
public describeDatasetGroup(
|
|
1485
|
-
args: DescribeDatasetGroupCommandInput,
|
|
1486
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDatasetGroupCommandOutput) => void),
|
|
1487
|
-
cb?: (err: any, data?: DescribeDatasetGroupCommandOutput) => void
|
|
1488
|
-
): Promise<DescribeDatasetGroupCommandOutput> | void {
|
|
1489
|
-
const command = new DescribeDatasetGroupCommand(args);
|
|
1490
|
-
if (typeof optionsOrCb === "function") {
|
|
1491
|
-
this.send(command, optionsOrCb);
|
|
1492
|
-
} else if (typeof cb === "function") {
|
|
1493
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1494
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1495
|
-
} else {
|
|
1496
|
-
return this.send(command, optionsOrCb);
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
/**
|
|
1501
|
-
* <p>Describes the dataset import job created by <a>CreateDatasetImportJob</a>,
|
|
1502
|
-
* including the import job status.</p>
|
|
1503
|
-
*/
|
|
1504
|
-
public describeDatasetImportJob(
|
|
1505
|
-
args: DescribeDatasetImportJobCommandInput,
|
|
1506
|
-
options?: __HttpHandlerOptions
|
|
1507
|
-
): Promise<DescribeDatasetImportJobCommandOutput>;
|
|
1508
|
-
public describeDatasetImportJob(
|
|
1509
|
-
args: DescribeDatasetImportJobCommandInput,
|
|
1510
|
-
cb: (err: any, data?: DescribeDatasetImportJobCommandOutput) => void
|
|
1511
|
-
): void;
|
|
1512
|
-
public describeDatasetImportJob(
|
|
1513
|
-
args: DescribeDatasetImportJobCommandInput,
|
|
1514
|
-
options: __HttpHandlerOptions,
|
|
1515
|
-
cb: (err: any, data?: DescribeDatasetImportJobCommandOutput) => void
|
|
1516
|
-
): void;
|
|
1517
|
-
public describeDatasetImportJob(
|
|
1518
|
-
args: DescribeDatasetImportJobCommandInput,
|
|
1519
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDatasetImportJobCommandOutput) => void),
|
|
1520
|
-
cb?: (err: any, data?: DescribeDatasetImportJobCommandOutput) => void
|
|
1521
|
-
): Promise<DescribeDatasetImportJobCommandOutput> | void {
|
|
1522
|
-
const command = new DescribeDatasetImportJobCommand(args);
|
|
1523
|
-
if (typeof optionsOrCb === "function") {
|
|
1524
|
-
this.send(command, optionsOrCb);
|
|
1525
|
-
} else if (typeof cb === "function") {
|
|
1526
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1527
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1528
|
-
} else {
|
|
1529
|
-
return this.send(command, optionsOrCb);
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* <p>Describes an event tracker. The response includes the <code>trackingId</code> and
|
|
1535
|
-
* <code>status</code> of the event tracker.
|
|
1536
|
-
* For more information on event trackers, see <a>CreateEventTracker</a>.</p>
|
|
1537
|
-
*/
|
|
1538
|
-
public describeEventTracker(
|
|
1539
|
-
args: DescribeEventTrackerCommandInput,
|
|
1540
|
-
options?: __HttpHandlerOptions
|
|
1541
|
-
): Promise<DescribeEventTrackerCommandOutput>;
|
|
1542
|
-
public describeEventTracker(
|
|
1543
|
-
args: DescribeEventTrackerCommandInput,
|
|
1544
|
-
cb: (err: any, data?: DescribeEventTrackerCommandOutput) => void
|
|
1545
|
-
): void;
|
|
1546
|
-
public describeEventTracker(
|
|
1547
|
-
args: DescribeEventTrackerCommandInput,
|
|
1548
|
-
options: __HttpHandlerOptions,
|
|
1549
|
-
cb: (err: any, data?: DescribeEventTrackerCommandOutput) => void
|
|
1550
|
-
): void;
|
|
1551
|
-
public describeEventTracker(
|
|
1552
|
-
args: DescribeEventTrackerCommandInput,
|
|
1553
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventTrackerCommandOutput) => void),
|
|
1554
|
-
cb?: (err: any, data?: DescribeEventTrackerCommandOutput) => void
|
|
1555
|
-
): Promise<DescribeEventTrackerCommandOutput> | void {
|
|
1556
|
-
const command = new DescribeEventTrackerCommand(args);
|
|
1557
|
-
if (typeof optionsOrCb === "function") {
|
|
1558
|
-
this.send(command, optionsOrCb);
|
|
1559
|
-
} else if (typeof cb === "function") {
|
|
1560
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1561
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1562
|
-
} else {
|
|
1563
|
-
return this.send(command, optionsOrCb);
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1568
|
-
* <p>Describes the given feature transformation.</p>
|
|
1569
|
-
*/
|
|
1570
|
-
public describeFeatureTransformation(
|
|
1571
|
-
args: DescribeFeatureTransformationCommandInput,
|
|
1572
|
-
options?: __HttpHandlerOptions
|
|
1573
|
-
): Promise<DescribeFeatureTransformationCommandOutput>;
|
|
1574
|
-
public describeFeatureTransformation(
|
|
1575
|
-
args: DescribeFeatureTransformationCommandInput,
|
|
1576
|
-
cb: (err: any, data?: DescribeFeatureTransformationCommandOutput) => void
|
|
1577
|
-
): void;
|
|
1578
|
-
public describeFeatureTransformation(
|
|
1579
|
-
args: DescribeFeatureTransformationCommandInput,
|
|
1580
|
-
options: __HttpHandlerOptions,
|
|
1581
|
-
cb: (err: any, data?: DescribeFeatureTransformationCommandOutput) => void
|
|
1582
|
-
): void;
|
|
1583
|
-
public describeFeatureTransformation(
|
|
1584
|
-
args: DescribeFeatureTransformationCommandInput,
|
|
1585
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFeatureTransformationCommandOutput) => void),
|
|
1586
|
-
cb?: (err: any, data?: DescribeFeatureTransformationCommandOutput) => void
|
|
1587
|
-
): Promise<DescribeFeatureTransformationCommandOutput> | void {
|
|
1588
|
-
const command = new DescribeFeatureTransformationCommand(args);
|
|
1589
|
-
if (typeof optionsOrCb === "function") {
|
|
1590
|
-
this.send(command, optionsOrCb);
|
|
1591
|
-
} else if (typeof cb === "function") {
|
|
1592
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1593
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1594
|
-
} else {
|
|
1595
|
-
return this.send(command, optionsOrCb);
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
/**
|
|
1600
|
-
* <p>Describes a filter's properties.</p>
|
|
1601
|
-
*/
|
|
1602
|
-
public describeFilter(
|
|
1603
|
-
args: DescribeFilterCommandInput,
|
|
1604
|
-
options?: __HttpHandlerOptions
|
|
1605
|
-
): Promise<DescribeFilterCommandOutput>;
|
|
1606
|
-
public describeFilter(
|
|
1607
|
-
args: DescribeFilterCommandInput,
|
|
1608
|
-
cb: (err: any, data?: DescribeFilterCommandOutput) => void
|
|
1609
|
-
): void;
|
|
1610
|
-
public describeFilter(
|
|
1611
|
-
args: DescribeFilterCommandInput,
|
|
1612
|
-
options: __HttpHandlerOptions,
|
|
1613
|
-
cb: (err: any, data?: DescribeFilterCommandOutput) => void
|
|
1614
|
-
): void;
|
|
1615
|
-
public describeFilter(
|
|
1616
|
-
args: DescribeFilterCommandInput,
|
|
1617
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFilterCommandOutput) => void),
|
|
1618
|
-
cb?: (err: any, data?: DescribeFilterCommandOutput) => void
|
|
1619
|
-
): Promise<DescribeFilterCommandOutput> | void {
|
|
1620
|
-
const command = new DescribeFilterCommand(args);
|
|
1621
|
-
if (typeof optionsOrCb === "function") {
|
|
1622
|
-
this.send(command, optionsOrCb);
|
|
1623
|
-
} else if (typeof cb === "function") {
|
|
1624
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1625
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1626
|
-
} else {
|
|
1627
|
-
return this.send(command, optionsOrCb);
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* <p>Describes a recipe.</p>
|
|
1633
|
-
* <p>A recipe contains three items:</p>
|
|
1634
|
-
* <ul>
|
|
1635
|
-
* <li>
|
|
1636
|
-
* <p>An algorithm that trains a model.</p>
|
|
1637
|
-
* </li>
|
|
1638
|
-
* <li>
|
|
1639
|
-
* <p>Hyperparameters that govern the training.</p>
|
|
1640
|
-
* </li>
|
|
1641
|
-
* <li>
|
|
1642
|
-
* <p>Feature transformation information for modifying the input data before training.</p>
|
|
1643
|
-
* </li>
|
|
1644
|
-
* </ul>
|
|
1645
|
-
* <p>Amazon Personalize provides a set of predefined recipes. You specify a recipe when you create a
|
|
1646
|
-
* solution with the <a>CreateSolution</a> API.
|
|
1647
|
-
* <code>CreateSolution</code> trains a model by using the algorithm
|
|
1648
|
-
* in the specified recipe and a training dataset. The solution, when deployed as a campaign,
|
|
1649
|
-
* can provide recommendations using the
|
|
1650
|
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a> API.</p>
|
|
1651
|
-
*/
|
|
1652
|
-
public describeRecipe(
|
|
1653
|
-
args: DescribeRecipeCommandInput,
|
|
1654
|
-
options?: __HttpHandlerOptions
|
|
1655
|
-
): Promise<DescribeRecipeCommandOutput>;
|
|
1656
|
-
public describeRecipe(
|
|
1657
|
-
args: DescribeRecipeCommandInput,
|
|
1658
|
-
cb: (err: any, data?: DescribeRecipeCommandOutput) => void
|
|
1659
|
-
): void;
|
|
1660
|
-
public describeRecipe(
|
|
1661
|
-
args: DescribeRecipeCommandInput,
|
|
1662
|
-
options: __HttpHandlerOptions,
|
|
1663
|
-
cb: (err: any, data?: DescribeRecipeCommandOutput) => void
|
|
1664
|
-
): void;
|
|
1665
|
-
public describeRecipe(
|
|
1666
|
-
args: DescribeRecipeCommandInput,
|
|
1667
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRecipeCommandOutput) => void),
|
|
1668
|
-
cb?: (err: any, data?: DescribeRecipeCommandOutput) => void
|
|
1669
|
-
): Promise<DescribeRecipeCommandOutput> | void {
|
|
1670
|
-
const command = new DescribeRecipeCommand(args);
|
|
1671
|
-
if (typeof optionsOrCb === "function") {
|
|
1672
|
-
this.send(command, optionsOrCb);
|
|
1673
|
-
} else if (typeof cb === "function") {
|
|
1674
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1675
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1676
|
-
} else {
|
|
1677
|
-
return this.send(command, optionsOrCb);
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
/**
|
|
1682
|
-
* <p>Describes a schema. For more information on schemas, see
|
|
1683
|
-
* <a>CreateSchema</a>.</p>
|
|
1684
|
-
*/
|
|
1685
|
-
public describeSchema(
|
|
1686
|
-
args: DescribeSchemaCommandInput,
|
|
1687
|
-
options?: __HttpHandlerOptions
|
|
1688
|
-
): Promise<DescribeSchemaCommandOutput>;
|
|
1689
|
-
public describeSchema(
|
|
1690
|
-
args: DescribeSchemaCommandInput,
|
|
1691
|
-
cb: (err: any, data?: DescribeSchemaCommandOutput) => void
|
|
1692
|
-
): void;
|
|
1693
|
-
public describeSchema(
|
|
1694
|
-
args: DescribeSchemaCommandInput,
|
|
1695
|
-
options: __HttpHandlerOptions,
|
|
1696
|
-
cb: (err: any, data?: DescribeSchemaCommandOutput) => void
|
|
1697
|
-
): void;
|
|
1698
|
-
public describeSchema(
|
|
1699
|
-
args: DescribeSchemaCommandInput,
|
|
1700
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSchemaCommandOutput) => void),
|
|
1701
|
-
cb?: (err: any, data?: DescribeSchemaCommandOutput) => void
|
|
1702
|
-
): Promise<DescribeSchemaCommandOutput> | void {
|
|
1703
|
-
const command = new DescribeSchemaCommand(args);
|
|
1704
|
-
if (typeof optionsOrCb === "function") {
|
|
1705
|
-
this.send(command, optionsOrCb);
|
|
1706
|
-
} else if (typeof cb === "function") {
|
|
1707
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1708
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1709
|
-
} else {
|
|
1710
|
-
return this.send(command, optionsOrCb);
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
/**
|
|
1715
|
-
* <p>Describes a solution.
|
|
1716
|
-
* For more information on solutions, see <a>CreateSolution</a>.</p>
|
|
1717
|
-
*/
|
|
1718
|
-
public describeSolution(
|
|
1719
|
-
args: DescribeSolutionCommandInput,
|
|
1720
|
-
options?: __HttpHandlerOptions
|
|
1721
|
-
): Promise<DescribeSolutionCommandOutput>;
|
|
1722
|
-
public describeSolution(
|
|
1723
|
-
args: DescribeSolutionCommandInput,
|
|
1724
|
-
cb: (err: any, data?: DescribeSolutionCommandOutput) => void
|
|
1725
|
-
): void;
|
|
1726
|
-
public describeSolution(
|
|
1727
|
-
args: DescribeSolutionCommandInput,
|
|
1728
|
-
options: __HttpHandlerOptions,
|
|
1729
|
-
cb: (err: any, data?: DescribeSolutionCommandOutput) => void
|
|
1730
|
-
): void;
|
|
1731
|
-
public describeSolution(
|
|
1732
|
-
args: DescribeSolutionCommandInput,
|
|
1733
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSolutionCommandOutput) => void),
|
|
1734
|
-
cb?: (err: any, data?: DescribeSolutionCommandOutput) => void
|
|
1735
|
-
): Promise<DescribeSolutionCommandOutput> | void {
|
|
1736
|
-
const command = new DescribeSolutionCommand(args);
|
|
1737
|
-
if (typeof optionsOrCb === "function") {
|
|
1738
|
-
this.send(command, optionsOrCb);
|
|
1739
|
-
} else if (typeof cb === "function") {
|
|
1740
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1741
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1742
|
-
} else {
|
|
1743
|
-
return this.send(command, optionsOrCb);
|
|
1744
|
-
}
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
/**
|
|
1748
|
-
* <p>Describes a specific version of a solution. For more information on solutions, see <a>CreateSolution</a>.</p>
|
|
1749
|
-
*/
|
|
1750
|
-
public describeSolutionVersion(
|
|
1751
|
-
args: DescribeSolutionVersionCommandInput,
|
|
1752
|
-
options?: __HttpHandlerOptions
|
|
1753
|
-
): Promise<DescribeSolutionVersionCommandOutput>;
|
|
1754
|
-
public describeSolutionVersion(
|
|
1755
|
-
args: DescribeSolutionVersionCommandInput,
|
|
1756
|
-
cb: (err: any, data?: DescribeSolutionVersionCommandOutput) => void
|
|
1757
|
-
): void;
|
|
1758
|
-
public describeSolutionVersion(
|
|
1759
|
-
args: DescribeSolutionVersionCommandInput,
|
|
1760
|
-
options: __HttpHandlerOptions,
|
|
1761
|
-
cb: (err: any, data?: DescribeSolutionVersionCommandOutput) => void
|
|
1762
|
-
): void;
|
|
1763
|
-
public describeSolutionVersion(
|
|
1764
|
-
args: DescribeSolutionVersionCommandInput,
|
|
1765
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSolutionVersionCommandOutput) => void),
|
|
1766
|
-
cb?: (err: any, data?: DescribeSolutionVersionCommandOutput) => void
|
|
1767
|
-
): Promise<DescribeSolutionVersionCommandOutput> | void {
|
|
1768
|
-
const command = new DescribeSolutionVersionCommand(args);
|
|
1769
|
-
if (typeof optionsOrCb === "function") {
|
|
1770
|
-
this.send(command, optionsOrCb);
|
|
1771
|
-
} else if (typeof cb === "function") {
|
|
1772
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1773
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1774
|
-
} else {
|
|
1775
|
-
return this.send(command, optionsOrCb);
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
/**
|
|
1780
|
-
* <p>Gets the metrics for the specified solution version.</p>
|
|
1781
|
-
*/
|
|
1782
|
-
public getSolutionMetrics(
|
|
1783
|
-
args: GetSolutionMetricsCommandInput,
|
|
1784
|
-
options?: __HttpHandlerOptions
|
|
1785
|
-
): Promise<GetSolutionMetricsCommandOutput>;
|
|
1786
|
-
public getSolutionMetrics(
|
|
1787
|
-
args: GetSolutionMetricsCommandInput,
|
|
1788
|
-
cb: (err: any, data?: GetSolutionMetricsCommandOutput) => void
|
|
1789
|
-
): void;
|
|
1790
|
-
public getSolutionMetrics(
|
|
1791
|
-
args: GetSolutionMetricsCommandInput,
|
|
1792
|
-
options: __HttpHandlerOptions,
|
|
1793
|
-
cb: (err: any, data?: GetSolutionMetricsCommandOutput) => void
|
|
1794
|
-
): void;
|
|
1795
|
-
public getSolutionMetrics(
|
|
1796
|
-
args: GetSolutionMetricsCommandInput,
|
|
1797
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSolutionMetricsCommandOutput) => void),
|
|
1798
|
-
cb?: (err: any, data?: GetSolutionMetricsCommandOutput) => void
|
|
1799
|
-
): Promise<GetSolutionMetricsCommandOutput> | void {
|
|
1800
|
-
const command = new GetSolutionMetricsCommand(args);
|
|
1801
|
-
if (typeof optionsOrCb === "function") {
|
|
1802
|
-
this.send(command, optionsOrCb);
|
|
1803
|
-
} else if (typeof cb === "function") {
|
|
1804
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1805
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1806
|
-
} else {
|
|
1807
|
-
return this.send(command, optionsOrCb);
|
|
1808
|
-
}
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
* <p>Gets a list of the batch inference jobs that have been performed off of a solution
|
|
1813
|
-
* version.</p>
|
|
1814
|
-
*/
|
|
1815
|
-
public listBatchInferenceJobs(
|
|
1816
|
-
args: ListBatchInferenceJobsCommandInput,
|
|
1817
|
-
options?: __HttpHandlerOptions
|
|
1818
|
-
): Promise<ListBatchInferenceJobsCommandOutput>;
|
|
1819
|
-
public listBatchInferenceJobs(
|
|
1820
|
-
args: ListBatchInferenceJobsCommandInput,
|
|
1821
|
-
cb: (err: any, data?: ListBatchInferenceJobsCommandOutput) => void
|
|
1822
|
-
): void;
|
|
1823
|
-
public listBatchInferenceJobs(
|
|
1824
|
-
args: ListBatchInferenceJobsCommandInput,
|
|
1825
|
-
options: __HttpHandlerOptions,
|
|
1826
|
-
cb: (err: any, data?: ListBatchInferenceJobsCommandOutput) => void
|
|
1827
|
-
): void;
|
|
1828
|
-
public listBatchInferenceJobs(
|
|
1829
|
-
args: ListBatchInferenceJobsCommandInput,
|
|
1830
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListBatchInferenceJobsCommandOutput) => void),
|
|
1831
|
-
cb?: (err: any, data?: ListBatchInferenceJobsCommandOutput) => void
|
|
1832
|
-
): Promise<ListBatchInferenceJobsCommandOutput> | void {
|
|
1833
|
-
const command = new ListBatchInferenceJobsCommand(args);
|
|
1834
|
-
if (typeof optionsOrCb === "function") {
|
|
1835
|
-
this.send(command, optionsOrCb);
|
|
1836
|
-
} else if (typeof cb === "function") {
|
|
1837
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1838
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1839
|
-
} else {
|
|
1840
|
-
return this.send(command, optionsOrCb);
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
|
|
1844
|
-
/**
|
|
1845
|
-
* <p>Returns a list of campaigns that use the given solution.
|
|
1846
|
-
* When a solution is not specified, all the campaigns associated with the account are listed.
|
|
1847
|
-
* The response provides the properties for each campaign, including the Amazon Resource Name (ARN).
|
|
1848
|
-
* For more information on campaigns, see <a>CreateCampaign</a>.</p>
|
|
1849
|
-
*/
|
|
1850
|
-
public listCampaigns(
|
|
1851
|
-
args: ListCampaignsCommandInput,
|
|
1852
|
-
options?: __HttpHandlerOptions
|
|
1853
|
-
): Promise<ListCampaignsCommandOutput>;
|
|
1854
|
-
public listCampaigns(
|
|
1855
|
-
args: ListCampaignsCommandInput,
|
|
1856
|
-
cb: (err: any, data?: ListCampaignsCommandOutput) => void
|
|
1857
|
-
): void;
|
|
1858
|
-
public listCampaigns(
|
|
1859
|
-
args: ListCampaignsCommandInput,
|
|
1860
|
-
options: __HttpHandlerOptions,
|
|
1861
|
-
cb: (err: any, data?: ListCampaignsCommandOutput) => void
|
|
1862
|
-
): void;
|
|
1863
|
-
public listCampaigns(
|
|
1864
|
-
args: ListCampaignsCommandInput,
|
|
1865
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCampaignsCommandOutput) => void),
|
|
1866
|
-
cb?: (err: any, data?: ListCampaignsCommandOutput) => void
|
|
1867
|
-
): Promise<ListCampaignsCommandOutput> | void {
|
|
1868
|
-
const command = new ListCampaignsCommand(args);
|
|
1869
|
-
if (typeof optionsOrCb === "function") {
|
|
1870
|
-
this.send(command, optionsOrCb);
|
|
1871
|
-
} else if (typeof cb === "function") {
|
|
1872
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1873
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1874
|
-
} else {
|
|
1875
|
-
return this.send(command, optionsOrCb);
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
/**
|
|
1880
|
-
* <p>Returns a list of dataset export jobs that use the given dataset. When a dataset is not
|
|
1881
|
-
* specified, all the dataset export jobs associated with the account are listed. The response
|
|
1882
|
-
* provides the properties for each dataset export job, including the Amazon Resource Name (ARN).
|
|
1883
|
-
* For more information on dataset export jobs, see <a>CreateDatasetExportJob</a>. For
|
|
1884
|
-
* more information on datasets, see <a>CreateDataset</a>.</p>
|
|
1885
|
-
*/
|
|
1886
|
-
public listDatasetExportJobs(
|
|
1887
|
-
args: ListDatasetExportJobsCommandInput,
|
|
1888
|
-
options?: __HttpHandlerOptions
|
|
1889
|
-
): Promise<ListDatasetExportJobsCommandOutput>;
|
|
1890
|
-
public listDatasetExportJobs(
|
|
1891
|
-
args: ListDatasetExportJobsCommandInput,
|
|
1892
|
-
cb: (err: any, data?: ListDatasetExportJobsCommandOutput) => void
|
|
1893
|
-
): void;
|
|
1894
|
-
public listDatasetExportJobs(
|
|
1895
|
-
args: ListDatasetExportJobsCommandInput,
|
|
1896
|
-
options: __HttpHandlerOptions,
|
|
1897
|
-
cb: (err: any, data?: ListDatasetExportJobsCommandOutput) => void
|
|
1898
|
-
): void;
|
|
1899
|
-
public listDatasetExportJobs(
|
|
1900
|
-
args: ListDatasetExportJobsCommandInput,
|
|
1901
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDatasetExportJobsCommandOutput) => void),
|
|
1902
|
-
cb?: (err: any, data?: ListDatasetExportJobsCommandOutput) => void
|
|
1903
|
-
): Promise<ListDatasetExportJobsCommandOutput> | void {
|
|
1904
|
-
const command = new ListDatasetExportJobsCommand(args);
|
|
1905
|
-
if (typeof optionsOrCb === "function") {
|
|
1906
|
-
this.send(command, optionsOrCb);
|
|
1907
|
-
} else if (typeof cb === "function") {
|
|
1908
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1909
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1910
|
-
} else {
|
|
1911
|
-
return this.send(command, optionsOrCb);
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
/**
|
|
1916
|
-
* <p>Returns a list of dataset groups. The response provides the properties for each dataset
|
|
1917
|
-
* group, including the Amazon Resource Name (ARN). For more information on dataset groups, see
|
|
1918
|
-
* <a>CreateDatasetGroup</a>.</p>
|
|
1919
|
-
*/
|
|
1920
|
-
public listDatasetGroups(
|
|
1921
|
-
args: ListDatasetGroupsCommandInput,
|
|
1922
|
-
options?: __HttpHandlerOptions
|
|
1923
|
-
): Promise<ListDatasetGroupsCommandOutput>;
|
|
1924
|
-
public listDatasetGroups(
|
|
1925
|
-
args: ListDatasetGroupsCommandInput,
|
|
1926
|
-
cb: (err: any, data?: ListDatasetGroupsCommandOutput) => void
|
|
1927
|
-
): void;
|
|
1928
|
-
public listDatasetGroups(
|
|
1929
|
-
args: ListDatasetGroupsCommandInput,
|
|
1930
|
-
options: __HttpHandlerOptions,
|
|
1931
|
-
cb: (err: any, data?: ListDatasetGroupsCommandOutput) => void
|
|
1932
|
-
): void;
|
|
1933
|
-
public listDatasetGroups(
|
|
1934
|
-
args: ListDatasetGroupsCommandInput,
|
|
1935
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDatasetGroupsCommandOutput) => void),
|
|
1936
|
-
cb?: (err: any, data?: ListDatasetGroupsCommandOutput) => void
|
|
1937
|
-
): Promise<ListDatasetGroupsCommandOutput> | void {
|
|
1938
|
-
const command = new ListDatasetGroupsCommand(args);
|
|
1939
|
-
if (typeof optionsOrCb === "function") {
|
|
1940
|
-
this.send(command, optionsOrCb);
|
|
1941
|
-
} else if (typeof cb === "function") {
|
|
1942
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1943
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1944
|
-
} else {
|
|
1945
|
-
return this.send(command, optionsOrCb);
|
|
1946
|
-
}
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
/**
|
|
1950
|
-
* <p>Returns a list of dataset import jobs that use the given dataset. When a dataset is not
|
|
1951
|
-
* specified, all the dataset import jobs associated with the account are listed. The response
|
|
1952
|
-
* provides the properties for each dataset import job, including the Amazon Resource Name (ARN).
|
|
1953
|
-
* For more information on dataset import jobs, see <a>CreateDatasetImportJob</a>. For
|
|
1954
|
-
* more information on datasets, see <a>CreateDataset</a>.</p>
|
|
1955
|
-
*/
|
|
1956
|
-
public listDatasetImportJobs(
|
|
1957
|
-
args: ListDatasetImportJobsCommandInput,
|
|
1958
|
-
options?: __HttpHandlerOptions
|
|
1959
|
-
): Promise<ListDatasetImportJobsCommandOutput>;
|
|
1960
|
-
public listDatasetImportJobs(
|
|
1961
|
-
args: ListDatasetImportJobsCommandInput,
|
|
1962
|
-
cb: (err: any, data?: ListDatasetImportJobsCommandOutput) => void
|
|
1963
|
-
): void;
|
|
1964
|
-
public listDatasetImportJobs(
|
|
1965
|
-
args: ListDatasetImportJobsCommandInput,
|
|
1966
|
-
options: __HttpHandlerOptions,
|
|
1967
|
-
cb: (err: any, data?: ListDatasetImportJobsCommandOutput) => void
|
|
1968
|
-
): void;
|
|
1969
|
-
public listDatasetImportJobs(
|
|
1970
|
-
args: ListDatasetImportJobsCommandInput,
|
|
1971
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDatasetImportJobsCommandOutput) => void),
|
|
1972
|
-
cb?: (err: any, data?: ListDatasetImportJobsCommandOutput) => void
|
|
1973
|
-
): Promise<ListDatasetImportJobsCommandOutput> | void {
|
|
1974
|
-
const command = new ListDatasetImportJobsCommand(args);
|
|
1975
|
-
if (typeof optionsOrCb === "function") {
|
|
1976
|
-
this.send(command, optionsOrCb);
|
|
1977
|
-
} else if (typeof cb === "function") {
|
|
1978
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1979
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1980
|
-
} else {
|
|
1981
|
-
return this.send(command, optionsOrCb);
|
|
1982
|
-
}
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
/**
|
|
1986
|
-
* <p>Returns the list of datasets contained in the given dataset group. The response provides
|
|
1987
|
-
* the properties for each dataset, including the Amazon Resource Name (ARN). For more
|
|
1988
|
-
* information on datasets, see <a>CreateDataset</a>.</p>
|
|
1989
|
-
*/
|
|
1990
|
-
public listDatasets(
|
|
1991
|
-
args: ListDatasetsCommandInput,
|
|
1992
|
-
options?: __HttpHandlerOptions
|
|
1993
|
-
): Promise<ListDatasetsCommandOutput>;
|
|
1994
|
-
public listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
|
|
1995
|
-
public listDatasets(
|
|
1996
|
-
args: ListDatasetsCommandInput,
|
|
1997
|
-
options: __HttpHandlerOptions,
|
|
1998
|
-
cb: (err: any, data?: ListDatasetsCommandOutput) => void
|
|
1999
|
-
): void;
|
|
2000
|
-
public listDatasets(
|
|
2001
|
-
args: ListDatasetsCommandInput,
|
|
2002
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDatasetsCommandOutput) => void),
|
|
2003
|
-
cb?: (err: any, data?: ListDatasetsCommandOutput) => void
|
|
2004
|
-
): Promise<ListDatasetsCommandOutput> | void {
|
|
2005
|
-
const command = new ListDatasetsCommand(args);
|
|
2006
|
-
if (typeof optionsOrCb === "function") {
|
|
2007
|
-
this.send(command, optionsOrCb);
|
|
2008
|
-
} else if (typeof cb === "function") {
|
|
2009
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2010
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2011
|
-
} else {
|
|
2012
|
-
return this.send(command, optionsOrCb);
|
|
2013
|
-
}
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
/**
|
|
2017
|
-
* <p>Returns the list of event trackers associated with the account.
|
|
2018
|
-
* The response provides the properties for each event tracker, including the Amazon Resource
|
|
2019
|
-
* Name (ARN) and tracking ID. For more
|
|
2020
|
-
* information on event trackers, see <a>CreateEventTracker</a>.</p>
|
|
2021
|
-
*/
|
|
2022
|
-
public listEventTrackers(
|
|
2023
|
-
args: ListEventTrackersCommandInput,
|
|
2024
|
-
options?: __HttpHandlerOptions
|
|
2025
|
-
): Promise<ListEventTrackersCommandOutput>;
|
|
2026
|
-
public listEventTrackers(
|
|
2027
|
-
args: ListEventTrackersCommandInput,
|
|
2028
|
-
cb: (err: any, data?: ListEventTrackersCommandOutput) => void
|
|
2029
|
-
): void;
|
|
2030
|
-
public listEventTrackers(
|
|
2031
|
-
args: ListEventTrackersCommandInput,
|
|
2032
|
-
options: __HttpHandlerOptions,
|
|
2033
|
-
cb: (err: any, data?: ListEventTrackersCommandOutput) => void
|
|
2034
|
-
): void;
|
|
2035
|
-
public listEventTrackers(
|
|
2036
|
-
args: ListEventTrackersCommandInput,
|
|
2037
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEventTrackersCommandOutput) => void),
|
|
2038
|
-
cb?: (err: any, data?: ListEventTrackersCommandOutput) => void
|
|
2039
|
-
): Promise<ListEventTrackersCommandOutput> | void {
|
|
2040
|
-
const command = new ListEventTrackersCommand(args);
|
|
2041
|
-
if (typeof optionsOrCb === "function") {
|
|
2042
|
-
this.send(command, optionsOrCb);
|
|
2043
|
-
} else if (typeof cb === "function") {
|
|
2044
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2045
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2046
|
-
} else {
|
|
2047
|
-
return this.send(command, optionsOrCb);
|
|
2048
|
-
}
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
/**
|
|
2052
|
-
* <p>Lists all filters that belong to a given dataset group.</p>
|
|
2053
|
-
*/
|
|
2054
|
-
public listFilters(args: ListFiltersCommandInput, options?: __HttpHandlerOptions): Promise<ListFiltersCommandOutput>;
|
|
2055
|
-
public listFilters(args: ListFiltersCommandInput, cb: (err: any, data?: ListFiltersCommandOutput) => void): void;
|
|
2056
|
-
public listFilters(
|
|
2057
|
-
args: ListFiltersCommandInput,
|
|
2058
|
-
options: __HttpHandlerOptions,
|
|
2059
|
-
cb: (err: any, data?: ListFiltersCommandOutput) => void
|
|
2060
|
-
): void;
|
|
2061
|
-
public listFilters(
|
|
2062
|
-
args: ListFiltersCommandInput,
|
|
2063
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFiltersCommandOutput) => void),
|
|
2064
|
-
cb?: (err: any, data?: ListFiltersCommandOutput) => void
|
|
2065
|
-
): Promise<ListFiltersCommandOutput> | void {
|
|
2066
|
-
const command = new ListFiltersCommand(args);
|
|
2067
|
-
if (typeof optionsOrCb === "function") {
|
|
2068
|
-
this.send(command, optionsOrCb);
|
|
2069
|
-
} else if (typeof cb === "function") {
|
|
2070
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2071
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2072
|
-
} else {
|
|
2073
|
-
return this.send(command, optionsOrCb);
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
/**
|
|
2078
|
-
* <p>Returns a list of available recipes. The response provides the properties
|
|
2079
|
-
* for each recipe, including the recipe's Amazon Resource Name (ARN).</p>
|
|
2080
|
-
*/
|
|
2081
|
-
public listRecipes(args: ListRecipesCommandInput, options?: __HttpHandlerOptions): Promise<ListRecipesCommandOutput>;
|
|
2082
|
-
public listRecipes(args: ListRecipesCommandInput, cb: (err: any, data?: ListRecipesCommandOutput) => void): void;
|
|
2083
|
-
public listRecipes(
|
|
2084
|
-
args: ListRecipesCommandInput,
|
|
2085
|
-
options: __HttpHandlerOptions,
|
|
2086
|
-
cb: (err: any, data?: ListRecipesCommandOutput) => void
|
|
2087
|
-
): void;
|
|
2088
|
-
public listRecipes(
|
|
2089
|
-
args: ListRecipesCommandInput,
|
|
2090
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRecipesCommandOutput) => void),
|
|
2091
|
-
cb?: (err: any, data?: ListRecipesCommandOutput) => void
|
|
2092
|
-
): Promise<ListRecipesCommandOutput> | void {
|
|
2093
|
-
const command = new ListRecipesCommand(args);
|
|
2094
|
-
if (typeof optionsOrCb === "function") {
|
|
2095
|
-
this.send(command, optionsOrCb);
|
|
2096
|
-
} else if (typeof cb === "function") {
|
|
2097
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2098
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2099
|
-
} else {
|
|
2100
|
-
return this.send(command, optionsOrCb);
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
|
-
|
|
2104
|
-
/**
|
|
2105
|
-
* <p>Returns the list of schemas associated with the account. The response provides the
|
|
2106
|
-
* properties for each schema, including the Amazon Resource Name (ARN).
|
|
2107
|
-
* For more information on schemas, see <a>CreateSchema</a>.</p>
|
|
2108
|
-
*/
|
|
2109
|
-
public listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
|
|
2110
|
-
public listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
2111
|
-
public listSchemas(
|
|
2112
|
-
args: ListSchemasCommandInput,
|
|
2113
|
-
options: __HttpHandlerOptions,
|
|
2114
|
-
cb: (err: any, data?: ListSchemasCommandOutput) => void
|
|
2115
|
-
): void;
|
|
2116
|
-
public listSchemas(
|
|
2117
|
-
args: ListSchemasCommandInput,
|
|
2118
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSchemasCommandOutput) => void),
|
|
2119
|
-
cb?: (err: any, data?: ListSchemasCommandOutput) => void
|
|
2120
|
-
): Promise<ListSchemasCommandOutput> | void {
|
|
2121
|
-
const command = new ListSchemasCommand(args);
|
|
2122
|
-
if (typeof optionsOrCb === "function") {
|
|
2123
|
-
this.send(command, optionsOrCb);
|
|
2124
|
-
} else if (typeof cb === "function") {
|
|
2125
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2126
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2127
|
-
} else {
|
|
2128
|
-
return this.send(command, optionsOrCb);
|
|
2129
|
-
}
|
|
2130
|
-
}
|
|
2131
|
-
|
|
2132
|
-
/**
|
|
2133
|
-
* <p>Returns a list of solutions that use the given dataset group.
|
|
2134
|
-
* When a dataset group is not specified, all the solutions associated with the account are listed.
|
|
2135
|
-
* The response provides the properties for each solution, including the Amazon Resource Name (ARN).
|
|
2136
|
-
* For more information on solutions, see <a>CreateSolution</a>.</p>
|
|
2137
|
-
*/
|
|
2138
|
-
public listSolutions(
|
|
2139
|
-
args: ListSolutionsCommandInput,
|
|
2140
|
-
options?: __HttpHandlerOptions
|
|
2141
|
-
): Promise<ListSolutionsCommandOutput>;
|
|
2142
|
-
public listSolutions(
|
|
2143
|
-
args: ListSolutionsCommandInput,
|
|
2144
|
-
cb: (err: any, data?: ListSolutionsCommandOutput) => void
|
|
2145
|
-
): void;
|
|
2146
|
-
public listSolutions(
|
|
2147
|
-
args: ListSolutionsCommandInput,
|
|
2148
|
-
options: __HttpHandlerOptions,
|
|
2149
|
-
cb: (err: any, data?: ListSolutionsCommandOutput) => void
|
|
2150
|
-
): void;
|
|
2151
|
-
public listSolutions(
|
|
2152
|
-
args: ListSolutionsCommandInput,
|
|
2153
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSolutionsCommandOutput) => void),
|
|
2154
|
-
cb?: (err: any, data?: ListSolutionsCommandOutput) => void
|
|
2155
|
-
): Promise<ListSolutionsCommandOutput> | void {
|
|
2156
|
-
const command = new ListSolutionsCommand(args);
|
|
2157
|
-
if (typeof optionsOrCb === "function") {
|
|
2158
|
-
this.send(command, optionsOrCb);
|
|
2159
|
-
} else if (typeof cb === "function") {
|
|
2160
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2161
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2162
|
-
} else {
|
|
2163
|
-
return this.send(command, optionsOrCb);
|
|
2164
|
-
}
|
|
2165
|
-
}
|
|
2166
|
-
|
|
2167
|
-
/**
|
|
2168
|
-
* <p>Returns a list of solution versions for the given solution. When a solution is not
|
|
2169
|
-
* specified, all the solution versions associated with the account are listed. The response
|
|
2170
|
-
* provides the properties for each solution version, including the Amazon Resource Name (ARN).
|
|
2171
|
-
* For more information on solutions, see <a>CreateSolution</a>.</p>
|
|
2172
|
-
*/
|
|
2173
|
-
public listSolutionVersions(
|
|
2174
|
-
args: ListSolutionVersionsCommandInput,
|
|
2175
|
-
options?: __HttpHandlerOptions
|
|
2176
|
-
): Promise<ListSolutionVersionsCommandOutput>;
|
|
2177
|
-
public listSolutionVersions(
|
|
2178
|
-
args: ListSolutionVersionsCommandInput,
|
|
2179
|
-
cb: (err: any, data?: ListSolutionVersionsCommandOutput) => void
|
|
2180
|
-
): void;
|
|
2181
|
-
public listSolutionVersions(
|
|
2182
|
-
args: ListSolutionVersionsCommandInput,
|
|
2183
|
-
options: __HttpHandlerOptions,
|
|
2184
|
-
cb: (err: any, data?: ListSolutionVersionsCommandOutput) => void
|
|
2185
|
-
): void;
|
|
2186
|
-
public listSolutionVersions(
|
|
2187
|
-
args: ListSolutionVersionsCommandInput,
|
|
2188
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSolutionVersionsCommandOutput) => void),
|
|
2189
|
-
cb?: (err: any, data?: ListSolutionVersionsCommandOutput) => void
|
|
2190
|
-
): Promise<ListSolutionVersionsCommandOutput> | void {
|
|
2191
|
-
const command = new ListSolutionVersionsCommand(args);
|
|
2192
|
-
if (typeof optionsOrCb === "function") {
|
|
2193
|
-
this.send(command, optionsOrCb);
|
|
2194
|
-
} else if (typeof cb === "function") {
|
|
2195
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2196
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2197
|
-
} else {
|
|
2198
|
-
return this.send(command, optionsOrCb);
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
|
|
2202
|
-
/**
|
|
2203
|
-
* <p>Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
|
|
2204
|
-
* </p>
|
|
2205
|
-
* <p>Depending on the current state of the solution version, the solution version state changes as follows:</p>
|
|
2206
|
-
* <ul>
|
|
2207
|
-
* <li>
|
|
2208
|
-
* <p>CREATE_PENDING > CREATE_STOPPED</p>
|
|
2209
|
-
* <p>or</p>
|
|
2210
|
-
* </li>
|
|
2211
|
-
* <li>
|
|
2212
|
-
* <p>CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED</p>
|
|
2213
|
-
* </li>
|
|
2214
|
-
* </ul>
|
|
2215
|
-
* <p>You are billed for all of the training completed up
|
|
2216
|
-
* until you stop the solution version creation. You cannot resume creating a solution version once it has been stopped.</p>
|
|
2217
|
-
*/
|
|
2218
|
-
public stopSolutionVersionCreation(
|
|
2219
|
-
args: StopSolutionVersionCreationCommandInput,
|
|
2220
|
-
options?: __HttpHandlerOptions
|
|
2221
|
-
): Promise<StopSolutionVersionCreationCommandOutput>;
|
|
2222
|
-
public stopSolutionVersionCreation(
|
|
2223
|
-
args: StopSolutionVersionCreationCommandInput,
|
|
2224
|
-
cb: (err: any, data?: StopSolutionVersionCreationCommandOutput) => void
|
|
2225
|
-
): void;
|
|
2226
|
-
public stopSolutionVersionCreation(
|
|
2227
|
-
args: StopSolutionVersionCreationCommandInput,
|
|
2228
|
-
options: __HttpHandlerOptions,
|
|
2229
|
-
cb: (err: any, data?: StopSolutionVersionCreationCommandOutput) => void
|
|
2230
|
-
): void;
|
|
2231
|
-
public stopSolutionVersionCreation(
|
|
2232
|
-
args: StopSolutionVersionCreationCommandInput,
|
|
2233
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopSolutionVersionCreationCommandOutput) => void),
|
|
2234
|
-
cb?: (err: any, data?: StopSolutionVersionCreationCommandOutput) => void
|
|
2235
|
-
): Promise<StopSolutionVersionCreationCommandOutput> | void {
|
|
2236
|
-
const command = new StopSolutionVersionCreationCommand(args);
|
|
2237
|
-
if (typeof optionsOrCb === "function") {
|
|
2238
|
-
this.send(command, optionsOrCb);
|
|
2239
|
-
} else if (typeof cb === "function") {
|
|
2240
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2242
|
-
} else {
|
|
2243
|
-
return this.send(command, optionsOrCb);
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
|
|
2247
|
-
/**
|
|
2248
|
-
* <p>Updates a campaign by either deploying a new solution or changing the value of the
|
|
2249
|
-
* campaign's <code>minProvisionedTPS</code> parameter.</p>
|
|
2250
|
-
* <p>To update a campaign, the campaign status must be ACTIVE or CREATE FAILED.
|
|
2251
|
-
* Check the campaign status using the <a>DescribeCampaign</a> API.</p>
|
|
2252
|
-
* <note>
|
|
2253
|
-
* <p>You must wait until the <code>status</code> of the
|
|
2254
|
-
* updated campaign is <code>ACTIVE</code> before asking the campaign for recommendations.</p>
|
|
2255
|
-
* </note>
|
|
2256
|
-
* <p>For more information on campaigns, see <a>CreateCampaign</a>.</p>
|
|
2257
|
-
*/
|
|
2258
|
-
public updateCampaign(
|
|
2259
|
-
args: UpdateCampaignCommandInput,
|
|
2260
|
-
options?: __HttpHandlerOptions
|
|
2261
|
-
): Promise<UpdateCampaignCommandOutput>;
|
|
2262
|
-
public updateCampaign(
|
|
2263
|
-
args: UpdateCampaignCommandInput,
|
|
2264
|
-
cb: (err: any, data?: UpdateCampaignCommandOutput) => void
|
|
2265
|
-
): void;
|
|
2266
|
-
public updateCampaign(
|
|
2267
|
-
args: UpdateCampaignCommandInput,
|
|
2268
|
-
options: __HttpHandlerOptions,
|
|
2269
|
-
cb: (err: any, data?: UpdateCampaignCommandOutput) => void
|
|
2270
|
-
): void;
|
|
2271
|
-
public updateCampaign(
|
|
2272
|
-
args: UpdateCampaignCommandInput,
|
|
2273
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateCampaignCommandOutput) => void),
|
|
2274
|
-
cb?: (err: any, data?: UpdateCampaignCommandOutput) => void
|
|
2275
|
-
): Promise<UpdateCampaignCommandOutput> | void {
|
|
2276
|
-
const command = new UpdateCampaignCommand(args);
|
|
2277
|
-
if (typeof optionsOrCb === "function") {
|
|
2278
|
-
this.send(command, optionsOrCb);
|
|
2279
|
-
} else if (typeof cb === "function") {
|
|
2280
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2281
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2282
|
-
} else {
|
|
2283
|
-
return this.send(command, optionsOrCb);
|
|
2284
|
-
}
|
|
2285
|
-
}
|
|
2286
|
-
}
|