Class: Aws::Context::Types::UpdateConnectionResponse

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

Overview

A connection, as returned by CreateConnection, GetConnection, and UpdateConnection. id, arn, name, dataSource, status, createdAt, and updatedAt are always present. Every other member is optional.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_config ⇒ Types::AccessConfig

Per-connection access configuration: the IAM role used for data access.

Returns:



8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#arn ⇒ String

The ARN of the connection.

Returns:

  • (String)


8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

The date and time when the connection was created.

Returns:

  • (Time)


8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#data_source ⇒ Types::DataSourceReference

The typed reference to the external data source that this connection binds to. Its type, the authoritative kind of data source, is in dataSource.type.



8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#failure ⇒ Types::ConnectionFailure

The reason the connection is FAILED. Absent in every other status.



8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#glue_connection_mappings ⇒ Array<Types::GlueConnectionMapping>

The AWS Glue connection for each redshiftNamespace, each rdsInstance and rdsDatabase pair, or each snowflakeDatabase in scope. Absent when none is configured.

Returns:



8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The ID of the connection.

Returns:

  • (String)


8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#ingestion_config ⇒ Types::IngestionConfig

The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.



8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the connection. You set it when you create the connection and can change it with UpdateConnection. Uses the same constraints as an agent context name. Always present.

Returns:

  • (String)


8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#scope ⇒ Types::DataSourceScope

The hierarchical subset of the data source this connection ingests.



8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The connection's status. Valid values:

  • CREATING - Validation or provisioning is still in progress.

  • ACTIVE - The data source is reachable and, for a DATABRICKS or SNOWFLAKE connection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed.

  • UPDATING - The connection is being updated.

  • DELETING - The connection is being deleted.

  • FAILED - Validation or provisioning failed, and the connection can't recover.

Returns:

  • (String)


8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#sub_status ⇒ String

The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with publish: false means it is waiting for UpdateConnection publish: true.

Returns:

  • (String)


8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#sync_schedule ⇒ Types::SyncSchedule

The effective sync schedule. Present for DATABRICKS and SNOWFLAKE connections (DAILY if you didn't specify one). Absent for GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE connections, which are event-driven.

Returns:



8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

When the resource last changed. Equal to createdAt until the first update.

Returns:

  • (Time)


8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8003

class UpdateConnectionResponse < Struct.new(
  :id,
  :arn,
  :name,
  :data_source,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :status,
  :failure,
  :sub_status,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end