deleteIntegrationAssociation method
This API is in preview release for Amazon Connect and is subject to change.
Deletes an AppIntegration association from an Amazon Connect instance. The association must not have any use cases associated with it.
May throw ResourceNotFoundException. May throw InternalServiceException. May throw InvalidRequestException. May throw ThrottlingException.
Parameter instanceId
:
The identifier of the Amazon Connect instance.
Parameter integrationAssociationId
:
The identifier for the AppIntegration association.
Implementation
Future<void> deleteIntegrationAssociation({
required String instanceId,
required String integrationAssociationId,
}) async {
ArgumentError.checkNotNull(instanceId, 'instanceId');
_s.validateStringLength(
'instanceId',
instanceId,
1,
100,
isRequired: true,
);
ArgumentError.checkNotNull(
integrationAssociationId, 'integrationAssociationId');
_s.validateStringLength(
'integrationAssociationId',
integrationAssociationId,
1,
200,
isRequired: true,
);
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/instance/${Uri.encodeComponent(instanceId)}/integration-associations/${Uri.encodeComponent(integrationAssociationId)}',
exceptionFnMap: _exceptionFns,
);
}