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.CreateInferenceRecommendationsJob

Description

Starts a recommendation job. You can create either an instance recommendation or load test job.

Synopsis

Creating a Request

data CreateInferenceRecommendationsJob Source #

See: newCreateInferenceRecommendationsJob smart constructor.

Constructors

CreateInferenceRecommendationsJob' 

Fields

  • jobDescription :: Maybe Text

    Description of the recommendation job.

  • outputConfig :: Maybe RecommendationJobOutputConfig

    Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.

  • stoppingConditions :: Maybe RecommendationJobStoppingConditions

    A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.

  • tags :: Maybe [Tag]

    The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

  • jobName :: Text

    A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.

  • jobType :: RecommendationJobType

    Defines the type of recommendation job. Specify Default to initiate an instance recommendation and Advanced to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.

  • roleArn :: Text

    The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

  • inputConfig :: RecommendationJobInputConfig

    Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.

Instances

Instances details
ToJSON CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

ToHeaders CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

ToPath CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

ToQuery CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

AWSRequest CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Generic CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Associated Types

type Rep CreateInferenceRecommendationsJob :: Type -> Type #

Read CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Show CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

NFData CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Eq CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Hashable CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

type AWSResponse CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

type Rep CreateInferenceRecommendationsJob Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

newCreateInferenceRecommendationsJob Source #

Create a value of CreateInferenceRecommendationsJob 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:

CreateInferenceRecommendationsJob, createInferenceRecommendationsJob_jobDescription - Description of the recommendation job.

CreateInferenceRecommendationsJob, createInferenceRecommendationsJob_outputConfig - Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.

$sel:stoppingConditions:CreateInferenceRecommendationsJob', createInferenceRecommendationsJob_stoppingConditions - A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.

CreateInferenceRecommendationsJob, createInferenceRecommendationsJob_tags - The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

CreateInferenceRecommendationsJob, createInferenceRecommendationsJob_jobName - A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.

CreateInferenceRecommendationsJob, createInferenceRecommendationsJob_jobType - Defines the type of recommendation job. Specify Default to initiate an instance recommendation and Advanced to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.

CreateInferenceRecommendationsJob, createInferenceRecommendationsJob_roleArn - The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

CreateInferenceRecommendationsJob, createInferenceRecommendationsJob_inputConfig - Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.

Request Lenses

createInferenceRecommendationsJob_outputConfig :: Lens' CreateInferenceRecommendationsJob (Maybe RecommendationJobOutputConfig) Source #

Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.

createInferenceRecommendationsJob_stoppingConditions :: Lens' CreateInferenceRecommendationsJob (Maybe RecommendationJobStoppingConditions) Source #

A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.

createInferenceRecommendationsJob_tags :: Lens' CreateInferenceRecommendationsJob (Maybe [Tag]) Source #

The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

createInferenceRecommendationsJob_jobName :: Lens' CreateInferenceRecommendationsJob Text Source #

A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.

createInferenceRecommendationsJob_jobType :: Lens' CreateInferenceRecommendationsJob RecommendationJobType Source #

Defines the type of recommendation job. Specify Default to initiate an instance recommendation and Advanced to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.

createInferenceRecommendationsJob_roleArn :: Lens' CreateInferenceRecommendationsJob Text Source #

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

createInferenceRecommendationsJob_inputConfig :: Lens' CreateInferenceRecommendationsJob RecommendationJobInputConfig Source #

Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.

Destructuring the Response

data CreateInferenceRecommendationsJobResponse Source #

Constructors

CreateInferenceRecommendationsJobResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • jobArn :: Text

    The Amazon Resource Name (ARN) of the recommendation job.

Instances

Instances details
Generic CreateInferenceRecommendationsJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Read CreateInferenceRecommendationsJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Show CreateInferenceRecommendationsJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

NFData CreateInferenceRecommendationsJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

Eq CreateInferenceRecommendationsJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

type Rep CreateInferenceRecommendationsJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateInferenceRecommendationsJob

type Rep CreateInferenceRecommendationsJobResponse = D1 ('MetaData "CreateInferenceRecommendationsJobResponse" "Amazonka.SageMaker.CreateInferenceRecommendationsJob" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateInferenceRecommendationsJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateInferenceRecommendationsJobResponse Source #

Create a value of CreateInferenceRecommendationsJobResponse 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:httpStatus:CreateInferenceRecommendationsJobResponse', createInferenceRecommendationsJobResponse_httpStatus - The response's http status code.

CreateInferenceRecommendationsJobResponse, createInferenceRecommendationsJobResponse_jobArn - The Amazon Resource Name (ARN) of the recommendation job.

Response Lenses