getFileSystem method

Future<GetFileSystemResponse> getFileSystem({
  1. required String fileSystemId,
})

Returns resource information for the specified S3 File System including status, configuration, and metadata.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter fileSystemId : The ID or Amazon Resource Name (ARN) of the S3 File System to retrieve information for.

Implementation

Future<GetFileSystemResponse> getFileSystem({
  required String fileSystemId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/file-systems/${Uri.encodeComponent(fileSystemId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetFileSystemResponse.fromJson(response);
}