getAdConfiguration method

Future<GetAdConfigurationResponse> getAdConfiguration({
  1. required String arn,
})

Gets the ad configuration represented by the specified ARN.

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

Parameter arn : ARN of the ad configuration to be retrieved.

Implementation

Future<GetAdConfigurationResponse> getAdConfiguration({
  required String arn,
}) async {
  final $payload = <String, dynamic>{
    'arn': arn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/GetAdConfiguration',
    exceptionFnMap: _exceptionFns,
  );
  return GetAdConfigurationResponse.fromJson(response);
}