import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::SageMaker::InferenceExperiment */ export declare class InferenceExperiment extends pulumi.CustomResource { /** * Get an existing InferenceExperiment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): InferenceExperiment; /** * Returns true if the given object is an instance of InferenceExperiment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is InferenceExperiment; /** * The Amazon Resource Name (ARN) of the inference experiment. */ readonly arn: pulumi.Output; /** * The timestamp at which you created the inference experiment. */ readonly creationTime: pulumi.Output; /** * The Amazon S3 location and configuration for storing inference request and response data. */ readonly dataStorageConfig: pulumi.Output; /** * The description of the inference experiment. */ readonly description: pulumi.Output; /** * The desired state of the experiment after starting or stopping operation. */ readonly desiredState: pulumi.Output; readonly endpointMetadata: pulumi.Output; /** * The name of the endpoint. */ readonly endpointName: pulumi.Output; /** * The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. */ readonly kmsKey: pulumi.Output; /** * The timestamp at which you last modified the inference experiment. */ readonly lastModifiedTime: pulumi.Output; /** * An array of ModelVariantConfig objects. Each ModelVariantConfig object in the array describes the infrastructure configuration for the corresponding variant. */ readonly modelVariants: pulumi.Output; /** * The name for the inference experiment. */ readonly name: pulumi.Output; /** * The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment. */ readonly roleArn: pulumi.Output; /** * The duration for which the inference experiment ran or will run. * * The maximum duration that you can set for an inference experiment is 30 days. */ readonly schedule: pulumi.Output; /** * The configuration of `ShadowMode` inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates. */ readonly shadowModeConfig: pulumi.Output; /** * The status of the inference experiment. */ readonly status: pulumi.Output; /** * The error message or client-specified reason from the StopInferenceExperiment API, that explains the status of the inference experiment. */ readonly statusReason: pulumi.Output; /** * An array of key-value pairs to apply to this resource. */ readonly tags: pulumi.Output; /** * The type of the inference experiment that you want to run. */ readonly type: pulumi.Output; /** * Create a InferenceExperiment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InferenceExperimentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a InferenceExperiment resource. */ export interface InferenceExperimentArgs { /** * The Amazon S3 location and configuration for storing inference request and response data. */ dataStorageConfig?: pulumi.Input; /** * The description of the inference experiment. */ description?: pulumi.Input; /** * The desired state of the experiment after starting or stopping operation. */ desiredState?: pulumi.Input; /** * The name of the endpoint. */ endpointName: pulumi.Input; /** * The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. */ kmsKey?: pulumi.Input; /** * An array of ModelVariantConfig objects. Each ModelVariantConfig object in the array describes the infrastructure configuration for the corresponding variant. */ modelVariants: pulumi.Input[]>; /** * The name for the inference experiment. */ name?: pulumi.Input; /** * The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment. */ roleArn: pulumi.Input; /** * The duration for which the inference experiment ran or will run. * * The maximum duration that you can set for an inference experiment is 30 days. */ schedule?: pulumi.Input; /** * The configuration of `ShadowMode` inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates. */ shadowModeConfig?: pulumi.Input; /** * The error message or client-specified reason from the StopInferenceExperiment API, that explains the status of the inference experiment. */ statusReason?: pulumi.Input; /** * An array of key-value pairs to apply to this resource. */ tags?: pulumi.Input[]>; /** * The type of the inference experiment that you want to run. */ type: pulumi.Input; }