Class: Aws::BedrockAgentCore::Types::CreateEventInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actor_idString

The identifier of the actor associated with this event. An actor represents an entity that participates in sessions and generates events.

Returns:

  • (String)


980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#branchTypes::Branch

The branch information for this event. Branches allow for organizing events into different conversation threads or paths.

Returns:



980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, AgentCore ignores the request, but does not return an error.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#event_timestampTime

The timestamp when the event occurred. If not specified, the current time is used.

Returns:

  • (Time)


980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#memory_idString

The identifier of the AgentCore Memory resource in which to create the event.

Returns:

  • (String)


980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#metadataHash<String,Types::MetadataValue>

The key-value metadata to attach to the event.

Returns:



980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#payloadArray<Types::PayloadType>

The content payload of the event. This can include conversational data or binary content.

Returns:



980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#session_idString

The identifier of the session in which this event occurs. A session represents a sequence of related events.

Returns:

  • (String)


980
981
982
983
984
985
986
987
988
989
990
991
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 980

class CreateEventInput < Struct.new(
  :memory_id,
  :actor_id,
  :session_id,
  :event_timestamp,
  :payload,
  :branch,
  :client_token,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end