Class: Aws::Context::Types::GetChangeSetResponse

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

Overview

The metadata of a change set, which is a proposed set of operations on an agent context. To read its operations, call ListChangeSetOperations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_control ⇒ String

See AccessControl. The service returns it on every item.

Valid values:

  • ACL_RESTRICTED - Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal's title names no nodes or edges.

  • NO_ACL - Every caller can read the content.

Returns:

  • (String)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#agent_context_id ⇒ String

The agent context's ID.

Returns:

  • (String)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#change_set_version ⇒ Integer

The change set's latest version. Pass it to UpdateChangeSet. Each version is immutable. The number increases by one on each edit and each status change.

Returns:

  • (Integer)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#connection_arn ⇒ String

The ARN of the connection that produced this change set. Absent for a change that no connection produced, such as a direct CreateChangeSet call, and for every ACL_RESTRICTED change set, because the connection would identify the source of the restricted content.

Returns:

  • (String)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

The date and time when the change set was created.

Returns:

  • (Time)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#generated_by ⇒ String

The activity that generated the change set. A change set that an IMPORT_ONTOLOGY task writes carries IMPORT_ONTOLOGY_TASK, and one that a CreateChangeSet call makes carries DIRECT_MODIFICATION. A sync of a connected data source's own metadata, such as an AWS Glue Data Catalog sync, carries DATA_SOURCE_INGESTION. To list the change sets that carry a value, filter ListChangeSets on it.

This member can be absent, so handle a change set that has no activity. For example, it's absent on a change set that records a connection's removal, on a change set that AWS Context wrote when it loaded an ontology's schema, and on a change set whose activity this API version doesn't recognize.

Returns:

  • (String)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The change set's opaque instance ID. Requests take it as changeSetId.

Returns:

  • (String)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the change set. Valid values:

  • DRAFT - AWS Context is evaluating the change set against the agent context's curation policies.

  • PENDING - Held for review as a curation proposal. While the change set is PENDING, you can remove operations from it with UpdateChangeSet.

  • AUTHORIZED - The change set is approved, and AWS Context is applying it.

  • SUPPRESSED - AWS Context won't apply the change set, because a curation policy denied it or its curation proposal was closed without approval.

  • PUBLISHED - AWS Context applied the change set to the agent context.

  • FAILED - AWS Context couldn't apply the change set.

SUPPRESSED and PUBLISHED are final. A FAILED change set can still change to PUBLISHED or PENDING if AWS Context retries applying it. New values can be added, so handle a status that you don't recognize.

Returns:

  • (String)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#status_reason ⇒ Types::StatusReason

Why AWS Context created or closed the change set, for example because a connection was removed from the agent context. AWS Context keeps it across later status changes, including a curator's decision. Absent when AWS Context gave no reason.

Returns:



3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

The date and time when the change set was last updated, such as when its status changed or its operations were edited.

Returns:

  • (Time)


3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3400

class GetChangeSetResponse < Struct.new(
  :agent_context_id,
  :status,
  :created_at,
  :updated_at,
  :access_control,
  :generated_by,
  :status_reason,
  :id,
  :change_set_version,
  :connection_arn)
  SENSITIVE = []
  include Aws::Structure
end