class Aws::SageMaker::Types::CreateModelQualityJobDefinitionRequest

@note When making an API call, you may pass CreateModelQualityJobDefinitionRequest

data as a hash:

    {
      job_definition_name: "MonitoringJobDefinitionName", # required
      model_quality_baseline_config: {
        baselining_job_name: "ProcessingJobName",
        constraints_resource: {
          s3_uri: "S3Uri",
        },
      },
      model_quality_app_specification: { # required
        image_uri: "ImageUri", # required
        container_entrypoint: ["ContainerEntrypointString"],
        container_arguments: ["ContainerArgument"],
        record_preprocessor_source_uri: "S3Uri",
        post_analytics_processor_source_uri: "S3Uri",
        problem_type: "BinaryClassification", # accepts BinaryClassification, MulticlassClassification, Regression
        environment: {
          "ProcessingEnvironmentKey" => "ProcessingEnvironmentValue",
        },
      },
      model_quality_job_input: { # required
        endpoint_input: { # required
          endpoint_name: "EndpointName", # required
          local_path: "ProcessingLocalPath", # required
          s3_input_mode: "Pipe", # accepts Pipe, File
          s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
          features_attribute: "String",
          inference_attribute: "String",
          probability_attribute: "String",
          probability_threshold_attribute: 1.0,
          start_time_offset: "MonitoringTimeOffsetString",
          end_time_offset: "MonitoringTimeOffsetString",
        },
        ground_truth_s3_input: { # required
          s3_uri: "MonitoringS3Uri",
        },
      },
      model_quality_job_output_config: { # required
        monitoring_outputs: [ # required
          {
            s3_output: { # required
              s3_uri: "MonitoringS3Uri", # required
              local_path: "ProcessingLocalPath", # required
              s3_upload_mode: "Continuous", # accepts Continuous, EndOfJob
            },
          },
        ],
        kms_key_id: "KmsKeyId",
      },
      job_resources: { # required
        cluster_config: { # required
          instance_count: 1, # required
          instance_type: "ml.t3.medium", # required, accepts ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
          volume_size_in_gb: 1, # required
          volume_kms_key_id: "KmsKeyId",
        },
      },
      network_config: {
        enable_inter_container_traffic_encryption: false,
        enable_network_isolation: false,
        vpc_config: {
          security_group_ids: ["SecurityGroupId"], # required
          subnets: ["SubnetId"], # required
        },
      },
      role_arn: "RoleArn", # required
      stopping_condition: {
        max_runtime_in_seconds: 1, # required
      },
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue", # required
        },
      ],
    }

@!attribute [rw] job_definition_name

The name of the monitoring job definition.
@return [String]

@!attribute [rw] model_quality_baseline_config

Specifies the constraints and baselines for the monitoring job.
@return [Types::ModelQualityBaselineConfig]

@!attribute [rw] model_quality_app_specification

The container that runs the monitoring job.
@return [Types::ModelQualityAppSpecification]

@!attribute [rw] model_quality_job_input

A list of the inputs that are monitored. Currently endpoints are
supported.
@return [Types::ModelQualityJobInput]

@!attribute [rw] model_quality_job_output_config

The output configuration for monitoring jobs.
@return [Types::MonitoringOutputConfig]

@!attribute [rw] job_resources

Identifies the resources to deploy for a monitoring job.
@return [Types::MonitoringResources]

@!attribute [rw] network_config

Specifies the network configuration for the monitoring job.
@return [Types::MonitoringNetworkConfig]

@!attribute [rw] role_arn

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker
can assume to perform tasks on your behalf.
@return [String]

@!attribute [rw] stopping_condition

A time limit for how long the monitoring job is allowed to run
before stopping.
@return [Types::MonitoringStoppingCondition]

@!attribute [rw] tags

(Optional) An array of key-value pairs. For more information, see
[Using Cost Allocation Tags][1] in the *Amazon Web Services Billing
and Cost Management User Guide*.

[1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinitionRequest AWS API Documentation

Constants

SENSITIVE