« blib/lib/Paws/SageMaker/ContinuousParameterRangeSpecification.pm
↑ Summary
blib/lib/Paws/SageMaker/CreateActionResponse.pm »
| 1 | |||
| 2 | package Paws::SageMaker::CreateAction; | ||
| 3 | use Moose; | ||
| 4 | has ActionName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ActionType => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | has MetadataProperties => (is => 'ro', isa => 'Paws::SageMaker::MetadataProperties'); | ||
| 8 | has Properties => (is => 'ro', isa => 'Paws::SageMaker::LineageEntityParameters'); | ||
| 9 | has Source => (is => 'ro', isa => 'Paws::SageMaker::ActionSource', required => 1); | ||
| 10 | has Status => (is => 'ro', isa => 'Str'); | ||
| 11 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::Tag]'); | ||
| 12 | |||
| 13 | use MooseX::ClassAttribute; | ||
| 14 | |||
| 15 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAction'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::CreateActionResponse'); | ||
| 17 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::SageMaker::CreateAction - Arguments for method CreateAction on L<Paws::SageMaker> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method CreateAction on the | ||
| 29 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 30 | as arguments to method CreateAction. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAction. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 37 | my $CreateActionResponse = $api . sagemaker->CreateAction( | ||
| 38 | ActionName => 'MyExperimentEntityName', | ||
| 39 | ActionType => 'MyString256', | ||
| 40 | Source => { | ||
| 41 | SourceUri => 'MyString2048', # max: 2048 | ||
| 42 | SourceId => 'MyString256', # max: 256 | ||
| 43 | SourceType => 'MyString256', # max: 256 | ||
| 44 | }, | ||
| 45 | Description => 'MyExperimentDescription', # OPTIONAL | ||
| 46 | MetadataProperties => { | ||
| 47 | CommitId => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL | ||
| 48 | GeneratedBy => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL | ||
| 49 | ProjectId => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL | ||
| 50 | Repository => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL | ||
| 51 | }, # OPTIONAL | ||
| 52 | Properties => { | ||
| 53 | 'MyStringParameterValue' => | ||
| 54 | 'MyStringParameterValue', # key: max: 256, value: max: 256 | ||
| 55 | }, # OPTIONAL | ||
| 56 | Status => 'Unknown', # OPTIONAL | ||
| 57 | Tags => [ | ||
| 58 | { | ||
| 59 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 60 | Value => 'MyTagValue', # max: 256 | ||
| 61 | |||
| 62 | }, | ||
| 63 | ... | ||
| 64 | ], # OPTIONAL | ||
| 65 | ); | ||
| 66 | |||
| 67 | # Results: | ||
| 68 | my $ActionArn = $CreateActionResponse->ActionArn; | ||
| 69 | |||
| 70 | # Returns a L<Paws::SageMaker::CreateActionResponse> object. | ||
| 71 | |||
| 72 | 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. | ||
| 73 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateAction> | ||
| 74 | |||
| 75 | =head1 ATTRIBUTES | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> ActionName => Str | ||
| 79 | |||
| 80 | The name of the action. Must be unique to your account in an Amazon Web | ||
| 81 | Services Region. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> ActionType => Str | ||
| 86 | |||
| 87 | The action type. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 Description => Str | ||
| 92 | |||
| 93 | The description of the action. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 MetadataProperties => L<Paws::SageMaker::MetadataProperties> | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 Properties => L<Paws::SageMaker::LineageEntityParameters> | ||
| 104 | |||
| 105 | A list of properties to add to the action. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head2 B<REQUIRED> Source => L<Paws::SageMaker::ActionSource> | ||
| 110 | |||
| 111 | The source type, ID, and URI. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head2 Status => Str | ||
| 116 | |||
| 117 | The status of the action. | ||
| 118 | |||
| 119 | Valid values are: C<"Unknown">, C<"InProgress">, C<"Completed">, C<"Failed">, C<"Stopping">, C<"Stopped"> | ||
| 120 | |||
| 121 | =head2 Tags => ArrayRef[L<Paws::SageMaker::Tag>] | ||
| 122 | |||
| 123 | A list of tags to apply to the action. | ||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head1 SEE ALSO | ||
| 129 | |||
| 130 | This class forms part of L<Paws>, documenting arguments for method CreateAction in L<Paws::SageMaker> | ||
| 131 | |||
| 132 | =head1 BUGS and CONTRIBUTIONS | ||
| 133 | |||
| 134 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 135 | |||
| 136 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 137 | |||
| 138 | =cut | ||
| 139 |