getTargetAccountConfiguration method

Future<GetTargetAccountConfigurationResponse> getTargetAccountConfiguration({
  1. required String accountId,
  2. required String experimentTemplateId,
})

Gets information about the specified target account configuration of the experiment template.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter accountId : The Amazon Web Services account ID of the target account.

Parameter experimentTemplateId : The ID of the experiment template.

Implementation

Future<GetTargetAccountConfigurationResponse> getTargetAccountConfiguration({
  required String accountId,
  required String experimentTemplateId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/experimentTemplates/${Uri.encodeComponent(experimentTemplateId)}/targetAccountConfigurations/${Uri.encodeComponent(accountId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetTargetAccountConfigurationResponse.fromJson(response);
}