Gets a description for one or more Server Message Block (SMB) file shares from a file gateway. This operation is only supported in the file gateway type.
An array containing a description for each requested file share.
(dict) --
The Windows file permissions and ownership information assigned, by default, to native S3 objects when file gateway discovers them in S3 buckets. This operation is only supported in file gateways.
FileShareARN(string) --
The Amazon Resource Name (ARN) of the file share.
FileShareId(string) --
The ID of the file share.
FileShareStatus(string) --
The status of the file share. Possible values are CREATING, UPDATING, AVAILABLE and DELETING.
GatewayARN(string) --
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
KMSEncrypted(boolean) --
True to use Amazon S3 server side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
KMSKey(string) --
The Amazon Resource Name (ARN) of the KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
Path(string) --
The file share path used by the SMB client to identify the mount point.
Role(string) --
The ARN of the IAM role that file gateway assumes when it accesses the underlying storage.
LocationARN(string) --
The ARN of the backend storage used for storing file data.
DefaultStorageClass(string) --
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD, S3_STANDARD_IA or S3_ONEZONE_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
ObjectACL(string) --
Sets the access control list permission for objects in the S3 bucket that a file gateway puts objects into. The default value is "private".
ReadOnly(boolean) --
Sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
GuessMIMETypeEnabled(boolean) --
Enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, and otherwise to false. The default value is true.
RequesterPays(boolean) --
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to false.
ValidUserList(list) --
A list of users in the Active Directory that are allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
(string) --
InvalidUserList(list) --
A list of users in the Active Directory that are not allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
(string) --
Authentication(string) --
The authentication method of the file share. Valid values: "ActiveDirectory" or "GuestAccess". The default is "ActiveDirectory".
Creates a Server Message Block (SMB) file share on an existing file gateway. In Storage Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. Storage Gateway expose file shares using a SMB interface. This operation is only supported in the file gateway type.
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
type GatewayARN:
string
param GatewayARN:
[REQUIRED]
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
type KMSEncrypted:
boolean
param KMSEncrypted:
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.
type KMSKey:
string
param KMSKey:
The Amazon Resource Name (ARN) KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
type Role:
string
param Role:
[REQUIRED]
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
type LocationARN:
string
param LocationARN:
[REQUIRED]
The ARN of the backed storage used for storing file data.
type DefaultStorageClass:
string
param DefaultStorageClass:
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD, S3_STANDARD_IA or S3_ONEZONE_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
type ObjectACL:
string
param ObjectACL:
Sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts objects into. The default value is "private".
type ReadOnly:
boolean
param ReadOnly:
Sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
type GuessMIMETypeEnabled:
boolean
param GuessMIMETypeEnabled:
Enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, and otherwise to false. The default value is true.
type RequesterPays:
boolean
param RequesterPays:
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to false.
type ValidUserList:
list
param ValidUserList:
A list of users in the Active Directory that are allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
(string) --
type InvalidUserList:
list
param InvalidUserList:
A list of users in the Active Directory that are not allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
(string) --
type Authentication:
string
param Authentication:
The authentication method that users use to access the file share.
Valid values: "ActiveDirectory" or "GuestAccess". The default is "ActiveDirectory".
rtype:
dict
returns:
Response Syntax
{
'FileShareARN': 'string'
}
Response Structure
(dict) --
CreateSMBFileShareOutput
FileShareARN(string) --
The Amazon Resource Name (ARN) of the newly created file share.
The Amazon Resource Name (ARN) of the SMB file share you want to update.
type KMSEncrypted:
boolean
param KMSEncrypted:
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.
type KMSKey:
string
param KMSKey:
The Amazon Resource Name (ARN) KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
type DefaultStorageClass:
string
param DefaultStorageClass:
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD, S3_STANDARD_IA or S3_ONEZONE_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
type ObjectACL:
string
param ObjectACL:
Sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts objects into. The default value is "private".
type ReadOnly:
boolean
param ReadOnly:
Sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
type GuessMIMETypeEnabled:
boolean
param GuessMIMETypeEnabled:
Enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, and otherwise to false. The default value is true.
type RequesterPays:
boolean
param RequesterPays:
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to false.
type ValidUserList:
list
param ValidUserList:
A list of users in the Active Directory that are allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
(string) --
type InvalidUserList:
list
param InvalidUserList:
A list of users in the Active Directory that are not allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
(string) --
rtype:
dict
returns:
Response Syntax
{
'FileShareARN': 'string'
}
Response Structure
(dict) --
UpdateSMBFileShareOutput
FileShareARN(string) --
The Amazon Resource Name (ARN) of the updated SMB file share.
Gets a list of the file shares for a specific file gateway, or the list of file shares that belong to the calling user account. This operation is only supported in the file gateway type.
The Amazon resource Name (ARN) of the gateway whose file shares you want to list. If this field is not present, all file shares under your account are listed.
type Limit:
integer
param Limit:
The maximum number of file shares to return in the response. The value must be an integer with a value greater than zero. Optional.
type Marker:
string
param Marker:
Opaque pagination token returned from a previous ListFileShares operation. If present, Marker specifies where to continue the list from after a previous call to ListFileShares. Optional.
If the request includes Marker, the response returns that value in this field.
NextMarker(string) --
If a value is present, there are more file shares to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file shares.
FileShareInfoList(list) --
An array of information about the file gateway's file shares.
(dict) --
Describes a file share.
FileShareType(string) --
The type of the file share.
FileShareARN(string) --
The Amazon Resource Name (ARN) of the file share.
FileShareId(string) --
The ID of the file share.
FileShareStatus(string) --
The status of the file share. Possible values are CREATING, UPDATING, AVAILABLE and DELETING.
GatewayARN(string) --
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.