Learn R Programming

paws.database (version 0.1.12)

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())

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.

Service syntax

svc <- redshift(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    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
authorize_cluster_security_group_ingressAdds an inbound (ingress) rule to an Amazon Redshift security group
authorize_snapshot_accessAuthorizes the specified AWS customer 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_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_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_scheduled_actionCreates a scheduled action
create_snapshot_copy_grantCreates a snapshot copy grant that permits Amazon Redshift to use a customer master key (CMK) from AWS Key Management Service (AWS 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
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_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_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_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_default_cluster_parametersReturns a list of parameter settings for the specified parameter group family
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_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_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 AWS 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
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
get_cluster_credentialsReturns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database
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
modify_clusterModifies the settings for a cluster
modify_cluster_db_revisionModifies the database revision of a cluster
modify_cluster_iam_rolesModifies the list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS 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_event_subscriptionModifies an existing Amazon Redshift event notification subscription
modify_scheduled_actionModifies a scheduled action
modify_snapshot_copy_retention_periodModifies the number of days to retain snapshots in the destination AWS Region after they are copied from the source AWS 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
reboot_clusterReboots a cluster
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_snapshot_accessRemoves the ability of the specified AWS customer account to restore the specified snapshot
rotate_encryption_keyRotates the encryption keys for a cluster

Examples

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

Run the code above in your browser using DataLab