[][src]Struct rusoto_storagegateway::UpdateNFSFileShareInput

pub struct UpdateNFSFileShareInput {
    pub cache_attributes: Option<CacheAttributes>,
    pub client_list: Option<Vec<String>>,
    pub default_storage_class: Option<String>,
    pub file_share_arn: String,
    pub file_share_name: Option<String>,
    pub guess_mime_type_enabled: Option<bool>,
    pub kms_encrypted: Option<bool>,
    pub kms_key: Option<String>,
    pub nfs_file_share_defaults: Option<NFSFileShareDefaults>,
    pub notification_policy: Option<String>,
    pub object_acl: Option<String>,
    pub read_only: Option<bool>,
    pub requester_pays: Option<bool>,
    pub squash: Option<String>,
}

UpdateNFSFileShareInput

Fields

cache_attributes: Option<CacheAttributes>

Refresh cache information.

client_list: Option<Vec<String>>

The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.

default_storage_class: Option<String>

The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

file_share_arn: String

The Amazon Resource Name (ARN) of the file share to be updated.

file_share_name: Option<String>

The name of the file share. Optional.

FileShareName must be set if an S3 prefix name is set in LocationARN.

guess_mime_type_enabled: Option<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

kms_encrypted: Option<bool>

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

Valid Values: true | false

kms_key: Option<String>

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted is true. Optional.

nfs_file_share_defaults: Option<NFSFileShareDefaults>

The default values for the file share. Optional.

notification_policy: Option<String>

The notification policy of the file share.

object_acl: Option<String>

A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts objects into. The default value is private.

read_only: Option<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

requester_pays: Option<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

squash: Option<String>

The user mapped to anonymous user.

Valid values are the following:

  • RootSquash: Only root is mapped to anonymous user.

  • NoSquash: No one is mapped to anonymous user.

  • AllSquash: Everyone is mapped to anonymous user.

Trait Implementations

impl Clone for UpdateNFSFileShareInput[src]

impl Debug for UpdateNFSFileShareInput[src]

impl Default for UpdateNFSFileShareInput[src]

impl PartialEq<UpdateNFSFileShareInput> for UpdateNFSFileShareInput[src]

impl Serialize for UpdateNFSFileShareInput[src]

impl StructuralPartialEq for UpdateNFSFileShareInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.