deleteInfrastructureConfiguration method

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

Deletes an infrastructure configuration.

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

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

Implementation

Future<DeleteInfrastructureConfigurationResponse>
    deleteInfrastructureConfiguration({
  required String infrastructureConfigurationArn,
}) async {
  ArgumentError.checkNotNull(
      infrastructureConfigurationArn, 'infrastructureConfigurationArn');
  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);
}