Class: Aws::Context::Types::CreateAgentContextRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

Client idempotency token. The AWS SDKs generate one when it is absent. An identical request with the same token returns the existing agent context. The same token with a different request returns ValidationException. trustedIdentitySources with the same entries in another order is the same request.

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

Returns:

  • (String)


1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#connection_mappings ⇒ Array<Types::ConnectionMapping>

The connection mappings for this agent context, up to 20. CreateAgentContext requires at least one: an empty list returns ValidationException. Each entry binds a connection to one or more ontologies, optionally scoped by a data filter, extraction depth, and path segments. Each referenced connection must exist, be owned by your account, and be ACTIVE. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.

Returns:



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#curation_policy_ids ⇒ Array<String>

Curation policies to associate with the new agent context, as IDs or ARNs, instead of the default curation policies. If you omit it or the list is empty, AWS Context associates the default curation policies. Each policy must be ACTIVE and owned by your account, and you need context:AssociateCurationPolicy permission on each. AWS Context checks both again on a clientToken retry. If a policy doesn't exist, the request fails with ResourceNotFoundException. If one has been deleted, it fails with ConflictException. Change the policies later with AssociateCurationPolicy and DisassociateCurationPolicy.

Returns:

  • (Array<String>)


1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

Optional human-readable description of the agent context. An empty string is the same as none.

Returns:

  • (String)


1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#entity_resolution_config ⇒ Types::EntityResolutionConfig

Optional entity resolution settings. When the config or its status is absent, status reads ENABLED. You can change it with UpdateAgentContext.



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

Optional. The name of the agent context. If you omit it, the name is default. You can change it later with UpdateAgentContext.

Returns:

  • (String)


1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

Tags to add to the agent context when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new agent context. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.

Returns:

  • (Hash<String,String>)


1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#trace_analysis_config ⇒ Types::TraceAnalysisConfig

The agent context's trace analysis settings. Optional. You can change it with UpdateAgentContext.



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#trusted_identity_sources ⇒ Array<Types::TrustedIdentitySource>

Optional identity sources to trust in addition to your account. At most 100 unique entries, each with exactly one member. Order is not significant. An empty list and an absent member are the same value: only your account is trusted. You can change it with UpdateAgentContext.

Returns:



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end

#workforce_sign_in_config ⇒ Types::WorkforceSignInConfig

Optional workforce sign-in settings. A config with signInUrl turns sign-in on (status defaults to ENABLED). status ENABLED without signInUrl is a ValidationException. You can change it with UpdateAgentContext.



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1550

class CreateAgentContextRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :connection_mappings,
  :trace_analysis_config,
  :workforce_sign_in_config,
  :entity_resolution_config,
  :trusted_identity_sources,
  :tags,
  :curation_policy_ids)
  SENSITIVE = []
  include Aws::Structure
end