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

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

Overview

Contains the information of an agent

Constant Summary collapse

SENSITIVE =
[:instruction, :prompt_override_configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_arnString

Arn representation of the Agent.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#agent_idString

Identifier for a resource.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#agent_nameString

Name for a resource.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#agent_resource_role_arnString

ARN of a IAM role.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#agent_statusString

Schema Type for Action APIs.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#agent_versionString

Draft Agent Version.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#client_tokenString

Client specified token used for idempotency checks

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#created_atTime

Time Stamp.

Returns:

  • (Time)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#customer_encryption_key_arnString

A KMS key ARN

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#descriptionString

Description of the Resource.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#failure_reasonsArray<String>

Failure Reasons for Error.

Returns:

  • (Array<String>)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#foundation_modelString

ARN or name of a Bedrock model.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#idle_session_ttl_in_secondsInteger

Max Session Time.

Returns:

  • (Integer)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#instructionString

Instruction for the agent.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#prepared_atTime

Time Stamp.

Returns:

  • (Time)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#prompt_override_configurationTypes::PromptOverrideConfiguration

Configuration for prompt override.



191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

The recommended actions users can take to resolve an error in failureReasons.

Returns:

  • (Array<String>)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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

#updated_atTime

Time Stamp.

Returns:

  • (Time)


191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrockagent/types.rb', line 191

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