Struct aws_sdk_storagegateway::input::RefreshCacheInput [−][src]
#[non_exhaustive]pub struct RefreshCacheInput {
pub file_share_arn: Option<String>,
pub folder_list: Option<Vec<String>>,
pub recursive: Option<bool>,
}
Expand description
RefreshCacheInput
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.The Amazon Resource Name (ARN) of the file share you want to refresh.
folder_list: Option<Vec<String>>
A comma-separated list of the paths of folders to refresh in the cache. The default is
["/"
]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive
is set to true
, the entire S3
bucket that the file share has access to is refreshed.
recursive: Option<bool>
A value that specifies whether to recursively refresh folders in the cache. The refresh
includes folders that were in the cache the last time the gateway listed the folder's
contents. If this value set to true
, each folder that is listed in
FolderList
is recursively updated. Otherwise, subfolders listed in
FolderList
are not refreshed. Only objects that are in folders listed
directly under FolderList
are found and used for the update. The default is
true
.
Valid Values: true
| false
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RefreshCache, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RefreshCache, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RefreshCache
>
Creates a new builder-style object to manufacture RefreshCacheInput
The Amazon Resource Name (ARN) of the file share you want to refresh.
A comma-separated list of the paths of folders to refresh in the cache. The default is
["/"
]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive
is set to true
, the entire S3
bucket that the file share has access to is refreshed.
A value that specifies whether to recursively refresh folders in the cache. The refresh
includes folders that were in the cache the last time the gateway listed the folder's
contents. If this value set to true
, each folder that is listed in
FolderList
is recursively updated. Otherwise, subfolders listed in
FolderList
are not refreshed. Only objects that are in folders listed
directly under FolderList
are found and used for the update. The default is
true
.
Valid Values: true
| false
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RefreshCacheInput
impl Send for RefreshCacheInput
impl Sync for RefreshCacheInput
impl Unpin for RefreshCacheInput
impl UnwindSafe for RefreshCacheInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more