@aws-sdk/client-sagemaker 3.1149.0 → 3.1150.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.
Files changed (90) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +218 -14
  3. package/dist-es/SageMaker.js +12 -0
  4. package/dist-es/commands/CreateTrainingSessionCommand.js +4 -0
  5. package/dist-es/commands/DeleteTrainingSessionCommand.js +4 -0
  6. package/dist-es/commands/DescribeTrainingSessionCommand.js +4 -0
  7. package/dist-es/commands/ListTrainingSessionsCommand.js +4 -0
  8. package/dist-es/commands/StopTrainingSessionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +12 -0
  11. package/dist-es/pagination/ListTrainingSessionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +153 -13
  14. package/dist-types/SageMaker.d.ts +43 -0
  15. package/dist-types/SageMakerClient.d.ts +7 -2
  16. package/dist-types/commands/CreateTrainingSessionCommand.d.ts +110 -0
  17. package/dist-types/commands/DeleteTrainingSessionCommand.d.ts +72 -0
  18. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
  22. package/dist-types/commands/DescribeTrainingSessionCommand.d.ts +118 -0
  23. package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -1
  24. package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  30. package/dist-types/commands/ListTrainingSessionsCommand.d.ts +84 -0
  31. package/dist-types/commands/StopTrainingSessionCommand.d.ts +72 -0
  32. package/dist-types/commands/UpdateEndpointCommand.d.ts +2 -1
  33. package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateHubContentCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
  41. package/dist-types/commands/index.d.ts +5 -0
  42. package/dist-types/models/enums.d.ts +20 -0
  43. package/dist-types/models/models_0.d.ts +22 -37
  44. package/dist-types/models/models_1.d.ts +37 -22
  45. package/dist-types/models/models_2.d.ts +152 -285
  46. package/dist-types/models/models_3.d.ts +430 -401
  47. package/dist-types/models/models_4.d.ts +463 -343
  48. package/dist-types/models/models_5.d.ts +335 -4
  49. package/dist-types/pagination/ListTrainingSessionsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/index.d.ts +1 -0
  51. package/dist-types/schemas/schemas_0.d.ts +22 -0
  52. package/dist-types/ts3.4/SageMaker.d.ts +93 -0
  53. package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
  54. package/dist-types/ts3.4/commands/CreateTrainingSessionCommand.d.ts +39 -0
  55. package/dist-types/ts3.4/commands/DeleteTrainingSessionCommand.d.ts +39 -0
  56. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +2 -1
  57. package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
  60. package/dist-types/ts3.4/commands/DescribeTrainingSessionCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  68. package/dist-types/ts3.4/commands/ListTrainingSessionsCommand.d.ts +39 -0
  69. package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +39 -0
  70. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -1
  71. package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  80. package/dist-types/ts3.4/models/enums.d.ts +14 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +5 -9
  82. package/dist-types/ts3.4/models/models_1.d.ts +10 -5
  83. package/dist-types/ts3.4/models/models_2.d.ts +37 -78
  84. package/dist-types/ts3.4/models/models_3.d.ts +101 -95
  85. package/dist-types/ts3.4/models/models_4.d.ts +123 -89
  86. package/dist-types/ts3.4/models/models_5.d.ts +96 -1
  87. package/dist-types/ts3.4/pagination/ListTrainingSessionsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  89. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  90. package/package.json +3 -3
@@ -1,6 +1,27 @@
1
- import type { _InstanceType, ActionStatus, ActivationState, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppNetworkAccessType, AppSecurityGroupManagement, AppStatus, AppType, AuthMode, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CapacityReservationPreference, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CustomizationTechnique, DataDistributionType, DeepHealthCheckType, DirectInternetAccess, DomainStatus, EdgePackagingJobStatus, EdgePresetDeploymentStatus, EdgePresetDeploymentType, EnabledOrDisabled, EndpointStatus, EvaluationType, FeatureGroupStatus, FeatureStatus, FeatureType, FlowDefinitionStatus, HomeEfsFileSystemCreation, HubContentType, InputMode, IPAddressType, JobCategory, JoinSource, LastUpdateStatusValue, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, MonitoringType, NotebookInstanceAcceleratorType, OfflineStoreStatusValue, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, Peft, ProblemType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantAcceleratorType, ProductionVariantInstanceType, RecommendationStatus, RedshiftResultCompressionType, RedshiftResultFormat, RetentionType, RootAccess, RuleEvaluationStatus, SchedulerConfigComponent, SchedulerResourceStatus, ServerlessJobType, SharingType, StageStatus, Statistic, StudioLifecycleConfigAppType, TagPropagation, ThroughputMode, TrialComponentPrimaryStatus, VariantStatus, WorkforceIpAddressType } from "./enums";
1
+ import type { _InstanceType, ActionStatus, ActivationState, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppNetworkAccessType, AppSecurityGroupManagement, AppStatus, AppType, AuthMode, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CapacityReservationPreference, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CustomizationTechnique, DataDistributionType, DeepHealthCheckType, DirectInternetAccess, DomainStatus, EdgePackagingJobStatus, EdgePresetDeploymentStatus, EdgePresetDeploymentType, EnabledOrDisabled, EndpointStatus, EvaluationType, FeatureStatus, HomeEfsFileSystemCreation, HubContentType, InputMode, IPAddressType, JobCategory, JoinSource, LastUpdateStatusValue, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, MonitoringType, NotebookInstanceAcceleratorType, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, Peft, ProblemType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantAcceleratorType, ProductionVariantInstanceType, RecommendationStatus, RedshiftResultCompressionType, RedshiftResultFormat, RetentionType, RootAccess, RuleEvaluationStatus, SchedulerConfigComponent, SchedulerResourceStatus, ServerlessJobType, SharingType, StageStatus, Statistic, StudioLifecycleConfigAppType, TagPropagation, TrialComponentPrimaryStatus, VariantStatus, WorkforceIpAddressType } from "./enums";
2
2
  import type { ActionSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputResult, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendation, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputResult, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmSpecification, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppSpecification, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterAutoScalingConfigOutput, ClusterEventDetail, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterOrchestrator, ClusterRestrictedInstanceGroupDetails, ClusterRestrictedInstanceGroupsConfigOutput, CodeEditorAppImageConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
3
- import type { ClusterTieredStorageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, ExplainerConfig, FeatureDefinition, FlowDefinitionOutputConfig, GitConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricsConfig, ModelDeployConfig, MonitoringAppSpecification, MonitoringBaselineConfig, MonitoringInput, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, NetworkConfig, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, ProductionVariant, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TrainingSpecification, UserSettings } from "./models_1";
3
+ import type { ClusterTieredStorageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, ExplainerConfig, GitConfig, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricsConfig, ModelDeployConfig, MonitoringAppSpecification, MonitoringBaselineConfig, MonitoringInput, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, OutputConfig, ProductionVariant, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TrainingSpecification, UserSettings } from "./models_1";
4
+ /**
5
+ * <p>Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.</p>
6
+ * @public
7
+ */
8
+ export interface NetworkConfig {
9
+ /**
10
+ * <p>Whether to encrypt all communications between distributed processing jobs. Choose <code>True</code> to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.</p>
11
+ * @public
12
+ */
13
+ EnableInterContainerTrafficEncryption?: boolean | undefined;
14
+ /**
15
+ * <p>Whether to allow inbound and outbound network calls to and from the containers used for the processing job.</p>
16
+ * @public
17
+ */
18
+ EnableNetworkIsolation?: boolean | undefined;
19
+ /**
20
+ * <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
21
+ * @public
22
+ */
23
+ VpcConfig?: VpcConfig | undefined;
24
+ }
4
25
  /**
5
26
  * <p>Defines the monitoring job.</p>
6
27
  * @public
@@ -2281,6 +2302,120 @@ export interface CreateTrainingPlanResponse {
2281
2302
  */
2282
2303
  TrainingPlanArn: string | undefined;
2283
2304
  }
2305
+ /**
2306
+ * <p>The Low-Rank Adaptation (LoRA) configuration for a training session, including the rank and alpha parameters.</p>
2307
+ * @public
2308
+ */
2309
+ export interface LoraConfig {
2310
+ /**
2311
+ * <p>The rank of the Low-Rank Adaptation (LoRA) adapter matrices.</p>
2312
+ * @public
2313
+ */
2314
+ Rank: number | undefined;
2315
+ /**
2316
+ * <p>The Low-Rank Adaptation (LoRA) scaling factor.</p>
2317
+ * @public
2318
+ */
2319
+ Alpha: number | undefined;
2320
+ }
2321
+ /**
2322
+ * <p>The configuration for the base model used in a training session.</p>
2323
+ * @public
2324
+ */
2325
+ export interface TrainingSessionModelConfig {
2326
+ /**
2327
+ * <p>The Amazon Resource Name (ARN) of the base foundation model from SageMaker Hub.</p>
2328
+ * @public
2329
+ */
2330
+ BaseModelArn: string | undefined;
2331
+ /**
2332
+ * <p>Specifies whether you accept the end-user license agreement (EULA) for gated models.</p>
2333
+ * @public
2334
+ */
2335
+ AcceptEula?: boolean | undefined;
2336
+ }
2337
+ /**
2338
+ * <p>Specifies the Amazon S3 path and optional encryption settings for training session output data, including checkpoints, model artifacts, and invocation results.</p>
2339
+ * @public
2340
+ */
2341
+ export interface TrainingSessionS3Location {
2342
+ /**
2343
+ * <p>The Amazon S3 path where training session outputs are stored.</p>
2344
+ * @public
2345
+ */
2346
+ Path: string | undefined;
2347
+ /**
2348
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt output data. If not specified, the default Amazon S3 encryption is used.</p>
2349
+ * @public
2350
+ */
2351
+ KmsKeyArn?: string | undefined;
2352
+ }
2353
+ /**
2354
+ * <p>The output configuration for a training session, including the Amazon S3 location for checkpoints and model artifacts, and optional encryption settings.</p>
2355
+ * @public
2356
+ */
2357
+ export interface TrainingSessionOutputConfig {
2358
+ /**
2359
+ * <p>The Amazon S3 location where training session outputs, including checkpoints and model artifacts, are stored.</p>
2360
+ * @public
2361
+ */
2362
+ S3Location: TrainingSessionS3Location | undefined;
2363
+ }
2364
+ /**
2365
+ * @public
2366
+ */
2367
+ export interface CreateTrainingSessionRequest {
2368
+ /**
2369
+ * <p>The name of the training session.</p>
2370
+ * @public
2371
+ */
2372
+ TrainingSessionName: string | undefined;
2373
+ /**
2374
+ * <p>The Amazon Resource Name (ARN) of the model package group where checkpoints and fine-tuned model artifacts are published.</p>
2375
+ * @public
2376
+ */
2377
+ ModelPackageGroupArn?: string | undefined;
2378
+ /**
2379
+ * <p>The Low-Rank Adaptation (LoRA) configuration for the training session, including the rank and alpha parameters.</p>
2380
+ * @public
2381
+ */
2382
+ LoraConfig: LoraConfig | undefined;
2383
+ /**
2384
+ * <p>The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to access resources on your behalf. The role must have permissions to access the output S3 path and model package group.</p>
2385
+ * @public
2386
+ */
2387
+ RoleArn: string | undefined;
2388
+ /**
2389
+ * <p>The Virtual Private Cloud (VPC) configuration for the training session. Specify subnets and security groups to run the training session in your VPC.</p>
2390
+ * @public
2391
+ */
2392
+ VpcConfig?: VpcConfig | undefined;
2393
+ /**
2394
+ * <p>The configuration for the base model, including the model ARN and end-user license agreement (EULA) acceptance.</p>
2395
+ * @public
2396
+ */
2397
+ ModelConfig: TrainingSessionModelConfig | undefined;
2398
+ /**
2399
+ * <p>The output configuration for the training session, including the S3 location and optional encryption settings.</p>
2400
+ * @public
2401
+ */
2402
+ OutputConfig: TrainingSessionOutputConfig | undefined;
2403
+ /**
2404
+ * <p>An array of key-value pairs to apply to the training session as tags. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
2405
+ * @public
2406
+ */
2407
+ Tags?: Tag[] | undefined;
2408
+ }
2409
+ /**
2410
+ * @public
2411
+ */
2412
+ export interface CreateTrainingSessionResponse {
2413
+ /**
2414
+ * <p>The Amazon Resource Name (ARN) of the training session.</p>
2415
+ * @public
2416
+ */
2417
+ TrainingSessionArn: string | undefined;
2418
+ }
2284
2419
  /**
2285
2420
  * <p>The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html">Associate Prediction Results with their Corresponding Input Records</a>.</p>
2286
2421
  * @public
@@ -3854,6 +3989,21 @@ export interface DeleteTrainingJobRequest {
3854
3989
  */
3855
3990
  TrainingJobName: string | undefined;
3856
3991
  }
3992
+ /**
3993
+ * @public
3994
+ */
3995
+ export interface DeleteTrainingSessionRequest {
3996
+ /**
3997
+ * <p>The name of the training session to delete.</p>
3998
+ * @public
3999
+ */
4000
+ TrainingSessionName: string | undefined;
4001
+ }
4002
+ /**
4003
+ * @public
4004
+ */
4005
+ export interface DeleteTrainingSessionResponse {
4006
+ }
3857
4007
  /**
3858
4008
  * @public
3859
4009
  */
@@ -6662,286 +6812,3 @@ export interface LastUpdateStatus {
6662
6812
  */
6663
6813
  FailureReason?: string | undefined;
6664
6814
  }
6665
- /**
6666
- * <p>The status of <code>OfflineStore</code>.</p>
6667
- * @public
6668
- */
6669
- export interface OfflineStoreStatus {
6670
- /**
6671
- * <p>An <code>OfflineStore</code> status.</p>
6672
- * @public
6673
- */
6674
- Status: OfflineStoreStatusValue | undefined;
6675
- /**
6676
- * <p>The justification for why the OfflineStoreStatus is Blocked (if applicable).</p>
6677
- * @public
6678
- */
6679
- BlockedReason?: string | undefined;
6680
- }
6681
- /**
6682
- * <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled. </p> <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store. </p>
6683
- * @public
6684
- */
6685
- export interface ThroughputConfigDescription {
6686
- /**
6687
- * <p>The mode used for your feature group throughput: <code>ON_DEMAND</code> or <code>PROVISIONED</code>. </p>
6688
- * @public
6689
- */
6690
- ThroughputMode: ThroughputMode | undefined;
6691
- /**
6692
- * <p> For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>
6693
- * @public
6694
- */
6695
- ProvisionedReadCapacityUnits?: number | undefined;
6696
- /**
6697
- * <p> For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>
6698
- * @public
6699
- */
6700
- ProvisionedWriteCapacityUnits?: number | undefined;
6701
- }
6702
- /**
6703
- * @public
6704
- */
6705
- export interface DescribeFeatureGroupResponse {
6706
- /**
6707
- * <p>The Amazon Resource Name (ARN) of the <code>FeatureGroup</code>. </p>
6708
- * @public
6709
- */
6710
- FeatureGroupArn: string | undefined;
6711
- /**
6712
- * <p>he name of the <code>FeatureGroup</code>.</p>
6713
- * @public
6714
- */
6715
- FeatureGroupName: string | undefined;
6716
- /**
6717
- * <p>The name of the <code>Feature</code> used for <code>RecordIdentifier</code>, whose value uniquely identifies a record stored in the feature store.</p>
6718
- * @public
6719
- */
6720
- RecordIdentifierFeatureName: string | undefined;
6721
- /**
6722
- * <p>The name of the feature that stores the <code>EventTime</code> of a Record in a <code>FeatureGroup</code>.</p> <p> An <code>EventTime</code> is a point in time when a new event occurs that corresponds to the creation or update of a <code>Record</code> in a <code>FeatureGroup</code>. All <code>Records</code> in the <code>FeatureGroup</code> have a corresponding <code>EventTime</code>.</p>
6723
- * @public
6724
- */
6725
- EventTimeFeatureName: string | undefined;
6726
- /**
6727
- * <p>A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a <code>FeatureName</code> and <code>FeatureType</code>.</p>
6728
- * @public
6729
- */
6730
- FeatureDefinitions: FeatureDefinition[] | undefined;
6731
- /**
6732
- * <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
6733
- * @public
6734
- */
6735
- CreationTime: Date | undefined;
6736
- /**
6737
- * <p>A timestamp indicating when the feature group was last updated.</p>
6738
- * @public
6739
- */
6740
- LastModifiedTime?: Date | undefined;
6741
- /**
6742
- * <p>The configuration for the <code>OnlineStore</code>.</p>
6743
- * @public
6744
- */
6745
- OnlineStoreConfig?: OnlineStoreConfig | undefined;
6746
- /**
6747
- * <p>The configuration of the offline store. It includes the following configurations:</p> <ul> <li> <p>Amazon S3 location of the offline store.</p> </li> <li> <p>Configuration of the Glue data catalog.</p> </li> <li> <p>Table format of the offline store.</p> </li> <li> <p>Option to disable the automatic creation of a Glue table for the offline store.</p> </li> <li> <p>Encryption configuration.</p> </li> </ul>
6748
- * @public
6749
- */
6750
- OfflineStoreConfig?: OfflineStoreConfig | undefined;
6751
- /**
6752
- * <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled. </p> <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store. </p>
6753
- * @public
6754
- */
6755
- ThroughputConfig?: ThroughputConfigDescription | undefined;
6756
- /**
6757
- * <p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>
6758
- * @public
6759
- */
6760
- RoleArn?: string | undefined;
6761
- /**
6762
- * <p>The status of the feature group.</p>
6763
- * @public
6764
- */
6765
- FeatureGroupStatus?: FeatureGroupStatus | undefined;
6766
- /**
6767
- * <p>The status of the <code>OfflineStore</code>. Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code> </p>
6768
- * @public
6769
- */
6770
- OfflineStoreStatus?: OfflineStoreStatus | undefined;
6771
- /**
6772
- * <p>A value indicating whether the update made to the feature group was successful.</p>
6773
- * @public
6774
- */
6775
- LastUpdateStatus?: LastUpdateStatus | undefined;
6776
- /**
6777
- * <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the <code>OfflineStore</code>. This is failure can occur because:</p> <ul> <li> <p>The <code>FeatureGroup</code> could not be created in the <code>OfflineStore</code>.</p> </li> <li> <p>The <code>FeatureGroup</code> could not be deleted from the <code>OfflineStore</code>.</p> </li> </ul>
6778
- * @public
6779
- */
6780
- FailureReason?: string | undefined;
6781
- /**
6782
- * <p>A free form description of the feature group.</p>
6783
- * @public
6784
- */
6785
- Description?: string | undefined;
6786
- /**
6787
- * <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>).</p>
6788
- * @public
6789
- */
6790
- NextToken: string | undefined;
6791
- /**
6792
- * <p>The size of the <code>OnlineStore</code> in bytes.</p>
6793
- * @public
6794
- */
6795
- OnlineStoreTotalSizeBytes?: number | undefined;
6796
- }
6797
- /**
6798
- * @public
6799
- */
6800
- export interface DescribeFeatureMetadataRequest {
6801
- /**
6802
- * <p>The name or Amazon Resource Name (ARN) of the feature group containing the feature.</p>
6803
- * @public
6804
- */
6805
- FeatureGroupName: string | undefined;
6806
- /**
6807
- * <p>The name of the feature.</p>
6808
- * @public
6809
- */
6810
- FeatureName: string | undefined;
6811
- }
6812
- /**
6813
- * <p>A key-value pair that you specify to describe the feature.</p>
6814
- * @public
6815
- */
6816
- export interface FeatureParameter {
6817
- /**
6818
- * <p>A key that must contain a value to describe the feature.</p>
6819
- * @public
6820
- */
6821
- Key?: string | undefined;
6822
- /**
6823
- * <p>The value that belongs to a key.</p>
6824
- * @public
6825
- */
6826
- Value?: string | undefined;
6827
- }
6828
- /**
6829
- * @public
6830
- */
6831
- export interface DescribeFeatureMetadataResponse {
6832
- /**
6833
- * <p>The Amazon Resource Number (ARN) of the feature group that contains the feature.</p>
6834
- * @public
6835
- */
6836
- FeatureGroupArn: string | undefined;
6837
- /**
6838
- * <p>The name of the feature group that you've specified.</p>
6839
- * @public
6840
- */
6841
- FeatureGroupName: string | undefined;
6842
- /**
6843
- * <p>The name of the feature that you've specified.</p>
6844
- * @public
6845
- */
6846
- FeatureName: string | undefined;
6847
- /**
6848
- * <p>The data type of the feature.</p>
6849
- * @public
6850
- */
6851
- FeatureType: FeatureType | undefined;
6852
- /**
6853
- * <p>A timestamp indicating when the feature was created.</p>
6854
- * @public
6855
- */
6856
- CreationTime: Date | undefined;
6857
- /**
6858
- * <p>A timestamp indicating when the metadata for the feature group was modified. For example, if you add a parameter describing the feature, the timestamp changes to reflect the last time you </p>
6859
- * @public
6860
- */
6861
- LastModifiedTime: Date | undefined;
6862
- /**
6863
- * <p>The description you added to describe the feature.</p>
6864
- * @public
6865
- */
6866
- Description?: string | undefined;
6867
- /**
6868
- * <p>The key-value pairs that you added to describe the feature.</p>
6869
- * @public
6870
- */
6871
- Parameters?: FeatureParameter[] | undefined;
6872
- }
6873
- /**
6874
- * @public
6875
- */
6876
- export interface DescribeFlowDefinitionRequest {
6877
- /**
6878
- * <p>The name of the flow definition.</p>
6879
- * @public
6880
- */
6881
- FlowDefinitionName: string | undefined;
6882
- }
6883
- /**
6884
- * @public
6885
- */
6886
- export interface DescribeFlowDefinitionResponse {
6887
- /**
6888
- * <p>The Amazon Resource Name (ARN) of the flow defintion.</p>
6889
- * @public
6890
- */
6891
- FlowDefinitionArn: string | undefined;
6892
- /**
6893
- * <p>The Amazon Resource Name (ARN) of the flow definition.</p>
6894
- * @public
6895
- */
6896
- FlowDefinitionName: string | undefined;
6897
- /**
6898
- * <p>The status of the flow definition. Valid values are listed below.</p>
6899
- * @public
6900
- */
6901
- FlowDefinitionStatus: FlowDefinitionStatus | undefined;
6902
- /**
6903
- * <p>The timestamp when the flow definition was created.</p>
6904
- * @public
6905
- */
6906
- CreationTime: Date | undefined;
6907
- /**
6908
- * <p>Container for configuring the source of human task requests. Used to specify if Amazon Rekognition or Amazon Textract is used as an integration source.</p>
6909
- * @public
6910
- */
6911
- HumanLoopRequestSource?: HumanLoopRequestSource | undefined;
6912
- /**
6913
- * <p>An object containing information about what triggers a human review workflow.</p>
6914
- * @public
6915
- */
6916
- HumanLoopActivationConfig?: HumanLoopActivationConfig | undefined;
6917
- /**
6918
- * <p>An object containing information about who works on the task, the workforce task price, and other task details.</p>
6919
- * @public
6920
- */
6921
- HumanLoopConfig?: HumanLoopConfig | undefined;
6922
- /**
6923
- * <p>An object containing information about the output file.</p>
6924
- * @public
6925
- */
6926
- OutputConfig: FlowDefinitionOutputConfig | undefined;
6927
- /**
6928
- * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.</p>
6929
- * @public
6930
- */
6931
- RoleArn: string | undefined;
6932
- /**
6933
- * <p>The reason your flow definition failed.</p>
6934
- * @public
6935
- */
6936
- FailureReason?: string | undefined;
6937
- }
6938
- /**
6939
- * @public
6940
- */
6941
- export interface DescribeHubRequest {
6942
- /**
6943
- * <p>The name of the hub to describe.</p>
6944
- * @public
6945
- */
6946
- HubName: string | undefined;
6947
- }