getDataProtectionSettings method

Future<GetDataProtectionSettingsResponse> getDataProtectionSettings({
  1. required String dataProtectionSettingsArn,
})

Gets the data protection settings.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter dataProtectionSettingsArn : The ARN of the data protection settings.

Implementation

Future<GetDataProtectionSettingsResponse> getDataProtectionSettings({
  required String dataProtectionSettingsArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/dataProtectionSettings/${dataProtectionSettingsArn.split('/').map(Uri.encodeComponent).join('/')}',
    exceptionFnMap: _exceptionFns,
  );
  return GetDataProtectionSettingsResponse.fromJson(response);
}