deleteConnectorProfile method
Enables you to delete an existing connector profile.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
Parameter connectorProfileName :
The name of the connector profile. The name is unique for each
ConnectorProfile in your account.
Parameter forceDelete :
Indicates whether Amazon AppFlow should delete the profile, even if it is
currently in use in one or more flows.
Implementation
Future<void> deleteConnectorProfile({
required String connectorProfileName,
bool? forceDelete,
}) async {
final $payload = <String, dynamic>{
'connectorProfileName': connectorProfileName,
if (forceDelete != null) 'forceDelete': forceDelete,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/delete-connector-profile',
exceptionFnMap: _exceptionFns,
);
}