getAccountDataRetention method

Future<GetAccountDataRetentionResponse> getAccountDataRetention()

Returns the account-wide data retention mode for Amazon Bedrock.

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

Implementation

Future<GetAccountDataRetentionResponse> getAccountDataRetention() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/data-retention',
    exceptionFnMap: _exceptionFns,
  );
  return GetAccountDataRetentionResponse.fromJson(response);
}