disassociate_security_profiles
async
¶
disassociate_security_profiles(
instance_id: InstanceId,
security_profiles: SecurityProfiles,
entity_type: EntityType,
entity_arn: EntityArn,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> None
Disassociates a security profile attached to a Q in Connect AI Agent Entity in an Amazon Connect instance.
Parameters:
-
instance_id(InstanceId) –The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
security_profiles(SecurityProfiles) –List of Security Profile Object.
-
entity_type(EntityType) –Only supported type is AI_AGENT.
-
entity_arn(EntityArn) –ARN of a Q in Connect AI Agent.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConditionalOperationFailedException–Request processing failed because dependent condition failed.
-
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.
-
ResourceConflictException–A resource already has that name.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 | |