deleteFileSystemPolicy method
Deletes the IAM resource policy of an S3 File System.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter fileSystemId :
The ID or Amazon Resource Name (ARN) of the S3 File System whose resource
policy to delete.
Implementation
Future<void> deleteFileSystemPolicy({
required String fileSystemId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/file-systems/${Uri.encodeComponent(fileSystemId)}/policy',
exceptionFnMap: _exceptionFns,
);
}