Class: Aws::Context::Types::StartTaskRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#access_control_config ⇒ Types::AccessControlConfig

Who can see the content that the task adds to the agent context. AWS Context supports only one entry: ALLOW with principalId *, so that every reader of the agent context can see it. If you omit it or send no entries, AWS Context uses that entry. If you name any other principal, include a DENY entry, or send more than one entry, the request fails with ValidationException, and no task is started.



6786
6787
6788
6789
6790
6791
6792
6793
6794
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6786

class StartTaskRequest < Struct.new(
  :agent_context_id,
  :client_token,
  :description,
  :input_configuration,
  :access_control_config)
  SENSITIVE = [:description]
  include Aws::Structure
end

#agent_context_id ⇒ String

The agent context, as an ID or ARN.

Returns:

  • (String)


6786
6787
6788
6789
6790
6791
6792
6793
6794
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6786

class StartTaskRequest < Struct.new(
  :agent_context_id,
  :client_token,
  :description,
  :input_configuration,
  :access_control_config)
  SENSITIVE = [:description]
  include Aws::Structure
end

#client_token ⇒ String

A unique, case-sensitive identifier that you provide to ensure that the request completes no more than one time. The token is scoped to your account and the agent context. If you reuse a token on the same agent context with different parameters, the request fails with ValidationException.

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

Returns:

  • (String)


6786
6787
6788
6789
6790
6791
6792
6793
6794
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6786

class StartTaskRequest < Struct.new(
  :agent_context_id,
  :client_token,
  :description,
  :input_configuration,
  :access_control_config)
  SENSITIVE = [:description]
  include Aws::Structure
end

#description ⇒ String

A description of the task. Up to 1,024 characters, with no control characters.

Returns:

  • (String)


6786
6787
6788
6789
6790
6791
6792
6793
6794
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6786

class StartTaskRequest < Struct.new(
  :agent_context_id,
  :client_token,
  :description,
  :input_configuration,
  :access_control_config)
  SENSITIVE = [:description]
  include Aws::Structure
end

#input_configuration ⇒ Types::TaskInputConfiguration

What the task imports. Set exactly one member. The member that you set determines the task's type.



6786
6787
6788
6789
6790
6791
6792
6793
6794
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6786

class StartTaskRequest < Struct.new(
  :agent_context_id,
  :client_token,
  :description,
  :input_configuration,
  :access_control_config)
  SENSITIVE = [:description]
  include Aws::Structure
end