Skip to content

List File Shares

storagegateway_list_file_shares R Documentation

Gets a list of the file shares for a specific S3 File Gateway, or the list of file shares that belong to the calling Amazon Web Services account

Description

Gets a list of the file shares for a specific S3 File Gateway, or the list of file shares that belong to the calling Amazon Web Services account. This operation is only supported for S3 File Gateways.

Usage

storagegateway_list_file_shares(GatewayARN, Limit, Marker)

Arguments

GatewayARN

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.

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.

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.

Value

A list with the following syntax:

list(
  Marker = "string",
  NextMarker = "string",
  FileShareInfoList = list(
    list(
      FileShareType = "NFS"|"SMB",
      FileShareARN = "string",
      FileShareId = "string",
      FileShareStatus = "string",
      GatewayARN = "string"
    )
  )
)

Request syntax

svc$list_file_shares(
  GatewayARN = "string",
  Limit = 123,
  Marker = "string"
)