deleteInfrastructureConfiguration method

Future<DeleteInfrastructureConfigurationResponse> deleteInfrastructureConfiguration({
  1. required String infrastructureConfigurationArn,
})

Deletes an infrastructure configuration.

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

Parameter infrastructureConfigurationArn : The Amazon Resource Name (ARN) of the infrastructure configuration to delete.

Implementation

Future<DeleteInfrastructureConfigurationResponse>
    deleteInfrastructureConfiguration({
  required String infrastructureConfigurationArn,
}) async {
  final $query = <String, List<String>>{
    'infrastructureConfigurationArn': [infrastructureConfigurationArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/DeleteInfrastructureConfiguration',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return DeleteInfrastructureConfigurationResponse.fromJson(response);
}