« blib/lib/Paws/Batch/UpdateJobQueueResponse.pm
↑ Summary
blib/lib/Paws/Braket/CancelQuantumTask.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Batch::Volume; | ||
| 3 | use Moose; | ||
| 4 | has EfsVolumeConfiguration => (is => 'ro', isa => 'Paws::Batch::EFSVolumeConfiguration', request_name => 'efsVolumeConfiguration', traits => ['NameInRequest']); | ||
| 5 | has Host => (is => 'ro', isa => 'Paws::Batch::Host', request_name => 'host', traits => ['NameInRequest']); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Batch::Volume | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Batch::Volume object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { EfsVolumeConfiguration => $value, ..., Name => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::Volume object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->EfsVolumeConfiguration | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | A data volume used in a job's container properties. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 EfsVolumeConfiguration => L<Paws::Batch::EFSVolumeConfiguration> | ||
| 44 | |||
| 45 | This parameter is specified when you are using an Amazon Elastic File | ||
| 46 | System file system for job storage. Jobs running on Fargate resources | ||
| 47 | must specify a C<platformVersion> of at least C<1.4.0>. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 Host => L<Paws::Batch::Host> | ||
| 51 | |||
| 52 | The contents of the C<host> parameter determine whether your data | ||
| 53 | volume persists on the host container instance and where it is stored. | ||
| 54 | If the host parameter is empty, then the Docker daemon assigns a host | ||
| 55 | path for your data volume. However, the data isn't guaranteed to | ||
| 56 | persist after the containers associated with it stop running. | ||
| 57 | |||
| 58 | This parameter isn't applicable to jobs running on Fargate resources | ||
| 59 | and shouldn't be provided. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Name => Str | ||
| 63 | |||
| 64 | The name of the volume. Up to 255 letters (uppercase and lowercase), | ||
| 65 | numbers, hyphens, and underscores are allowed. This name is referenced | ||
| 66 | in the C<sourceVolume> parameter of container definition | ||
| 67 | C<mountPoints>. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head1 SEE ALSO | ||
| 72 | |||
| 73 | This class forms part of L<Paws>, describing an object used in L<Paws::Batch> | ||
| 74 | |||
| 75 | =head1 BUGS and CONTRIBUTIONS | ||
| 76 | |||
| 77 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 78 | |||
| 79 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 80 | |||
| 81 | =cut | ||
| 82 |