update-connection
--connection-id <value>
[--name <value>]
[--scope <value>]
[--access-config <value>]
[--sync-schedule <value>]
--ingestion-config <value>
[--glue-connection-mappings <value>]
[--publish | --no-publish]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
--connection-id (string) [required]
The connection to update, by its ID (which starts with
conn-) or its ARN.Constraints:
- min:
1- max:
180- pattern:
(arn:(aws|aws-cn|aws-us-gov):context:[a-z0-9\-]{1,32}:\d{12}:connection/)?[a-z0-9]+(-[a-z0-9]+)*
--name (string)
The new name. If you omit it, the name is unchanged.
Constraints:
- min:
3- max:
63- pattern:
[a-zA-Z][a-zA-Z0-9-]*
--scope (structure)
The new ingestion scope for the connection. If you omit it, the existing scope is unchanged. The rules of
CreateConnectionRequest.scopeapply, with the following additions:
- A
DATABRICKSorSNOWFLAKEscope names at most onedatabricksCatalogorsnowflakeDatabase, unless the existing scope already names each one.- If the stored scope has a selector with a
glueServicesegment, the new scope can’t be empty. Every selector that it adds must also have aglueServicesegment. Otherwise, the request fails withValidationException. You can keep a selector that the stored scope already has, so resending the stored scope unchanged succeeds.selectors -> (list)
The selectors describing which parts of the data source are in scope.
Constraints:
- min:
0- max:
100(structure)
A single selector: an ordered path of
{level, id}segments identifying a node in the data source’s resource hierarchy. On a GLUE_DATA_CATALOG connection the path can also name at most oneglueServicesegment, which selects a service rather than a node (seeDataSourceScope).path -> (list) [required]
Ordered hierarchy path from the root to the selected resource. Must be non-empty.
Constraints:
- min:
0- max:
100(structure)
One segment of a resource hierarchy path: the hierarchy
level, such asdatabaseortable, and theidof the resource at that level. Both are required.In a
GLUE_DATA_CATALOGconnection’s scope, the levelglueServicenames a service instead of a resource. Itsidis one of the following:
GLUE- AWS Glue databases and tables.SAGEMAKER_AI- Amazon SageMaker AI resources.REDSHIFT- Amazon Redshift resources.RDS- Amazon RDS resources.MSK- Amazon Managed Streaming for Apache Kafka (Amazon MSK) resources.KINESIS- Amazon Kinesis Data Streams resources.FIREHOSE- Amazon Data Firehose resources.DYNAMODB- Amazon DynamoDB resources.KEYSPACES- Amazon Keyspaces (for Apache Cassandra) resources.ELASTICACHE- Amazon ElastiCache resources.OPENSEARCH- Amazon OpenSearch Service resources.NEPTUNE- Amazon Neptune resources.TIMESTREAM- Amazon Timestream resources.ATHENA- Amazon Athena resources.GLUE_SCHEMA_REGISTRY- AWS Glue Schema Registry resources.S3- Amazon S3 resources.S3_VECTORS- Amazon S3 Vectors resources.Every later segment of the selector must name a level of that service. Any other value, a second
glueServicesegment, or aglueServicesegment in any other position returnsValidationException. A resource path never containsglueService.level -> (string) [required]
The hierarchy level name for this segment (for example, “database”, “table”). Non-blank, no whitespace.
Constraints:
- min:
1- max:
1024- pattern:
[^\s`]+id -> (string) [required]
The ID of the resource at this level. Non-blank. Can contain spaces, backticks, and
%(it is a resource name), but no control characters. AWS Context matches it exactly.Constraints:
- min:
1- max:
1024- pattern:
[^\p{Cc}\p{Zl}\p{Zp}]+
JSON Syntax:
{
"selectors": [
{
"path": [
{
"level": "string",
"id": "string"
}
...
]
}
...
]
}
--access-config (tagged union structure)
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
DATABRICKSandSNOWFLAKE, a configuration with no variant clears a storediamRole, and the connection is then returned with noaccessConfig.For
GLUE_DATA_CATALOGandBEDROCK_KNOWLEDGE_BASE, you cannot add or remove theiamRole. An update that adds aniamRoleto a connection stored without one fails withValidationException. So does an update that provides a configuration withoutiamRolefor 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.Note
This is a Tagged Union structure. Only one of the following top level keys can be set:iamRole.iamRole -> (structure)
Assume-role access. The service assumes
roleArnto read the connection’s data source.roleArn -> (string) [required]
The IAM role that AWS Context assumes to read this connection’s data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format as
ingestionConfig.roleArn. You must haveiam:PassRolepermission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail withAccessDeniedException.Constraints:
- min:
20- max:
1011- pattern:
arn:(aws|aws-cn|aws-us-gov):iam::[0-9]{12}:role/(?:[a-zA-Z0-9+=,.@_-]{1,512}/)*[a-zA-Z0-9+=,.@_-]{1,64}
Shorthand Syntax:
iamRole={roleArn=string}
JSON Syntax:
{
"iamRole": {
"roleArn": "string"
}
}
--sync-schedule (tagged union structure)
The new sync schedule for a
DATABRICKSorSNOWFLAKEsource. If you omit it, the existing schedule is unchanged. Not accepted forGLUE_DATA_CATALOGandBEDROCK_KNOWLEDGE_BASEconnections.Note
This is a Tagged Union structure. Only one of the following top level keys can be set:frequency,cronExpression.frequency -> (string)
How often catalog synchronization runs. AWS Glue determines the schedule’s start time. Valid values:
HOURLY- Every 60 minutes.DAILY- Every 1,440 minutes.WEEKLY- Not supported. You can save this value on a connection created withpublishset tofalse, but publishing the connection with this value returnsValidationException.MONTHLY- Not supported. You can save this value on a connection created withpublishset tofalse, but publishing the connection with this value returnsValidationException.Possible values:
HOURLYDAILYWEEKLYMONTHLYcronExpression -> (string)
Not supported. Catalog synchronization doesn’t support cron schedules, so publishing a connection with this member returns
ValidationException. Usefrequencyinstead.Constraints:
- min:
13- max:
256- pattern:
cron\(([^\s()]+ ){5}[^\s()]+\)
Shorthand Syntax:
frequency=string,cronExpression=string
JSON Syntax:
{
"frequency": "HOURLY"|"DAILY"|"WEEKLY"|"MONTHLY",
"cronExpression": "string"
}
--ingestion-config (structure) [required]
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:PassRolepermission to pass this role to the data producer, and the role must be in your account. You can’t clear the role.roleArn -> (string) [required]
The IAM role in your account that a data producer assumes to push data into this connection’s agent contexts. Your account must own the role.
Constraints:
- min:
20- max:
1011- pattern:
arn:(aws|aws-cn|aws-us-gov):iam::[0-9]{12}:role/(?:[a-zA-Z0-9+=,.@_-]{1,512}/)*[a-zA-Z0-9+=,.@_-]{1,64}
Shorthand Syntax:
roleArn=string
JSON Syntax:
{
"roleArn": "string"
}
--glue-connection-mappings (list)
The AWS Glue connection for each
redshiftNamespace, and for eachrdsInstanceandrdsDatabasepair, inscope. If you omit it, the stored list is kept. A list replaces the stored list, and an empty list clears it. If the update changesscope, or changes the role of a connection to another account’s catalog, AWS Context validates the kept list again. The rules are those ofCreateConnectionRequest.glueConnectionMappings. You can’t change the list of aSNOWFLAKEconnection, which is keyed bysnowflakeDatabase: omit it or send it unchanged.Constraints:
- min:
0- max:
20(structure)
A GlueConnectionMapping binds one resource in the connection’s
scopeto an existing AWS Glue connection that you specify for it. The mapping covers every scope selector that names that resource. For aredshiftNamespace, AWS Context does not check which resource your AWS Glue connection targets. AWS Context does not revalidate an update that resends the stored list unchanged. A response does not return a status for each mapping.path -> (list) [required]
The resource that this mapping binds, root first, in the same form as
scope.selectors[].path. Required. Contains 1–2 segments:
- On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region.- On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.Constraints:
- min:
1- max:
2(structure)
One segment of a resource hierarchy path: the hierarchy
level, such asdatabaseortable, and theidof the resource at that level. Both are required.In a
GLUE_DATA_CATALOGconnection’s scope, the levelglueServicenames a service instead of a resource. Itsidis one of the following:
GLUE- AWS Glue databases and tables.SAGEMAKER_AI- Amazon SageMaker AI resources.REDSHIFT- Amazon Redshift resources.RDS- Amazon RDS resources.MSK- Amazon Managed Streaming for Apache Kafka (Amazon MSK) resources.KINESIS- Amazon Kinesis Data Streams resources.FIREHOSE- Amazon Data Firehose resources.DYNAMODB- Amazon DynamoDB resources.KEYSPACES- Amazon Keyspaces (for Apache Cassandra) resources.ELASTICACHE- Amazon ElastiCache resources.OPENSEARCH- Amazon OpenSearch Service resources.NEPTUNE- Amazon Neptune resources.TIMESTREAM- Amazon Timestream resources.ATHENA- Amazon Athena resources.GLUE_SCHEMA_REGISTRY- AWS Glue Schema Registry resources.S3- Amazon S3 resources.S3_VECTORS- Amazon S3 Vectors resources.Every later segment of the selector must name a level of that service. Any other value, a second
glueServicesegment, or aglueServicesegment in any other position returnsValidationException. A resource path never containsglueService.level -> (string) [required]
The hierarchy level name for this segment (for example, “database”, “table”). Non-blank, no whitespace.
Constraints:
- min:
1- max:
1024- pattern:
[^\s`]+id -> (string) [required]
The ID of the resource at this level. Non-blank. Can contain spaces, backticks, and
%(it is a resource name), but no control characters. AWS Context matches it exactly.Constraints:
- min:
1- max:
1024- pattern:
[^\p{Cc}\p{Zl}\p{Zp}]+glueConnectionArn -> (string) [required]
The ARN of your AWS Glue connection for
path, in your account and Region. Required. The connection type must be one thatpathaccepts:
redshiftNamespace- AREDSHIFTunified connection (ConnectionSchemaVersion 2).rdsInstanceandrdsDatabase- APOSTGRESQLunified connection, or, for an RDS DB instance, alsoORACLE, with itsDATABASEproperty set to thatrdsDatabase.snowflakeDatabase- ASNOWFLAKEconnection with aROLE_ARNand itsDATABASEproperty set to that database. TheROLE_ARNmust allowglue:GetConnectionon that connection.AWS Context synchronizes the database through this connection. It doesn’t change
DATABASEon a connection that it didn’t create. If AWS Glue is still validating the connection, the request fails withConflictException. If its validation failed, the request fails withAccessDeniedException.Constraints:
- min:
1- max:
2048- pattern:
arn:(aws|aws-cn|aws-us-gov):.*
Shorthand Syntax:
path=[{level=string,id=string},{level=string,id=string}],glueConnectionArn=string ...
JSON Syntax:
[
{
"path": [
{
"level": "string",
"id": "string"
}
...
],
"glueConnectionArn": "string"
}
...
]
--publish | --no-publish (boolean)
Specifies whether to publish a third-party connection created withpublish: false. Iftrue, 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.falseis not accepted, because a connection can’t be unpublished. Delete the connection instead.
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
--help (boolean)
Display help for the command/subcommand.
id -> (string)
The ID of the connection.
Constraints:
- min:
1- max:
64- pattern:
[a-z0-9]+(-[a-z0-9]+)*
arn -> (string)
The ARN of the connection.
Constraints:
- min:
1- max:
180- pattern:
arn:(aws|aws-cn|aws-us-gov):context:[a-z0-9\-]{1,32}:\d{12}:connection/[a-z0-9]+(-[a-z0-9]+)*
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.
Constraints:
- min:
3- max:
63- pattern:
[a-zA-Z][a-zA-Z0-9-]*
dataSource -> (structure)
The typed reference to the external data source that this connection binds to. Its
type, the authoritative kind of data source, is indataSource.type.type -> (string) [required]
The kind of data source.
Valid values:
GLUE_DATA_CATALOG- An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.BEDROCK_KNOWLEDGE_BASE- An Amazon Bedrock knowledge base.DATABRICKS- A Databricks third-party catalog.SNOWFLAKE- A Snowflake third-party catalog.Possible values:
GLUE_DATA_CATALOGBEDROCK_KNOWLEDGE_BASEDATABRICKSSNOWFLAKElocation -> (structure) [required]
Where the data source lives. For this scope, an AWS ARN only.
arn -> (string) [required]
The ARN of the data source. Its account segment must be your account when you create the connection.
Constraints:
- min:
1- max:
2048- pattern:
arn:(aws|aws-cn|aws-us-gov):.*
scope -> (structure)
The hierarchical subset of the data source this connection ingests.
selectors -> (list)
The selectors describing which parts of the data source are in scope.
Constraints:
- min:
0- max:
100(structure)
A single selector: an ordered path of
{level, id}segments identifying a node in the data source’s resource hierarchy. On a GLUE_DATA_CATALOG connection the path can also name at most oneglueServicesegment, which selects a service rather than a node (seeDataSourceScope).path -> (list) [required]
Ordered hierarchy path from the root to the selected resource. Must be non-empty.
Constraints:
- min:
0- max:
100(structure)
One segment of a resource hierarchy path: the hierarchy
level, such asdatabaseortable, and theidof the resource at that level. Both are required.In a
GLUE_DATA_CATALOGconnection’s scope, the levelglueServicenames a service instead of a resource. Itsidis one of the following:
GLUE- AWS Glue databases and tables.SAGEMAKER_AI- Amazon SageMaker AI resources.REDSHIFT- Amazon Redshift resources.RDS- Amazon RDS resources.MSK- Amazon Managed Streaming for Apache Kafka (Amazon MSK) resources.KINESIS- Amazon Kinesis Data Streams resources.FIREHOSE- Amazon Data Firehose resources.DYNAMODB- Amazon DynamoDB resources.KEYSPACES- Amazon Keyspaces (for Apache Cassandra) resources.ELASTICACHE- Amazon ElastiCache resources.OPENSEARCH- Amazon OpenSearch Service resources.NEPTUNE- Amazon Neptune resources.TIMESTREAM- Amazon Timestream resources.ATHENA- Amazon Athena resources.GLUE_SCHEMA_REGISTRY- AWS Glue Schema Registry resources.S3- Amazon S3 resources.S3_VECTORS- Amazon S3 Vectors resources.Every later segment of the selector must name a level of that service. Any other value, a second
glueServicesegment, or aglueServicesegment in any other position returnsValidationException. A resource path never containsglueService.level -> (string) [required]
The hierarchy level name for this segment (for example, “database”, “table”). Non-blank, no whitespace.
Constraints:
- min:
1- max:
1024- pattern:
[^\s`]+id -> (string) [required]
The ID of the resource at this level. Non-blank. Can contain spaces, backticks, and
%(it is a resource name), but no control characters. AWS Context matches it exactly.Constraints:
- min:
1- max:
1024- pattern:
[^\p{Cc}\p{Zl}\p{Zp}]+
accessConfig -> (tagged union structure)
Per-connection access configuration: the IAM role used for data access.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:iamRole.iamRole -> (structure)
Assume-role access. The service assumes
roleArnto read the connection’s data source.roleArn -> (string) [required]
The IAM role that AWS Context assumes to read this connection’s data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format as
ingestionConfig.roleArn. You must haveiam:PassRolepermission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail withAccessDeniedException.Constraints:
- min:
20- max:
1011- pattern:
arn:(aws|aws-cn|aws-us-gov):iam::[0-9]{12}:role/(?:[a-zA-Z0-9+=,.@_-]{1,512}/)*[a-zA-Z0-9+=,.@_-]{1,64}
syncSchedule -> (tagged union structure)
The effective sync schedule. Present for
DATABRICKSandSNOWFLAKEconnections (DAILYif you didn’t specify one). Absent forGLUE_DATA_CATALOGandBEDROCK_KNOWLEDGE_BASEconnections, which are event-driven.Note
This is a Tagged Union structure. Only one of the following top level keys can be set:frequency,cronExpression.frequency -> (string)
How often catalog synchronization runs. AWS Glue determines the schedule’s start time. Valid values:
HOURLY- Every 60 minutes.DAILY- Every 1,440 minutes.WEEKLY- Not supported. You can save this value on a connection created withpublishset tofalse, but publishing the connection with this value returnsValidationException.MONTHLY- Not supported. You can save this value on a connection created withpublishset tofalse, but publishing the connection with this value returnsValidationException.Possible values:
HOURLYDAILYWEEKLYMONTHLYcronExpression -> (string)
Not supported. Catalog synchronization doesn’t support cron schedules, so publishing a connection with this member returns
ValidationException. Usefrequencyinstead.Constraints:
- min:
13- max:
256- pattern:
cron\(([^\s()]+ ){5}[^\s()]+\)
ingestionConfig -> (structure)
The connection’s ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.
roleArn -> (string) [required]
The IAM role in your account that a data producer assumes to push data into this connection’s agent contexts. Your account must own the role.
Constraints:
- min:
20- max:
1011- pattern:
arn:(aws|aws-cn|aws-us-gov):iam::[0-9]{12}:role/(?:[a-zA-Z0-9+=,.@_-]{1,512}/)*[a-zA-Z0-9+=,.@_-]{1,64}
glueConnectionMappings -> (list)
The AWS Glue connection for each
redshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope. Absent when none is configured.Constraints:
- min:
0- max:
20(structure)
A GlueConnectionMapping binds one resource in the connection’s
scopeto an existing AWS Glue connection that you specify for it. The mapping covers every scope selector that names that resource. For aredshiftNamespace, AWS Context does not check which resource your AWS Glue connection targets. AWS Context does not revalidate an update that resends the stored list unchanged. A response does not return a status for each mapping.path -> (list) [required]
The resource that this mapping binds, root first, in the same form as
scope.selectors[].path. Required. Contains 1–2 segments:
- On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region.- On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.Constraints:
- min:
1- max:
2(structure)
One segment of a resource hierarchy path: the hierarchy
level, such asdatabaseortable, and theidof the resource at that level. Both are required.In a
GLUE_DATA_CATALOGconnection’s scope, the levelglueServicenames a service instead of a resource. Itsidis one of the following:
GLUE- AWS Glue databases and tables.SAGEMAKER_AI- Amazon SageMaker AI resources.REDSHIFT- Amazon Redshift resources.RDS- Amazon RDS resources.MSK- Amazon Managed Streaming for Apache Kafka (Amazon MSK) resources.KINESIS- Amazon Kinesis Data Streams resources.FIREHOSE- Amazon Data Firehose resources.DYNAMODB- Amazon DynamoDB resources.KEYSPACES- Amazon Keyspaces (for Apache Cassandra) resources.ELASTICACHE- Amazon ElastiCache resources.OPENSEARCH- Amazon OpenSearch Service resources.NEPTUNE- Amazon Neptune resources.TIMESTREAM- Amazon Timestream resources.ATHENA- Amazon Athena resources.GLUE_SCHEMA_REGISTRY- AWS Glue Schema Registry resources.S3- Amazon S3 resources.S3_VECTORS- Amazon S3 Vectors resources.Every later segment of the selector must name a level of that service. Any other value, a second
glueServicesegment, or aglueServicesegment in any other position returnsValidationException. A resource path never containsglueService.level -> (string) [required]
The hierarchy level name for this segment (for example, “database”, “table”). Non-blank, no whitespace.
Constraints:
- min:
1- max:
1024- pattern:
[^\s`]+id -> (string) [required]
The ID of the resource at this level. Non-blank. Can contain spaces, backticks, and
%(it is a resource name), but no control characters. AWS Context matches it exactly.Constraints:
- min:
1- max:
1024- pattern:
[^\p{Cc}\p{Zl}\p{Zp}]+glueConnectionArn -> (string) [required]
The ARN of your AWS Glue connection for
path, in your account and Region. Required. The connection type must be one thatpathaccepts:
redshiftNamespace- AREDSHIFTunified connection (ConnectionSchemaVersion 2).rdsInstanceandrdsDatabase- APOSTGRESQLunified connection, or, for an RDS DB instance, alsoORACLE, with itsDATABASEproperty set to thatrdsDatabase.snowflakeDatabase- ASNOWFLAKEconnection with aROLE_ARNand itsDATABASEproperty set to that database. TheROLE_ARNmust allowglue:GetConnectionon that connection.AWS Context synchronizes the database through this connection. It doesn’t change
DATABASEon a connection that it didn’t create. If AWS Glue is still validating the connection, the request fails withConflictException. If its validation failed, the request fails withAccessDeniedException.Constraints:
- min:
1- max:
2048- pattern:
arn:(aws|aws-cn|aws-us-gov):.*
status -> (string)
The connection’s status. Valid values:
CREATING- Validation or provisioning is still in progress.ACTIVE- The data source is reachable and, for aDATABRICKSorSNOWFLAKEconnection, 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.Possible values:
CREATINGACTIVEUPDATINGDELETINGFAILED
failure -> (structure)
The reason the connection is FAILED. Absent in every other status.
code -> (string) [required]
A code that identifies why the connection failed. Codes include the following:
GLUE_CONNECTION_UNAVAILABLE- The AWS Glue connection failed AWS Glue validation or no longer exists, or AWS Context couldn’t provision catalog synchronization. Check the AWS Glue connection in the AWS Glue console, and then create the connection again.New codes can be added, so handle a code that you don’t recognize. Use
code, notmessage, to decide how to respond.Possible values:
GLUE_CONNECTION_UNAVAILABLEmessage -> (string) [required]
The failure message. For an AWS Glue connection that failed validation, this is the StatusReason from AWS Glue. Otherwise, it is a message from AWS Context.
Constraints:
- min:
1- max:
1024
subStatus -> (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: falsemeans it is waiting for UpdateConnectionpublish: true.Possible values:
GLUE_CONNECTION_CREATEDGLUE_CONNECTION_VALIDATEDSYNC_JOB_CREATED
createdAt -> (timestamp)
The date and time when the connection was created.
updatedAt -> (timestamp)
When the resource last changed. Equal tocreatedAtuntil the first update.