amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.StorageGateway.Types.NFSFileShareInfo

Description

 
Synopsis

Documentation

data NFSFileShareInfo Source #

The Unix file permissions and ownership information assigned, by default, to native S3 objects when an S3 File Gateway discovers them in S3 buckets. This operation is only supported in S3 File Gateways.

See: newNFSFileShareInfo smart constructor.

Constructors

NFSFileShareInfo' 

Fields

  • auditDestinationARN :: Maybe Text

    The Amazon Resource Name (ARN) of the storage used for audit logs.

  • bucketRegion :: Maybe Text

    Specifies the Region of the S3 bucket where the NFS file share stores files.

    This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

  • cacheAttributes :: Maybe CacheAttributes

    Refresh cache information for the file share.

  • clientList :: Maybe (NonEmpty Text)
     
  • defaultStorageClass :: Maybe Text

    The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

  • fileShareARN :: Maybe Text
     
  • fileShareId :: Maybe Text
     
  • fileShareName :: Maybe Text

    The name of the file share. Optional.

    FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

  • fileShareStatus :: Maybe Text
     
  • gatewayARN :: Maybe Text
     
  • guessMIMETypeEnabled :: Maybe Bool

    A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

    Valid Values: true | false

  • kmsEncrypted :: Maybe Bool

    Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.

    Valid Values: true | false

  • kmsKey :: Maybe Text
     
  • locationARN :: Maybe Text
     
  • nFSFileShareDefaults :: Maybe NFSFileShareDefaults
     
  • notificationPolicy :: Maybe Text

    The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

    SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

    The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

    {\"Upload\": {\"SettlingTimeInSeconds\": 60}}

    The following example sets NotificationPolicy off.

    {}
  • objectACL :: Maybe ObjectACL
     
  • path :: Maybe Text
     
  • readOnly :: Maybe Bool

    A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

    Valid Values: true | false

  • requesterPays :: Maybe Bool

    A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

    RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

    Valid Values: true | false

  • role' :: Maybe Text
     
  • squash :: Maybe Text
     
  • tags :: Maybe [Tag]

    A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

  • vPCEndpointDNSName :: Maybe Text

    Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.

    This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

Instances

Instances details
FromJSON NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

Generic NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

Associated Types

type Rep NFSFileShareInfo :: Type -> Type #

Read NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

Show NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

NFData NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

Methods

rnf :: NFSFileShareInfo -> () #

Eq NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

Hashable NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

type Rep NFSFileShareInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareInfo

type Rep NFSFileShareInfo = D1 ('MetaData "NFSFileShareInfo" "Amazonka.StorageGateway.Types.NFSFileShareInfo" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "NFSFileShareInfo'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "auditDestinationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bucketRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cacheAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheAttributes)))) :*: (S1 ('MetaSel ('Just "clientList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "defaultStorageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fileShareARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "fileShareId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fileShareName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fileShareStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "guessMIMETypeEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "kmsEncrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "locationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nFSFileShareDefaults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NFSFileShareDefaults)))) :*: (S1 ('MetaSel ('Just "notificationPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "objectACL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectACL)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "readOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "requesterPays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "squash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "vPCEndpointDNSName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newNFSFileShareInfo :: NFSFileShareInfo Source #

Create a value of NFSFileShareInfo 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:auditDestinationARN:NFSFileShareInfo', nFSFileShareInfo_auditDestinationARN - The Amazon Resource Name (ARN) of the storage used for audit logs.

$sel:bucketRegion:NFSFileShareInfo', nFSFileShareInfo_bucketRegion - Specifies the Region of the S3 bucket where the NFS file share stores files.

This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

$sel:cacheAttributes:NFSFileShareInfo', nFSFileShareInfo_cacheAttributes - Refresh cache information for the file share.

$sel:clientList:NFSFileShareInfo', nFSFileShareInfo_clientList - Undocumented member.

$sel:defaultStorageClass:NFSFileShareInfo', nFSFileShareInfo_defaultStorageClass - The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

$sel:fileShareARN:NFSFileShareInfo', nFSFileShareInfo_fileShareARN - Undocumented member.

$sel:fileShareId:NFSFileShareInfo', nFSFileShareInfo_fileShareId - Undocumented member.

$sel:fileShareName:NFSFileShareInfo', nFSFileShareInfo_fileShareName - The name of the file share. Optional.

FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

$sel:fileShareStatus:NFSFileShareInfo', nFSFileShareInfo_fileShareStatus - Undocumented member.

$sel:gatewayARN:NFSFileShareInfo', nFSFileShareInfo_gatewayARN - Undocumented member.

$sel:guessMIMETypeEnabled:NFSFileShareInfo', nFSFileShareInfo_guessMIMETypeEnabled - A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

Valid Values: true | false

$sel:kmsEncrypted:NFSFileShareInfo', nFSFileShareInfo_kmsEncrypted - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.

Valid Values: true | false

$sel:kmsKey:NFSFileShareInfo', nFSFileShareInfo_kmsKey - Undocumented member.

$sel:locationARN:NFSFileShareInfo', nFSFileShareInfo_locationARN - Undocumented member.

$sel:nFSFileShareDefaults:NFSFileShareInfo', nFSFileShareInfo_nFSFileShareDefaults - Undocumented member.

$sel:notificationPolicy:NFSFileShareInfo', nFSFileShareInfo_notificationPolicy - The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

{\"Upload\": {\"SettlingTimeInSeconds\": 60}}

The following example sets NotificationPolicy off.

{}

$sel:objectACL:NFSFileShareInfo', nFSFileShareInfo_objectACL - Undocumented member.

$sel:path:NFSFileShareInfo', nFSFileShareInfo_path - Undocumented member.

$sel:readOnly:NFSFileShareInfo', nFSFileShareInfo_readOnly - A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

Valid Values: true | false

$sel:requesterPays:NFSFileShareInfo', nFSFileShareInfo_requesterPays - A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

Valid Values: true | false

$sel:role':NFSFileShareInfo', nFSFileShareInfo_role - Undocumented member.

$sel:squash:NFSFileShareInfo', nFSFileShareInfo_squash - Undocumented member.

$sel:tags:NFSFileShareInfo', nFSFileShareInfo_tags - A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

$sel:vPCEndpointDNSName:NFSFileShareInfo', nFSFileShareInfo_vPCEndpointDNSName - Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.

This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

nFSFileShareInfo_auditDestinationARN :: Lens' NFSFileShareInfo (Maybe Text) Source #

The Amazon Resource Name (ARN) of the storage used for audit logs.

nFSFileShareInfo_bucketRegion :: Lens' NFSFileShareInfo (Maybe Text) Source #

Specifies the Region of the S3 bucket where the NFS file share stores files.

This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

nFSFileShareInfo_cacheAttributes :: Lens' NFSFileShareInfo (Maybe CacheAttributes) Source #

Refresh cache information for the file share.

nFSFileShareInfo_defaultStorageClass :: Lens' NFSFileShareInfo (Maybe Text) Source #

The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

nFSFileShareInfo_fileShareName :: Lens' NFSFileShareInfo (Maybe Text) Source #

The name of the file share. Optional.

FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

nFSFileShareInfo_guessMIMETypeEnabled :: Lens' NFSFileShareInfo (Maybe Bool) Source #

A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

Valid Values: true | false

nFSFileShareInfo_kmsEncrypted :: Lens' NFSFileShareInfo (Maybe Bool) Source #

Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.

Valid Values: true | false

nFSFileShareInfo_notificationPolicy :: Lens' NFSFileShareInfo (Maybe Text) Source #

The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

{\"Upload\": {\"SettlingTimeInSeconds\": 60}}

The following example sets NotificationPolicy off.

{}

nFSFileShareInfo_readOnly :: Lens' NFSFileShareInfo (Maybe Bool) Source #

A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

Valid Values: true | false

nFSFileShareInfo_requesterPays :: Lens' NFSFileShareInfo (Maybe Bool) Source #

A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

Valid Values: true | false

nFSFileShareInfo_tags :: Lens' NFSFileShareInfo (Maybe [Tag]) Source #

A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

nFSFileShareInfo_vPCEndpointDNSName :: Lens' NFSFileShareInfo (Maybe Text) Source #

Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.

This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.