class Aws::SageMaker::Types::CreateCompilationJobRequest

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

data as a hash:

    {
      compilation_job_name: "EntityName", # required
      role_arn: "RoleArn", # required
      input_config: { # required
        s3_uri: "S3Uri", # required
        data_input_config: "DataInputConfig", # required
        framework: "TENSORFLOW", # required, accepts TENSORFLOW, KERAS, MXNET, ONNX, PYTORCH, XGBOOST, TFLITE, DARKNET, SKLEARN
        framework_version: "FrameworkVersion",
      },
      output_config: { # required
        s3_output_location: "S3Uri", # required
        target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, amba_cv25, x86_win32, x86_win64, coreml, jacinto_tda4vm, imx8mplus
        target_platform: {
          os: "ANDROID", # required, accepts ANDROID, LINUX
          arch: "X86_64", # required, accepts X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF
          accelerator: "INTEL_GRAPHICS", # accepts INTEL_GRAPHICS, MALI, NVIDIA
        },
        compiler_options: "CompilerOptions",
        kms_key_id: "KmsKeyId",
      },
      vpc_config: {
        security_group_ids: ["NeoVpcSecurityGroupId"], # required
        subnets: ["NeoVpcSubnetId"], # required
      },
      stopping_condition: { # required
        max_runtime_in_seconds: 1,
        max_wait_time_in_seconds: 1,
      },
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue", # required
        },
      ],
    }

@!attribute [rw] compilation_job_name

A name for the model compilation job. The name must be unique within
the Amazon Web Services Region and within your Amazon Web Services
account.
@return [String]

@!attribute [rw] role_arn

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

During model compilation, Amazon SageMaker needs your permission to:

* Read input data from an S3 bucket

* Write model artifacts to an S3 bucket

* Write logs to Amazon CloudWatch Logs

* Publish metrics to Amazon CloudWatch

You grant permissions for all of these tasks to an IAM role. To pass
this role to Amazon SageMaker, the caller of this API must have the
`iam:PassRole` permission. For more information, see [Amazon
SageMaker Roles.][1]

[1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html
@return [String]

@!attribute [rw] input_config

Provides information about the location of input model artifacts,
the name and shape of the expected data inputs, and the framework in
which the model was trained.
@return [Types::InputConfig]

@!attribute [rw] output_config

Provides information about the output location for the compiled
model and the target device the model runs on.
@return [Types::OutputConfig]

@!attribute [rw] vpc_config

A VpcConfig object that specifies the VPC that you want your
compilation job to connect to. Control access to your models by
configuring the VPC. For more information, see [Protect Compilation
Jobs by Using an Amazon Virtual Private Cloud][1].

[1]: https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html
@return [Types::NeoVpcConfig]

@!attribute [rw] stopping_condition

Specifies a limit to how long a model compilation job can run. When
the job reaches the time limit, Amazon SageMaker ends the
compilation job. Use this API to cap model training costs.
@return [Types::StoppingCondition]

@!attribute [rw] tags

An array of key-value pairs. You can use tags to categorize your
Amazon Web Services resources in different ways, for example, by
purpose, owner, or environment. For more information, see [Tagging
Amazon Web Services Resources][1].

[1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
@return [Array<Types::Tag>]

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

Constants

SENSITIVE