« blib/lib/Paws/SageMaker/UpdateCodeRepositoryOutput.pm
↑ Summary
blib/lib/Paws/SageMaker/UpdateContextResponse.pm »
| 1 | |||
| 2 | package Paws::SageMaker::UpdateContext; | ||
| 3 | use Moose; | ||
| 4 | has ContextName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Description => (is => 'ro', isa => 'Str'); | ||
| 6 | has Properties => (is => 'ro', isa => 'Paws::SageMaker::LineageEntityParameters'); | ||
| 7 | has PropertiesToRemove => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateContext'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::UpdateContextResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::SageMaker::UpdateContext - Arguments for method UpdateContext on L<Paws::SageMaker> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateContext on the | ||
| 25 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateContext. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateContext. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 33 | my $UpdateContextResponse = $api . sagemaker->UpdateContext( | ||
| 34 | ContextName => 'MyExperimentEntityName', | ||
| 35 | Description => 'MyExperimentDescription', # OPTIONAL | ||
| 36 | Properties => { | ||
| 37 | 'MyStringParameterValue' => | ||
| 38 | 'MyStringParameterValue', # key: max: 256, value: max: 256 | ||
| 39 | }, # OPTIONAL | ||
| 40 | PropertiesToRemove => [ | ||
| 41 | 'MyStringParameterValue', ... # max: 256 | ||
| 42 | ], # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $ContextArn = $UpdateContextResponse->ContextArn; | ||
| 47 | |||
| 48 | # Returns a L<Paws::SageMaker::UpdateContextResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/UpdateContext> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> ContextName => Str | ||
| 57 | |||
| 58 | The name of the context to update. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 Description => Str | ||
| 63 | |||
| 64 | The new description for the context. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 Properties => L<Paws::SageMaker::LineageEntityParameters> | ||
| 69 | |||
| 70 | The new list of properties. Overwrites the current property list. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 PropertiesToRemove => ArrayRef[Str|Undef] | ||
| 75 | |||
| 76 | A list of properties to remove. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, documenting arguments for method UpdateContext in L<Paws::SageMaker> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |