« blib/lib/Paws/SageMaker/UpdateModelPackageOutput.pm
↑ Summary
blib/lib/Paws/SageMaker/UpdateMonitoringScheduleResponse.pm »
| 1 | |||
| 2 | package Paws::SageMaker::UpdateMonitoringSchedule; | ||
| 3 | use Moose; | ||
| 4 | has MonitoringScheduleConfig => (is => 'ro', isa => 'Paws::SageMaker::MonitoringScheduleConfig', required => 1); | ||
| 5 | has MonitoringScheduleName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMonitoringSchedule'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::UpdateMonitoringScheduleResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::SageMaker::UpdateMonitoringSchedule - Arguments for method UpdateMonitoringSchedule on L<Paws::SageMaker> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method UpdateMonitoringSchedule on the | ||
| 23 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 24 | as arguments to method UpdateMonitoringSchedule. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMonitoringSchedule. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 31 | my $UpdateMonitoringScheduleResponse = | ||
| 32 | $api . sagemaker->UpdateMonitoringSchedule( | ||
| 33 | MonitoringScheduleConfig => { | ||
| 34 | MonitoringJobDefinition => { | ||
| 35 | MonitoringAppSpecification => { | ||
| 36 | ImageUri => 'MyImageUri', # max: 255 | ||
| 37 | ContainerArguments => [ | ||
| 38 | 'MyContainerArgument', ... # max: 256 | ||
| 39 | ], # min: 1, max: 50; OPTIONAL | ||
| 40 | ContainerEntrypoint => [ | ||
| 41 | 'MyContainerEntrypointString', ... # max: 256 | ||
| 42 | ], # min: 1, max: 100; OPTIONAL | ||
| 43 | PostAnalyticsProcessorSourceUri => 'MyS3Uri', # max: 1024; OPTIONAL | ||
| 44 | RecordPreprocessorSourceUri => 'MyS3Uri', # max: 1024; OPTIONAL | ||
| 45 | }, | ||
| 46 | MonitoringInputs => [ | ||
| 47 | { | ||
| 48 | EndpointInput => { | ||
| 49 | EndpointName => 'MyEndpointName', # max: 63 | ||
| 50 | LocalPath => 'MyProcessingLocalPath', # max: 256 | ||
| 51 | EndTimeOffset => | ||
| 52 | 'MyMonitoringTimeOffsetString', # min: 1, max: 15; OPTIONAL | ||
| 53 | FeaturesAttribute => 'MyString', # OPTIONAL | ||
| 54 | InferenceAttribute => 'MyString', # OPTIONAL | ||
| 55 | ProbabilityAttribute => 'MyString', # OPTIONAL | ||
| 56 | ProbabilityThresholdAttribute => 1, # OPTIONAL | ||
| 57 | S3DataDistributionType => 'FullyReplicated' | ||
| 58 | , # values: FullyReplicated, ShardedByS3Key; OPTIONAL | ||
| 59 | S3InputMode => 'Pipe', # values: Pipe, File; OPTIONAL | ||
| 60 | StartTimeOffset => | ||
| 61 | 'MyMonitoringTimeOffsetString', # min: 1, max: 15; OPTIONAL | ||
| 62 | }, | ||
| 63 | |||
| 64 | }, | ||
| 65 | ... | ||
| 66 | ], # min: 1, max: 1 | ||
| 67 | MonitoringOutputConfig => { | ||
| 68 | MonitoringOutputs => [ | ||
| 69 | { | ||
| 70 | S3Output => { | ||
| 71 | LocalPath => 'MyProcessingLocalPath', # max: 256 | ||
| 72 | S3Uri => 'MyMonitoringS3Uri', # max: 512 | ||
| 73 | S3UploadMode => | ||
| 74 | 'Continuous', # values: Continuous, EndOfJob; OPTIONAL | ||
| 75 | }, | ||
| 76 | |||
| 77 | }, | ||
| 78 | ... | ||
| 79 | ], # min: 1, max: 1 | ||
| 80 | KmsKeyId => 'MyKmsKeyId', # max: 2048; OPTIONAL | ||
| 81 | }, | ||
| 82 | MonitoringResources => { | ||
| 83 | ClusterConfig => { | ||
| 84 | InstanceCount => 1, # min: 1, max: 100 | ||
| 85 | InstanceType => 'ml.t3.medium' | ||
| 86 | , # values: 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 | ||
| 87 | VolumeSizeInGB => 1, # min: 1, max: 16384 | ||
| 88 | VolumeKmsKeyId => 'MyKmsKeyId', # max: 2048; OPTIONAL | ||
| 89 | }, | ||
| 90 | |||
| 91 | }, | ||
| 92 | RoleArn => 'MyRoleArn', # min: 20, max: 2048 | ||
| 93 | BaselineConfig => { | ||
| 94 | BaseliningJobName => | ||
| 95 | 'MyProcessingJobName', # min: 1, max: 63; OPTIONAL | ||
| 96 | ConstraintsResource => { | ||
| 97 | S3Uri => 'MyS3Uri', # max: 1024; OPTIONAL | ||
| 98 | }, # OPTIONAL | ||
| 99 | StatisticsResource => { | ||
| 100 | S3Uri => 'MyS3Uri', # max: 1024; OPTIONAL | ||
| 101 | }, # OPTIONAL | ||
| 102 | }, # OPTIONAL | ||
| 103 | Environment => { | ||
| 104 | 'MyProcessingEnvironmentKey' => | ||
| 105 | 'MyProcessingEnvironmentValue', # key: max: 256, value: max: 256 | ||
| 106 | }, # max: 50; OPTIONAL | ||
| 107 | NetworkConfig => { | ||
| 108 | EnableInterContainerTrafficEncryption => 1, # OPTIONAL | ||
| 109 | EnableNetworkIsolation => 1, # OPTIONAL | ||
| 110 | VpcConfig => { | ||
| 111 | SecurityGroupIds => [ | ||
| 112 | 'MySecurityGroupId', ... # max: 32 | ||
| 113 | ], # min: 1, max: 5 | ||
| 114 | Subnets => [ | ||
| 115 | 'MySubnetId', ... # max: 32 | ||
| 116 | ], # min: 1, max: 16 | ||
| 117 | |||
| 118 | }, # OPTIONAL | ||
| 119 | }, # OPTIONAL | ||
| 120 | StoppingCondition => { | ||
| 121 | MaxRuntimeInSeconds => 1, # min: 1, max: 86400 | ||
| 122 | |||
| 123 | }, # OPTIONAL | ||
| 124 | }, # OPTIONAL | ||
| 125 | MonitoringJobDefinitionName => | ||
| 126 | 'MyMonitoringJobDefinitionName', # min: 1, max: 63; OPTIONAL | ||
| 127 | MonitoringType => 'DataQuality' | ||
| 128 | , # values: DataQuality, ModelQuality, ModelBias, ModelExplainability; OPTIONAL | ||
| 129 | ScheduleConfig => { | ||
| 130 | ScheduleExpression => 'MyScheduleExpression', # min: 1, max: 256 | ||
| 131 | |||
| 132 | }, # OPTIONAL | ||
| 133 | }, | ||
| 134 | MonitoringScheduleName => 'MyMonitoringScheduleName', | ||
| 135 | |||
| 136 | ); | ||
| 137 | |||
| 138 | # Results: | ||
| 139 | my $MonitoringScheduleArn = | ||
| 140 | $UpdateMonitoringScheduleResponse->MonitoringScheduleArn; | ||
| 141 | |||
| 142 | # Returns a L<Paws::SageMaker::UpdateMonitoringScheduleResponse> object. | ||
| 143 | |||
| 144 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 145 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/UpdateMonitoringSchedule> | ||
| 146 | |||
| 147 | =head1 ATTRIBUTES | ||
| 148 | |||
| 149 | |||
| 150 | =head2 B<REQUIRED> MonitoringScheduleConfig => L<Paws::SageMaker::MonitoringScheduleConfig> | ||
| 151 | |||
| 152 | The configuration object that specifies the monitoring schedule and | ||
| 153 | defines the monitoring job. | ||
| 154 | |||
| 155 | |||
| 156 | |||
| 157 | =head2 B<REQUIRED> MonitoringScheduleName => Str | ||
| 158 | |||
| 159 | The name of the monitoring schedule. The name must be unique within an | ||
| 160 | Amazon Web Services Region within an Amazon Web Services account. | ||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | =head1 SEE ALSO | ||
| 166 | |||
| 167 | This class forms part of L<Paws>, documenting arguments for method UpdateMonitoringSchedule in L<Paws::SageMaker> | ||
| 168 | |||
| 169 | =head1 BUGS and CONTRIBUTIONS | ||
| 170 | |||
| 171 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 172 | |||
| 173 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 174 | |||
| 175 | =cut | ||
| 176 |