getInfrastructureConfiguration method

Future<GetInfrastructureConfigurationResponse> getInfrastructureConfiguration({
  1. required String infrastructureConfigurationArn,
})

Gets an infrastructure configuration.

May throw ServiceException. May throw ClientException. May throw ServiceUnavailableException. May throw InvalidRequestException. May throw ForbiddenException. May throw CallRateLimitExceededException.

Parameter infrastructureConfigurationArn : The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve.

Implementation

Future<GetInfrastructureConfigurationResponse>
    getInfrastructureConfiguration({
  required String infrastructureConfigurationArn,
}) async {
  ArgumentError.checkNotNull(
      infrastructureConfigurationArn, 'infrastructureConfigurationArn');
  final $query = <String, List<String>>{
    'infrastructureConfigurationArn': [infrastructureConfigurationArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/GetInfrastructureConfiguration',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return GetInfrastructureConfigurationResponse.fromJson(response);
}