Skip to content

Update Data Source

datazone_update_data_source R Documentation

Updates the specified data source in Amazon DataZone

Description

Updates the specified data source in Amazon DataZone.

Usage

datazone_update_data_source(assetFormsInput, configuration, description,
  domainIdentifier, enableSetting, identifier, name, publishOnImport,
  recommendation, retainPermissionsOnRevokeFailure, schedule)

Arguments

assetFormsInput

The asset forms to be updated as part of the update_data_source action.

configuration

The configuration to be updated as part of the update_data_source action.

description

The description to be updated as part of the update_data_source action.

domainIdentifier

[required] The identifier of the domain in which to update a data source.

enableSetting

The enable setting to be updated as part of the update_data_source action.

identifier

[required] The identifier of the data source to be updated.

name

The name to be updated as part of the update_data_source action.

publishOnImport

The publish on import setting to be updated as part of the update_data_source action.

recommendation

The recommendation to be updated as part of the update_data_source action.

retainPermissionsOnRevokeFailure

Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.

schedule

The schedule to be updated as part of the update_data_source action.

Value

A list with the following syntax:

list(
  assetFormsOutput = list(
    list(
      content = "string",
      formName = "string",
      typeName = "string",
      typeRevision = "string"
    )
  ),
  configuration = list(
    glueRunConfiguration = list(
      accountId = "string",
      autoImportDataQualityResult = TRUE|FALSE,
      dataAccessRole = "string",
      region = "string",
      relationalFilterConfigurations = list(
        list(
          databaseName = "string",
          filterExpressions = list(
            list(
              expression = "string",
              type = "INCLUDE"|"EXCLUDE"
            )
          ),
          schemaName = "string"
        )
      )
    ),
    redshiftRunConfiguration = list(
      accountId = "string",
      dataAccessRole = "string",
      redshiftCredentialConfiguration = list(
        secretManagerArn = "string"
      ),
      redshiftStorage = list(
        redshiftClusterSource = list(
          clusterName = "string"
        ),
        redshiftServerlessSource = list(
          workgroupName = "string"
        )
      ),
      region = "string",
      relationalFilterConfigurations = list(
        list(
          databaseName = "string",
          filterExpressions = list(
            list(
              expression = "string",
              type = "INCLUDE"|"EXCLUDE"
            )
          ),
          schemaName = "string"
        )
      )
    )
  ),
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  description = "string",
  domainId = "string",
  enableSetting = "ENABLED"|"DISABLED",
  environmentId = "string",
  errorMessage = list(
    errorDetail = "string",
    errorType = "ACCESS_DENIED_EXCEPTION"|"CONFLICT_EXCEPTION"|"INTERNAL_SERVER_EXCEPTION"|"RESOURCE_NOT_FOUND_EXCEPTION"|"SERVICE_QUOTA_EXCEEDED_EXCEPTION"|"THROTTLING_EXCEPTION"|"VALIDATION_EXCEPTION"
  ),
  id = "string",
  lastRunAt = as.POSIXct(
    "2015-01-01"
  ),
  lastRunErrorMessage = list(
    errorDetail = "string",
    errorType = "ACCESS_DENIED_EXCEPTION"|"CONFLICT_EXCEPTION"|"INTERNAL_SERVER_EXCEPTION"|"RESOURCE_NOT_FOUND_EXCEPTION"|"SERVICE_QUOTA_EXCEEDED_EXCEPTION"|"THROTTLING_EXCEPTION"|"VALIDATION_EXCEPTION"
  ),
  lastRunStatus = "REQUESTED"|"RUNNING"|"FAILED"|"PARTIALLY_SUCCEEDED"|"SUCCESS",
  name = "string",
  projectId = "string",
  publishOnImport = TRUE|FALSE,
  recommendation = list(
    enableBusinessNameGeneration = TRUE|FALSE
  ),
  retainPermissionsOnRevokeFailure = TRUE|FALSE,
  schedule = list(
    schedule = "string",
    timezone = "UTC"|"AFRICA_JOHANNESBURG"|"AMERICA_MONTREAL"|"AMERICA_SAO_PAULO"|"ASIA_BAHRAIN"|"ASIA_BANGKOK"|"ASIA_CALCUTTA"|"ASIA_DUBAI"|"ASIA_HONG_KONG"|"ASIA_JAKARTA"|"ASIA_KUALA_LUMPUR"|"ASIA_SEOUL"|"ASIA_SHANGHAI"|"ASIA_SINGAPORE"|"ASIA_TAIPEI"|"ASIA_TOKYO"|"AUSTRALIA_MELBOURNE"|"AUSTRALIA_SYDNEY"|"CANADA_CENTRAL"|"CET"|"CST6CDT"|"ETC_GMT"|"ETC_GMT0"|"ETC_GMT_ADD_0"|"ETC_GMT_ADD_1"|"ETC_GMT_ADD_10"|"ETC_GMT_ADD_11"|"ETC_GMT_ADD_12"|"ETC_GMT_ADD_2"|"ETC_GMT_ADD_3"|"ETC_GMT_ADD_4"|"ETC_GMT_ADD_5"|"ETC_GMT_ADD_6"|"ETC_GMT_ADD_7"|"ETC_GMT_ADD_8"|"ETC_GMT_ADD_9"|"ETC_GMT_NEG_0"|"ETC_GMT_NEG_1"|"ETC_GMT_NEG_10"|"ETC_GMT_NEG_11"|"ETC_GMT_NEG_12"|"ETC_GMT_NEG_13"|"ETC_GMT_NEG_14"|"ETC_GMT_NEG_2"|"ETC_GMT_NEG_3"|"ETC_GMT_NEG_4"|"ETC_GMT_NEG_5"|"ETC_GMT_NEG_6"|"ETC_GMT_NEG_7"|"ETC_GMT_NEG_8"|"ETC_GMT_NEG_9"|"EUROPE_DUBLIN"|"EUROPE_LONDON"|"EUROPE_PARIS"|"EUROPE_STOCKHOLM"|"EUROPE_ZURICH"|"ISRAEL"|"MEXICO_GENERAL"|"MST7MDT"|"PACIFIC_AUCKLAND"|"US_CENTRAL"|"US_EASTERN"|"US_MOUNTAIN"|"US_PACIFIC"
  ),
  selfGrantStatus = list(
    glueSelfGrantStatus = list(
      selfGrantStatusDetails = list(
        list(
          databaseName = "string",
          failureCause = "string",
          schemaName = "string",
          status = "GRANT_PENDING"|"REVOKE_PENDING"|"GRANT_IN_PROGRESS"|"REVOKE_IN_PROGRESS"|"GRANTED"|"GRANT_FAILED"|"REVOKE_FAILED"
        )
      )
    ),
    redshiftSelfGrantStatus = list(
      selfGrantStatusDetails = list(
        list(
          databaseName = "string",
          failureCause = "string",
          schemaName = "string",
          status = "GRANT_PENDING"|"REVOKE_PENDING"|"GRANT_IN_PROGRESS"|"REVOKE_IN_PROGRESS"|"GRANTED"|"GRANT_FAILED"|"REVOKE_FAILED"
        )
      )
    )
  ),
  status = "CREATING"|"FAILED_CREATION"|"READY"|"UPDATING"|"FAILED_UPDATE"|"RUNNING"|"DELETING"|"FAILED_DELETION",
  type = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_data_source(
  assetFormsInput = list(
    list(
      content = "string",
      formName = "string",
      typeIdentifier = "string",
      typeRevision = "string"
    )
  ),
  configuration = list(
    glueRunConfiguration = list(
      autoImportDataQualityResult = TRUE|FALSE,
      dataAccessRole = "string",
      relationalFilterConfigurations = list(
        list(
          databaseName = "string",
          filterExpressions = list(
            list(
              expression = "string",
              type = "INCLUDE"|"EXCLUDE"
            )
          ),
          schemaName = "string"
        )
      )
    ),
    redshiftRunConfiguration = list(
      dataAccessRole = "string",
      redshiftCredentialConfiguration = list(
        secretManagerArn = "string"
      ),
      redshiftStorage = list(
        redshiftClusterSource = list(
          clusterName = "string"
        ),
        redshiftServerlessSource = list(
          workgroupName = "string"
        )
      ),
      relationalFilterConfigurations = list(
        list(
          databaseName = "string",
          filterExpressions = list(
            list(
              expression = "string",
              type = "INCLUDE"|"EXCLUDE"
            )
          ),
          schemaName = "string"
        )
      )
    )
  ),
  description = "string",
  domainIdentifier = "string",
  enableSetting = "ENABLED"|"DISABLED",
  identifier = "string",
  name = "string",
  publishOnImport = TRUE|FALSE,
  recommendation = list(
    enableBusinessNameGeneration = TRUE|FALSE
  ),
  retainPermissionsOnRevokeFailure = TRUE|FALSE,
  schedule = list(
    schedule = "string",
    timezone = "UTC"|"AFRICA_JOHANNESBURG"|"AMERICA_MONTREAL"|"AMERICA_SAO_PAULO"|"ASIA_BAHRAIN"|"ASIA_BANGKOK"|"ASIA_CALCUTTA"|"ASIA_DUBAI"|"ASIA_HONG_KONG"|"ASIA_JAKARTA"|"ASIA_KUALA_LUMPUR"|"ASIA_SEOUL"|"ASIA_SHANGHAI"|"ASIA_SINGAPORE"|"ASIA_TAIPEI"|"ASIA_TOKYO"|"AUSTRALIA_MELBOURNE"|"AUSTRALIA_SYDNEY"|"CANADA_CENTRAL"|"CET"|"CST6CDT"|"ETC_GMT"|"ETC_GMT0"|"ETC_GMT_ADD_0"|"ETC_GMT_ADD_1"|"ETC_GMT_ADD_10"|"ETC_GMT_ADD_11"|"ETC_GMT_ADD_12"|"ETC_GMT_ADD_2"|"ETC_GMT_ADD_3"|"ETC_GMT_ADD_4"|"ETC_GMT_ADD_5"|"ETC_GMT_ADD_6"|"ETC_GMT_ADD_7"|"ETC_GMT_ADD_8"|"ETC_GMT_ADD_9"|"ETC_GMT_NEG_0"|"ETC_GMT_NEG_1"|"ETC_GMT_NEG_10"|"ETC_GMT_NEG_11"|"ETC_GMT_NEG_12"|"ETC_GMT_NEG_13"|"ETC_GMT_NEG_14"|"ETC_GMT_NEG_2"|"ETC_GMT_NEG_3"|"ETC_GMT_NEG_4"|"ETC_GMT_NEG_5"|"ETC_GMT_NEG_6"|"ETC_GMT_NEG_7"|"ETC_GMT_NEG_8"|"ETC_GMT_NEG_9"|"EUROPE_DUBLIN"|"EUROPE_LONDON"|"EUROPE_PARIS"|"EUROPE_STOCKHOLM"|"EUROPE_ZURICH"|"ISRAEL"|"MEXICO_GENERAL"|"MST7MDT"|"PACIFIC_AUCKLAND"|"US_CENTRAL"|"US_EASTERN"|"US_MOUNTAIN"|"US_PACIFIC"
  )
)