getExperimentTargetAccountConfiguration method

Future<GetExperimentTargetAccountConfigurationResponse> getExperimentTargetAccountConfiguration({
  1. required String accountId,
  2. required String experimentId,
})

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

May throw ResourceNotFoundException. May throw ValidationException.

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

Parameter experimentId : The ID of the experiment.

Implementation

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