Class: Aws::Context::Types::GetConnectionResponse

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:



3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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)


3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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)


3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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.



3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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.



3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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:



3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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)


3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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.



3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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)


3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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.



3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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)


3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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)


3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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:



3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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)


3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3524

class GetConnectionResponse < 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