Skip to content

Update Connection

glue_update_connection R Documentation

Updates a connection definition in the Data Catalog

Description

Updates a connection definition in the Data Catalog.

Usage

glue_update_connection(CatalogId, Name, ConnectionInput)

Arguments

CatalogId

The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

Name

[required] The name of the connection definition to update.

ConnectionInput

[required] A ConnectionInput object that redefines the connection in question.

Value

An empty list.

Request syntax

svc$update_connection(
  CatalogId = "string",
  Name = "string",
  ConnectionInput = list(
    Name = "string",
    Description = "string",
    ConnectionType = "JDBC"|"SFTP"|"MONGODB"|"KAFKA"|"NETWORK"|"MARKETPLACE"|"CUSTOM"|"SALESFORCE"|"VIEW_VALIDATION_REDSHIFT"|"VIEW_VALIDATION_ATHENA"|"GOOGLEADS"|"GOOGLESHEETS"|"GOOGLEANALYTICS4"|"SERVICENOW"|"MARKETO"|"SAPODATA"|"ZENDESK"|"JIRACLOUD"|"NETSUITEERP"|"HUBSPOT"|"FACEBOOKADS"|"INSTAGRAMADS"|"ZOHOCRM"|"SALESFORCEPARDOT"|"SALESFORCEMARKETINGCLOUD"|"SLACK"|"STRIPE"|"INTERCOM"|"SNAPCHATADS",
    MatchCriteria = list(
      "string"
    ),
    ConnectionProperties = list(
      "string"
    ),
    SparkProperties = list(
      "string"
    ),
    AthenaProperties = list(
      "string"
    ),
    PythonProperties = list(
      "string"
    ),
    PhysicalConnectionRequirements = list(
      SubnetId = "string",
      SecurityGroupIdList = list(
        "string"
      ),
      AvailabilityZone = "string"
    ),
    AuthenticationConfiguration = list(
      AuthenticationType = "BASIC"|"OAUTH2"|"CUSTOM"|"IAM",
      OAuth2Properties = list(
        OAuth2GrantType = "AUTHORIZATION_CODE"|"CLIENT_CREDENTIALS"|"JWT_BEARER",
        OAuth2ClientApplication = list(
          UserManagedClientApplicationClientId = "string",
          AWSManagedClientApplicationReference = "string"
        ),
        TokenUrl = "string",
        TokenUrlParametersMap = list(
          "string"
        ),
        AuthorizationCodeProperties = list(
          AuthorizationCode = "string",
          RedirectUri = "string"
        ),
        OAuth2Credentials = list(
          UserManagedClientApplicationClientSecret = "string",
          AccessToken = "string",
          RefreshToken = "string",
          JwtToken = "string"
        )
      ),
      SecretArn = "string",
      KmsKeyArn = "string",
      BasicAuthenticationCredentials = list(
        Username = "string",
        Password = "string"
      ),
      CustomAuthenticationCredentials = list(
        "string"
      )
    ),
    ValidateCredentials = TRUE|FALSE,
    ValidateForComputeEnvironments = list(
      "SPARK"|"ATHENA"|"PYTHON"
    )
  )
)