get_flow_association
async
¶
get_flow_association(
instance_id: InstanceId,
resource_id: ARN,
resource_type: FlowAssociationResourceType,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> GetFlowAssociationResponse
Retrieves the flow associated for a given resource.
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
12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 | |