disassociate_flow
async
¶
disassociate_flow(
instance_id: InstanceId,
resource_id: ARN,
resource_type: FlowAssociationResourceType,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> DisassociateFlowResponse
Disassociates a connect resource from a flow.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
resource_id(ARN) –The identifier of the resource.
-
Amazon Web Services End User Messaging SMS phone number ARN when using
SMS_PHONE_NUMBER -
Amazon Web Services End User Messaging Social phone number ARN when using
WHATSAPP_MESSAGING_PHONE_NUMBER
-
-
resource_type(FlowAssociationResourceType) –A valid resource type.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 | |