associate_security_profiles
¶
associate_security_profiles(
instance_id: InstanceId,
security_profiles: SecurityProfiles,
entity_type: EntityType,
entity_arn: EntityArn,
*,
config_overrides: Optional[ConnectClientConfig] = None,
) -> None
Associate security profiles with an 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.