Class: Aws::QConnect::Types::AIGuardrailData

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb

Overview

The data for the AI Guardrail

Constant Summary collapse

SENSITIVE =
[:blocked_input_messaging, :blocked_outputs_messaging, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#ai_guardrail_arnString

The Amazon Resource Name (ARN) of the AI Guardrail.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#ai_guardrail_idString

The identifier of the Amazon Q in Connect AI Guardrail.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#assistant_arnString

The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#assistant_idString

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#blocked_input_messagingString

The message to return when the AI Guardrail blocks a prompt.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#blocked_outputs_messagingString

The message to return when the AI Guardrail blocks a model response.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#content_policy_configTypes::AIGuardrailContentPolicyConfig

Contains details about how to handle harmful content.



349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#contextual_grounding_policy_configTypes::AIGuardrailContextualGroundingPolicyConfig

The policy configuration details for the AI Guardrail's contextual grounding policy.



349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#descriptionString

A description of the AI Guardrail.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#modified_timeTime

The time the AI Guardrail was last modified.

Returns:

  • (Time)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#nameString

The name of the AI Guardrail.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#sensitive_information_policy_configTypes::AIGuardrailSensitiveInformationPolicyConfig

Contains details about PII entities and regular expressions to configure for the AI Guardrail.



349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#statusString

The status of the AI Guardrail.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#tagsHash<String,String>

The tags used to organize, track, or control access for this resource.

Returns:

  • (Hash<String,String>)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#topic_policy_configTypes::AIGuardrailTopicPolicyConfig

Contains details about topics that the AI Guardrail should identify and deny.



349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#visibility_statusString

The visibility status of the AI Guardrail.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end

#word_policy_configTypes::AIGuardrailWordPolicyConfig

Contains details about the word policy to configured for the AI Guardrail.



349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 349

class AIGuardrailData < Struct.new(
  :ai_guardrail_arn,
  :ai_guardrail_id,
  :assistant_arn,
  :assistant_id,
  :blocked_input_messaging,
  :blocked_outputs_messaging,
  :content_policy_config,
  :contextual_grounding_policy_config,
  :description,
  :modified_time,
  :name,
  :sensitive_information_policy_config,
  :status,
  :tags,
  :topic_policy_config,
  :visibility_status,
  :word_policy_config)
  SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description]
  include Aws::Structure
end