deleteIntegration method
Represents a delete integration.
May throw BadRequestException.
May throw ConflictException.
May throw NotFoundException.
May throw TooManyRequestsException.
May throw UnauthorizedException.
Parameter httpMethod :
Specifies a delete integration request's HTTP method.
Parameter resourceId :
Specifies a delete integration request's resource identifier.
Parameter restApiId :
The string identifier of the associated RestApi.
Implementation
Future<void> deleteIntegration({
required String httpMethod,
required String resourceId,
required String restApiId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/restapis/${Uri.encodeComponent(restApiId)}/resources/${Uri.encodeComponent(resourceId)}/methods/${Uri.encodeComponent(httpMethod)}/integration',
exceptionFnMap: _exceptionFns,
);
}