File Coverage

blib/lib/Paws/Batch/Host.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Batch::Host;
2 1     1   347 use Moose;
  1         2  
  1         6  
3             has SourcePath => (is => 'ro', isa => 'Str', request_name => 'sourcePath', traits => ['NameInRequest']);
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::Batch::Host
11              
12             =head1 USAGE
13              
14             This class represents one of two things:
15              
16             =head3 Arguments in a call to a service
17              
18             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19             Each attribute should be used as a named argument in the calls that expect this type of object.
20              
21             As an example, if Att1 is expected to be a Paws::Batch::Host object:
22              
23             $service_obj->Method(Att1 => { SourcePath => $value, ..., SourcePath => $value });
24              
25             =head3 Results returned from an API call
26              
27             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::Host object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->SourcePath
31              
32             =head1 DESCRIPTION
33              
34             The contents of the C<host> parameter determine whether your data
35             volume persists on the host container instance and where it is stored.
36             If the host parameter is empty, then the Docker daemon assigns a host
37             path for your data volume, but the data is not guaranteed to persist
38             after the containers associated with it stop running.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 SourcePath => Str
44              
45             The path on the host container instance that is presented to the
46             container. If this parameter is empty, then the Docker daemon has
47             assigned a host path for you. If the C<host> parameter contains a
48             C<sourcePath> file location, then the data volume persists at the
49             specified location on the host container instance until you delete it
50             manually. If the C<sourcePath> value does not exist on the host
51             container instance, the Docker daemon creates it. If the location does
52             exist, the contents of the source path folder are exported.
53              
54              
55              
56             =head1 SEE ALSO
57              
58             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
59              
60             =head1 BUGS and CONTRIBUTIONS
61              
62             The source code is located here: https://github.com/pplu/aws-sdk-perl
63              
64             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
65              
66             =cut
67