Class: Aws::BedrockAgent::Types::Agent

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Contains details about an agent.

Constant Summary collapse

SENSITIVE =
[:instruction, :prompt_override_configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_arnString

The Amazon Resource Name (ARN) of the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_idString

The unique identifier of the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_nameString

The name of the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_resource_role_arnString

The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_statusString

The status of the agent and whether it is ready for use. The following statuses are possible:

  • CREATING – The agent is being created.

  • PREPARING – The agent is being prepared.

  • PREPARED – The agent is prepared and ready to be invoked.

  • NOT_PREPARED – The agent has been created but not yet prepared.

  • FAILED – The agent API operation failed.

  • UPDATING – The agent is being updated.

  • DELETING – The agent is being deleted.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_versionString

The version of the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#created_atTime

The time at which the agent was created.

Returns:

  • (Time)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#customer_encryption_key_arnString

The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#descriptionString

The description of the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#failure_reasonsArray<String>

Contains reasons that the agent-related API that you invoked failed.

Returns:

  • (Array<String>)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#foundation_modelString

The foundation model used for orchestration by the agent.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#guardrail_configurationTypes::GuardrailConfiguration

The guardrails configuration assigned to the agent.



264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#idle_session_ttl_in_secondsInteger

The number of seconds for which Amazon Bedrock keeps information about a user’s conversation with the agent.

A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.

Returns:

  • (Integer)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#instructionString

Instructions that tell the agent what it should do and how it should interact with users.

Returns:

  • (String)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#prepared_atTime

The time at which the agent was last prepared.

Returns:

  • (Time)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#prompt_override_configurationTypes::PromptOverrideConfiguration

Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html



264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

Contains recommended actions to take for the agent-related API that you invoked to succeed.

Returns:

  • (Array<String>)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#updated_atTime

The time at which the agent was last updated.

Returns:

  • (Time)


264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-bedrockagent/types.rb', line 264

class Agent < Struct.new(
  :agent_arn,
  :agent_id,
  :agent_name,
  :agent_resource_role_arn,
  :agent_status,
  :agent_version,
  :client_token,
  :created_at,
  :customer_encryption_key_arn,
  :description,
  :failure_reasons,
  :foundation_model,
  :guardrail_configuration,
  :idle_session_ttl_in_seconds,
  :instruction,
  :prepared_at,
  :prompt_override_configuration,
  :recommended_actions,
  :updated_at)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end