« blib/lib/Paws/Datasync/UpdateAgentResponse.pm
↑ Summary
blib/lib/Paws/Datasync/UpdateLocationNfsResponse.pm »
| 1 | |||
| 2 | package Paws::Datasync::UpdateLocationNfs; | ||
| 3 | use Moose; | ||
| 4 | has LocationArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has MountOptions => (is => 'ro', isa => 'Paws::Datasync::NfsMountOptions'); | ||
| 6 | has OnPremConfig => (is => 'ro', isa => 'Paws::Datasync::OnPremConfig'); | ||
| 7 | has Subdirectory => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateLocationNfs'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Datasync::UpdateLocationNfsResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Datasync::UpdateLocationNfs - Arguments for method UpdateLocationNfs on L<Paws::Datasync> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateLocationNfs on the | ||
| 25 | L<AWS DataSync|Paws::Datasync> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateLocationNfs. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLocationNfs. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $datasync = Paws->service('Datasync'); | ||
| 33 | my $UpdateLocationNfsResponse = $datasync->UpdateLocationNfs( | ||
| 34 | LocationArn => 'MyLocationArn', | ||
| 35 | MountOptions => { | ||
| 36 | Version => | ||
| 37 | 'AUTOMATIC', # values: AUTOMATIC, NFS3, NFS4_0, NFS4_1; OPTIONAL | ||
| 38 | }, # OPTIONAL | ||
| 39 | OnPremConfig => { | ||
| 40 | AgentArns => [ | ||
| 41 | 'MyAgentArn', ... # max: 128 | ||
| 42 | ], # min: 1, max: 4 | ||
| 43 | |||
| 44 | }, # OPTIONAL | ||
| 45 | Subdirectory => 'MyNfsSubdirectory', # OPTIONAL | ||
| 46 | ); | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/datasync/UpdateLocationNfs> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> LocationArn => Str | ||
| 55 | |||
| 56 | The Amazon Resource Name (ARN) of the NFS location to update. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 MountOptions => L<Paws::Datasync::NfsMountOptions> | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 OnPremConfig => L<Paws::Datasync::OnPremConfig> | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 Subdirectory => Str | ||
| 73 | |||
| 74 | The subdirectory in the NFS file system that is used to read data from | ||
| 75 | the NFS source location or write data to the NFS destination. The NFS | ||
| 76 | path should be a path that's exported by the NFS server, or a | ||
| 77 | subdirectory of that path. The path should be such that it can be | ||
| 78 | mounted by other NFS clients in your network. | ||
| 79 | |||
| 80 | To see all the paths exported by your NFS server, run "C<showmount -e | ||
| 81 | nfs-server-name>" from an NFS client that has access to your server. | ||
| 82 | You can specify any directory that appears in the results, and any | ||
| 83 | subdirectory of that directory. Ensure that the NFS export is | ||
| 84 | accessible without Kerberos authentication. | ||
| 85 | |||
| 86 | To transfer all the data in the folder that you specified, DataSync | ||
| 87 | must have permissions to read all the data. To ensure this, either | ||
| 88 | configure the NFS export with C<no_root_squash>, or ensure that the | ||
| 89 | files you want DataSync to access have permissions that allow read | ||
| 90 | access for all users. Doing either option enables the agent to read the | ||
| 91 | files. For the agent to access directories, you must additionally | ||
| 92 | enable all execute access. | ||
| 93 | |||
| 94 | If you are copying data to or from your AWS Snowcone device, see NFS | ||
| 95 | Server on AWS Snowcone | ||
| 96 | (https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone) | ||
| 97 | for more information. | ||
| 98 | |||
| 99 | For information about NFS export configuration, see 18.7. The | ||
| 100 | /etc/exports Configuration File in the Red Hat Enterprise Linux | ||
| 101 | documentation. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head1 SEE ALSO | ||
| 107 | |||
| 108 | This class forms part of L<Paws>, documenting arguments for method UpdateLocationNfs in L<Paws::Datasync> | ||
| 109 | |||
| 110 | =head1 BUGS and CONTRIBUTIONS | ||
| 111 | |||
| 112 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 113 | |||
| 114 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 115 | |||
| 116 | =cut | ||
| 117 |