getSynchronizationConfiguration method

Future<GetSynchronizationConfigurationResponse> getSynchronizationConfiguration({
  1. required String fileSystemId,
})

Returns the synchronization configuration for the specified S3 File System, including import data rules and expiration data rules.

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 the synchronization configuration for.

Implementation

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