Learn R Programming

paws.database (version 0.7.0)

redshift: Amazon Redshift

Description

Overview

This is an interface reference for Amazon Redshift. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift clusters. Note that Amazon Redshift is asynchronous, which means that some interfaces may require techniques, such as polling or asynchronous callback handlers, to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a change is applied immediately, on the next instance reboot, or during the next maintenance window. For a summary of the Amazon Redshift cluster management interfaces, go to Using the Amazon Redshift Management Interfaces.

Amazon Redshift manages all the work of setting up, operating, and scaling a data warehouse: provisioning capacity, monitoring and backing up the cluster, and applying patches and upgrades to the Amazon Redshift engine. You can focus on using your data to acquire new insights for your business and customers.

If you are a first-time user of Amazon Redshift, we recommend that you begin by reading the Amazon Redshift Getting Started Guide.

If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and maintain the databases that make up your data warehouse.

Usage

redshift(config = list(), credentials = list(), endpoint = NULL, region = NULL)

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • credentials:

    • creds:

      • access_key_id: AWS access key ID

      • secret_access_key: AWS secret access key

      • session_token: AWS temporary session token

    • profile: The name of a profile to use. If not given, then the default profile is used.

    • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

  • sts_regional_endpoint: Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

credentials

Optional credentials shorthand for the config parameter

  • creds:

    • access_key_id: AWS access key ID

    • secret_access_key: AWS secret access key

    • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

endpoint

Optional shorthand for complete URL to use for the constructed client.

region

Optional shorthand for AWS Region used in instantiating the client.

Service syntax

svc <- redshift(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
      access_key_id = "string",
      secret_access_key = "string",
      session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

accept_reserved_node_exchangeExchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to the configuration (term, payment type, or number of nodes) and no additional costs
add_partnerAdds a partner integration to a cluster
associate_data_share_consumerFrom a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn)
authorize_cluster_security_group_ingressAdds an inbound (ingress) rule to an Amazon Redshift security group
authorize_data_shareFrom a data producer account, authorizes the sharing of a datashare with one or more consumer accounts or managing entities
authorize_endpoint_accessGrants access to a cluster
authorize_snapshot_accessAuthorizes the specified Amazon Web Services account to restore the specified snapshot
batch_delete_cluster_snapshotsDeletes a set of cluster snapshots
batch_modify_cluster_snapshotsModifies the settings for a set of cluster snapshots
cancel_resizeCancels a resize operation for a cluster
copy_cluster_snapshotCopies the specified automated cluster snapshot to a new manual cluster snapshot
create_authentication_profileCreates an authentication profile with the specified parameters
create_clusterCreates a new cluster with the specified parameters
create_cluster_parameter_groupCreates an Amazon Redshift parameter group
create_cluster_security_groupCreates a new Amazon Redshift security group
create_cluster_snapshotCreates a manual snapshot of the specified cluster
create_cluster_subnet_groupCreates a new Amazon Redshift subnet group
create_custom_domain_associationUsed to create a custom domain name for a cluster
create_endpoint_accessCreates a Redshift-managed VPC endpoint
create_event_subscriptionCreates an Amazon Redshift event notification subscription
create_hsm_client_certificateCreates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases
create_hsm_configurationCreates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM)
create_redshift_idc_applicationCreates an Amazon Redshift application for use with IAM Identity Center
create_scheduled_actionCreates a scheduled action
create_snapshot_copy_grantCreates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from Key Management Service (KMS) to encrypt copied snapshots in a destination region
create_snapshot_scheduleCreate a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule
create_tagsAdds tags to a cluster
create_usage_limitCreates a usage limit for a specified Amazon Redshift feature on a cluster
deauthorize_data_shareFrom a datashare producer account, removes authorization from the specified datashare
delete_authentication_profileDeletes an authentication profile
delete_clusterDeletes a previously provisioned cluster without its final snapshot being created
delete_cluster_parameter_groupDeletes a specified Amazon Redshift parameter group
delete_cluster_security_groupDeletes an Amazon Redshift security group
delete_cluster_snapshotDeletes the specified manual snapshot
delete_cluster_subnet_groupDeletes the specified cluster subnet group
delete_custom_domain_associationContains information about deleting a custom domain association for a cluster
delete_endpoint_accessDeletes a Redshift-managed VPC endpoint
delete_event_subscriptionDeletes an Amazon Redshift event notification subscription
delete_hsm_client_certificateDeletes the specified HSM client certificate
delete_hsm_configurationDeletes the specified Amazon Redshift HSM configuration
delete_partnerDeletes a partner integration from a cluster
delete_redshift_idc_applicationDeletes an Amazon Redshift IAM Identity Center application
delete_resource_policyDeletes the resource policy for a specified resource
delete_scheduled_actionDeletes a scheduled action
delete_snapshot_copy_grantDeletes the specified snapshot copy grant
delete_snapshot_scheduleDeletes a snapshot schedule
delete_tagsDeletes tags from a resource
delete_usage_limitDeletes a usage limit from a cluster
describe_account_attributesReturns a list of attributes attached to an account
describe_authentication_profilesDescribes an authentication profile
describe_cluster_db_revisionsReturns an array of ClusterDbRevision objects
describe_cluster_parameter_groupsReturns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group
describe_cluster_parametersReturns a detailed list of parameters contained within the specified Amazon Redshift parameter group
describe_clustersReturns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties
describe_cluster_security_groupsReturns information about Amazon Redshift security groups
describe_cluster_snapshotsReturns one or more snapshot objects, which contain metadata about your cluster snapshots
describe_cluster_subnet_groupsReturns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups
describe_cluster_tracksReturns a list of all the available maintenance tracks
describe_cluster_versionsReturns descriptions of the available Amazon Redshift cluster versions
describe_custom_domain_associationsContains information about custom domain associations for a cluster
describe_data_sharesShows the status of any inbound or outbound datashares available in the specified account
describe_data_shares_for_consumerReturns a list of datashares where the account identifier being called is a consumer account identifier
describe_data_shares_for_producerReturns a list of datashares when the account identifier being called is a producer account identifier
describe_default_cluster_parametersReturns a list of parameter settings for the specified parameter group family
describe_endpoint_accessDescribes a Redshift-managed VPC endpoint
describe_endpoint_authorizationDescribes an endpoint authorization
describe_event_categoriesDisplays a list of event categories for all event source types, or for a specified source type
describe_eventsReturns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days
describe_event_subscriptionsLists descriptions of all the Amazon Redshift event notification subscriptions for a customer account
describe_hsm_client_certificatesReturns information about the specified HSM client certificate
describe_hsm_configurationsReturns information about the specified Amazon Redshift HSM configuration
describe_inbound_integrationsReturns a list of inbound integrations
describe_logging_statusDescribes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster
describe_node_configuration_optionsReturns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type
describe_orderable_cluster_optionsReturns a list of orderable cluster options
describe_partnersReturns information about the partner integrations defined for a cluster
describe_redshift_idc_applicationsLists the Amazon Redshift IAM Identity Center applications
describe_reserved_node_exchange_statusReturns exchange status details and associated metadata for a reserved-node exchange
describe_reserved_node_offeringsReturns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you
describe_reserved_nodesReturns the descriptions of the reserved nodes
describe_resizeReturns information about the last resize operation for the specified cluster
describe_scheduled_actionsDescribes properties of scheduled actions
describe_snapshot_copy_grantsReturns a list of snapshot copy grants owned by the Amazon Web Services account in the destination region
describe_snapshot_schedulesReturns a list of snapshot schedules
describe_storageReturns account level backups storage size and provisional storage
describe_table_restore_statusLists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action
describe_tagsReturns a list of tags
describe_usage_limitsShows usage limits on a cluster
disable_loggingStops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster
disable_snapshot_copyDisables the automatic copying of snapshots from one region to another region for a specified cluster
disassociate_data_share_consumerFrom a datashare consumer account, remove association for the specified datashare
enable_loggingStarts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster
enable_snapshot_copyEnables the automatic copy of snapshots from one region to another region for a specified cluster
failover_primary_computeFails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone
get_cluster_credentialsReturns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database
get_cluster_credentials_with_iamReturns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database
get_reserved_node_exchange_configuration_optionsGets the configuration options for the reserved-node exchange
get_reserved_node_exchange_offeringsReturns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node
get_resource_policyGet the resource policy for a specified resource
list_recommendationsList the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account
modify_aqua_configurationThis operation is retired
modify_authentication_profileModifies an authentication profile
modify_clusterModifies the settings for a cluster
modify_cluster_db_revisionModifies the database revision of a cluster
modify_cluster_iam_rolesModifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services
modify_cluster_maintenanceModifies the maintenance settings of a cluster
modify_cluster_parameter_groupModifies the parameters of a parameter group
modify_cluster_snapshotModifies the settings for a snapshot
modify_cluster_snapshot_scheduleModifies a snapshot schedule for a cluster
modify_cluster_subnet_groupModifies a cluster subnet group to include the specified list of VPC subnets
modify_custom_domain_associationContains information for changing a custom domain association
modify_endpoint_accessModifies a Redshift-managed VPC endpoint
modify_event_subscriptionModifies an existing Amazon Redshift event notification subscription
modify_redshift_idc_applicationChanges an existing Amazon Redshift IAM Identity Center application
modify_scheduled_actionModifies a scheduled action
modify_snapshot_copy_retention_periodModifies the number of days to retain snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region
modify_snapshot_scheduleModifies a snapshot schedule
modify_usage_limitModifies a usage limit in a cluster
pause_clusterPauses a cluster
purchase_reserved_node_offeringAllows you to purchase reserved nodes
put_resource_policyUpdates the resource policy for a specified resource
reboot_clusterReboots a cluster
reject_data_shareFrom a datashare consumer account, rejects the specified datashare
reset_cluster_parameter_groupSets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default"
resize_clusterChanges the size of the cluster
restore_from_cluster_snapshotCreates a new cluster from a snapshot
restore_table_from_cluster_snapshotCreates a new table from a table in an Amazon Redshift cluster snapshot
resume_clusterResumes a paused cluster
revoke_cluster_security_group_ingressRevokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group
revoke_endpoint_accessRevokes access to a cluster
revoke_snapshot_accessRemoves the ability of the specified Amazon Web Services account to restore the specified snapshot
rotate_encryption_keyRotates the encryption keys for a cluster
update_partner_statusUpdates the status of a partner integration

Examples

Run this code
if (FALSE) {
svc <- redshift()
svc$accept_reserved_node_exchange(
  Foo = 123
)
}

Run the code above in your browser using DataLab