amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.Types.RecommendationJobInputConfig

Description

 
Synopsis

Documentation

data RecommendationJobInputConfig Source #

The input configuration of the recommendation job.

See: newRecommendationJobInputConfig smart constructor.

Constructors

RecommendationJobInputConfig' 

Fields

  • containerConfig :: Maybe RecommendationJobContainerConfig

    Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

  • endpointConfigurations :: Maybe (NonEmpty EndpointInputConfiguration)

    Specifies the endpoint configuration to use for a job.

  • endpoints :: Maybe [EndpointInfo]

    Existing customer endpoints on which to run an Inference Recommender job.

  • jobDurationInSeconds :: Maybe Natural

    Specifies the maximum duration of the job, in seconds.>

  • resourceLimit :: Maybe RecommendationJobResourceLimit

    Defines the resource limit of the job.

  • trafficPattern :: Maybe TrafficPattern

    Specifies the traffic pattern of the job.

  • volumeKmsKeyId :: Maybe Text

    The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

    The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

    The KmsKeyId can be any of the following formats:

    • // KMS Key ID

      "1234abcd-12ab-34cd-56ef-1234567890ab"
    • // Amazon Resource Name (ARN) of a KMS Key

      "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
    • // KMS Key Alias

      "alias/ExampleAlias"
    • // Amazon Resource Name (ARN) of a KMS Key Alias

      "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

    For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

  • vpcConfig :: Maybe RecommendationJobVpcConfig

    Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

  • modelPackageVersionArn :: Text

    The Amazon Resource Name (ARN) of a versioned model package.

Instances

Instances details
FromJSON RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

ToJSON RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

Generic RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

Associated Types

type Rep RecommendationJobInputConfig :: Type -> Type #

Read RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

Show RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

NFData RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

Eq RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

Hashable RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

type Rep RecommendationJobInputConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RecommendationJobInputConfig

newRecommendationJobInputConfig Source #

Create a value of RecommendationJobInputConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:containerConfig:RecommendationJobInputConfig', recommendationJobInputConfig_containerConfig - Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

$sel:endpointConfigurations:RecommendationJobInputConfig', recommendationJobInputConfig_endpointConfigurations - Specifies the endpoint configuration to use for a job.

$sel:endpoints:RecommendationJobInputConfig', recommendationJobInputConfig_endpoints - Existing customer endpoints on which to run an Inference Recommender job.

$sel:jobDurationInSeconds:RecommendationJobInputConfig', recommendationJobInputConfig_jobDurationInSeconds - Specifies the maximum duration of the job, in seconds.>

$sel:resourceLimit:RecommendationJobInputConfig', recommendationJobInputConfig_resourceLimit - Defines the resource limit of the job.

$sel:trafficPattern:RecommendationJobInputConfig', recommendationJobInputConfig_trafficPattern - Specifies the traffic pattern of the job.

$sel:volumeKmsKeyId:RecommendationJobInputConfig', recommendationJobInputConfig_volumeKmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

The KmsKeyId can be any of the following formats:

  • // KMS Key ID

    "1234abcd-12ab-34cd-56ef-1234567890ab"
  • // Amazon Resource Name (ARN) of a KMS Key

    "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
  • // KMS Key Alias

    "alias/ExampleAlias"
  • // Amazon Resource Name (ARN) of a KMS Key Alias

    "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

$sel:vpcConfig:RecommendationJobInputConfig', recommendationJobInputConfig_vpcConfig - Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

$sel:modelPackageVersionArn:RecommendationJobInputConfig', recommendationJobInputConfig_modelPackageVersionArn - The Amazon Resource Name (ARN) of a versioned model package.

recommendationJobInputConfig_containerConfig :: Lens' RecommendationJobInputConfig (Maybe RecommendationJobContainerConfig) Source #

Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

recommendationJobInputConfig_endpoints :: Lens' RecommendationJobInputConfig (Maybe [EndpointInfo]) Source #

Existing customer endpoints on which to run an Inference Recommender job.

recommendationJobInputConfig_volumeKmsKeyId :: Lens' RecommendationJobInputConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

The KmsKeyId can be any of the following formats:

  • // KMS Key ID

    "1234abcd-12ab-34cd-56ef-1234567890ab"
  • // Amazon Resource Name (ARN) of a KMS Key

    "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
  • // KMS Key Alias

    "alias/ExampleAlias"
  • // Amazon Resource Name (ARN) of a KMS Key Alias

    "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

recommendationJobInputConfig_vpcConfig :: Lens' RecommendationJobInputConfig (Maybe RecommendationJobVpcConfig) Source #

Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

recommendationJobInputConfig_modelPackageVersionArn :: Lens' RecommendationJobInputConfig Text Source #

The Amazon Resource Name (ARN) of a versioned model package.