libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataSync.UpdateLocationNfs

Description

Updates some of the parameters of a previously created location for Network File System (NFS) access. For information about creating an NFS location, see Creating a location for NFS.

Synopsis

Creating a Request

data UpdateLocationNfs Source #

See: newUpdateLocationNfs smart constructor.

Constructors

UpdateLocationNfs' 

Fields

  • onPremConfig :: Maybe OnPremConfig
     
  • subdirectory :: Maybe Text

    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

    To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

    To transfer all the data in the folder that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

    If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.

    For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

  • mountOptions :: Maybe NfsMountOptions
     
  • locationArn :: Text

    The Amazon Resource Name (ARN) of the NFS location to update.

Instances

Instances details
Eq UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Read UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Show UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Generic UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Associated Types

type Rep UpdateLocationNfs :: Type -> Type #

NFData UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Methods

rnf :: UpdateLocationNfs -> () #

Hashable UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

ToJSON UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

AWSRequest UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Associated Types

type AWSResponse UpdateLocationNfs #

ToHeaders UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

ToPath UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

ToQuery UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

type Rep UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

type Rep UpdateLocationNfs = D1 ('MetaData "UpdateLocationNfs" "Amazonka.DataSync.UpdateLocationNfs" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "UpdateLocationNfs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "onPremConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OnPremConfig)) :*: S1 ('MetaSel ('Just "subdirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "mountOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NfsMountOptions)) :*: S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateLocationNfs Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

newUpdateLocationNfs Source #

Create a value of UpdateLocationNfs with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:onPremConfig:UpdateLocationNfs', updateLocationNfs_onPremConfig - Undocumented member.

$sel:subdirectory:UpdateLocationNfs', updateLocationNfs_subdirectory - The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

$sel:mountOptions:UpdateLocationNfs', updateLocationNfs_mountOptions - Undocumented member.

$sel:locationArn:UpdateLocationNfs', updateLocationNfs_locationArn - The Amazon Resource Name (ARN) of the NFS location to update.

Request Lenses

updateLocationNfs_subdirectory :: Lens' UpdateLocationNfs (Maybe Text) Source #

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

updateLocationNfs_locationArn :: Lens' UpdateLocationNfs Text Source #

The Amazon Resource Name (ARN) of the NFS location to update.

Destructuring the Response

data UpdateLocationNfsResponse Source #

See: newUpdateLocationNfsResponse smart constructor.

Constructors

UpdateLocationNfsResponse' 

Fields

Instances

Instances details
Eq UpdateLocationNfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Read UpdateLocationNfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Show UpdateLocationNfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Generic UpdateLocationNfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

Associated Types

type Rep UpdateLocationNfsResponse :: Type -> Type #

NFData UpdateLocationNfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

type Rep UpdateLocationNfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationNfs

type Rep UpdateLocationNfsResponse = D1 ('MetaData "UpdateLocationNfsResponse" "Amazonka.DataSync.UpdateLocationNfs" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "UpdateLocationNfsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateLocationNfsResponse Source #

Create a value of UpdateLocationNfsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateLocationNfsResponse', updateLocationNfsResponse_httpStatus - The response's http status code.

Response Lenses