Class: Aws::Context::Types::UpdateConnectionRequest

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

#access_config ⇒ Types::AccessConfig

The updated access configuration for the data source. If you omit it, the existing configuration is unchanged. If you provide one, it replaces the stored configuration, including its variant.

For DATABRICKS and SNOWFLAKE, a configuration with no variant clears a stored iamRole, and the connection is then returned with no accessConfig.

For GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE, you cannot add or remove the iamRole. An update that adds an iamRole to a connection stored without one fails with ValidationException. So does an update that provides a configuration without iamRole for a connection that has one. You can replace a stored role with another role. To change how such a connection reads its data source, delete the connection and create it again.

Returns:



7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end

#connection_id ⇒ String

The connection to update, by its ID (which starts with conn-) or its ARN.

Returns:

  • (String)


7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end

#glue_connection_mappings ⇒ Array<Types::GlueConnectionMapping>

The AWS Glue connection for each redshiftNamespace, and for each rdsInstance and rdsDatabase pair, in scope. If you omit it, the stored list is kept. A list replaces the stored list, and an empty list clears it. If the update changes scope, or changes the role of a connection to another account's catalog, AWS Context validates the kept list again. The rules are those of CreateConnectionRequest.glueConnectionMappings. You can't change the list of a SNOWFLAKE connection, which is keyed by snowflakeDatabase: omit it or send it unchanged.

Returns:



7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end

#ingestion_config ⇒ Types::IngestionConfig

The ingestion configuration: the IAM role that a data producer assumes to push data into this connection. Required on every update, so that an existing connection always has an ingestion role that AWS Context can authorize. You must have iam:PassRole permission to pass this role to the data producer, and the role must be in your account. You can't clear the role.



7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The new name. If you omit it, the name is unchanged.

Returns:

  • (String)


7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end

#publish ⇒ Boolean

Specifies whether to publish a third-party connection created with publish: false. If true, AWS Context configures catalog synchronization. The connection moves to ACTIVE when AWS Glue finishes provisioning the managed crawler. This has no effect on an ACTIVE connection. false is not accepted, because a connection can't be unpublished. Delete the connection instead.

Returns:

  • (Boolean)


7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end

#scope ⇒ Types::DataSourceScope

The new ingestion scope for the connection. If you omit it, the existing scope is unchanged. The rules of CreateConnectionRequest.scope apply, with the following additions:

  • A DATABRICKS or SNOWFLAKE scope names at most one databricksCatalog or snowflakeDatabase, unless the existing scope already names each one.

  • If the stored scope has a selector with a glueService segment, the new scope can't be empty. Every selector that it adds must also have a glueService segment. Otherwise, the request fails with ValidationException. You can keep a selector that the stored scope already has, so resending the stored scope unchanged succeeds.



7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end

#sync_schedule ⇒ Types::SyncSchedule

The new sync schedule for a DATABRICKS or SNOWFLAKE source. If you omit it, the existing schedule is unchanged. Not accepted for GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE connections.

Returns:



7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7894

class UpdateConnectionRequest < Struct.new(
  :connection_id,
  :name,
  :scope,
  :access_config,
  :sync_schedule,
  :ingestion_config,
  :glue_connection_mappings,
  :publish)
  SENSITIVE = []
  include Aws::Structure
end