| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.CreateInferenceRecommendationsJob
Description
Starts a recommendation job. You can create either an instance recommendation or load test job.
Synopsis
- data CreateInferenceRecommendationsJob = CreateInferenceRecommendationsJob' {}
 - newCreateInferenceRecommendationsJob :: Text -> RecommendationJobType -> Text -> RecommendationJobInputConfig -> CreateInferenceRecommendationsJob
 - createInferenceRecommendationsJob_jobDescription :: Lens' CreateInferenceRecommendationsJob (Maybe Text)
 - createInferenceRecommendationsJob_outputConfig :: Lens' CreateInferenceRecommendationsJob (Maybe RecommendationJobOutputConfig)
 - createInferenceRecommendationsJob_stoppingConditions :: Lens' CreateInferenceRecommendationsJob (Maybe RecommendationJobStoppingConditions)
 - createInferenceRecommendationsJob_tags :: Lens' CreateInferenceRecommendationsJob (Maybe [Tag])
 - createInferenceRecommendationsJob_jobName :: Lens' CreateInferenceRecommendationsJob Text
 - createInferenceRecommendationsJob_jobType :: Lens' CreateInferenceRecommendationsJob RecommendationJobType
 - createInferenceRecommendationsJob_roleArn :: Lens' CreateInferenceRecommendationsJob Text
 - createInferenceRecommendationsJob_inputConfig :: Lens' CreateInferenceRecommendationsJob RecommendationJobInputConfig
 - data CreateInferenceRecommendationsJobResponse = CreateInferenceRecommendationsJobResponse' {
- httpStatus :: Int
 - jobArn :: Text
 
 - newCreateInferenceRecommendationsJobResponse :: Int -> Text -> CreateInferenceRecommendationsJobResponse
 - createInferenceRecommendationsJobResponse_httpStatus :: Lens' CreateInferenceRecommendationsJobResponse Int
 - createInferenceRecommendationsJobResponse_jobArn :: Lens' CreateInferenceRecommendationsJobResponse Text
 
Creating a Request
data CreateInferenceRecommendationsJob Source #
See: newCreateInferenceRecommendationsJob smart constructor.
Constructors
| CreateInferenceRecommendationsJob' | |
Fields 
  | |
Instances
newCreateInferenceRecommendationsJob Source #
Arguments
| :: Text | |
| -> RecommendationJobType | |
| -> Text | |
| -> RecommendationJobInputConfig | |
| -> CreateInferenceRecommendationsJob | 
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_jobDescription :: Lens' CreateInferenceRecommendationsJob (Maybe Text) Source #
Description of the recommendation job.
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 #
See: newCreateInferenceRecommendationsJobResponse smart constructor.
Constructors
| CreateInferenceRecommendationsJobResponse' | |
Fields 
  | |
Instances
newCreateInferenceRecommendationsJobResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateInferenceRecommendationsJobResponse | 
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
createInferenceRecommendationsJobResponse_httpStatus :: Lens' CreateInferenceRecommendationsJobResponse Int Source #
The response's http status code.
createInferenceRecommendationsJobResponse_jobArn :: Lens' CreateInferenceRecommendationsJobResponse Text Source #
The Amazon Resource Name (ARN) of the recommendation job.