deleteIntegration method
Removes an integration from a specific domain.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Parameter uri :
The URI of the S3 bucket or any other type of data source.
Implementation
Future<DeleteIntegrationResponse> deleteIntegration({
required String domainName,
required String uri,
}) async {
final $payload = <String, dynamic>{
'Uri': uri,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/integrations/delete',
exceptionFnMap: _exceptionFns,
);
return DeleteIntegrationResponse.fromJson(response);
}