Amazon Redshift 2012-12-01
- Client: Aws\Redshift\RedshiftClient
- Service ID: redshift
- Version: 2012-12-01
This page describes the parameters and results for the operations of the Amazon Redshift (2012-12-01), and shows how to use the Aws\Redshift\RedshiftClient object to call the described operations. This documentation is specific to the 2012-12-01 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName')
, where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */)
.
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */)
.
- AcceptReservedNodeExchange ( array $params = [] )
- Exchanges 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.
- AddPartner ( array $params = [] )
- Adds a partner integration to a cluster.
- AssociateDataShareConsumer ( array $params = [] )
- From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn).
- AuthorizeClusterSecurityGroupIngress ( array $params = [] )
- Adds an inbound (ingress) rule to an Amazon Redshift security group.
- AuthorizeDataShare ( array $params = [] )
- From a data producer account, authorizes the sharing of a datashare with one or more consumer accounts or managing entities.
- AuthorizeEndpointAccess ( array $params = [] )
- Grants access to a cluster.
- AuthorizeSnapshotAccess ( array $params = [] )
- Authorizes the specified Amazon Web Services account to restore the specified snapshot.
- BatchDeleteClusterSnapshots ( array $params = [] )
- Deletes a set of cluster snapshots.
- BatchModifyClusterSnapshots ( array $params = [] )
- Modifies the settings for a set of cluster snapshots.
- CancelResize ( array $params = [] )
- Cancels a resize operation for a cluster.
- CopyClusterSnapshot ( array $params = [] )
- Copies the specified automated cluster snapshot to a new manual cluster snapshot.
- CreateAuthenticationProfile ( array $params = [] )
- Creates an authentication profile with the specified parameters.
- CreateCluster ( array $params = [] )
- Creates a new cluster with the specified parameters.
- CreateClusterParameterGroup ( array $params = [] )
- Creates an Amazon Redshift parameter group.
- CreateClusterSecurityGroup ( array $params = [] )
- Creates a new Amazon Redshift security group.
- CreateClusterSnapshot ( array $params = [] )
- Creates a manual snapshot of the specified cluster.
- CreateClusterSubnetGroup ( array $params = [] )
- Creates a new Amazon Redshift subnet group.
- CreateCustomDomainAssociation ( array $params = [] )
- Used to create a custom domain name for a cluster.
- CreateEndpointAccess ( array $params = [] )
- Creates a Redshift-managed VPC endpoint.
- CreateEventSubscription ( array $params = [] )
- Creates an Amazon Redshift event notification subscription.
- CreateHsmClientCertificate ( array $params = [] )
- Creates 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.
- CreateHsmConfiguration ( array $params = [] )
- Creates 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).
- CreateIntegration ( array $params = [] )
- Creates a zero-ETL integration or S3 event integration with Amazon Redshift.
- CreateRedshiftIdcApplication ( array $params = [] )
- Creates an Amazon Redshift application for use with IAM Identity Center.
- CreateScheduledAction ( array $params = [] )
- Creates a scheduled action.
- CreateSnapshotCopyGrant ( array $params = [] )
- Creates 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.
- CreateSnapshotSchedule ( array $params = [] )
- Create a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule.
- CreateTags ( array $params = [] )
- Adds tags to a cluster.
- CreateUsageLimit ( array $params = [] )
- Creates a usage limit for a specified Amazon Redshift feature on a cluster.
- DeauthorizeDataShare ( array $params = [] )
- From a datashare producer account, removes authorization from the specified datashare.
- DeleteAuthenticationProfile ( array $params = [] )
- Deletes an authentication profile.
- DeleteCluster ( array $params = [] )
- Deletes a previously provisioned cluster without its final snapshot being created.
- DeleteClusterParameterGroup ( array $params = [] )
- Deletes a specified Amazon Redshift parameter group.
- DeleteClusterSecurityGroup ( array $params = [] )
- Deletes an Amazon Redshift security group.
- DeleteClusterSnapshot ( array $params = [] )
- Deletes the specified manual snapshot.
- DeleteClusterSubnetGroup ( array $params = [] )
- Deletes the specified cluster subnet group.
- DeleteCustomDomainAssociation ( array $params = [] )
- Contains information about deleting a custom domain association for a cluster.
- DeleteEndpointAccess ( array $params = [] )
- Deletes a Redshift-managed VPC endpoint.
- DeleteEventSubscription ( array $params = [] )
- Deletes an Amazon Redshift event notification subscription.
- DeleteHsmClientCertificate ( array $params = [] )
- Deletes the specified HSM client certificate.
- DeleteHsmConfiguration ( array $params = [] )
- Deletes the specified Amazon Redshift HSM configuration.
- DeleteIntegration ( array $params = [] )
- Deletes a zero-ETL integration or S3 event integration with Amazon Redshift.
- DeletePartner ( array $params = [] )
- Deletes a partner integration from a cluster.
- DeleteRedshiftIdcApplication ( array $params = [] )
- Deletes an Amazon Redshift IAM Identity Center application.
- DeleteResourcePolicy ( array $params = [] )
- Deletes the resource policy for a specified resource.
- DeleteScheduledAction ( array $params = [] )
- Deletes a scheduled action.
- DeleteSnapshotCopyGrant ( array $params = [] )
- Deletes the specified snapshot copy grant.
- DeleteSnapshotSchedule ( array $params = [] )
- Deletes a snapshot schedule.
- DeleteTags ( array $params = [] )
- Deletes tags from a resource.
- DeleteUsageLimit ( array $params = [] )
- Deletes a usage limit from a cluster.
- DescribeAccountAttributes ( array $params = [] )
- Returns a list of attributes attached to an account
- DescribeAuthenticationProfiles ( array $params = [] )
- Describes an authentication profile.
- DescribeClusterDbRevisions ( array $params = [] )
- Returns an array of ClusterDbRevision objects.
- DescribeClusterParameterGroups ( array $params = [] )
- Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group.
- DescribeClusterParameters ( array $params = [] )
- Returns a detailed list of parameters contained within the specified Amazon Redshift parameter group.
- DescribeClusterSecurityGroups ( array $params = [] )
- Returns information about Amazon Redshift security groups.
- DescribeClusterSnapshots ( array $params = [] )
- Returns one or more snapshot objects, which contain metadata about your cluster snapshots.
- DescribeClusterSubnetGroups ( array $params = [] )
- Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups.
- DescribeClusterTracks ( array $params = [] )
- Returns a list of all the available maintenance tracks.
- DescribeClusterVersions ( array $params = [] )
- Returns descriptions of the available Amazon Redshift cluster versions.
- DescribeClusters ( array $params = [] )
- Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties.
- DescribeCustomDomainAssociations ( array $params = [] )
- Contains information about custom domain associations for a cluster.
- DescribeDataShares ( array $params = [] )
- Shows the status of any inbound or outbound datashares available in the specified account.
- DescribeDataSharesForConsumer ( array $params = [] )
- Returns a list of datashares where the account identifier being called is a consumer account identifier.
- DescribeDataSharesForProducer ( array $params = [] )
- Returns a list of datashares when the account identifier being called is a producer account identifier.
- DescribeDefaultClusterParameters ( array $params = [] )
- Returns a list of parameter settings for the specified parameter group family.
- DescribeEndpointAccess ( array $params = [] )
- Describes a Redshift-managed VPC endpoint.
- DescribeEndpointAuthorization ( array $params = [] )
- Describes an endpoint authorization.
- DescribeEventCategories ( array $params = [] )
- Displays a list of event categories for all event source types, or for a specified source type.
- DescribeEventSubscriptions ( array $params = [] )
- Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account.
- DescribeEvents ( array $params = [] )
- Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days.
- DescribeHsmClientCertificates ( array $params = [] )
- Returns information about the specified HSM client certificate.
- DescribeHsmConfigurations ( array $params = [] )
- Returns information about the specified Amazon Redshift HSM configuration.
- DescribeInboundIntegrations ( array $params = [] )
- Returns a list of inbound integrations.
- DescribeIntegrations ( array $params = [] )
- Describes one or more zero-ETL or S3 event integrations with Amazon Redshift.
- DescribeLoggingStatus ( array $params = [] )
- Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.
- DescribeNodeConfigurationOptions ( array $params = [] )
- Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.
- DescribeOrderableClusterOptions ( array $params = [] )
- Returns a list of orderable cluster options.
- DescribePartners ( array $params = [] )
- Returns information about the partner integrations defined for a cluster.
- DescribeRedshiftIdcApplications ( array $params = [] )
- Lists the Amazon Redshift IAM Identity Center applications.
- DescribeReservedNodeExchangeStatus ( array $params = [] )
- Returns exchange status details and associated metadata for a reserved-node exchange.
- DescribeReservedNodeOfferings ( array $params = [] )
- Returns 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.
- DescribeReservedNodes ( array $params = [] )
- Returns the descriptions of the reserved nodes.
- DescribeResize ( array $params = [] )
- Returns information about the last resize operation for the specified cluster.
- DescribeScheduledActions ( array $params = [] )
- Describes properties of scheduled actions.
- DescribeSnapshotCopyGrants ( array $params = [] )
- Returns a list of snapshot copy grants owned by the Amazon Web Services account in the destination region.
- DescribeSnapshotSchedules ( array $params = [] )
- Returns a list of snapshot schedules.
- DescribeStorage ( array $params = [] )
- Returns account level backups storage size and provisional storage.
- DescribeTableRestoreStatus ( array $params = [] )
- Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action.
- DescribeTags ( array $params = [] )
- Returns a list of tags.
- DescribeUsageLimits ( array $params = [] )
- Shows usage limits on a cluster.
- DisableLogging ( array $params = [] )
- Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- DisableSnapshotCopy ( array $params = [] )
- Disables the automatic copying of snapshots from one region to another region for a specified cluster.
- DisassociateDataShareConsumer ( array $params = [] )
- From a datashare consumer account, remove association for the specified datashare.
- EnableLogging ( array $params = [] )
- Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- EnableSnapshotCopy ( array $params = [] )
- Enables the automatic copy of snapshots from one region to another region for a specified cluster.
- FailoverPrimaryCompute ( array $params = [] )
- Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
- GetClusterCredentials ( array $params = [] )
- Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database.
- GetClusterCredentialsWithIAM ( array $params = [] )
- Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database.
- GetReservedNodeExchangeConfigurationOptions ( array $params = [] )
- Gets the configuration options for the reserved-node exchange.
- GetReservedNodeExchangeOfferings ( array $params = [] )
- Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.
- GetResourcePolicy ( array $params = [] )
- Get the resource policy for a specified resource.
- ListRecommendations ( array $params = [] )
- List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.
- ModifyAquaConfiguration ( array $params = [] )
- This operation is retired.
- ModifyAuthenticationProfile ( array $params = [] )
- Modifies an authentication profile.
- ModifyCluster ( array $params = [] )
- Modifies the settings for a cluster.
- ModifyClusterDbRevision ( array $params = [] )
- Modifies the database revision of a cluster.
- ModifyClusterIamRoles ( array $params = [] )
- Modifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.
- ModifyClusterMaintenance ( array $params = [] )
- Modifies the maintenance settings of a cluster.
- ModifyClusterParameterGroup ( array $params = [] )
- Modifies the parameters of a parameter group.
- ModifyClusterSnapshot ( array $params = [] )
- Modifies the settings for a snapshot.
- ModifyClusterSnapshotSchedule ( array $params = [] )
- Modifies a snapshot schedule for a cluster.
- ModifyClusterSubnetGroup ( array $params = [] )
- Modifies a cluster subnet group to include the specified list of VPC subnets.
- ModifyCustomDomainAssociation ( array $params = [] )
- Contains information for changing a custom domain association.
- ModifyEndpointAccess ( array $params = [] )
- Modifies a Redshift-managed VPC endpoint.
- ModifyEventSubscription ( array $params = [] )
- Modifies an existing Amazon Redshift event notification subscription.
- ModifyIntegration ( array $params = [] )
- Modifies a zero-ETL integration or S3 event integration with Amazon Redshift.
- ModifyRedshiftIdcApplication ( array $params = [] )
- Changes an existing Amazon Redshift IAM Identity Center application.
- ModifyScheduledAction ( array $params = [] )
- Modifies a scheduled action.
- ModifySnapshotCopyRetentionPeriod ( array $params = [] )
- Modifies 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.
- ModifySnapshotSchedule ( array $params = [] )
- Modifies a snapshot schedule.
- ModifyUsageLimit ( array $params = [] )
- Modifies a usage limit in a cluster.
- PauseCluster ( array $params = [] )
- Pauses a cluster.
- PurchaseReservedNodeOffering ( array $params = [] )
- Allows you to purchase reserved nodes.
- PutResourcePolicy ( array $params = [] )
- Updates the resource policy for a specified resource.
- RebootCluster ( array $params = [] )
- Reboots a cluster.
- RejectDataShare ( array $params = [] )
- From a datashare consumer account, rejects the specified datashare.
- ResetClusterParameterGroup ( array $params = [] )
- Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default".
- ResizeCluster ( array $params = [] )
- Changes the size of the cluster.
- RestoreFromClusterSnapshot ( array $params = [] )
- Creates a new cluster from a snapshot.
- RestoreTableFromClusterSnapshot ( array $params = [] )
- Creates a new table from a table in an Amazon Redshift cluster snapshot.
- ResumeCluster ( array $params = [] )
- Resumes a paused cluster.
- RevokeClusterSecurityGroupIngress ( array $params = [] )
- Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group.
- RevokeEndpointAccess ( array $params = [] )
- Revokes access to a cluster.
- RevokeSnapshotAccess ( array $params = [] )
- Removes the ability of the specified Amazon Web Services account to restore the specified snapshot.
- RotateEncryptionKey ( array $params = [] )
- Rotates the encryption keys for a cluster.
- UpdatePartnerStatus ( array $params = [] )
- Updates the status of a partner integration.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
- DescribeClusterDbRevisions
- DescribeClusterParameterGroups
- DescribeClusterParameters
- DescribeClusterSecurityGroups
- DescribeClusterSnapshots
- DescribeClusterSubnetGroups
- DescribeClusterTracks
- DescribeClusterVersions
- DescribeClusters
- DescribeCustomDomainAssociations
- DescribeDataShares
- DescribeDataSharesForConsumer
- DescribeDataSharesForProducer
- DescribeDefaultClusterParameters
- DescribeEndpointAccess
- DescribeEndpointAuthorization
- DescribeEventSubscriptions
- DescribeEvents
- DescribeHsmClientCertificates
- DescribeHsmConfigurations
- DescribeInboundIntegrations
- DescribeIntegrations
- DescribeNodeConfigurationOptions
- DescribeOrderableClusterOptions
- DescribeRedshiftIdcApplications
- DescribeReservedNodeExchangeStatus
- DescribeReservedNodeOfferings
- DescribeReservedNodes
- DescribeScheduledActions
- DescribeSnapshotCopyGrants
- DescribeSnapshotSchedules
- DescribeTableRestoreStatus
- DescribeTags
- DescribeUsageLimits
- GetReservedNodeExchangeConfigurationOptions
- GetReservedNodeExchangeOfferings
- ListRecommendations
Waiters
Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:
Waiter name | API Operation | Delay | Max Attempts |
---|---|---|---|
ClusterAvailable | DescribeClusters | 60 | 30 |
ClusterDeleted | DescribeClusters | 60 | 30 |
ClusterRestored | DescribeClusters | 60 | 30 |
SnapshotAvailable | DescribeClusterSnapshots | 15 | 20 |
Operations
AcceptReservedNodeExchange
$result = $client->acceptReservedNodeExchange
([/* ... */]); $promise = $client->acceptReservedNodeExchangeAsync
([/* ... */]);
Exchanges 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.
Parameter Syntax
$result = $client->acceptReservedNodeExchange([ 'ReservedNodeId' => '<string>', // REQUIRED 'TargetReservedNodeOfferingId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReservedNodeId
-
- Required: Yes
- Type: string
A string representing the node identifier of the DC1 Reserved Node to be exchanged.
- TargetReservedNodeOfferingId
-
- Required: Yes
- Type: string
The unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings
Result Syntax
[ 'ExchangedReservedNode' => [ 'CurrencyCode' => '<string>', 'Duration' => <integer>, 'FixedPrice' => <float>, 'NodeCount' => <integer>, 'NodeType' => '<string>', 'OfferingType' => '<string>', 'RecurringCharges' => [ [ 'RecurringChargeAmount' => <float>, 'RecurringChargeFrequency' => '<string>', ], // ... ], 'ReservedNodeId' => '<string>', 'ReservedNodeOfferingId' => '<string>', 'ReservedNodeOfferingType' => 'Regular|Upgradable', 'StartTime' => <DateTime>, 'State' => '<string>', 'UsagePrice' => <float>, ], ]
Result Details
Members
- ExchangedReservedNode
-
- Type: ReservedNode structure
Errors
- ReservedNodeNotFoundFault:
The specified reserved compute node not found.
- InvalidReservedNodeStateFault:
Indicates that the Reserved Node being exchanged is not in an active state.
- ReservedNodeAlreadyMigratedFault:
Indicates that the reserved node has already been exchanged.
- ReservedNodeOfferingNotFoundFault:
Specified offering does not exist.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- ReservedNodeAlreadyExistsFault:
User already has a reservation with the given identifier.
AddPartner
$result = $client->addPartner
([/* ... */]); $promise = $client->addPartnerAsync
([/* ... */]);
Adds a partner integration to a cluster. This operation authorizes a partner to push status updates for the specified database. To complete the integration, you also set up the integration on the partner website.
Parameter Syntax
$result = $client->addPartner([ 'AccountId' => '<string>', // REQUIRED 'ClusterIdentifier' => '<string>', // REQUIRED 'DatabaseName' => '<string>', // REQUIRED 'PartnerName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AccountId
-
- Required: Yes
- Type: string
The Amazon Web Services account ID that owns the cluster.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The cluster identifier of the cluster that receives data from the partner.
- DatabaseName
-
- Required: Yes
- Type: string
The name of the database that receives data from the partner.
- PartnerName
-
- Required: Yes
- Type: string
The name of the partner that is authorized to send data.
Result Syntax
[ 'DatabaseName' => '<string>', 'PartnerName' => '<string>', ]
Result Details
Members
- DatabaseName
-
- Type: string
The name of the database that receives data from the partner.
- PartnerName
-
- Type: string
The name of the partner that is authorized to send data.
Errors
- PartnerNotFoundFault:
The name of the partner was not found.
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnauthorizedPartnerIntegrationFault:
The partner integration is not authorized.
- UnsupportedOperationFault:
The requested operation isn't supported.
AssociateDataShareConsumer
$result = $client->associateDataShareConsumer
([/* ... */]); $promise = $client->associateDataShareConsumerAsync
([/* ... */]);
From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.
Parameter Syntax
$result = $client->associateDataShareConsumer([ 'AllowWrites' => true || false, 'AssociateEntireAccount' => true || false, 'ConsumerArn' => '<string>', 'ConsumerRegion' => '<string>', 'DataShareArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AllowWrites
-
- Type: boolean
If set to true, allows write operations for a datashare.
- AssociateEntireAccount
-
- Type: boolean
A value that specifies whether the datashare is associated with the entire account.
- ConsumerArn
-
- Type: string
The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.
- ConsumerRegion
-
- Type: string
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
- DataShareArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
Result Syntax
[ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ]
Result Details
Members
- AllowPubliclyAccessibleConsumers
-
- Type: boolean
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
- DataShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
- DataShareAssociations
-
- Type: Array of DataShareAssociation structures
A value that specifies when the datashare has an association between producer and data consumers.
- ManagedBy
-
- Type: string
The identifier of a datashare to show its managing entity.
- ProducerArn
-
- Type: string
The Amazon Resource Name (ARN) of the producer namespace.
Errors
- InvalidDataShareFault:
There is an error with the datashare.
- InvalidNamespaceFault:
The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
AuthorizeClusterSecurityGroupIngress
$result = $client->authorizeClusterSecurityGroupIngress
([/* ... */]); $promise = $client->authorizeClusterSecurityGroupIngressAsync
([/* ... */]);
Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether the application accessing your cluster is running on the Internet or an Amazon EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as many as 20 ingress rules to an Amazon Redshift security group.
If you authorize access to an Amazon EC2 security group, specify EC2SecurityGroupName and EC2SecurityGroupOwnerId. The Amazon EC2 security group and Amazon Redshift cluster must be in the same Amazon Web Services Region.
If you authorize access to a CIDR/IP address range, specify CIDRIP. For an overview of CIDR blocks, see the Wikipedia article on Classless Inter-Domain Routing.
You must also associate the security group with a cluster so that clients running on these IP addresses or the EC2 instance are authorized to connect to the cluster. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->authorizeClusterSecurityGroupIngress([ 'CIDRIP' => '<string>', 'ClusterSecurityGroupName' => '<string>', // REQUIRED 'EC2SecurityGroupName' => '<string>', 'EC2SecurityGroupOwnerId' => '<string>', ]);
Parameter Details
Members
- CIDRIP
-
- Type: string
The IP range to be added the Amazon Redshift security group.
- ClusterSecurityGroupName
-
- Required: Yes
- Type: string
The name of the security group to which the ingress rule is added.
- EC2SecurityGroupName
-
- Type: string
The EC2 security group to be added the Amazon Redshift security group.
- EC2SecurityGroupOwnerId
-
- Type: string
The Amazon Web Services account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The Amazon Web Services Access Key ID is not an acceptable value.
Example:
111122223333
Result Syntax
[ 'ClusterSecurityGroup' => [ 'ClusterSecurityGroupName' => '<string>', 'Description' => '<string>', 'EC2SecurityGroups' => [ [ 'EC2SecurityGroupName' => '<string>', 'EC2SecurityGroupOwnerId' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'IPRanges' => [ [ 'CIDRIP' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- ClusterSecurityGroup
-
- Type: ClusterSecurityGroup structure
Describes a security group.
Errors
- ClusterSecurityGroupNotFoundFault:
The cluster security group name does not refer to an existing cluster security group.
- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.- AuthorizationAlreadyExistsFault:
The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.
- AuthorizationQuotaExceededFault:
The authorization quota for the cluster security group has been reached.
AuthorizeDataShare
$result = $client->authorizeDataShare
([/* ... */]); $promise = $client->authorizeDataShareAsync
([/* ... */]);
From a data producer account, authorizes the sharing of a datashare with one or more consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account must have the correct access permissions.
Parameter Syntax
$result = $client->authorizeDataShare([ 'AllowWrites' => true || false, 'ConsumerIdentifier' => '<string>', // REQUIRED 'DataShareArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AllowWrites
-
- Type: boolean
If set to true, allows write operations for a datashare.
- ConsumerIdentifier
-
- Required: Yes
- Type: string
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
- DataShareArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
Result Syntax
[ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ]
Result Details
Members
- AllowPubliclyAccessibleConsumers
-
- Type: boolean
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
- DataShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
- DataShareAssociations
-
- Type: Array of DataShareAssociation structures
A value that specifies when the datashare has an association between producer and data consumers.
- ManagedBy
-
- Type: string
The identifier of a datashare to show its managing entity.
- ProducerArn
-
- Type: string
The Amazon Resource Name (ARN) of the producer namespace.
Errors
- InvalidDataShareFault:
There is an error with the datashare.
AuthorizeEndpointAccess
$result = $client->authorizeEndpointAccess
([/* ... */]); $promise = $client->authorizeEndpointAccessAsync
([/* ... */]);
Grants access to a cluster.
Parameter Syntax
$result = $client->authorizeEndpointAccess([ 'Account' => '<string>', // REQUIRED 'ClusterIdentifier' => '<string>', 'VpcIds' => ['<string>', ...], ]);
Parameter Details
Members
- Account
-
- Required: Yes
- Type: string
The Amazon Web Services account ID to grant access to.
- ClusterIdentifier
-
- Type: string
The cluster identifier of the cluster to grant access to.
- VpcIds
-
- Type: Array of strings
The virtual private cloud (VPC) identifiers to grant access to.
Result Syntax
[ 'AllowedAllVPCs' => true || false, 'AllowedVPCs' => ['<string>', ...], 'AuthorizeTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterStatus' => '<string>', 'EndpointCount' => <integer>, 'Grantee' => '<string>', 'Grantor' => '<string>', 'Status' => 'Authorized|Revoking', ]
Result Details
Members
- AllowedAllVPCs
-
- Type: boolean
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
- AllowedVPCs
-
- Type: Array of strings
The VPCs allowed access to the cluster.
- AuthorizeTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the authorization was created.
- ClusterIdentifier
-
- Type: string
The cluster identifier.
- ClusterStatus
-
- Type: string
The status of the cluster.
- EndpointCount
-
- Type: int
The number of Redshift-managed VPC endpoints created for the authorization.
- Grantee
-
- Type: string
The Amazon Web Services account ID of the grantee of the cluster.
- Grantor
-
- Type: string
The Amazon Web Services account ID of the cluster owner.
- Status
-
- Type: string
The status of the authorization action.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- EndpointAuthorizationsPerClusterLimitExceededFault:
The number of endpoint authorizations per cluster has exceeded its limit.
- UnsupportedOperationFault:
The requested operation isn't supported.
- EndpointAuthorizationAlreadyExistsFault:
The authorization already exists for this endpoint.
- InvalidAuthorizationStateFault:
The status of the authorization is not valid.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.
AuthorizeSnapshotAccess
$result = $client->authorizeSnapshotAccess
([/* ... */]); $promise = $client->authorizeSnapshotAccessAsync
([/* ... */]);
Authorizes the specified Amazon Web Services account to restore the specified snapshot.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->authorizeSnapshotAccess([ 'AccountWithRestoreAccess' => '<string>', // REQUIRED 'SnapshotArn' => '<string>', 'SnapshotClusterIdentifier' => '<string>', 'SnapshotIdentifier' => '<string>', ]);
Parameter Details
Members
- AccountWithRestoreAccess
-
- Required: Yes
- Type: string
The identifier of the Amazon Web Services account authorized to restore the specified snapshot.
To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.
- SnapshotArn
-
- Type: string
The Amazon Resource Name (ARN) of the snapshot to authorize access to.
- SnapshotClusterIdentifier
-
- Type: string
The identifier of the cluster the snapshot was created from.
-
If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots - This parameter is required. Otherwise, permissions aren't available to check if the snapshot exists.
-
If the snapshot to access exists - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to validate snapshot authorization.
- SnapshotIdentifier
-
- Type: string
The identifier of the snapshot the account is authorized to restore.
Result Syntax
[ 'Snapshot' => [ 'AccountsWithRestoreAccess' => [ [ 'AccountAlias' => '<string>', 'AccountId' => '<string>', ], // ... ], 'ActualIncrementalBackupSizeInMegaBytes' => <float>, 'AvailabilityZone' => '<string>', 'BackupProgressInMegaBytes' => <float>, 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterVersion' => '<string>', 'CurrentBackupRateInMegaBytesPerSecond' => <float>, 'DBName' => '<string>', 'ElapsedTimeInSeconds' => <integer>, 'Encrypted' => true || false, 'EncryptedWithHSM' => true || false, 'EngineFullVersion' => '<string>', 'EnhancedVpcRouting' => true || false, 'EstimatedSecondsToCompletion' => <integer>, 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRemainingDays' => <integer>, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'RestorableNodeTypes' => ['<string>', ...], 'SnapshotArn' => '<string>', 'SnapshotCreateTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SnapshotRetentionStartTime' => <DateTime>, 'SnapshotType' => '<string>', 'SourceRegion' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalBackupSizeInMegaBytes' => <float>, 'VpcId' => '<string>', ], ]
Result Details
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
Errors
- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- AuthorizationAlreadyExistsFault:
The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.
- AuthorizationQuotaExceededFault:
The authorization quota for the cluster security group has been reached.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
- InvalidClusterSnapshotStateFault:
The specified cluster snapshot is not in the
available
state, or other accounts are authorized to access the snapshot.- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- UnsupportedOperationFault:
The requested operation isn't supported.
BatchDeleteClusterSnapshots
$result = $client->batchDeleteClusterSnapshots
([/* ... */]); $promise = $client->batchDeleteClusterSnapshotsAsync
([/* ... */]);
Deletes a set of cluster snapshots.
Parameter Syntax
$result = $client->batchDeleteClusterSnapshots([ 'Identifiers' => [ // REQUIRED [ 'SnapshotClusterIdentifier' => '<string>', 'SnapshotIdentifier' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- Identifiers
-
- Required: Yes
- Type: Array of DeleteClusterSnapshotMessage structures
A list of identifiers for the snapshots that you want to delete.
Result Syntax
[ 'Errors' => [ [ 'FailureCode' => '<string>', 'FailureReason' => '<string>', 'SnapshotClusterIdentifier' => '<string>', 'SnapshotIdentifier' => '<string>', ], // ... ], 'Resources' => ['<string>', ...], ]
Result Details
Members
- Errors
-
- Type: Array of SnapshotErrorMessage structures
A list of any errors returned.
- Resources
-
- Type: Array of strings
A list of the snapshot identifiers that were deleted.
Errors
- BatchDeleteRequestSizeExceededFault:
The maximum number for a batch delete of snapshots has been reached. The limit is 100.
BatchModifyClusterSnapshots
$result = $client->batchModifyClusterSnapshots
([/* ... */]); $promise = $client->batchModifyClusterSnapshotsAsync
([/* ... */]);
Modifies the settings for a set of cluster snapshots.
Parameter Syntax
$result = $client->batchModifyClusterSnapshots([ 'Force' => true || false, 'ManualSnapshotRetentionPeriod' => <integer>, 'SnapshotIdentifierList' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- Force
-
- Type: boolean
A boolean value indicating whether to override an exception if the retention period has passed.
- ManualSnapshotRetentionPeriod
-
- Type: int
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
- SnapshotIdentifierList
-
- Required: Yes
- Type: Array of strings
A list of snapshot identifiers you want to modify.
Result Syntax
[ 'Errors' => [ [ 'FailureCode' => '<string>', 'FailureReason' => '<string>', 'SnapshotClusterIdentifier' => '<string>', 'SnapshotIdentifier' => '<string>', ], // ... ], 'Resources' => ['<string>', ...], ]
Result Details
Members
- Errors
-
- Type: Array of SnapshotErrorMessage structures
A list of any errors returned.
- Resources
-
- Type: Array of strings
A list of the snapshots that were modified.
Errors
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
- BatchModifyClusterSnapshotsLimitExceededFault:
The maximum number for snapshot identifiers has been reached. The limit is 100.
CancelResize
$result = $client->cancelResize
([/* ... */]); $promise = $client->cancelResizeAsync
([/* ... */]);
Cancels a resize operation for a cluster.
Parameter Syntax
$result = $client->cancelResize([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier for the cluster that you want to cancel a resize operation for.
Result Syntax
[ 'AvgResizeRateInMegaBytesPerSecond' => <float>, 'DataTransferProgressPercent' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ImportTablesCompleted' => ['<string>', ...], 'ImportTablesInProgress' => ['<string>', ...], 'ImportTablesNotStarted' => ['<string>', ...], 'Message' => '<string>', 'ProgressInMegaBytes' => <integer>, 'ResizeType' => '<string>', 'Status' => '<string>', 'TargetClusterType' => '<string>', 'TargetEncryptionType' => '<string>', 'TargetNodeType' => '<string>', 'TargetNumberOfNodes' => <integer>, 'TotalResizeDataInMegaBytes' => <integer>, ]
Result Details
Members
- AvgResizeRateInMegaBytesPerSecond
-
- Type: double
The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.
- DataTransferProgressPercent
-
- Type: double
The percent of data transferred from source cluster to target cluster.
- ElapsedTimeInSeconds
-
- Type: long (int|float)
The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.
- EstimatedTimeToCompletionInSeconds
-
- Type: long (int|float)
The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.
- ImportTablesCompleted
-
- Type: Array of strings
The names of tables that have been completely imported .
Valid Values: List of table names.
- ImportTablesInProgress
-
- Type: Array of strings
The names of tables that are being currently imported.
Valid Values: List of table names.
- ImportTablesNotStarted
-
- Type: Array of strings
The names of tables that have not been yet imported.
Valid Values: List of table names
- Message
-
- Type: string
An optional string to provide additional details about the resize action.
- ProgressInMegaBytes
-
- Type: long (int|float)
While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).
- ResizeType
-
- Type: string
An enum with possible values of
ClassicResize
andElasticResize
. These values describe the type of resize operation being performed. - Status
-
- Type: string
The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
|CANCELLING
- TargetClusterType
-
- Type: string
The cluster type after the resize operation is complete.
Valid Values:
multi-node
|single-node
- TargetEncryptionType
-
- Type: string
The type of encryption for the cluster after the resize is complete.
Possible values are
KMS
andNone
. - TargetNodeType
-
- Type: string
The node type that the cluster will have after the resize operation is complete.
- TargetNumberOfNodes
-
- Type: int
The number of nodes that the cluster will have after the resize operation is complete.
- TotalResizeDataInMegaBytes
-
- Type: long (int|float)
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ResizeNotFoundFault:
A resize operation for the specified cluster is not found.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnsupportedOperationFault:
The requested operation isn't supported.
CopyClusterSnapshot
$result = $client->copyClusterSnapshot
([/* ... */]); $promise = $client->copyClusterSnapshotAsync
([/* ... */]);
Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state.
When you delete a cluster, Amazon Redshift deletes any automated snapshots of the cluster. Also, when the retention period of the snapshot expires, Amazon Redshift automatically deletes it. If you want to keep an automated snapshot for a longer period, you can make a manual copy of the snapshot. Manual snapshots are retained until you delete them.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->copyClusterSnapshot([ 'ManualSnapshotRetentionPeriod' => <integer>, 'SourceSnapshotClusterIdentifier' => '<string>', 'SourceSnapshotIdentifier' => '<string>', // REQUIRED 'TargetSnapshotIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ManualSnapshotRetentionPeriod
-
- Type: int
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
- SourceSnapshotClusterIdentifier
-
- Type: string
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
-
Must be the identifier for a valid cluster.
- SourceSnapshotIdentifier
-
- Required: Yes
- Type: string
The identifier for the source snapshot.
Constraints:
-
Must be the identifier for a valid automated snapshot whose state is
available
.
- TargetSnapshotIdentifier
-
- Required: Yes
- Type: string
The identifier given to the new manual snapshot.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for the Amazon Web Services account that is making the request.
Result Syntax
[ 'Snapshot' => [ 'AccountsWithRestoreAccess' => [ [ 'AccountAlias' => '<string>', 'AccountId' => '<string>', ], // ... ], 'ActualIncrementalBackupSizeInMegaBytes' => <float>, 'AvailabilityZone' => '<string>', 'BackupProgressInMegaBytes' => <float>, 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterVersion' => '<string>', 'CurrentBackupRateInMegaBytesPerSecond' => <float>, 'DBName' => '<string>', 'ElapsedTimeInSeconds' => <integer>, 'Encrypted' => true || false, 'EncryptedWithHSM' => true || false, 'EngineFullVersion' => '<string>', 'EnhancedVpcRouting' => true || false, 'EstimatedSecondsToCompletion' => <integer>, 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRemainingDays' => <integer>, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'RestorableNodeTypes' => ['<string>', ...], 'SnapshotArn' => '<string>', 'SnapshotCreateTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SnapshotRetentionStartTime' => <DateTime>, 'SnapshotType' => '<string>', 'SourceRegion' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalBackupSizeInMegaBytes' => <float>, 'VpcId' => '<string>', ], ]
Result Details
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ClusterSnapshotAlreadyExistsFault:
The value specified as a snapshot identifier is already used by an existing snapshot.
- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- InvalidClusterSnapshotStateFault:
The specified cluster snapshot is not in the
available
state, or other accounts are authorized to access the snapshot.- ClusterSnapshotQuotaExceededFault:
The request would result in the user exceeding the allowed number of cluster snapshots.
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
CreateAuthenticationProfile
$result = $client->createAuthenticationProfile
([/* ... */]); $promise = $client->createAuthenticationProfileAsync
([/* ... */]);
Creates an authentication profile with the specified parameters.
Parameter Syntax
$result = $client->createAuthenticationProfile([ 'AuthenticationProfileContent' => '<string>', // REQUIRED 'AuthenticationProfileName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AuthenticationProfileContent
-
- Required: Yes
- Type: string
The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
- AuthenticationProfileName
-
- Required: Yes
- Type: string
The name of the authentication profile to be created.
Result Syntax
[ 'AuthenticationProfileContent' => '<string>', 'AuthenticationProfileName' => '<string>', ]
Result Details
Members
- AuthenticationProfileContent
-
- Type: string
The content of the authentication profile in JSON format.
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile that was created.
Errors
- AuthenticationProfileAlreadyExistsFault:
The authentication profile already exists.
- AuthenticationProfileQuotaExceededFault:
The size or number of authentication profiles has exceeded the quota. The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.
- InvalidAuthenticationProfileRequestFault:
The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.
CreateCluster
$result = $client->createCluster
([/* ... */]); $promise = $client->createClusterAsync
([/* ... */]);
Creates a new cluster with the specified parameters.
To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createCluster([ 'AdditionalInfo' => '<string>', 'AllowVersionUpgrade' => true || false, 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocation' => true || false, 'ClusterIdentifier' => '<string>', // REQUIRED 'ClusterParameterGroupName' => '<string>', 'ClusterSecurityGroups' => ['<string>', ...], 'ClusterSubnetGroupName' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'DBName' => '<string>', 'DefaultIamRoleArn' => '<string>', 'ElasticIp' => '<string>', 'Encrypted' => true || false, 'EnhancedVpcRouting' => true || false, 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'IamRoles' => ['<string>', ...], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'LoadSampleData' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManageMasterPassword' => true || false, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUserPassword' => '<string>', 'MasterUsername' => '<string>', // REQUIRED 'MultiAZ' => true || false, 'NodeType' => '<string>', // REQUIRED 'NumberOfNodes' => <integer>, 'Port' => <integer>, 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'RedshiftIdcApplicationArn' => '<string>', 'SnapshotScheduleIdentifier' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'VpcSecurityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- AdditionalInfo
-
- Type: string
Reserved.
- AllowVersionUpgrade
-
- Type: boolean
If
true
, major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster.When a new major version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default:
true
- AquaConfigurationStatus
-
- Type: string
This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
- AutomatedSnapshotRetentionPeriod
-
- Type: int
The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.
You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days.
Default:
1
Constraints: Must be a value from 0 to 35.
- AvailabilityZone
-
- Type: string
The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.
Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example:
us-east-2d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
- AvailabilityZoneRelocation
-
- Type: boolean
The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster is created.
- ClusterIdentifier
-
- Required: Yes
- Type: string
A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. The identifier also appears in the Amazon Redshift console.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
Alphabetic characters must be lowercase.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for all clusters within an Amazon Web Services account.
Example:
myexamplecluster
- ClusterParameterGroupName
-
- Type: string
The name of the parameter group to be associated with this cluster.
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- ClusterSecurityGroups
-
- Type: Array of strings
A list of security groups to be associated with this cluster.
Default: The default cluster security group for Amazon Redshift.
- ClusterSubnetGroupName
-
- Type: string
The name of a cluster subnet group to be associated with this cluster.
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
- ClusterType
-
- Type: string
The type of the cluster. When cluster type is specified as
-
single-node
, the NumberOfNodes parameter is not required. -
multi-node
, the NumberOfNodes parameter is required.
Valid Values:
multi-node
|single-node
Default:
multi-node
- ClusterVersion
-
- Type: string
The version of the Amazon Redshift engine software that you want to deploy on the cluster.
The version selected runs on all the nodes in the cluster.
Constraints: Only version 1.0 is currently available.
Example:
1.0
- DBName
-
- Type: string
The name of the first database to be created when the cluster is created.
To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Database Developer Guide.
Default:
dev
Constraints:
-
Must contain 1 to 64 alphanumeric characters.
-
Must contain only lowercase letters.
-
Cannot be a word that is reserved by the service. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- DefaultIamRoleArn
-
- Type: string
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created.
- ElasticIp
-
- Type: string
The Elastic IP (EIP) address for the cluster.
Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible through an Internet gateway. Don't specify the Elastic IP address for a publicly accessible cluster with availability zone relocation turned on. For more information about provisioning clusters in EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management Guide.
- Encrypted
-
- Type: boolean
If
true
, the data in the cluster is encrypted at rest.Default: false
- EnhancedVpcRouting
-
- Type: boolean
An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is
true
, enhanced VPC routing is enabled.Default: false
- HsmClientCertificateIdentifier
-
- Type: string
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
- HsmConfigurationIdentifier
-
- Type: string
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- IamRoles
-
- Type: Array of strings
A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon Resource Name (ARN) format.
The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.
- IpAddressType
-
- Type: string
The IP address types that the cluster supports. Possible values are
ipv4
anddualstack
. - KmsKeyId
-
- Type: string
The Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- LoadSampleData
-
- Type: string
A flag that specifies whether to load sample data once the cluster is created.
- MaintenanceTrackName
-
- Type: string
An optional parameter for the name of the maintenance track for the cluster. If you don't provide a maintenance track name, the cluster is assigned to the
current
track. - ManageMasterPassword
-
- Type: boolean
If
true
, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials. You can't useMasterUserPassword
ifManageMasterPassword
is true. IfManageMasterPassword
is false or not set, Amazon Redshift usesMasterUserPassword
for the admin user account's password. - ManualSnapshotRetentionPeriod
-
- Type: int
The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots.
The value must be either -1 or an integer between 1 and 3,653.
- MasterPasswordSecretKmsKeyId
-
- Type: string
The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if
ManageMasterPassword
is true. - MasterUserPassword
-
- Type: string
The password associated with the admin user account for the cluster that is being created.
You can't use
MasterUserPassword
ifManageMasterPassword
istrue
.Constraints:
-
Must be between 8 and 64 characters in length.
-
Must contain at least one uppercase letter.
-
Must contain at least one lowercase letter.
-
Must contain one number.
-
Can be any printable ASCII character (ASCII code 33-126) except
'
(single quote),"
(double quote),\
,/
, or@
.
- MasterUsername
-
- Required: Yes
- Type: string
The user name associated with the admin user account for the cluster that is being created.
Constraints:
-
Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be
PUBLIC
. -
Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
-
The first character must be a letter.
-
Must not contain a colon (:) or a slash (/).
-
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- MultiAZ
-
- Type: boolean
If true, Amazon Redshift will deploy the cluster in two Availability Zones (AZ).
- NodeType
-
- Required: Yes
- Type: string
The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.
Valid Values:
dc2.large
|dc2.8xlarge
|ra3.large
|ra3.xlplus
|ra3.4xlarge
|ra3.16xlarge
- NumberOfNodes
-
- Type: int
The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as
multi-node
.For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.
If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.
Default:
1
Constraints: Value must be at least 1 and no more than 100.
- Port
-
- Type: int
The port number on which the cluster accepts incoming connections.
The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.
Default:
5439
Valid Values:
-
For clusters with ra3 nodes - Select a port within the ranges
5431-5455
or8191-8215
. (If you have an existing cluster with ra3 nodes, it isn't required that you change the port to these ranges.) -
For clusters with dc2 nodes - Select a port within the range
1150-65535
.
- PreferredMaintenanceWindow
-
- Type: string
The weekly time range (in UTC) during which automated cluster maintenance can occur.
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
- PubliclyAccessible
-
- Type: boolean
If
true
, the cluster can be accessed from a public network. - RedshiftIdcApplicationArn
-
- Type: string
The Amazon resource name (ARN) of the Amazon Redshift IAM Identity Center application.
- SnapshotScheduleIdentifier
-
- Type: string
A unique identifier for the snapshot schedule.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
- VpcSecurityGroupIds
-
- Type: Array of strings
A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
Default: The default VPC security group is associated with the cluster.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterAlreadyExistsFault:
The account already has a cluster with the given identifier.
- InsufficientClusterCapacityFault:
The number of nodes specified exceeds the allotted capacity of the cluster.
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
- ClusterSecurityGroupNotFoundFault:
The cluster security group name does not refer to an existing cluster security group.
- ClusterQuotaExceededFault:
The request would exceed the allowed number of cluster instances for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NumberOfNodesQuotaExceededFault:
The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NumberOfNodesPerClusterLimitExceededFault:
The operation would exceed the number of nodes allowed for a cluster.
- ClusterSubnetGroupNotFoundFault:
The cluster subnet group name does not refer to an existing cluster subnet group.
- InvalidVPCNetworkStateFault:
The cluster subnet group does not cover all Availability Zones.
- InvalidClusterSubnetGroupStateFault:
The cluster subnet group cannot be deleted because it is in use.
- InvalidSubnet:
The requested subnet is not valid, or not all of the subnets are in the same VPC.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- HsmClientCertificateNotFoundFault:
There is no Amazon Redshift HSM client certificate with the specified identifier.
- HsmConfigurationNotFoundFault:
There is no Amazon Redshift HSM configuration with the specified identifier.
- InvalidElasticIpFault:
The Elastic IP (EIP) is invalid or cannot be found.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
- InvalidClusterTrackFault:
The provided cluster track name is not valid.
- SnapshotScheduleNotFoundFault:
We could not find the specified snapshot schedule.
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
- Ipv6CidrBlockNotFoundFault:
There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.
- UnsupportedOperationFault:
The requested operation isn't supported.
- RedshiftIdcApplicationNotExistsFault:
The application you attempted to find doesn't exist.
CreateClusterParameterGroup
$result = $client->createClusterParameterGroup
([/* ... */]); $promise = $client->createClusterParameterGroupAsync
([/* ... */]);
Creates an Amazon Redshift parameter group.
Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster.
Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createClusterParameterGroup([ 'Description' => '<string>', // REQUIRED 'ParameterGroupFamily' => '<string>', // REQUIRED 'ParameterGroupName' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- Description
-
- Required: Yes
- Type: string
A description of the parameter group.
- ParameterGroupFamily
-
- Required: Yes
- Type: string
The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
- ParameterGroupName
-
- Required: Yes
- Type: string
The name of the cluster parameter group.
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique withing your Amazon Web Services account.
This value is stored as a lower-case string.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'ClusterParameterGroup' => [ 'Description' => '<string>', 'ParameterGroupFamily' => '<string>', 'ParameterGroupName' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- ClusterParameterGroup
-
- Type: ClusterParameterGroup structure
Describes a parameter group.
Errors
- ClusterParameterGroupQuotaExceededFault:
The request would result in the user exceeding the allowed number of cluster parameter groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- ClusterParameterGroupAlreadyExistsFault:
A cluster parameter group with the same name already exists.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
CreateClusterSecurityGroup
$result = $client->createClusterSecurityGroup
([/* ... */]); $promise = $client->createClusterSecurityGroupAsync
([/* ... */]);
Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createClusterSecurityGroup([ 'ClusterSecurityGroupName' => '<string>', // REQUIRED 'Description' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- ClusterSecurityGroupName
-
- Required: Yes
- Type: string
The name for the security group. Amazon Redshift stores the value as a lowercase string.
Constraints:
-
Must contain no more than 255 alphanumeric characters or hyphens.
-
Must not be "Default".
-
Must be unique for all security groups that are created by your Amazon Web Services account.
Example:
examplesecuritygroup
- Description
-
- Required: Yes
- Type: string
A description for the security group.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'ClusterSecurityGroup' => [ 'ClusterSecurityGroupName' => '<string>', 'Description' => '<string>', 'EC2SecurityGroups' => [ [ 'EC2SecurityGroupName' => '<string>', 'EC2SecurityGroupOwnerId' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'IPRanges' => [ [ 'CIDRIP' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- ClusterSecurityGroup
-
- Type: ClusterSecurityGroup structure
Describes a security group.
Errors
- ClusterSecurityGroupAlreadyExistsFault:
A cluster security group with the same name already exists.
- ClusterSecurityGroupQuotaExceededFault:
The request would result in the user exceeding the allowed number of cluster security groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
CreateClusterSnapshot
$result = $client->createClusterSnapshot
([/* ... */]); $promise = $client->createClusterSnapshotAsync
([/* ... */]);
Creates a manual snapshot of the specified cluster. The cluster must be in the available
state.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createClusterSnapshot([ 'ClusterIdentifier' => '<string>', // REQUIRED 'ManualSnapshotRetentionPeriod' => <integer>, 'SnapshotIdentifier' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The cluster identifier for which you want a snapshot.
- ManualSnapshotRetentionPeriod
-
- Type: int
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
- SnapshotIdentifier
-
- Required: Yes
- Type: string
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
Constraints:
-
Cannot be null, empty, or blank
-
Must contain from 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-snapshot-id
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'Snapshot' => [ 'AccountsWithRestoreAccess' => [ [ 'AccountAlias' => '<string>', 'AccountId' => '<string>', ], // ... ], 'ActualIncrementalBackupSizeInMegaBytes' => <float>, 'AvailabilityZone' => '<string>', 'BackupProgressInMegaBytes' => <float>, 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterVersion' => '<string>', 'CurrentBackupRateInMegaBytesPerSecond' => <float>, 'DBName' => '<string>', 'ElapsedTimeInSeconds' => <integer>, 'Encrypted' => true || false, 'EncryptedWithHSM' => true || false, 'EngineFullVersion' => '<string>', 'EnhancedVpcRouting' => true || false, 'EstimatedSecondsToCompletion' => <integer>, 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRemainingDays' => <integer>, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'RestorableNodeTypes' => ['<string>', ...], 'SnapshotArn' => '<string>', 'SnapshotCreateTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SnapshotRetentionStartTime' => <DateTime>, 'SnapshotType' => '<string>', 'SourceRegion' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalBackupSizeInMegaBytes' => <float>, 'VpcId' => '<string>', ], ]
Result Details
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
Errors
- ClusterSnapshotAlreadyExistsFault:
The value specified as a snapshot identifier is already used by an existing snapshot.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ClusterSnapshotQuotaExceededFault:
The request would result in the user exceeding the allowed number of cluster snapshots.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
CreateClusterSubnetGroup
$result = $client->createClusterSubnetGroup
([/* ... */]); $promise = $client->createClusterSubnetGroupAsync
([/* ... */]);
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createClusterSubnetGroup([ 'ClusterSubnetGroupName' => '<string>', // REQUIRED 'Description' => '<string>', // REQUIRED 'SubnetIds' => ['<string>', ...], // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- ClusterSubnetGroupName
-
- Required: Yes
- Type: string
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
-
Must contain no more than 255 alphanumeric characters or hyphens.
-
Must not be "Default".
-
Must be unique for all subnet groups that are created by your Amazon Web Services account.
Example:
examplesubnetgroup
- Description
-
- Required: Yes
- Type: string
A description for the subnet group.
- SubnetIds
-
- Required: Yes
- Type: Array of strings
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'ClusterSubnetGroup' => [ 'ClusterSubnetGroupName' => '<string>', 'Description' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', 'SupportedPlatforms' => [ [ 'Name' => '<string>', ], // ... ], ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedClusterIpAddressTypes' => ['<string>', ...], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'VpcId' => '<string>', ], ]
Result Details
Members
- ClusterSubnetGroup
-
- Type: ClusterSubnetGroup structure
Describes a subnet group.
Errors
- ClusterSubnetGroupAlreadyExistsFault:
A ClusterSubnetGroupName is already used by an existing cluster subnet group.
- ClusterSubnetGroupQuotaExceededFault:
The request would result in user exceeding the allowed number of cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- ClusterSubnetQuotaExceededFault:
The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- InvalidSubnet:
The requested subnet is not valid, or not all of the subnets are in the same VPC.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
CreateCustomDomainAssociation
$result = $client->createCustomDomainAssociation
([/* ... */]); $promise = $client->createCustomDomainAssociationAsync
([/* ... */]);
Used to create a custom domain name for a cluster. Properties include the custom domain name, the cluster the custom domain is associated with, and the certificate Amazon Resource Name (ARN).
Parameter Syntax
$result = $client->createCustomDomainAssociation([ 'ClusterIdentifier' => '<string>', // REQUIRED 'CustomDomainCertificateArn' => '<string>', // REQUIRED 'CustomDomainName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The cluster identifier that the custom domain is associated with.
- CustomDomainCertificateArn
-
- Required: Yes
- Type: string
The certificate Amazon Resource Name (ARN) for the custom domain name association.
- CustomDomainName
-
- Required: Yes
- Type: string
The custom domain name for a custom domain association.
Result Syntax
[ 'ClusterIdentifier' => '<string>', 'CustomDomainCertExpiryTime' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainName' => '<string>', ]
Result Details
Members
- ClusterIdentifier
-
- Type: string
The identifier of the cluster that the custom domain is associated with.
- CustomDomainCertExpiryTime
-
- Type: string
The expiration time for the certificate for the custom domain.
- CustomDomainCertificateArn
-
- Type: string
The Amazon Resource Name (ARN) for the certificate associated with the custom domain name.
- CustomDomainName
-
- Type: string
The custom domain name for the association result.
Errors
- UnsupportedOperationFault:
The requested operation isn't supported.
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- CustomCnameAssociationFault:
An error occurred when an attempt was made to change the custom domain association.
CreateEndpointAccess
$result = $client->createEndpointAccess
([/* ... */]); $promise = $client->createEndpointAccessAsync
([/* ... */]);
Creates a Redshift-managed VPC endpoint.
Parameter Syntax
$result = $client->createEndpointAccess([ 'ClusterIdentifier' => '<string>', 'EndpointName' => '<string>', // REQUIRED 'ResourceOwner' => '<string>', 'SubnetGroupName' => '<string>', // REQUIRED 'VpcSecurityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The cluster identifier of the cluster to access.
- EndpointName
-
- Required: Yes
- Type: string
The Redshift-managed VPC endpoint name.
An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.
- ResourceOwner
-
- Type: string
The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.
- SubnetGroupName
-
- Required: Yes
- Type: string
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
- VpcSecurityGroupIds
-
- Type: Array of strings
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
Result Syntax
[ 'Address' => '<string>', 'ClusterIdentifier' => '<string>', 'EndpointCreateTime' => <DateTime>, 'EndpointName' => '<string>', 'EndpointStatus' => '<string>', 'Port' => <integer>, 'ResourceOwner' => '<string>', 'SubnetGroupName' => '<string>', 'VpcEndpoint' => [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ]
Result Details
Members
- Address
-
- Type: string
The DNS address of the endpoint.
- ClusterIdentifier
-
- Type: string
The cluster identifier of the cluster associated with the endpoint.
- EndpointCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) that the endpoint was created.
- EndpointName
-
- Type: string
The name of the endpoint.
- EndpointStatus
-
- Type: string
The status of the endpoint.
- Port
-
- Type: int
The port number on which the cluster accepts incoming connections.
- ResourceOwner
-
- Type: string
The Amazon Web Services account ID of the owner of the cluster.
- SubnetGroupName
-
- Type: string
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
- VpcEndpoint
-
- Type: VpcEndpoint structure
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
- VpcSecurityGroups
-
- Type: Array of VpcSecurityGroupMembership structures
The security groups associated with the endpoint.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- AccessToClusterDeniedFault:
You are not authorized to access the cluster.
- EndpointsPerClusterLimitExceededFault:
The number of Redshift-managed VPC endpoints per cluster has exceeded its limit.
- EndpointsPerAuthorizationLimitExceededFault:
The number of Redshift-managed VPC endpoints per authorization has exceeded its limit.
- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.- ClusterSubnetGroupNotFoundFault:
The cluster subnet group name does not refer to an existing cluster subnet group.
- EndpointAlreadyExistsFault:
The account already has a Redshift-managed VPC endpoint with the given identifier.
- UnsupportedOperationFault:
The requested operation isn't supported.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
CreateEventSubscription
$result = $client->createEventSubscription
([/* ... */]); $promise = $client->createEventSubscriptionAsync
([/* ... */]);
Creates an Amazon Redshift event notification subscription. This action requires an ARN (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.
You can specify the source type, and lists of Amazon Redshift source IDs, event categories, and event severities. Notifications will be sent for all events you want that match those criteria. For example, you can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and Backup categories for the specified clusters.
If you specify both the source type and source IDs, such as source type = cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1. If you specify a source type but do not specify a source identifier, you will receive notice of the events for the objects of that type in your Amazon Web Services account. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all Amazon Redshift sources belonging to your Amazon Web Services account. You must specify a source type if you specify a source ID.
Parameter Syntax
$result = $client->createEventSubscription([ 'Enabled' => true || false, 'EventCategories' => ['<string>', ...], 'Severity' => '<string>', 'SnsTopicArn' => '<string>', // REQUIRED 'SourceIds' => ['<string>', ...], 'SourceType' => '<string>', 'SubscriptionName' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- Enabled
-
- Type: boolean
A boolean value; set to
true
to activate the subscription, and set tofalse
to create the subscription but not activate it. - EventCategories
-
- Type: Array of strings
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
Values: configuration, management, monitoring, security, pending
- Severity
-
- Type: string
Specifies the Amazon Redshift event severity to be published by the event notification subscription.
Values: ERROR, INFO
- SnsTopicArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
- SourceIds
-
- Type: Array of strings
A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.
Example: my-cluster-1, my-cluster-2
Example: my-snapshot-20131010
- SourceType
-
- Type: string
The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type in order to specify source IDs.
Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.
- SubscriptionName
-
- Required: Yes
- Type: string
The name of the event subscription to be created.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'EventSubscription' => [ 'CustSubscriptionId' => '<string>', 'CustomerAwsId' => '<string>', 'Enabled' => true || false, 'EventCategoriesList' => ['<string>', ...], 'Severity' => '<string>', 'SnsTopicArn' => '<string>', 'SourceIdsList' => ['<string>', ...], 'SourceType' => '<string>', 'Status' => '<string>', 'SubscriptionCreationTime' => <DateTime>, 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- EventSubscription
-
- Type: EventSubscription structure
Describes event subscriptions.
Errors
- EventSubscriptionQuotaExceededFault:
The request would exceed the allowed number of event subscriptions for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- SubscriptionAlreadyExistFault:
There is already an existing event notification subscription with the specified name.
- SNSInvalidTopicFault:
Amazon SNS has responded that there is a problem with the specified Amazon SNS topic.
- SNSNoAuthorizationFault:
You do not have permission to publish to the specified Amazon SNS topic.
- SNSTopicArnNotFoundFault:
An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not exist.
- SubscriptionEventIdNotFoundFault:
An Amazon Redshift event with the specified event ID does not exist.
- SubscriptionCategoryNotFoundFault:
The value specified for the event category was not one of the allowed values, or it specified a category that does not apply to the specified source type. The allowed values are Configuration, Management, Monitoring, and Security.
- SubscriptionSeverityNotFoundFault:
The value specified for the event severity was not one of the allowed values, or it specified a severity that does not apply to the specified source type. The allowed values are ERROR and INFO.
- SourceNotFoundFault:
The specified Amazon Redshift event source could not be found.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
CreateHsmClientCertificate
$result = $client->createHsmClientCertificate
([/* ... */]); $promise = $client->createHsmClientCertificateAsync
([/* ... */]);
Creates 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.
The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createHsmClientCertificate([ 'HsmClientCertificateIdentifier' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- HsmClientCertificateIdentifier
-
- Required: Yes
- Type: string
The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'HsmClientCertificate' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmClientCertificatePublicKey' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- HsmClientCertificate
-
- Type: HsmClientCertificate structure
Returns information about an HSM client certificate. The certificate is stored in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift cluster to encrypt data files.
Errors
- HsmClientCertificateAlreadyExistsFault:
There is already an existing Amazon Redshift HSM client certificate with the specified identifier.
- HsmClientCertificateQuotaExceededFault:
The quota for HSM client certificates has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
CreateHsmConfiguration
$result = $client->createHsmConfiguration
([/* ... */]); $promise = $client->createHsmConfigurationAsync
([/* ... */]);
Creates 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). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM.
In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createHsmConfiguration([ 'Description' => '<string>', // REQUIRED 'HsmConfigurationIdentifier' => '<string>', // REQUIRED 'HsmIpAddress' => '<string>', // REQUIRED 'HsmPartitionName' => '<string>', // REQUIRED 'HsmPartitionPassword' => '<string>', // REQUIRED 'HsmServerPublicCertificate' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- Description
-
- Required: Yes
- Type: string
A text description of the HSM configuration to be created.
- HsmConfigurationIdentifier
-
- Required: Yes
- Type: string
The identifier to be assigned to the new Amazon Redshift HSM configuration.
- HsmIpAddress
-
- Required: Yes
- Type: string
The IP address that the Amazon Redshift cluster must use to access the HSM.
- HsmPartitionName
-
- Required: Yes
- Type: string
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
- HsmPartitionPassword
-
- Required: Yes
- Type: string
The password required to access the HSM partition.
- HsmServerPublicCertificate
-
- Required: Yes
- Type: string
The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'HsmConfiguration' => [ 'Description' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'HsmIpAddress' => '<string>', 'HsmPartitionName' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- HsmConfiguration
-
- Type: HsmConfiguration structure
Returns information about an HSM configuration, which is an object that describes to Amazon Redshift clusters the information they require to connect to an HSM where they can store database encryption keys.
Errors
- HsmConfigurationAlreadyExistsFault:
There is already an existing Amazon Redshift HSM configuration with the specified identifier.
- HsmConfigurationQuotaExceededFault:
The quota for HSM configurations has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
CreateIntegration
$result = $client->createIntegration
([/* ... */]); $promise = $client->createIntegrationAsync
([/* ... */]);
Creates a zero-ETL integration or S3 event integration with Amazon Redshift.
Parameter Syntax
$result = $client->createIntegration([ 'AdditionalEncryptionContext' => ['<string>', ...], 'Description' => '<string>', 'IntegrationName' => '<string>', // REQUIRED 'KMSKeyId' => '<string>', 'SourceArn' => '<string>', // REQUIRED 'TagList' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AdditionalEncryptionContext
-
- Type: Associative array of custom strings keys (String) to strings
An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
You can only include this parameter if you specify the
KMSKeyId
parameter. - Description
-
- Type: string
A description of the integration.
- IntegrationName
-
- Required: Yes
- Type: string
The name of the integration.
- KMSKeyId
-
- Type: string
An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.
- SourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the database to use as the source for replication.
- TagList
-
- Type: Array of Tag structures
A list of tags.
- TargetArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Result Syntax
[ 'AdditionalEncryptionContext' => ['<string>', ...], 'CreateTime' => <DateTime>, 'Description' => '<string>', 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', ], // ... ], 'IntegrationArn' => '<string>', 'IntegrationName' => '<string>', 'KMSKeyId' => '<string>', 'SourceArn' => '<string>', 'Status' => 'creating|active|modifying|failed|deleting|syncing|needs_attention', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetArn' => '<string>', ]
Result Details
Members
- AdditionalEncryptionContext
-
- Type: Associative array of custom strings keys (String) to strings
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
- CreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the integration was created.
- Description
-
- Type: string
The description of the integration.
- Errors
-
- Type: Array of IntegrationError structures
Any errors associated with the integration.
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) of the integration.
- IntegrationName
-
- Type: string
The name of the integration.
- KMSKeyId
-
- Type: string
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
- SourceArn
-
- Type: string
The Amazon Resource Name (ARN) of the database used as the source for replication.
- Status
-
- Type: string
The current status of the integration.
- Tags
-
- Type: Array of Tag structures
The list of tags associated with the integration.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Errors
- IntegrationAlreadyExistsFault:
The integration you are trying to create already exists.
- IntegrationConflictOperationFault:
A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.
- IntegrationQuotaExceededFault:
You can't create any more zero-ETL or S3 event integrations because the quota has been reached.
- IntegrationSourceNotFoundFault:
The specified integration source can't be found.
- IntegrationTargetNotFoundFault:
The specified integration target can't be found.
- UnsupportedOperationFault:
The requested operation isn't supported.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
CreateRedshiftIdcApplication
$result = $client->createRedshiftIdcApplication
([/* ... */]); $promise = $client->createRedshiftIdcApplicationAsync
([/* ... */]);
Creates an Amazon Redshift application for use with IAM Identity Center.
Parameter Syntax
$result = $client->createRedshiftIdcApplication([ 'AuthorizedTokenIssuerList' => [ [ 'AuthorizedAudiencesList' => ['<string>', ...], 'TrustedTokenIssuerArn' => '<string>', ], // ... ], 'IamRoleArn' => '<string>', // REQUIRED 'IdcDisplayName' => '<string>', // REQUIRED 'IdcInstanceArn' => '<string>', // REQUIRED 'IdentityNamespace' => '<string>', 'RedshiftIdcApplicationName' => '<string>', // REQUIRED 'ServiceIntegrations' => [ [ 'LakeFormation' => [ [ 'LakeFormationQuery' => [ 'Authorization' => 'Enabled|Disabled', // REQUIRED ], ], // ... ], 'S3AccessGrants' => [ [ 'ReadWriteAccess' => [ 'Authorization' => 'Enabled|Disabled', // REQUIRED ], ], // ... ], ], // ... ], ]);
Parameter Details
Members
- AuthorizedTokenIssuerList
-
- Type: Array of AuthorizedTokenIssuer structures
The token issuer list for the Amazon Redshift IAM Identity Center application instance.
- IamRoleArn
-
- Required: Yes
- Type: string
The IAM role ARN for the Amazon Redshift IAM Identity Center application instance. It has the required permissions to be assumed and invoke the IDC Identity Center API.
- IdcDisplayName
-
- Required: Yes
- Type: string
The display name for the Amazon Redshift IAM Identity Center application instance. It appears in the console.
- IdcInstanceArn
-
- Required: Yes
- Type: string
The Amazon resource name (ARN) of the IAM Identity Center instance where Amazon Redshift creates a new managed application.
- IdentityNamespace
-
- Type: string
The namespace for the Amazon Redshift IAM Identity Center application instance. It determines which managed application verifies the connection token.
- RedshiftIdcApplicationName
-
- Required: Yes
- Type: string
The name of the Redshift application in IAM Identity Center.
- ServiceIntegrations
-
- Type: Array of ServiceIntegrationsUnion structures
A collection of service integrations for the Redshift IAM Identity Center application.
Result Syntax
[ 'RedshiftIdcApplication' => [ 'AuthorizedTokenIssuerList' => [ [ 'AuthorizedAudiencesList' => ['<string>', ...], 'TrustedTokenIssuerArn' => '<string>', ], // ... ], 'IamRoleArn' => '<string>', 'IdcDisplayName' => '<string>', 'IdcInstanceArn' => '<string>', 'IdcManagedApplicationArn' => '<string>', 'IdcOnboardStatus' => '<string>', 'IdentityNamespace' => '<string>', 'RedshiftIdcApplicationArn' => '<string>', 'RedshiftIdcApplicationName' => '<string>', 'ServiceIntegrations' => [ [ 'LakeFormation' => [ [ 'LakeFormationQuery' => [ 'Authorization' => 'Enabled|Disabled', ], ], // ... ], 'S3AccessGrants' => [ [ 'ReadWriteAccess' => [ 'Authorization' => 'Enabled|Disabled', ], ], // ... ], ], // ... ], ], ]
Result Details
Members
- RedshiftIdcApplication
-
- Type: RedshiftIdcApplication structure
Contains properties for the Redshift IDC application.
Errors
- RedshiftIdcApplicationAlreadyExistsFault:
The application you attempted to add already exists.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceAccessDeniedFault:
A dependent service denied access for the integration.
- RedshiftIdcApplicationQuotaExceededFault:
The maximum number of Redshift IAM Identity Center applications was exceeded.
CreateScheduledAction
$result = $client->createScheduledAction
([/* ... */]); $promise = $client->createScheduledActionAsync
([/* ... */]);
Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the ResizeCluster
API operation.
Parameter Syntax
$result = $client->createScheduledAction([ 'Enable' => true || false, 'EndTime' => <integer || string || DateTime>, 'IamRole' => '<string>', // REQUIRED 'Schedule' => '<string>', // REQUIRED 'ScheduledActionDescription' => '<string>', 'ScheduledActionName' => '<string>', // REQUIRED 'StartTime' => <integer || string || DateTime>, 'TargetAction' => [ // REQUIRED 'PauseCluster' => [ 'ClusterIdentifier' => '<string>', // REQUIRED ], 'ResizeCluster' => [ 'Classic' => true || false, 'ClusterIdentifier' => '<string>', // REQUIRED 'ClusterType' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'ReservedNodeId' => '<string>', 'TargetReservedNodeOfferingId' => '<string>', ], 'ResumeCluster' => [ 'ClusterIdentifier' => '<string>', // REQUIRED ], ], ]);
Parameter Details
Members
- Enable
-
- Type: boolean
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
state
of the scheduled action, see ScheduledAction. - EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
- IamRole
-
- Required: Yes
- Type: string
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
- Schedule
-
- Required: Yes
- Type: string
The schedule in
at( )
orcron( )
format. For more information about this parameter, see ScheduledAction. - ScheduledActionDescription
-
- Type: string
The description of the scheduled action.
- ScheduledActionName
-
- Required: Yes
- Type: string
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
- TargetAction
-
- Required: Yes
- Type: ScheduledActionType structure
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
Result Syntax
[ 'EndTime' => <DateTime>, 'IamRole' => '<string>', 'NextInvocations' => [<DateTime>, ...], 'Schedule' => '<string>', 'ScheduledActionDescription' => '<string>', 'ScheduledActionName' => '<string>', 'StartTime' => <DateTime>, 'State' => 'ACTIVE|DISABLED', 'TargetAction' => [ 'PauseCluster' => [ 'ClusterIdentifier' => '<string>', ], 'ResizeCluster' => [ 'Classic' => true || false, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'ReservedNodeId' => '<string>', 'TargetReservedNodeOfferingId' => '<string>', ], 'ResumeCluster' => [ 'ClusterIdentifier' => '<string>', ], ], ]
Result Details
Members
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.
- IamRole
-
- Type: string
The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NextInvocations
-
- Type: Array of timestamp (string|DateTime or anything parsable by strtotime)s
List of times when the scheduled action will run.
- Schedule
-
- Type: string
The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.
Format of at expressions is "
at(yyyy-mm-ddThh:mm:ss)
". For example, "at(2016-03-04T17:27:00)
".Format of cron expressions is "
cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide. - ScheduledActionDescription
-
- Type: string
The description of the scheduled action.
- ScheduledActionName
-
- Type: string
The name of the scheduled action.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
- State
-
- Type: string
The state of the scheduled action. For example,
DISABLED
. - TargetAction
-
- Type: ScheduledActionType structure
A JSON format string of the Amazon Redshift API operation with input parameters.
"
{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}
".
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ScheduledActionAlreadyExistsFault:
The scheduled action already exists.
- ScheduledActionQuotaExceededFault:
The quota for scheduled actions exceeded.
- ScheduledActionTypeUnsupportedFault:
The action type specified for a scheduled action is not supported.
- InvalidScheduleFault:
The schedule you submitted isn't valid.
- InvalidScheduledActionFault:
The scheduled action is not valid.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- UnsupportedOperationFault:
The requested operation isn't supported.
CreateSnapshotCopyGrant
$result = $client->createSnapshotCopyGrant
([/* ... */]); $promise = $client->createSnapshotCopyGrantAsync
([/* ... */]);
Creates 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.
For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->createSnapshotCopyGrant([ 'KmsKeyId' => '<string>', 'SnapshotCopyGrantName' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- KmsKeyId
-
- Type: string
The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
- SnapshotCopyGrantName
-
- Required: Yes
- Type: string
The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services account.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
Alphabetic characters must be lowercase.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for all clusters within an Amazon Web Services account.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'SnapshotCopyGrant' => [ 'KmsKeyId' => '<string>', 'SnapshotCopyGrantName' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- SnapshotCopyGrant
-
- Type: SnapshotCopyGrant structure
The snapshot copy grant that grants Amazon Redshift permission to encrypt copied snapshots with the specified encrypted symmetric key from Amazon Web Services KMS in the destination region.
For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
Errors
- SnapshotCopyGrantAlreadyExistsFault:
The snapshot copy grant can't be created because a grant with the same name already exists.
- SnapshotCopyGrantQuotaExceededFault:
The Amazon Web Services account has exceeded the maximum number of snapshot copy grants in this region.
- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
CreateSnapshotSchedule
$result = $client->createSnapshotSchedule
([/* ... */]); $promise = $client->createSnapshotScheduleAsync
([/* ... */]);
Create a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule.
Parameter Syntax
$result = $client->createSnapshotSchedule([ 'DryRun' => true || false, 'NextInvocations' => <integer>, 'ScheduleDefinitions' => ['<string>', ...], 'ScheduleDescription' => '<string>', 'ScheduleIdentifier' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- DryRun
-
- Type: boolean
- NextInvocations
-
- Type: int
- ScheduleDefinitions
-
- Type: Array of strings
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
- ScheduleDescription
-
- Type: string
The description of the snapshot schedule.
- ScheduleIdentifier
-
- Type: string
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
- Tags
-
- Type: Array of Tag structures
An optional set of tags you can use to search for the schedule.
Result Syntax
[ 'AssociatedClusterCount' => <integer>, 'AssociatedClusters' => [ [ 'ClusterIdentifier' => '<string>', 'ScheduleAssociationState' => 'MODIFYING|ACTIVE|FAILED', ], // ... ], 'NextInvocations' => [<DateTime>, ...], 'ScheduleDefinitions' => ['<string>', ...], 'ScheduleDescription' => '<string>', 'ScheduleIdentifier' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]
Result Details
Members
- AssociatedClusterCount
-
- Type: int
The number of clusters associated with the schedule.
- AssociatedClusters
-
- Type: Array of ClusterAssociatedToSchedule structures
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
- NextInvocations
-
- Type: Array of timestamp (string|DateTime or anything parsable by strtotime)s
- ScheduleDefinitions
-
- Type: Array of strings
A list of ScheduleDefinitions.
- ScheduleDescription
-
- Type: string
The description of the schedule.
- ScheduleIdentifier
-
- Type: string
A unique identifier for the schedule.
- Tags
-
- Type: Array of Tag structures
An optional set of tags describing the schedule.
Errors
- SnapshotScheduleAlreadyExistsFault:
The specified snapshot schedule already exists.
- InvalidScheduleFault:
The schedule you submitted isn't valid.
- SnapshotScheduleQuotaExceededFault:
You have exceeded the quota of snapshot schedules.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- ScheduleDefinitionTypeUnsupportedFault:
The definition you submitted is not supported.
- InvalidTagFault:
The tag is invalid.
CreateTags
$result = $client->createTags
([/* ... */]); $promise = $client->createTagsAsync
([/* ... */]);
Adds tags to a cluster.
A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, you will receive an error and the attempt will fail.
If you specify a key that already exists for the resource, the value for that key will be updated with the new value.
Parameter Syntax
$result = $client->createTags([ 'ResourceName' => '<string>', // REQUIRED 'Tags' => [ // REQUIRED [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- ResourceName
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example,
arn:aws:redshift:us-east-2:123456789:cluster:t1
. - Tags
-
- Required: Yes
- Type: Array of Tag structures
One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the parameter
Key
and the corresponding value is passed in with the parameterValue
. TheKey
andValue
parameters are separated by a comma (,). Separate multiple tags with a space. For example,--tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0"
.
Result Syntax
[]
Result Details
Errors
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidTagFault:
The tag is invalid.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.
CreateUsageLimit
$result = $client->createUsageLimit
([/* ... */]); $promise = $client->createUsageLimitAsync
([/* ... */]);
Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.
Parameter Syntax
$result = $client->createUsageLimit([ 'Amount' => <integer>, // REQUIRED 'BreachAction' => 'log|emit-metric|disable', 'ClusterIdentifier' => '<string>', // REQUIRED 'FeatureType' => 'spectrum|concurrency-scaling|cross-region-datasharing', // REQUIRED 'LimitType' => 'time|data-scanned', // REQUIRED 'Period' => 'daily|weekly|monthly', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- Amount
-
- Required: Yes
- Type: long (int|float)
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
- BreachAction
-
- Type: string
The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster that you want to limit usage.
- FeatureType
-
- Required: Yes
- Type: string
The Amazon Redshift feature that you want to limit.
- LimitType
-
- Required: Yes
- Type: string
The type of limit. Depending on the feature type, this can be based on a time duration or data size. If
FeatureType
isspectrum
, thenLimitType
must bedata-scanned
. IfFeatureType
isconcurrency-scaling
, thenLimitType
must betime
. IfFeatureType
iscross-region-datasharing
, thenLimitType
must bedata-scanned
. - Period
-
- Type: string
The time period that the amount applies to. A
weekly
period begins on Sunday. The default ismonthly
. - Tags
-
- Type: Array of Tag structures
A list of tag instances.
Result Syntax
[ 'Amount' => <integer>, 'BreachAction' => 'log|emit-metric|disable', 'ClusterIdentifier' => '<string>', 'FeatureType' => 'spectrum|concurrency-scaling|cross-region-datasharing', 'LimitType' => 'time|data-scanned', 'Period' => 'daily|weekly|monthly', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'UsageLimitId' => '<string>', ]
Result Details
Members
- Amount
-
- Type: long (int|float)
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
- BreachAction
-
- Type: string
The action that Amazon Redshift takes when the limit is reached. Possible values are:
-
log - To log an event in a system table. The default is log.
-
emit-metric - To emit CloudWatch metrics.
-
disable - To disable the feature until the next usage period begins.
- ClusterIdentifier
-
- Type: string
The identifier of the cluster with a usage limit.
- FeatureType
-
- Type: string
The Amazon Redshift feature to which the limit applies.
- LimitType
-
- Type: string
The type of limit. Depending on the feature type, this can be based on a time duration or data size.
- Period
-
- Type: string
The time period that the amount applies to. A
weekly
period begins on Sunday. The default ismonthly
. - Tags
-
- Type: Array of Tag structures
A list of tag instances.
- UsageLimitId
-
- Type: string
The identifier of the usage limit.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- UsageLimitAlreadyExistsFault:
The usage limit already exists.
- InvalidUsageLimitFault:
The usage limit is not valid.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- UnsupportedOperationFault:
The requested operation isn't supported.
DeauthorizeDataShare
$result = $client->deauthorizeDataShare
([/* ... */]); $promise = $client->deauthorizeDataShareAsync
([/* ... */]);
From a datashare producer account, removes authorization from the specified datashare.
Parameter Syntax
$result = $client->deauthorizeDataShare([ 'ConsumerIdentifier' => '<string>', // REQUIRED 'DataShareArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ConsumerIdentifier
-
- Required: Yes
- Type: string
The identifier of the data consumer that is to have authorization removed from the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
- DataShareArn
-
- Required: Yes
- Type: string
The namespace Amazon Resource Name (ARN) of the datashare to remove authorization from.
Result Syntax
[ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ]
Result Details
Members
- AllowPubliclyAccessibleConsumers
-
- Type: boolean
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
- DataShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
- DataShareAssociations
-
- Type: Array of DataShareAssociation structures
A value that specifies when the datashare has an association between producer and data consumers.
- ManagedBy
-
- Type: string
The identifier of a datashare to show its managing entity.
- ProducerArn
-
- Type: string
The Amazon Resource Name (ARN) of the producer namespace.
Errors
- InvalidDataShareFault:
There is an error with the datashare.
DeleteAuthenticationProfile
$result = $client->deleteAuthenticationProfile
([/* ... */]); $promise = $client->deleteAuthenticationProfileAsync
([/* ... */]);
Deletes an authentication profile.
Parameter Syntax
$result = $client->deleteAuthenticationProfile([ 'AuthenticationProfileName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AuthenticationProfileName
-
- Required: Yes
- Type: string
The name of the authentication profile to delete.
Result Syntax
[ 'AuthenticationProfileName' => '<string>', ]
Result Details
Members
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile that was deleted.
Errors
- AuthenticationProfileNotFoundFault:
The authentication profile can't be found.
- InvalidAuthenticationProfileRequestFault:
The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.
DeleteCluster
$result = $client->deleteCluster
([/* ... */]); $promise = $client->deleteClusterAsync
([/* ... */]);
Deletes a previously provisioned cluster without its final snapshot being created. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false
and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster.
For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->deleteCluster([ 'ClusterIdentifier' => '<string>', // REQUIRED 'FinalClusterSnapshotIdentifier' => '<string>', 'FinalClusterSnapshotRetentionPeriod' => <integer>, 'SkipFinalClusterSnapshot' => true || false, ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster to be deleted.
Constraints:
-
Must contain lowercase characters.
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- FinalClusterSnapshotIdentifier
-
- Type: string
The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be
false
.Constraints:
-
Must be 1 to 255 alphanumeric characters.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- FinalClusterSnapshotRetentionPeriod
-
- Type: int
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
- SkipFinalClusterSnapshot
-
- Type: boolean
Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If
true
, a final cluster snapshot is not created. Iffalse
, a final cluster snapshot is created before the cluster is deleted.The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is
false
.Default:
false
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- ClusterSnapshotAlreadyExistsFault:
The value specified as a snapshot identifier is already used by an existing snapshot.
- ClusterSnapshotQuotaExceededFault:
The request would result in the user exceeding the allowed number of cluster snapshots.
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
DeleteClusterParameterGroup
$result = $client->deleteClusterParameterGroup
([/* ... */]); $promise = $client->deleteClusterParameterGroupAsync
([/* ... */]);
Deletes a specified Amazon Redshift parameter group.
You cannot delete a parameter group if it is associated with a cluster.
Parameter Syntax
$result = $client->deleteClusterParameterGroup([ 'ParameterGroupName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ParameterGroupName
-
- Required: Yes
- Type: string
The name of the parameter group to be deleted.
Constraints:
-
Must be the name of an existing cluster parameter group.
-
Cannot delete a default cluster parameter group.
Result Syntax
[]
Result Details
Errors
- InvalidClusterParameterGroupStateFault:
The cluster parameter group action can not be completed because another task is in progress that involves the parameter group. Wait a few moments and try the operation again.
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
DeleteClusterSecurityGroup
$result = $client->deleteClusterSecurityGroup
([/* ... */]); $promise = $client->deleteClusterSecurityGroupAsync
([/* ... */]);
Deletes an Amazon Redshift security group.
You cannot delete a security group that is associated with any clusters. You cannot delete the default security group.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->deleteClusterSecurityGroup([ 'ClusterSecurityGroupName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterSecurityGroupName
-
- Required: Yes
- Type: string
The name of the cluster security group to be deleted.
Result Syntax
[]
Result Details
Errors
- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.- ClusterSecurityGroupNotFoundFault:
The cluster security group name does not refer to an existing cluster security group.
DeleteClusterSnapshot
$result = $client->deleteClusterSnapshot
([/* ... */]); $promise = $client->deleteClusterSnapshotAsync
([/* ... */]);
Deletes the specified manual snapshot. The snapshot must be in the available
state, with no other users authorized to access the snapshot.
Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.
Parameter Syntax
$result = $client->deleteClusterSnapshot([ 'SnapshotClusterIdentifier' => '<string>', 'SnapshotIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- SnapshotClusterIdentifier
-
- Type: string
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
- SnapshotIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the
available
,failed
, orcancelled
state.
Result Syntax
[ 'Snapshot' => [ 'AccountsWithRestoreAccess' => [ [ 'AccountAlias' => '<string>', 'AccountId' => '<string>', ], // ... ], 'ActualIncrementalBackupSizeInMegaBytes' => <float>, 'AvailabilityZone' => '<string>', 'BackupProgressInMegaBytes' => <float>, 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterVersion' => '<string>', 'CurrentBackupRateInMegaBytesPerSecond' => <float>, 'DBName' => '<string>', 'ElapsedTimeInSeconds' => <integer>, 'Encrypted' => true || false, 'EncryptedWithHSM' => true || false, 'EngineFullVersion' => '<string>', 'EnhancedVpcRouting' => true || false, 'EstimatedSecondsToCompletion' => <integer>, 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRemainingDays' => <integer>, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'RestorableNodeTypes' => ['<string>', ...], 'SnapshotArn' => '<string>', 'SnapshotCreateTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SnapshotRetentionStartTime' => <DateTime>, 'SnapshotType' => '<string>', 'SourceRegion' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalBackupSizeInMegaBytes' => <float>, 'VpcId' => '<string>', ], ]
Result Details
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
Errors
- InvalidClusterSnapshotStateFault:
The specified cluster snapshot is not in the
available
state, or other accounts are authorized to access the snapshot.- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
DeleteClusterSubnetGroup
$result = $client->deleteClusterSubnetGroup
([/* ... */]); $promise = $client->deleteClusterSubnetGroupAsync
([/* ... */]);
Deletes the specified cluster subnet group.
Parameter Syntax
$result = $client->deleteClusterSubnetGroup([ 'ClusterSubnetGroupName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterSubnetGroupName
-
- Required: Yes
- Type: string
The name of the cluster subnet group name to be deleted.
Result Syntax
[]
Result Details
Errors
- InvalidClusterSubnetGroupStateFault:
The cluster subnet group cannot be deleted because it is in use.
- InvalidClusterSubnetStateFault:
The state of the subnet is invalid.
- ClusterSubnetGroupNotFoundFault:
The cluster subnet group name does not refer to an existing cluster subnet group.
DeleteCustomDomainAssociation
$result = $client->deleteCustomDomainAssociation
([/* ... */]); $promise = $client->deleteCustomDomainAssociationAsync
([/* ... */]);
Contains information about deleting a custom domain association for a cluster.
Parameter Syntax
$result = $client->deleteCustomDomainAssociation([ 'ClusterIdentifier' => '<string>', // REQUIRED 'CustomDomainName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster to delete a custom domain association for.
- CustomDomainName
-
- Required: Yes
- Type: string
The custom domain name for the custom domain association.
Result Syntax
[]
Result Details
Errors
- UnsupportedOperationFault:
The requested operation isn't supported.
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- CustomCnameAssociationFault:
An error occurred when an attempt was made to change the custom domain association.
- CustomDomainAssociationNotFoundFault:
An error occurred. The custom domain name couldn't be found.
DeleteEndpointAccess
$result = $client->deleteEndpointAccess
([/* ... */]); $promise = $client->deleteEndpointAccessAsync
([/* ... */]);
Deletes a Redshift-managed VPC endpoint.
Parameter Syntax
$result = $client->deleteEndpointAccess([ 'EndpointName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointName
-
- Required: Yes
- Type: string
The Redshift-managed VPC endpoint to delete.
Result Syntax
[ 'Address' => '<string>', 'ClusterIdentifier' => '<string>', 'EndpointCreateTime' => <DateTime>, 'EndpointName' => '<string>', 'EndpointStatus' => '<string>', 'Port' => <integer>, 'ResourceOwner' => '<string>', 'SubnetGroupName' => '<string>', 'VpcEndpoint' => [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ]
Result Details
Members
- Address
-
- Type: string
The DNS address of the endpoint.
- ClusterIdentifier
-
- Type: string
The cluster identifier of the cluster associated with the endpoint.
- EndpointCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) that the endpoint was created.
- EndpointName
-
- Type: string
The name of the endpoint.
- EndpointStatus
-
- Type: string
The status of the endpoint.
- Port
-
- Type: int
The port number on which the cluster accepts incoming connections.
- ResourceOwner
-
- Type: string
The Amazon Web Services account ID of the owner of the cluster.
- SubnetGroupName
-
- Type: string
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
- VpcEndpoint
-
- Type: VpcEndpoint structure
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
- VpcSecurityGroups
-
- Type: Array of VpcSecurityGroupMembership structures
The security groups associated with the endpoint.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidEndpointStateFault:
The status of the endpoint is not valid.
- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.- EndpointNotFoundFault:
The endpoint name doesn't refer to an existing endpoint.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.
DeleteEventSubscription
$result = $client->deleteEventSubscription
([/* ... */]); $promise = $client->deleteEventSubscriptionAsync
([/* ... */]);
Deletes an Amazon Redshift event notification subscription.
Parameter Syntax
$result = $client->deleteEventSubscription([ 'SubscriptionName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- SubscriptionName
-
- Required: Yes
- Type: string
The name of the Amazon Redshift event notification subscription to be deleted.
Result Syntax
[]
Result Details
Errors
- SubscriptionNotFoundFault:
An Amazon Redshift event notification subscription with the specified name does not exist.
- InvalidSubscriptionStateFault:
The subscription request is invalid because it is a duplicate request. This subscription request is already in progress.
DeleteHsmClientCertificate
$result = $client->deleteHsmClientCertificate
([/* ... */]); $promise = $client->deleteHsmClientCertificateAsync
([/* ... */]);
Deletes the specified HSM client certificate.
Parameter Syntax
$result = $client->deleteHsmClientCertificate([ 'HsmClientCertificateIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HsmClientCertificateIdentifier
-
- Required: Yes
- Type: string
The identifier of the HSM client certificate to be deleted.
Result Syntax
[]
Result Details
Errors
- InvalidHsmClientCertificateStateFault:
The specified HSM client certificate is not in the
available
state, or it is still in use by one or more Amazon Redshift clusters.- HsmClientCertificateNotFoundFault:
There is no Amazon Redshift HSM client certificate with the specified identifier.
DeleteHsmConfiguration
$result = $client->deleteHsmConfiguration
([/* ... */]); $promise = $client->deleteHsmConfigurationAsync
([/* ... */]);
Deletes the specified Amazon Redshift HSM configuration.
Parameter Syntax
$result = $client->deleteHsmConfiguration([ 'HsmConfigurationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HsmConfigurationIdentifier
-
- Required: Yes
- Type: string
The identifier of the Amazon Redshift HSM configuration to be deleted.
Result Syntax
[]
Result Details
Errors
- InvalidHsmConfigurationStateFault:
The specified HSM configuration is not in the
available
state, or it is still in use by one or more Amazon Redshift clusters.- HsmConfigurationNotFoundFault:
There is no Amazon Redshift HSM configuration with the specified identifier.
DeleteIntegration
$result = $client->deleteIntegration
([/* ... */]); $promise = $client->deleteIntegrationAsync
([/* ... */]);
Deletes a zero-ETL integration or S3 event integration with Amazon Redshift.
Parameter Syntax
$result = $client->deleteIntegration([ 'IntegrationArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- IntegrationArn
-
- Required: Yes
- Type: string
The unique identifier of the integration to delete.
Result Syntax
[ 'AdditionalEncryptionContext' => ['<string>', ...], 'CreateTime' => <DateTime>, 'Description' => '<string>', 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', ], // ... ], 'IntegrationArn' => '<string>', 'IntegrationName' => '<string>', 'KMSKeyId' => '<string>', 'SourceArn' => '<string>', 'Status' => 'creating|active|modifying|failed|deleting|syncing|needs_attention', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetArn' => '<string>', ]
Result Details
Members
- AdditionalEncryptionContext
-
- Type: Associative array of custom strings keys (String) to strings
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
- CreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the integration was created.
- Description
-
- Type: string
The description of the integration.
- Errors
-
- Type: Array of IntegrationError structures
Any errors associated with the integration.
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) of the integration.
- IntegrationName
-
- Type: string
The name of the integration.
- KMSKeyId
-
- Type: string
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
- SourceArn
-
- Type: string
The Amazon Resource Name (ARN) of the database used as the source for replication.
- Status
-
- Type: string
The current status of the integration.
- Tags
-
- Type: Array of Tag structures
The list of tags associated with the integration.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Errors
- IntegrationNotFoundFault:
The integration can't be found.
- IntegrationConflictStateFault:
The integration is in an invalid state and can't perform the requested operation.
- IntegrationConflictOperationFault:
A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.
- UnsupportedOperationFault:
The requested operation isn't supported.
DeletePartner
$result = $client->deletePartner
([/* ... */]); $promise = $client->deletePartnerAsync
([/* ... */]);
Deletes a partner integration from a cluster. Data can still flow to the cluster until the integration is deleted at the partner's website.
Parameter Syntax
$result = $client->deletePartner([ 'AccountId' => '<string>', // REQUIRED 'ClusterIdentifier' => '<string>', // REQUIRED 'DatabaseName' => '<string>', // REQUIRED 'PartnerName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AccountId
-
- Required: Yes
- Type: string
The Amazon Web Services account ID that owns the cluster.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The cluster identifier of the cluster that receives data from the partner.
- DatabaseName
-
- Required: Yes
- Type: string
The name of the database that receives data from the partner.
- PartnerName
-
- Required: Yes
- Type: string
The name of the partner that is authorized to send data.
Result Syntax
[ 'DatabaseName' => '<string>', 'PartnerName' => '<string>', ]
Result Details
Members
- DatabaseName
-
- Type: string
The name of the database that receives data from the partner.
- PartnerName
-
- Type: string
The name of the partner that is authorized to send data.
Errors
- PartnerNotFoundFault:
The name of the partner was not found.
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnauthorizedPartnerIntegrationFault:
The partner integration is not authorized.
- UnsupportedOperationFault:
The requested operation isn't supported.
DeleteRedshiftIdcApplication
$result = $client->deleteRedshiftIdcApplication
([/* ... */]); $promise = $client->deleteRedshiftIdcApplicationAsync
([/* ... */]);
Deletes an Amazon Redshift IAM Identity Center application.
Parameter Syntax
$result = $client->deleteRedshiftIdcApplication([ 'RedshiftIdcApplicationArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- RedshiftIdcApplicationArn
-
- Required: Yes
- Type: string
The ARN for a deleted Amazon Redshift IAM Identity Center application.
Result Syntax
[]
Result Details
Errors
- RedshiftIdcApplicationNotExistsFault:
The application you attempted to find doesn't exist.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceAccessDeniedFault:
A dependent service denied access for the integration.
DeleteResourcePolicy
$result = $client->deleteResourcePolicy
([/* ... */]); $promise = $client->deleteResourcePolicyAsync
([/* ... */]);
Deletes the resource policy for a specified resource.
Parameter Syntax
$result = $client->deleteResourcePolicy([ 'ResourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource of which its resource policy is deleted.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundFault:
The resource could not be found.
- UnsupportedOperationFault:
The requested operation isn't supported.
DeleteScheduledAction
$result = $client->deleteScheduledAction
([/* ... */]); $promise = $client->deleteScheduledActionAsync
([/* ... */]);
Deletes a scheduled action.
Parameter Syntax
$result = $client->deleteScheduledAction([ 'ScheduledActionName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ScheduledActionName
-
- Required: Yes
- Type: string
The name of the scheduled action to delete.
Result Syntax
[]
Result Details
Errors
- ScheduledActionNotFoundFault:
The scheduled action cannot be found.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
DeleteSnapshotCopyGrant
$result = $client->deleteSnapshotCopyGrant
([/* ... */]); $promise = $client->deleteSnapshotCopyGrantAsync
([/* ... */]);
Deletes the specified snapshot copy grant.
Parameter Syntax
$result = $client->deleteSnapshotCopyGrant([ 'SnapshotCopyGrantName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- SnapshotCopyGrantName
-
- Required: Yes
- Type: string
The name of the snapshot copy grant to delete.
Result Syntax
[]
Result Details
Errors
- InvalidSnapshotCopyGrantStateFault:
The snapshot copy grant can't be deleted because it is used by one or more clusters.
- SnapshotCopyGrantNotFoundFault:
The specified snapshot copy grant can't be found. Make sure that the name is typed correctly and that the grant exists in the destination region.
DeleteSnapshotSchedule
$result = $client->deleteSnapshotSchedule
([/* ... */]); $promise = $client->deleteSnapshotScheduleAsync
([/* ... */]);
Deletes a snapshot schedule.
Parameter Syntax
$result = $client->deleteSnapshotSchedule([ 'ScheduleIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ScheduleIdentifier
-
- Required: Yes
- Type: string
A unique identifier of the snapshot schedule to delete.
Result Syntax
[]
Result Details
Errors
- InvalidClusterSnapshotScheduleStateFault:
The cluster snapshot schedule state is not valid.
- SnapshotScheduleNotFoundFault:
We could not find the specified snapshot schedule.
DeleteTags
$result = $client->deleteTags
([/* ... */]); $promise = $client->deleteTagsAsync
([/* ... */]);
Deletes tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags.
Parameter Syntax
$result = $client->deleteTags([ 'ResourceName' => '<string>', // REQUIRED 'TagKeys' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ResourceName
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example,
arn:aws:redshift:us-east-2:123456789:cluster:t1
. - TagKeys
-
- Required: Yes
- Type: Array of strings
The tag key that you want to delete.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidTagFault:
The tag is invalid.
DeleteUsageLimit
$result = $client->deleteUsageLimit
([/* ... */]); $promise = $client->deleteUsageLimitAsync
([/* ... */]);
Deletes a usage limit from a cluster.
Parameter Syntax
$result = $client->deleteUsageLimit([ 'UsageLimitId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- UsageLimitId
-
- Required: Yes
- Type: string
The identifier of the usage limit to delete.
Result Syntax
[]
Result Details
Errors
- UsageLimitNotFoundFault:
The usage limit identifier can't be found.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeAccountAttributes
$result = $client->describeAccountAttributes
([/* ... */]); $promise = $client->describeAccountAttributesAsync
([/* ... */]);
Returns a list of attributes attached to an account
Parameter Syntax
$result = $client->describeAccountAttributes([ 'AttributeNames' => ['<string>', ...], ]);
Parameter Details
Members
- AttributeNames
-
- Type: Array of strings
A list of attribute names.
Result Syntax
[ 'AccountAttributes' => [ [ 'AttributeName' => '<string>', 'AttributeValues' => [ [ 'AttributeValue' => '<string>', ], // ... ], ], // ... ], ]
Result Details
Members
- AccountAttributes
-
- Type: Array of AccountAttribute structures
A list of attributes assigned to an account.
Errors
There are no errors described for this operation.
DescribeAuthenticationProfiles
$result = $client->describeAuthenticationProfiles
([/* ... */]); $promise = $client->describeAuthenticationProfilesAsync
([/* ... */]);
Describes an authentication profile.
Parameter Syntax
$result = $client->describeAuthenticationProfiles([ 'AuthenticationProfileName' => '<string>', ]);
Parameter Details
Members
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.
Result Syntax
[ 'AuthenticationProfiles' => [ [ 'AuthenticationProfileContent' => '<string>', 'AuthenticationProfileName' => '<string>', ], // ... ], ]
Result Details
Members
- AuthenticationProfiles
-
- Type: Array of AuthenticationProfile structures
The list of authentication profiles.
Errors
- AuthenticationProfileNotFoundFault:
The authentication profile can't be found.
- InvalidAuthenticationProfileRequestFault:
The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.
DescribeClusterDbRevisions
$result = $client->describeClusterDbRevisions
([/* ... */]); $promise = $client->describeClusterDbRevisionsAsync
([/* ... */]);
Returns an array of ClusterDbRevision
objects.
Parameter Syntax
$result = $client->describeClusterDbRevisions([ 'ClusterIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
A unique identifier for a cluster whose
ClusterDbRevisions
you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default. - Marker
-
- Type: string
An optional parameter that specifies the starting point for returning a set of response records. When the results of a
DescribeClusterDbRevisions
request exceed the value specified inMaxRecords
, Amazon Redshift returns a value in themarker
field of the response. You can retrieve the next set of response records by providing the returnedmarker
value in themarker
parameter and retrying the request.Constraints: You can specify either the
ClusterIdentifier
parameter, or themarker
parameter, but not both. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the
marker
field of the response. You can retrieve the next set of response records by providing the returnedmarker
value in themarker
parameter and retrying the request.Default: 100
Constraints: minimum 20, maximum 100.
Result Syntax
[ 'ClusterDbRevisions' => [ [ 'ClusterIdentifier' => '<string>', 'CurrentDatabaseRevision' => '<string>', 'DatabaseRevisionReleaseDate' => <DateTime>, 'RevisionTargets' => [ [ 'DatabaseRevision' => '<string>', 'DatabaseRevisionReleaseDate' => <DateTime>, 'Description' => '<string>', ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- ClusterDbRevisions
-
- Type: Array of ClusterDbRevision structures
A list of revisions.
- Marker
-
- Type: string
A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in the
marker
parameter and retrying the command. If themarker
field is empty, all revisions have already been returned.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.
DescribeClusterParameterGroups
$result = $client->describeClusterParameterGroups
([/* ... */]); $promise = $client->describeClusterParameterGroupsAsync
([/* ... */]);
Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group. For each parameter group, the response includes the parameter group name, description, and parameter group family name. You can optionally specify a name to retrieve the description of a specific parameter group.
For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all parameter groups that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all parameter groups that have any combination of those values are returned.
If both tag keys and values are omitted from the request, parameter groups are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeClusterParameterGroups([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ParameterGroupName' => '<string>', 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameterGroups request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- ParameterGroupName
-
- Type: string
The name of a specific parameter group for which to return details. By default, details about all parameter groups and the default parameter group are returned.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching cluster parameter groups that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching cluster parameter groups that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag values associated with them.
Result Syntax
[ 'Marker' => '<string>', 'ParameterGroups' => [ [ 'Description' => '<string>', 'ParameterGroupFamily' => '<string>', 'ParameterGroupName' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - ParameterGroups
-
- Type: Array of ClusterParameterGroup structures
A list of ClusterParameterGroup instances. Each instance describes one cluster parameter group.
Errors
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
- InvalidTagFault:
The tag is invalid.
DescribeClusterParameters
$result = $client->describeClusterParameters
([/* ... */]); $promise = $client->describeClusterParametersAsync
([/* ... */]);
Returns a detailed list of parameters contained within the specified Amazon Redshift parameter group. For each parameter the response includes information such as parameter name, description, data type, value, whether the parameter value is modifiable, and so on.
You can specify source filter to retrieve parameters of only specific type. For example, to retrieve parameters that were modified by a user action such as from ModifyClusterParameterGroup, you can specify source equal to user.
For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->describeClusterParameters([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ParameterGroupName' => '<string>', // REQUIRED 'Source' => '<string>', ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameters request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- ParameterGroupName
-
- Required: Yes
- Type: string
The name of a cluster parameter group for which to return details.
- Source
-
- Type: string
The parameter types to return. Specify
user
to show parameters that are different form the default. Similarly, specifyengine-default
to show parameters that are the same as the default parameter group.Default: All parameter types returned.
Valid Values:
user
|engine-default
Result Syntax
[ 'Marker' => '<string>', 'Parameters' => [ [ 'AllowedValues' => '<string>', 'ApplyType' => 'static|dynamic', 'DataType' => '<string>', 'Description' => '<string>', 'IsModifiable' => true || false, 'MinimumEngineVersion' => '<string>', 'ParameterName' => '<string>', 'ParameterValue' => '<string>', 'Source' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - Parameters
-
- Type: Array of Parameter structures
A list of Parameter instances. Each instance lists the parameters of one cluster parameter group.
Errors
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
DescribeClusterSecurityGroups
$result = $client->describeClusterSecurityGroups
([/* ... */]); $promise = $client->describeClusterSecurityGroupsAsync
([/* ... */]);
Returns information about Amazon Redshift security groups. If the name of a security group is specified, the response will contain only information about only that security group.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all security groups that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all security groups that have any combination of those values are returned.
If both tag keys and values are omitted from the request, security groups are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeClusterSecurityGroups([ 'ClusterSecurityGroupName' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- ClusterSecurityGroupName
-
- Type: string
The name of a cluster security group for which you are requesting details. You must specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.
Example:
securitygroup1
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSecurityGroups request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You must specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.
- MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching cluster security groups that are associated with the specified key or keys. For example, suppose that you have security groups that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching cluster security groups that are associated with the specified tag value or values. For example, suppose that you have security groups that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag values associated with them.
Result Syntax
[ 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Description' => '<string>', 'EC2SecurityGroups' => [ [ 'EC2SecurityGroupName' => '<string>', 'EC2SecurityGroupOwnerId' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'IPRanges' => [ [ 'CIDRIP' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- ClusterSecurityGroups
-
- Type: Array of ClusterSecurityGroup structures
A list of ClusterSecurityGroup instances.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- ClusterSecurityGroupNotFoundFault:
The cluster security group name does not refer to an existing cluster security group.
- InvalidTagFault:
The tag is invalid.
DescribeClusterSnapshots
$result = $client->describeClusterSnapshots
([/* ... */]); $promise = $client->describeClusterSnapshotsAsync
([/* ... */]);
Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by your Amazon Web Services account. No information is returned for snapshots owned by inactive Amazon Web Services accounts.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all snapshots that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all snapshots that have any combination of those values are returned. Only snapshots that you own are returned in the response; shared snapshots are not returned with the tag key and tag value request parameters.
If both tag keys and values are omitted from the request, snapshots are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeClusterSnapshots([ 'ClusterExists' => true || false, 'ClusterIdentifier' => '<string>', 'EndTime' => <integer || string || DateTime>, 'Marker' => '<string>', 'MaxRecords' => <integer>, 'OwnerAccount' => '<string>', 'SnapshotArn' => '<string>', 'SnapshotIdentifier' => '<string>', 'SnapshotType' => '<string>', 'SortingEntities' => [ [ 'Attribute' => 'SOURCE_TYPE|TOTAL_SIZE|CREATE_TIME', // REQUIRED 'SortOrder' => 'ASC|DESC', ], // ... ], 'StartTime' => <integer || string || DateTime>, 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- ClusterExists
-
- Type: boolean
A value that indicates whether to return snapshots only for an existing cluster. You can perform table-level restore only by using a snapshot of an existing cluster, that is, a cluster that has not been deleted. Values for this parameter work as follows:
-
If
ClusterExists
is set totrue
,ClusterIdentifier
is required. -
If
ClusterExists
is set tofalse
andClusterIdentifier
isn't specified, all snapshots associated with deleted clusters (orphaned snapshots) are returned. -
If
ClusterExists
is set tofalse
andClusterIdentifier
is specified for a deleted cluster, snapshots associated with that cluster are returned. -
If
ClusterExists
is set tofalse
andClusterIdentifier
is specified for an existing cluster, no snapshots are returned.
- ClusterIdentifier
-
- Type: string
The identifier of the cluster which generated the requested snapshots.
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A time value that requests only snapshots created at or before the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.
Example:
2012-07-16T18:00:00Z
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSnapshots request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- OwnerAccount
-
- Type: string
The Amazon Web Services account used to create or copy the snapshot. Use this field to filter the results to snapshots owned by a particular account. To describe snapshots you own, either specify your Amazon Web Services account, or do not specify the parameter.
- SnapshotArn
-
- Type: string
The Amazon Resource Name (ARN) of the snapshot associated with the message to describe cluster snapshots.
- SnapshotIdentifier
-
- Type: string
The snapshot identifier of the snapshot about which to return information.
- SnapshotType
-
- Type: string
The type of snapshots for which you are requesting information. By default, snapshots of all types are returned.
Valid Values:
automated
|manual
- SortingEntities
-
- Type: Array of SnapshotSortingEntity structures
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A value that requests only snapshots created at or after the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.
Example:
2012-07-16T18:00:00Z
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching cluster snapshots that are associated with the specified key or keys. For example, suppose that you have snapshots that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching cluster snapshots that are associated with the specified tag value or values. For example, suppose that you have snapshots that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag values associated with them.
Result Syntax
[ 'Marker' => '<string>', 'Snapshots' => [ [ 'AccountsWithRestoreAccess' => [ [ 'AccountAlias' => '<string>', 'AccountId' => '<string>', ], // ... ], 'ActualIncrementalBackupSizeInMegaBytes' => <float>, 'AvailabilityZone' => '<string>', 'BackupProgressInMegaBytes' => <float>, 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterVersion' => '<string>', 'CurrentBackupRateInMegaBytesPerSecond' => <float>, 'DBName' => '<string>', 'ElapsedTimeInSeconds' => <integer>, 'Encrypted' => true || false, 'EncryptedWithHSM' => true || false, 'EngineFullVersion' => '<string>', 'EnhancedVpcRouting' => true || false, 'EstimatedSecondsToCompletion' => <integer>, 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRemainingDays' => <integer>, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'RestorableNodeTypes' => ['<string>', ...], 'SnapshotArn' => '<string>', 'SnapshotCreateTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SnapshotRetentionStartTime' => <DateTime>, 'SnapshotType' => '<string>', 'SourceRegion' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalBackupSizeInMegaBytes' => <float>, 'VpcId' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - Snapshots
-
- Type: Array of Snapshot structures
A list of Snapshot instances.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- InvalidTagFault:
The tag is invalid.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeClusterSubnetGroups
$result = $client->describeClusterSubnetGroups
([/* ... */]); $promise = $client->describeClusterSubnetGroupsAsync
([/* ... */]);
Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups. By default, this operation returns information about all cluster subnet groups that are defined in your Amazon Web Services account.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all subnet groups that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all subnet groups that have any combination of those values are returned.
If both tag keys and values are omitted from the request, subnet groups are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeClusterSubnetGroups([ 'ClusterSubnetGroupName' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- ClusterSubnetGroupName
-
- Type: string
The name of the cluster subnet group for which information is requested.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSubnetGroups request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching cluster subnet groups that are associated with the specified key or keys. For example, suppose that you have subnet groups that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching cluster subnet groups that are associated with the specified tag value or values. For example, suppose that you have subnet groups that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag values associated with them.
Result Syntax
[ 'ClusterSubnetGroups' => [ [ 'ClusterSubnetGroupName' => '<string>', 'Description' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', 'SupportedPlatforms' => [ [ 'Name' => '<string>', ], // ... ], ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedClusterIpAddressTypes' => ['<string>', ...], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'VpcId' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- ClusterSubnetGroups
-
- Type: Array of ClusterSubnetGroup structures
A list of ClusterSubnetGroup instances.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- ClusterSubnetGroupNotFoundFault:
The cluster subnet group name does not refer to an existing cluster subnet group.
- InvalidTagFault:
The tag is invalid.
DescribeClusterTracks
$result = $client->describeClusterTracks
([/* ... */]); $promise = $client->describeClusterTracksAsync
([/* ... */]);
Returns a list of all the available maintenance tracks.
Parameter Syntax
$result = $client->describeClusterTracks([ 'MaintenanceTrackName' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- MaintenanceTrackName
-
- Type: string
The name of the maintenance track.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a
DescribeClusterTracks
request exceed the value specified inMaxRecords
, Amazon Redshift returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
An integer value for the maximum number of maintenance tracks to return.
Result Syntax
[ 'MaintenanceTracks' => [ [ 'DatabaseVersion' => '<string>', 'MaintenanceTrackName' => '<string>', 'UpdateTargets' => [ [ 'DatabaseVersion' => '<string>', 'MaintenanceTrackName' => '<string>', 'SupportedOperations' => [ [ 'OperationName' => '<string>', ], // ... ], ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- MaintenanceTracks
-
- Type: Array of MaintenanceTrack structures
A list of maintenance tracks output by the
DescribeClusterTracks
operation. - Marker
-
- Type: string
The starting point to return a set of response tracklist records. You can retrieve the next set of response records by providing the returned marker value in the
Marker
parameter and retrying the request.
Errors
- InvalidClusterTrackFault:
The provided cluster track name is not valid.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
DescribeClusterVersions
$result = $client->describeClusterVersions
([/* ... */]); $promise = $client->describeClusterVersionsAsync
([/* ... */]);
Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->describeClusterVersions([ 'ClusterParameterGroupFamily' => '<string>', 'ClusterVersion' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- ClusterParameterGroupFamily
-
- Type: string
The name of a specific cluster parameter group family to return details for.
Constraints:
-
Must be 1 to 255 alphanumeric characters
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
- ClusterVersion
-
- Type: string
The specific cluster version to return.
Example:
1.0
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
Result Syntax
[ 'ClusterVersions' => [ [ 'ClusterParameterGroupFamily' => '<string>', 'ClusterVersion' => '<string>', 'Description' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- ClusterVersions
-
- Type: Array of ClusterVersion structures
A list of
Version
elements. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
There are no errors described for this operation.
DescribeClusters
$result = $client->describeClusters
([/* ... */]); $promise = $client->describeClustersAsync
([/* ... */]);
Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all clusters that have any combination of those values are returned.
If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeClusters([ 'ClusterIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive.
The default is that all clusters defined for an account are returned.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.
- MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them.
Result Syntax
[ 'Clusters' => [ [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Clusters
-
- Type: Array of Cluster structures
A list of
Cluster
objects, where each object describes one cluster. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidTagFault:
The tag is invalid.
DescribeCustomDomainAssociations
$result = $client->describeCustomDomainAssociations
([/* ... */]); $promise = $client->describeCustomDomainAssociationsAsync
([/* ... */]);
Contains information about custom domain associations for a cluster.
Parameter Syntax
$result = $client->describeCustomDomainAssociations([ 'CustomDomainCertificateArn' => '<string>', 'CustomDomainName' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- CustomDomainCertificateArn
-
- Type: string
The certificate Amazon Resource Name (ARN) for the custom domain association.
- CustomDomainName
-
- Type: string
The custom domain name for the custom domain association.
- Marker
-
- Type: string
The marker for the custom domain association.
- MaxRecords
-
- Type: int
The maximum records setting for the associated custom domain.
Result Syntax
[ 'Associations' => [ [ 'CertificateAssociations' => [ [ 'ClusterIdentifier' => '<string>', 'CustomDomainName' => '<string>', ], // ... ], 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Associations
-
- Type: Array of Association structures
The associations for the custom domain.
- Marker
-
- Type: string
The marker for the custom domain association.
Errors
- CustomDomainAssociationNotFoundFault:
An error occurred. The custom domain name couldn't be found.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeDataShares
$result = $client->describeDataShares
([/* ... */]); $promise = $client->describeDataSharesAsync
([/* ... */]);
Shows the status of any inbound or outbound datashares available in the specified account.
Parameter Syntax
$result = $client->describeDataShares([ 'DataShareArn' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- DataShareArn
-
- Type: string
The Amazon resource name (ARN) of the datashare to describe details of.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
Result Syntax
[ 'DataShares' => [ [ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- DataShares
-
- Type: Array of DataShare structures
The results returned from describing datashares.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.
Errors
- InvalidDataShareFault:
There is an error with the datashare.
DescribeDataSharesForConsumer
$result = $client->describeDataSharesForConsumer
([/* ... */]); $promise = $client->describeDataSharesForConsumerAsync
([/* ... */]);
Returns a list of datashares where the account identifier being called is a consumer account identifier.
Parameter Syntax
$result = $client->describeDataSharesForConsumer([ 'ConsumerArn' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'Status' => 'ACTIVE|AVAILABLE', ]);
Parameter Details
Members
- ConsumerArn
-
- Type: string
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. - Status
-
- Type: string
An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
Result Syntax
[ 'DataShares' => [ [ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- DataShares
-
- Type: Array of DataShare structures
Shows the results of datashares available for consumers.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.
Errors
- InvalidNamespaceFault:
The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
DescribeDataSharesForProducer
$result = $client->describeDataSharesForProducer
([/* ... */]); $promise = $client->describeDataSharesForProducerAsync
([/* ... */]);
Returns a list of datashares when the account identifier being called is a producer account identifier.
Parameter Syntax
$result = $client->describeDataSharesForProducer([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ProducerArn' => '<string>', 'Status' => 'ACTIVE|AUTHORIZED|PENDING_AUTHORIZATION|DEAUTHORIZED|REJECTED', ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForProducer request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. - ProducerArn
-
- Type: string
The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.
- Status
-
- Type: string
An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
Result Syntax
[ 'DataShares' => [ [ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- DataShares
-
- Type: Array of DataShare structures
Shows the results of datashares available for producers.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForProducer request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.
Errors
- InvalidNamespaceFault:
The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
DescribeDefaultClusterParameters
$result = $client->describeDefaultClusterParameters
([/* ... */]); $promise = $client->describeDefaultClusterParametersAsync
([/* ... */]);
Returns a list of parameter settings for the specified parameter group family.
For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->describeDefaultClusterParameters([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ParameterGroupFamily' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDefaultClusterParameters request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- ParameterGroupFamily
-
- Required: Yes
- Type: string
The name of the cluster parameter group family.
Result Syntax
[ 'DefaultClusterParameters' => [ 'Marker' => '<string>', 'ParameterGroupFamily' => '<string>', 'Parameters' => [ [ 'AllowedValues' => '<string>', 'ApplyType' => 'static|dynamic', 'DataType' => '<string>', 'Description' => '<string>', 'IsModifiable' => true || false, 'MinimumEngineVersion' => '<string>', 'ParameterName' => '<string>', 'ParameterValue' => '<string>', 'Source' => '<string>', ], // ... ], ], ]
Result Details
Members
- DefaultClusterParameters
-
- Type: DefaultClusterParameters structure
Describes the default cluster parameters for a parameter group family.
Errors
There are no errors described for this operation.
DescribeEndpointAccess
$result = $client->describeEndpointAccess
([/* ... */]); $promise = $client->describeEndpointAccessAsync
([/* ... */]);
Describes a Redshift-managed VPC endpoint.
Parameter Syntax
$result = $client->describeEndpointAccess([ 'ClusterIdentifier' => '<string>', 'EndpointName' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ResourceOwner' => '<string>', 'VpcId' => '<string>', ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The cluster identifier associated with the described endpoint.
- EndpointName
-
- Type: string
The name of the endpoint to be described.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeEndpointAccess
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called aMarker
is included in the response so that the remaining results can be retrieved. - ResourceOwner
-
- Type: string
The Amazon Web Services account ID of the owner of the cluster.
- VpcId
-
- Type: string
The virtual private cloud (VPC) identifier with access to the cluster.
Result Syntax
[ 'EndpointAccessList' => [ [ 'Address' => '<string>', 'ClusterIdentifier' => '<string>', 'EndpointCreateTime' => <DateTime>, 'EndpointName' => '<string>', 'EndpointStatus' => '<string>', 'Port' => <integer>, 'ResourceOwner' => '<string>', 'SubnetGroupName' => '<string>', 'VpcEndpoint' => [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- EndpointAccessList
-
- Type: Array of EndpointAccess structures
The list of endpoints with access to the cluster.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeEndpointAccess
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- EndpointNotFoundFault:
The endpoint name doesn't refer to an existing endpoint.
DescribeEndpointAuthorization
$result = $client->describeEndpointAuthorization
([/* ... */]); $promise = $client->describeEndpointAuthorizationAsync
([/* ... */]);
Describes an endpoint authorization.
Parameter Syntax
$result = $client->describeEndpointAuthorization([ 'Account' => '<string>', 'ClusterIdentifier' => '<string>', 'Grantee' => true || false, 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Account
-
- Type: string
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If
Grantee
parameter is true, then theAccount
value is of the grantor. - ClusterIdentifier
-
- Type: string
The cluster identifier of the cluster to access.
- Grantee
-
- Type: boolean
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called aMarker
is included in the response so that the remaining results can be retrieved.
Result Syntax
[ 'EndpointAuthorizationList' => [ [ 'AllowedAllVPCs' => true || false, 'AllowedVPCs' => ['<string>', ...], 'AuthorizeTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterStatus' => '<string>', 'EndpointCount' => <integer>, 'Grantee' => '<string>', 'Grantor' => '<string>', 'Status' => 'Authorized|Revoking', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- EndpointAuthorizationList
-
- Type: Array of EndpointAuthorization structures
The authorizations to an endpoint.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeEventCategories
$result = $client->describeEventCategories
([/* ... */]); $promise = $client->describeEventCategoriesAsync
([/* ... */]);
Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications.
Parameter Syntax
$result = $client->describeEventCategories([ 'SourceType' => '<string>', ]);
Parameter Details
Members
- SourceType
-
- Type: string
The source type, such as cluster or parameter group, to which the described event categories apply.
Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.
Result Syntax
[ 'EventCategoriesMapList' => [ [ 'Events' => [ [ 'EventCategories' => ['<string>', ...], 'EventDescription' => '<string>', 'EventId' => '<string>', 'Severity' => '<string>', ], // ... ], 'SourceType' => '<string>', ], // ... ], ]
Result Details
Members
- EventCategoriesMapList
-
- Type: Array of EventCategoriesMap structures
A list of event categories descriptions.
Errors
There are no errors described for this operation.
DescribeEventSubscriptions
$result = $client->describeEventSubscriptions
([/* ... */]); $promise = $client->describeEventSubscriptionsAsync
([/* ... */]);
Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account. If you specify a subscription name, lists the description for that subscription.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all event notification subscriptions that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all subscriptions that have any combination of those values are returned.
If both tag keys and values are omitted from the request, subscriptions are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeEventSubscriptions([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'SubscriptionName' => '<string>', 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- SubscriptionName
-
- Type: string
The name of the Amazon Redshift event notification subscription to be described.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching event notification subscriptions that are associated with the specified key or keys. For example, suppose that you have subscriptions that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching event notification subscriptions that are associated with the specified tag value or values. For example, suppose that you have subscriptions that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag values associated with them.
Result Syntax
[ 'EventSubscriptionsList' => [ [ 'CustSubscriptionId' => '<string>', 'CustomerAwsId' => '<string>', 'Enabled' => true || false, 'EventCategoriesList' => ['<string>', ...], 'Severity' => '<string>', 'SnsTopicArn' => '<string>', 'SourceIdsList' => ['<string>', ...], 'SourceType' => '<string>', 'Status' => '<string>', 'SubscriptionCreationTime' => <DateTime>, 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- EventSubscriptionsList
-
- Type: Array of EventSubscription structures
A list of event subscriptions.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- SubscriptionNotFoundFault:
An Amazon Redshift event notification subscription with the specified name does not exist.
- InvalidTagFault:
The tag is invalid.
DescribeEvents
$result = $client->describeEvents
([/* ... */]); $promise = $client->describeEventsAsync
([/* ... */]);
Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.
Parameter Syntax
$result = $client->describeEvents([ 'Duration' => <integer>, 'EndTime' => <integer || string || DateTime>, 'Marker' => '<string>', 'MaxRecords' => <integer>, 'SourceIdentifier' => '<string>', 'SourceType' => 'cluster|cluster-parameter-group|cluster-security-group|cluster-snapshot|scheduled-action', 'StartTime' => <integer || string || DateTime>, ]);
Parameter Details
Members
- Duration
-
- Type: int
The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned.
Default:
60
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.
Example:
2009-07-08T18:00Z
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEvents request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- SourceIdentifier
-
- Type: string
The identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response.
Constraints:
If SourceIdentifier is supplied, SourceType must also be provided.
-
Specify a cluster identifier when SourceType is
cluster
. -
Specify a cluster security group name when SourceType is
cluster-security-group
. -
Specify a cluster parameter group name when SourceType is
cluster-parameter-group
. -
Specify a cluster snapshot identifier when SourceType is
cluster-snapshot
.
- SourceType
-
- Type: string
The event source to retrieve events for. If no value is specified, all events are returned.
Constraints:
If SourceType is supplied, SourceIdentifier must also be provided.
-
Specify
cluster
when SourceIdentifier is a cluster identifier. -
Specify
cluster-security-group
when SourceIdentifier is a cluster security group name. -
Specify
cluster-parameter-group
when SourceIdentifier is a cluster parameter group name. -
Specify
cluster-snapshot
when SourceIdentifier is a cluster snapshot identifier.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.
Example:
2009-07-08T18:00Z
Result Syntax
[ 'Events' => [ [ 'Date' => <DateTime>, 'EventCategories' => ['<string>', ...], 'EventId' => '<string>', 'Message' => '<string>', 'Severity' => '<string>', 'SourceIdentifier' => '<string>', 'SourceType' => 'cluster|cluster-parameter-group|cluster-security-group|cluster-snapshot|scheduled-action', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Events
-
- Type: Array of Event structures
A list of
Event
instances. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
There are no errors described for this operation.
DescribeHsmClientCertificates
$result = $client->describeHsmClientCertificates
([/* ... */]); $promise = $client->describeHsmClientCertificatesAsync
([/* ... */]);
Returns information about the specified HSM client certificate. If no certificate ID is specified, returns information about all the HSM certificates owned by your Amazon Web Services account.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM client certificates that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all HSM client certificates that have any combination of those values are returned.
If both tag keys and values are omitted from the request, HSM client certificates are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeHsmClientCertificates([ 'HsmClientCertificateIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- HsmClientCertificateIdentifier
-
- Type: string
The identifier of a specific HSM client certificate for which you want information. If no identifier is specified, information is returned for all HSM client certificates owned by your Amazon Web Services account.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmClientCertificates request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching HSM client certificates that are associated with the specified key or keys. For example, suppose that you have HSM client certificates that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching HSM client certificates that are associated with the specified tag value or values. For example, suppose that you have HSM client certificates that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag values associated with them.
Result Syntax
[ 'HsmClientCertificates' => [ [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmClientCertificatePublicKey' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- HsmClientCertificates
-
- Type: Array of HsmClientCertificate structures
A list of the identifiers for one or more HSM client certificates used by Amazon Redshift clusters to store and retrieve database encryption keys in an HSM.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- HsmClientCertificateNotFoundFault:
There is no Amazon Redshift HSM client certificate with the specified identifier.
- InvalidTagFault:
The tag is invalid.
DescribeHsmConfigurations
$result = $client->describeHsmConfigurations
([/* ... */]); $promise = $client->describeHsmConfigurationsAsync
([/* ... */]);
Returns information about the specified Amazon Redshift HSM configuration. If no configuration ID is specified, returns information about all the HSM configurations owned by your Amazon Web Services account.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM connections that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all HSM connections that have any combination of those values are returned.
If both tag keys and values are omitted from the request, HSM connections are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeHsmConfigurations([ 'HsmConfigurationIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- HsmConfigurationIdentifier
-
- Type: string
The identifier of a specific Amazon Redshift HSM configuration to be described. If no identifier is specified, information is returned for all HSM configurations owned by your Amazon Web Services account.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmConfigurations request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching HSM configurations that are associated with the specified key or keys. For example, suppose that you have HSM configurations that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching HSM configurations that are associated with the specified tag value or values. For example, suppose that you have HSM configurations that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag values associated with them.
Result Syntax
[ 'HsmConfigurations' => [ [ 'Description' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'HsmIpAddress' => '<string>', 'HsmPartitionName' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- HsmConfigurations
-
- Type: Array of HsmConfiguration structures
A list of
HsmConfiguration
objects. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- HsmConfigurationNotFoundFault:
There is no Amazon Redshift HSM configuration with the specified identifier.
- InvalidTagFault:
The tag is invalid.
DescribeInboundIntegrations
$result = $client->describeInboundIntegrations
([/* ... */]); $promise = $client->describeInboundIntegrationsAsync
([/* ... */]);
Returns a list of inbound integrations.
Parameter Syntax
$result = $client->describeInboundIntegrations([ 'IntegrationArn' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TargetArn' => '<string>', ]);
Parameter Details
Members
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) of the inbound integration.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeInboundIntegrations request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) of the target of an inbound integration.
Result Syntax
[ 'InboundIntegrations' => [ [ 'CreateTime' => <DateTime>, 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', ], // ... ], 'IntegrationArn' => '<string>', 'SourceArn' => '<string>', 'Status' => 'creating|active|modifying|failed|deleting|syncing|needs_attention', 'TargetArn' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- InboundIntegrations
-
- Type: Array of InboundIntegration structures
A list of InboundIntegration instances.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- IntegrationNotFoundFault:
The integration can't be found.
- InvalidNamespaceFault:
The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeIntegrations
$result = $client->describeIntegrations
([/* ... */]); $promise = $client->describeIntegrationsAsync
([/* ... */]);
Describes one or more zero-ETL or S3 event integrations with Amazon Redshift.
Parameter Syntax
$result = $client->describeIntegrations([ 'Filters' => [ [ 'Name' => 'integration-arn|source-arn|source-types|status', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'IntegrationArn' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of DescribeIntegrationsFilter structures
A filter that specifies one or more resources to return.
- IntegrationArn
-
- Type: string
The unique identifier of the integration.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeIntegrations
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
Result Syntax
[ 'Integrations' => [ [ 'AdditionalEncryptionContext' => ['<string>', ...], 'CreateTime' => <DateTime>, 'Description' => '<string>', 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', ], // ... ], 'IntegrationArn' => '<string>', 'IntegrationName' => '<string>', 'KMSKeyId' => '<string>', 'SourceArn' => '<string>', 'Status' => 'creating|active|modifying|failed|deleting|syncing|needs_attention', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetArn' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Integrations
-
- Type: Array of Integration structures
List of integrations that are described.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
Errors
- IntegrationNotFoundFault:
The integration can't be found.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeLoggingStatus
$result = $client->describeLoggingStatus
([/* ... */]); $promise = $client->describeLoggingStatusAsync
([/* ... */]);
Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.
Parameter Syntax
$result = $client->describeLoggingStatus([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster from which to get the logging status.
Example:
examplecluster
Result Syntax
[ 'BucketName' => '<string>', 'LastFailureMessage' => '<string>', 'LastFailureTime' => <DateTime>, 'LastSuccessfulDeliveryTime' => <DateTime>, 'LogDestinationType' => 's3|cloudwatch', 'LogExports' => ['<string>', ...], 'LoggingEnabled' => true || false, 'S3KeyPrefix' => '<string>', ]
Result Details
Members
- BucketName
-
- Type: string
The name of the S3 bucket where the log files are stored.
- LastFailureMessage
-
- Type: string
The message indicating that logs failed to be delivered.
- LastFailureTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time when logs failed to be delivered.
- LastSuccessfulDeliveryTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time that logs were delivered.
- LogDestinationType
-
- Type: string
The log destination type. An enum with possible values of
s3
andcloudwatch
. - LogExports
-
- Type: Array of strings
The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - LoggingEnabled
-
- Type: boolean
true
if logging is on,false
if logging is off. - S3KeyPrefix
-
- Type: string
The prefix applied to the log file names.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeNodeConfigurationOptions
$result = $client->describeNodeConfigurationOptions
([/* ... */]); $promise = $client->describeNodeConfigurationOptionsAsync
([/* ... */]);
Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.
Parameter Syntax
$result = $client->describeNodeConfigurationOptions([ 'ActionType' => 'restore-cluster|recommend-node-config|resize-cluster', // REQUIRED 'ClusterIdentifier' => '<string>', 'Filters' => [ [ 'Name' => 'NodeType|NumberOfNodes|EstimatedDiskUtilizationPercent|Mode', 'Operator' => 'eq|lt|gt|le|ge|in|between', 'Values' => ['<string>', ...], ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'OwnerAccount' => '<string>', 'SnapshotArn' => '<string>', 'SnapshotIdentifier' => '<string>', ]);
Parameter Details
Members
- ActionType
-
- Required: Yes
- Type: string
The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot. Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot. Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.
- ClusterIdentifier
-
- Type: string
The identifier of the cluster to evaluate for possible node configurations.
- Filters
-
- Type: Array of NodeConfigurationOptionsFilter structures
A set of name, operator, and value items to filter the results.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeNodeConfigurationOptions request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
500
Constraints: minimum 100, maximum 500.
- OwnerAccount
-
- Type: string
The Amazon Web Services account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
- SnapshotArn
-
- Type: string
The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.
- SnapshotIdentifier
-
- Type: string
The identifier of the snapshot to evaluate for possible node configurations.
Result Syntax
[ 'Marker' => '<string>', 'NodeConfigurationOptionList' => [ [ 'EstimatedDiskUtilizationPercent' => <float>, 'Mode' => 'standard|high-performance', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - NodeConfigurationOptionList
-
- Type: Array of NodeConfigurationOption structures
A list of valid node configurations.
Errors
- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- InvalidClusterSnapshotStateFault:
The specified cluster snapshot is not in the
available
state, or other accounts are authorized to access the snapshot.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- AccessToSnapshotDeniedFault:
The owner of the specified snapshot has not authorized your account to access the snapshot.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeOrderableClusterOptions
$result = $client->describeOrderableClusterOptions
([/* ... */]); $promise = $client->describeOrderableClusterOptionsAsync
([/* ... */]);
Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific Amazon Web Services Region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->describeOrderableClusterOptions([ 'ClusterVersion' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'NodeType' => '<string>', ]);
Parameter Details
Members
- ClusterVersion
-
- Type: string
The version filter value. Specify this parameter to show only the available offerings matching the specified version.
Default: All versions.
Constraints: Must be one of the version returned from DescribeClusterVersions.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeOrderableClusterOptions request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- NodeType
-
- Type: string
The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.
Result Syntax
[ 'Marker' => '<string>', 'OrderableClusterOptions' => [ [ 'AvailabilityZones' => [ [ 'Name' => '<string>', 'SupportedPlatforms' => [ [ 'Name' => '<string>', ], // ... ], ], // ... ], 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'NodeType' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - OrderableClusterOptions
-
- Type: Array of OrderableClusterOption structures
An
OrderableClusterOption
structure containing information about orderable options for the cluster.
Errors
There are no errors described for this operation.
DescribePartners
$result = $client->describePartners
([/* ... */]); $promise = $client->describePartnersAsync
([/* ... */]);
Returns information about the partner integrations defined for a cluster.
Parameter Syntax
$result = $client->describePartners([ 'AccountId' => '<string>', // REQUIRED 'ClusterIdentifier' => '<string>', // REQUIRED 'DatabaseName' => '<string>', 'PartnerName' => '<string>', ]);
Parameter Details
Members
- AccountId
-
- Required: Yes
- Type: string
The Amazon Web Services account ID that owns the cluster.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The cluster identifier of the cluster whose partner integration is being described.
- DatabaseName
-
- Type: string
The name of the database whose partner integration is being described. If database name is not specified, then all databases in the cluster are described.
- PartnerName
-
- Type: string
The name of the partner that is being described. If partner name is not specified, then all partner integrations are described.
Result Syntax
[ 'PartnerIntegrationInfoList' => [ [ 'CreatedAt' => <DateTime>, 'DatabaseName' => '<string>', 'PartnerName' => '<string>', 'Status' => 'Active|Inactive|RuntimeFailure|ConnectionFailure', 'StatusMessage' => '<string>', 'UpdatedAt' => <DateTime>, ], // ... ], ]
Result Details
Members
- PartnerIntegrationInfoList
-
- Type: Array of PartnerIntegrationInfo structures
A list of partner integrations.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnauthorizedPartnerIntegrationFault:
The partner integration is not authorized.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeRedshiftIdcApplications
$result = $client->describeRedshiftIdcApplications
([/* ... */]); $promise = $client->describeRedshiftIdcApplicationsAsync
([/* ... */]);
Lists the Amazon Redshift IAM Identity Center applications.
Parameter Syntax
$result = $client->describeRedshiftIdcApplications([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'RedshiftIdcApplicationArn' => '<string>', ]);
Parameter Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
- MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
- RedshiftIdcApplicationArn
-
- Type: string
The ARN for the Redshift application that integrates with IAM Identity Center.
Result Syntax
[ 'Marker' => '<string>', 'RedshiftIdcApplications' => [ [ 'AuthorizedTokenIssuerList' => [ [ 'AuthorizedAudiencesList' => ['<string>', ...], 'TrustedTokenIssuerArn' => '<string>', ], // ... ], 'IamRoleArn' => '<string>', 'IdcDisplayName' => '<string>', 'IdcInstanceArn' => '<string>', 'IdcManagedApplicationArn' => '<string>', 'IdcOnboardStatus' => '<string>', 'IdentityNamespace' => '<string>', 'RedshiftIdcApplicationArn' => '<string>', 'RedshiftIdcApplicationName' => '<string>', 'ServiceIntegrations' => [ [ 'LakeFormation' => [ [ 'LakeFormationQuery' => [ 'Authorization' => 'Enabled|Disabled', ], ], // ... ], 'S3AccessGrants' => [ [ 'ReadWriteAccess' => [ 'Authorization' => 'Enabled|Disabled', ], ], // ... ], ], // ... ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
- RedshiftIdcApplications
-
- Type: Array of RedshiftIdcApplication structures
The list of Amazon Redshift IAM Identity Center applications.
Errors
- RedshiftIdcApplicationNotExistsFault:
The application you attempted to find doesn't exist.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceAccessDeniedFault:
A dependent service denied access for the integration.
DescribeReservedNodeExchangeStatus
$result = $client->describeReservedNodeExchangeStatus
([/* ... */]); $promise = $client->describeReservedNodeExchangeStatusAsync
([/* ... */]);
Returns exchange status details and associated metadata for a reserved-node exchange. Statuses include such values as in progress and requested.
Parameter Syntax
$result = $client->describeReservedNodeExchangeStatus([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReservedNodeExchangeRequestId' => '<string>', 'ReservedNodeId' => '<string>', ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeReservedNodeExchangeStatus
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in aMarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. - ReservedNodeExchangeRequestId
-
- Type: string
The identifier of the reserved-node exchange request.
- ReservedNodeId
-
- Type: string
The identifier of the source reserved node in a reserved-node exchange request.
Result Syntax
[ 'Marker' => '<string>', 'ReservedNodeExchangeStatusDetails' => [ [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A pagination token provided by a previous
DescribeReservedNodeExchangeStatus
request. - ReservedNodeExchangeStatusDetails
-
- Type: Array of ReservedNodeExchangeStatus structures
The details of the reserved-node exchange request, including the status, request time, source reserved-node identifier, and additional details.
Errors
- ReservedNodeNotFoundFault:
The specified reserved compute node not found.
- ReservedNodeExchangeNotFoundFault:
The reserved-node exchange status wasn't found.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeReservedNodeOfferings
$result = $client->describeReservedNodeOfferings
([/* ... */]); $promise = $client->describeReservedNodeOfferingsAsync
([/* ... */]);
Returns 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. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster.
For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->describeReservedNodeOfferings([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReservedNodeOfferingId' => '<string>', ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodeOfferings request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- ReservedNodeOfferingId
-
- Type: string
The unique identifier for the offering.
Result Syntax
[ 'Marker' => '<string>', 'ReservedNodeOfferings' => [ [ 'CurrencyCode' => '<string>', 'Duration' => <integer>, 'FixedPrice' => <float>, 'NodeType' => '<string>', 'OfferingType' => '<string>', 'RecurringCharges' => [ [ 'RecurringChargeAmount' => <float>, 'RecurringChargeFrequency' => '<string>', ], // ... ], 'ReservedNodeOfferingId' => '<string>', 'ReservedNodeOfferingType' => 'Regular|Upgradable', 'UsagePrice' => <float>, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - ReservedNodeOfferings
-
- Type: Array of ReservedNodeOffering structures
A list of
ReservedNodeOffering
objects.
Errors
- ReservedNodeOfferingNotFoundFault:
Specified offering does not exist.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
DescribeReservedNodes
$result = $client->describeReservedNodes
([/* ... */]); $promise = $client->describeReservedNodesAsync
([/* ... */]);
Returns the descriptions of the reserved nodes.
Parameter Syntax
$result = $client->describeReservedNodes([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReservedNodeId' => '<string>', ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- ReservedNodeId
-
- Type: string
Identifier for the node reservation.
Result Syntax
[ 'Marker' => '<string>', 'ReservedNodes' => [ [ 'CurrencyCode' => '<string>', 'Duration' => <integer>, 'FixedPrice' => <float>, 'NodeCount' => <integer>, 'NodeType' => '<string>', 'OfferingType' => '<string>', 'RecurringCharges' => [ [ 'RecurringChargeAmount' => <float>, 'RecurringChargeFrequency' => '<string>', ], // ... ], 'ReservedNodeId' => '<string>', 'ReservedNodeOfferingId' => '<string>', 'ReservedNodeOfferingType' => 'Regular|Upgradable', 'StartTime' => <DateTime>, 'State' => '<string>', 'UsagePrice' => <float>, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - ReservedNodes
-
- Type: Array of ReservedNode structures
The list of
ReservedNode
objects.
Errors
- ReservedNodeNotFoundFault:
The specified reserved compute node not found.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
DescribeResize
$result = $client->describeResize
([/* ... */]); $promise = $client->describeResizeAsync
([/* ... */]);
Returns information about the last resize operation for the specified cluster. If no resize operation has ever been initiated for the specified cluster, a HTTP 404
error is returned. If a resize operation was initiated and completed, the status of the resize remains as SUCCEEDED
until the next resize.
A resize operation can be requested using ModifyCluster and specifying a different number or type of nodes for the cluster.
Parameter Syntax
$result = $client->describeResize([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of a cluster whose resize progress you are requesting. This parameter is case-sensitive.
By default, resize operations for all clusters defined for an Amazon Web Services account are returned.
Result Syntax
[ 'AvgResizeRateInMegaBytesPerSecond' => <float>, 'DataTransferProgressPercent' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ImportTablesCompleted' => ['<string>', ...], 'ImportTablesInProgress' => ['<string>', ...], 'ImportTablesNotStarted' => ['<string>', ...], 'Message' => '<string>', 'ProgressInMegaBytes' => <integer>, 'ResizeType' => '<string>', 'Status' => '<string>', 'TargetClusterType' => '<string>', 'TargetEncryptionType' => '<string>', 'TargetNodeType' => '<string>', 'TargetNumberOfNodes' => <integer>, 'TotalResizeDataInMegaBytes' => <integer>, ]
Result Details
Members
- AvgResizeRateInMegaBytesPerSecond
-
- Type: double
The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.
- DataTransferProgressPercent
-
- Type: double
The percent of data transferred from source cluster to target cluster.
- ElapsedTimeInSeconds
-
- Type: long (int|float)
The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.
- EstimatedTimeToCompletionInSeconds
-
- Type: long (int|float)
The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.
- ImportTablesCompleted
-
- Type: Array of strings
The names of tables that have been completely imported .
Valid Values: List of table names.
- ImportTablesInProgress
-
- Type: Array of strings
The names of tables that are being currently imported.
Valid Values: List of table names.
- ImportTablesNotStarted
-
- Type: Array of strings
The names of tables that have not been yet imported.
Valid Values: List of table names
- Message
-
- Type: string
An optional string to provide additional details about the resize action.
- ProgressInMegaBytes
-
- Type: long (int|float)
While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).
- ResizeType
-
- Type: string
An enum with possible values of
ClassicResize
andElasticResize
. These values describe the type of resize operation being performed. - Status
-
- Type: string
The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
|CANCELLING
- TargetClusterType
-
- Type: string
The cluster type after the resize operation is complete.
Valid Values:
multi-node
|single-node
- TargetEncryptionType
-
- Type: string
The type of encryption for the cluster after the resize is complete.
Possible values are
KMS
andNone
. - TargetNodeType
-
- Type: string
The node type that the cluster will have after the resize operation is complete.
- TargetNumberOfNodes
-
- Type: int
The number of nodes that the cluster will have after the resize operation is complete.
- TotalResizeDataInMegaBytes
-
- Type: long (int|float)
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ResizeNotFoundFault:
A resize operation for the specified cluster is not found.
- UnsupportedOperationFault:
The requested operation isn't supported.
DescribeScheduledActions
$result = $client->describeScheduledActions
([/* ... */]); $promise = $client->describeScheduledActionsAsync
([/* ... */]);
Describes properties of scheduled actions.
Parameter Syntax
$result = $client->describeScheduledActions([ 'Active' => true || false, 'EndTime' => <integer || string || DateTime>, 'Filters' => [ [ 'Name' => 'cluster-identifier|iam-role', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ScheduledActionName' => '<string>', 'StartTime' => <integer || string || DateTime>, 'TargetActionType' => 'ResizeCluster|PauseCluster|ResumeCluster', ]);
Parameter Details
Members
- Active
-
- Type: boolean
If true, retrieve only active scheduled actions. If false, retrieve only disabled scheduled actions.
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have invocations before this time are retrieved.
- Filters
-
- Type: Array of ScheduledActionFilter structures
List of scheduled action filters.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- ScheduledActionName
-
- Type: string
The name of the scheduled action to retrieve.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time in UTC of the scheduled actions to retrieve. Only active scheduled actions that have invocations after this time are retrieved.
- TargetActionType
-
- Type: string
The type of the scheduled actions to retrieve.
Result Syntax
[ 'Marker' => '<string>', 'ScheduledActions' => [ [ 'EndTime' => <DateTime>, 'IamRole' => '<string>', 'NextInvocations' => [<DateTime>, ...], 'Schedule' => '<string>', 'ScheduledActionDescription' => '<string>', 'ScheduledActionName' => '<string>', 'StartTime' => <DateTime>, 'State' => 'ACTIVE|DISABLED', 'TargetAction' => [ 'PauseCluster' => [ 'ClusterIdentifier' => '<string>', ], 'ResizeCluster' => [ 'Classic' => true || false, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'ReservedNodeId' => '<string>', 'TargetReservedNodeOfferingId' => '<string>', ], 'ResumeCluster' => [ 'ClusterIdentifier' => '<string>', ], ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - ScheduledActions
-
- Type: Array of ScheduledAction structures
List of retrieved scheduled actions.
Errors
- ScheduledActionNotFoundFault:
The scheduled action cannot be found.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
DescribeSnapshotCopyGrants
$result = $client->describeSnapshotCopyGrants
([/* ... */]); $promise = $client->describeSnapshotCopyGrantsAsync
([/* ... */]);
Returns a list of snapshot copy grants owned by the Amazon Web Services account in the destination region.
For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->describeSnapshotCopyGrants([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'SnapshotCopyGrantName' => '<string>', 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value specified inMaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- SnapshotCopyGrantName
-
- Type: string
The name of the snapshot copy grant.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.
Result Syntax
[ 'Marker' => '<string>', 'SnapshotCopyGrants' => [ [ 'KmsKeyId' => '<string>', 'SnapshotCopyGrantName' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value specified inMaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- SnapshotCopyGrants
-
- Type: Array of SnapshotCopyGrant structures
The list of
SnapshotCopyGrant
objects.
Errors
- SnapshotCopyGrantNotFoundFault:
The specified snapshot copy grant can't be found. Make sure that the name is typed correctly and that the grant exists in the destination region.
- InvalidTagFault:
The tag is invalid.
DescribeSnapshotSchedules
$result = $client->describeSnapshotSchedules
([/* ... */]); $promise = $client->describeSnapshotSchedulesAsync
([/* ... */]);
Returns a list of snapshot schedules.
Parameter Syntax
$result = $client->describeSnapshotSchedules([ 'ClusterIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ScheduleIdentifier' => '<string>', 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The unique identifier for the cluster whose snapshot schedules you want to view.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
marker
parameter and retrying the command. If themarker
field is empty, all response records have been retrieved for the request. - MaxRecords
-
- Type: int
The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returnedmarker
value. - ScheduleIdentifier
-
- Type: string
A unique identifier for a snapshot schedule.
- TagKeys
-
- Type: Array of strings
The key value for a snapshot schedule tag.
- TagValues
-
- Type: Array of strings
The value corresponding to the key of the snapshot schedule tag.
Result Syntax
[ 'Marker' => '<string>', 'SnapshotSchedules' => [ [ 'AssociatedClusterCount' => <integer>, 'AssociatedClusters' => [ [ 'ClusterIdentifier' => '<string>', 'ScheduleAssociationState' => 'MODIFYING|ACTIVE|FAILED', ], // ... ], 'NextInvocations' => [<DateTime>, ...], 'ScheduleDefinitions' => ['<string>', ...], 'ScheduleDescription' => '<string>', 'ScheduleIdentifier' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
marker
parameter and retrying the command. If themarker
field is empty, all response records have been retrieved for the request. - SnapshotSchedules
-
- Type: Array of SnapshotSchedule structures
A list of SnapshotSchedules.
Errors
There are no errors described for this operation.
DescribeStorage
$result = $client->describeStorage
([/* ... */]); $promise = $client->describeStorageAsync
([/* ... */]);
Returns account level backups storage size and provisional storage.
Parameter Syntax
$result = $client->describeStorage([ ]);
Parameter Details
Members
Result Syntax
[ 'TotalBackupSizeInMegaBytes' => <float>, 'TotalProvisionedStorageInMegaBytes' => <float>, ]
Result Details
Members
- TotalBackupSizeInMegaBytes
-
- Type: double
The total amount of storage currently used for snapshots.
- TotalProvisionedStorageInMegaBytes
-
- Type: double
The total amount of storage currently provisioned.
Errors
There are no errors described for this operation.
DescribeTableRestoreStatus
$result = $client->describeTableRestoreStatus
([/* ... */]); $promise = $client->describeTableRestoreStatusAsync
([/* ... */]);
Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId
parameter, then DescribeTableRestoreStatus
returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus
returns the status of the table specified by TableRestoreRequestId
.
Parameter Syntax
$result = $client->describeTableRestoreStatus([ 'ClusterIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TableRestoreRequestId' => '<string>', ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The Amazon Redshift cluster that the table is being restored to.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeTableRestoreStatus
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. - TableRestoreRequestId
-
- Type: string
The identifier of the table restore request to return status for. If you don't specify a
TableRestoreRequestId
value, thenDescribeTableRestoreStatus
returns the status of all in-progress table restore requests.
Result Syntax
[ 'Marker' => '<string>', 'TableRestoreStatusDetails' => [ [ 'ClusterIdentifier' => '<string>', 'Message' => '<string>', 'NewTableName' => '<string>', 'ProgressInMegaBytes' => <integer>, 'RequestTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SourceDatabaseName' => '<string>', 'SourceSchemaName' => '<string>', 'SourceTableName' => '<string>', 'Status' => 'PENDING|IN_PROGRESS|SUCCEEDED|FAILED|CANCELED', 'TableRestoreRequestId' => '<string>', 'TargetDatabaseName' => '<string>', 'TargetSchemaName' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A pagination token that can be used in a subsequent DescribeTableRestoreStatus request.
- TableRestoreStatusDetails
-
- Type: Array of TableRestoreStatus structures
A list of status details for one or more table restore requests.
Errors
- TableRestoreNotFoundFault:
The specified
TableRestoreRequestId
value was not found.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.
DescribeTags
$result = $client->describeTags
([/* ... */]); $promise = $client->describeTagsAsync
([/* ... */]);
Returns a list of tags. You can return tags from a specific resource by specifying an ARN, or you can return all tags for a given type of resource, such as clusters, snapshots, and so on.
The following are limitations for DescribeTags
:
-
You cannot specify an ARN and a resource-type value together in the same request.
-
You cannot use the
MaxRecords
andMarker
parameters together with the ARN parameter. -
The
MaxRecords
parameter can be a range from 10 to 50 results to return in a request.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all resources that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all resources that have any combination of those values are returned.
If both tag keys and values are omitted from the request, resources are returned regardless of whether they have tag keys or values associated with them.
Parameter Syntax
$result = $client->describeTags([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ResourceName' => '<string>', 'ResourceType' => '<string>', 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], ]);
Parameter Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
marker
parameter and retrying the command. If themarker
field is empty, all response records have been retrieved for the request. - MaxRecords
-
- Type: int
The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returnedmarker
value. - ResourceName
-
- Type: string
The Amazon Resource Name (ARN) for which you want to describe the tag or tags. For example,
arn:aws:redshift:us-east-2:123456789:cluster:t1
. - ResourceType
-
- Type: string
The type of resource with which you want to view tags. Valid resource types are:
-
Cluster
-
CIDR/IP
-
EC2 security group
-
Snapshot
-
Cluster security group
-
Subnet group
-
HSM connection
-
HSM certificate
-
Parameter group
-
Snapshot copy grant
-
Integration (zero-ETL integration or S3 event integration)
To describe the tags associated with an
integration
, don't specifyResourceType
, instead specify theResourceName
of the integration.
For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.
Result Syntax
[ 'Marker' => '<string>', 'TaggedResources' => [ [ 'ResourceName' => '<string>', 'ResourceType' => '<string>', 'Tag' => [ 'Key' => '<string>', 'Value' => '<string>', ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - TaggedResources
-
- Type: Array of TaggedResource structures
A list of tags with their associated resources.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidTagFault:
The tag is invalid.
DescribeUsageLimits
$result = $client->describeUsageLimits
([/* ... */]); $promise = $client->describeUsageLimitsAsync
([/* ... */]);
Shows usage limits on a cluster. Results are filtered based on the combination of input usage limit identifier, cluster identifier, and feature type parameters:
-
If usage limit identifier, cluster identifier, and feature type are not provided, then all usage limit objects for the current account in the current region are returned.
-
If usage limit identifier is provided, then the corresponding usage limit object is returned.
-
If cluster identifier is provided, then all usage limit objects for the specified cluster are returned.
-
If cluster identifier and feature type are provided, then all usage limit objects for the combination of cluster and feature are returned.
Parameter Syntax
$result = $client->describeUsageLimits([ 'ClusterIdentifier' => '<string>', 'FeatureType' => 'spectrum|concurrency-scaling|cross-region-datasharing', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'TagKeys' => ['<string>', ...], 'TagValues' => ['<string>', ...], 'UsageLimitId' => '<string>', ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The identifier of the cluster for which you want to describe usage limits.
- FeatureType
-
- Type: string
The feature type for which you want to describe usage limits.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeUsageLimits request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100
Constraints: minimum 20, maximum 100.
- TagKeys
-
- Type: Array of strings
A tag key or keys for which you want to return all matching usage limit objects that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called
owner
andenvironment
. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the usage limit objects have either or both of these tag keys associated with them. - TagValues
-
- Type: Array of strings
A tag value or values for which you want to return all matching usage limit objects that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called
admin
andtest
. If you specify both of these tag values in the request, Amazon Redshift returns a response with the usage limit objects that have either or both of these tag values associated with them. - UsageLimitId
-
- Type: string
The identifier of the usage limit to describe.
Result Syntax
[ 'Marker' => '<string>', 'UsageLimits' => [ [ 'Amount' => <integer>, 'BreachAction' => 'log|emit-metric|disable', 'ClusterIdentifier' => '<string>', 'FeatureType' => 'spectrum|concurrency-scaling|cross-region-datasharing', 'LimitType' => 'time|data-scanned', 'Period' => 'daily|weekly|monthly', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'UsageLimitId' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - UsageLimits
-
- Type: Array of UsageLimit structures
Contains the output from the DescribeUsageLimits action.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnsupportedOperationFault:
The requested operation isn't supported.
DisableLogging
$result = $client->disableLogging
([/* ... */]); $promise = $client->disableLoggingAsync
([/* ... */]);
Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
Parameter Syntax
$result = $client->disableLogging([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster on which logging is to be stopped.
Example:
examplecluster
Result Syntax
[ 'BucketName' => '<string>', 'LastFailureMessage' => '<string>', 'LastFailureTime' => <DateTime>, 'LastSuccessfulDeliveryTime' => <DateTime>, 'LogDestinationType' => 's3|cloudwatch', 'LogExports' => ['<string>', ...], 'LoggingEnabled' => true || false, 'S3KeyPrefix' => '<string>', ]
Result Details
Members
- BucketName
-
- Type: string
The name of the S3 bucket where the log files are stored.
- LastFailureMessage
-
- Type: string
The message indicating that logs failed to be delivered.
- LastFailureTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time when logs failed to be delivered.
- LastSuccessfulDeliveryTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time that logs were delivered.
- LogDestinationType
-
- Type: string
The log destination type. An enum with possible values of
s3
andcloudwatch
. - LogExports
-
- Type: Array of strings
The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - LoggingEnabled
-
- Type: boolean
true
if logging is on,false
if logging is off. - S3KeyPrefix
-
- Type: string
The prefix applied to the log file names.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnsupportedOperationFault:
The requested operation isn't supported.
DisableSnapshotCopy
$result = $client->disableSnapshotCopy
([/* ... */]); $promise = $client->disableSnapshotCopyAsync
([/* ... */]);
Disables the automatic copying of snapshots from one region to another region for a specified cluster.
If your cluster and its snapshots are encrypted using an encrypted symmetric key from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the key in the destination region.
Parameter Syntax
$result = $client->disableSnapshotCopy([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.
Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- SnapshotCopyAlreadyDisabledFault:
The cluster already has cross-region snapshot copy disabled.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- UnsupportedOperationFault:
The requested operation isn't supported.
DisassociateDataShareConsumer
$result = $client->disassociateDataShareConsumer
([/* ... */]); $promise = $client->disassociateDataShareConsumerAsync
([/* ... */]);
From a datashare consumer account, remove association for the specified datashare.
Parameter Syntax
$result = $client->disassociateDataShareConsumer([ 'ConsumerArn' => '<string>', 'ConsumerRegion' => '<string>', 'DataShareArn' => '<string>', // REQUIRED 'DisassociateEntireAccount' => true || false, ]);
Parameter Details
Members
- ConsumerArn
-
- Type: string
The Amazon Resource Name (ARN) of the consumer namespace that association for the datashare is removed from.
- ConsumerRegion
-
- Type: string
From a datashare consumer account, removes association of a datashare from all the existing and future namespaces in the specified Amazon Web Services Region.
- DataShareArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the datashare to remove association for.
- DisassociateEntireAccount
-
- Type: boolean
A value that specifies whether association for the datashare is removed from the entire account.
Result Syntax
[ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ]
Result Details
Members
- AllowPubliclyAccessibleConsumers
-
- Type: boolean
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
- DataShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
- DataShareAssociations
-
- Type: Array of DataShareAssociation structures
A value that specifies when the datashare has an association between producer and data consumers.
- ManagedBy
-
- Type: string
The identifier of a datashare to show its managing entity.
- ProducerArn
-
- Type: string
The Amazon Resource Name (ARN) of the producer namespace.
Errors
- InvalidDataShareFault:
There is an error with the datashare.
- InvalidNamespaceFault:
The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
EnableLogging
$result = $client->enableLogging
([/* ... */]); $promise = $client->enableLoggingAsync
([/* ... */]);
Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
Parameter Syntax
$result = $client->enableLogging([ 'BucketName' => '<string>', 'ClusterIdentifier' => '<string>', // REQUIRED 'LogDestinationType' => 's3|cloudwatch', 'LogExports' => ['<string>', ...], 'S3KeyPrefix' => '<string>', ]);
Parameter Details
Members
- BucketName
-
- Type: string
The name of an existing S3 bucket where the log files are to be stored.
Constraints:
-
Must be in the same region as the cluster
-
The cluster must have read bucket and put object permissions
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster on which logging is to be started.
Example:
examplecluster
- LogDestinationType
-
- Type: string
The log destination type. An enum with possible values of
s3
andcloudwatch
. - LogExports
-
- Type: Array of strings
The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - S3KeyPrefix
-
- Type: string
The prefix applied to the log file names.
Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore (
_
), period (.
), colon (:
), slash (/
), equal (=
), plus (+
), backslash (\
), hyphen (-
), at symbol (@
).
Result Syntax
[ 'BucketName' => '<string>', 'LastFailureMessage' => '<string>', 'LastFailureTime' => <DateTime>, 'LastSuccessfulDeliveryTime' => <DateTime>, 'LogDestinationType' => 's3|cloudwatch', 'LogExports' => ['<string>', ...], 'LoggingEnabled' => true || false, 'S3KeyPrefix' => '<string>', ]
Result Details
Members
- BucketName
-
- Type: string
The name of the S3 bucket where the log files are stored.
- LastFailureMessage
-
- Type: string
The message indicating that logs failed to be delivered.
- LastFailureTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time when logs failed to be delivered.
- LastSuccessfulDeliveryTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time that logs were delivered.
- LogDestinationType
-
- Type: string
The log destination type. An enum with possible values of
s3
andcloudwatch
. - LogExports
-
- Type: Array of strings
The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - LoggingEnabled
-
- Type: boolean
true
if logging is on,false
if logging is off. - S3KeyPrefix
-
- Type: string
The prefix applied to the log file names.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- BucketNotFoundFault:
Could not find the specified S3 bucket.
- InsufficientS3BucketPolicyFault:
The cluster does not have read bucket or put object permissions on the S3 bucket specified when enabling logging.
- InvalidS3KeyPrefixFault:
The string specified for the logging S3 key prefix does not comply with the documented constraints.
- InvalidS3BucketNameFault:
The S3 bucket name is invalid. For more information about naming rules, go to Bucket Restrictions and Limitations in the Amazon Simple Storage Service (S3) Developer Guide.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnsupportedOperationFault:
The requested operation isn't supported.
EnableSnapshotCopy
$result = $client->enableSnapshotCopy
([/* ... */]); $promise = $client->enableSnapshotCopyAsync
([/* ... */]);
Enables the automatic copy of snapshots from one region to another region for a specified cluster.
Parameter Syntax
$result = $client->enableSnapshotCopy([ 'ClusterIdentifier' => '<string>', // REQUIRED 'DestinationRegion' => '<string>', // REQUIRED 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the source cluster to copy snapshots from.
Constraints: Must be the valid name of an existing cluster that does not already have cross-region snapshot copy enabled.
- DestinationRegion
-
- Required: Yes
- Type: string
The destination Amazon Web Services Region that you want to copy snapshots to.
Constraints: Must be the name of a valid Amazon Web Services Region. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.
- ManualSnapshotRetentionPeriod
-
- Type: int
The number of days to retain newly copied snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- RetentionPeriod
-
- Type: int
The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default: 7.
Constraints: Must be at least 1 and no more than 35.
- SnapshotCopyGrantName
-
- Type: string
The name of the snapshot copy grant to use when snapshots of an Amazon Web Services KMS-encrypted cluster are copied to the destination region.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- IncompatibleOrderableOptions:
The specified options are incompatible.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- CopyToRegionDisabledFault:
Cross-region snapshot copy was temporarily disabled. Try your request again.
- SnapshotCopyAlreadyEnabledFault:
The cluster already has cross-region snapshot copy enabled.
- UnknownSnapshotCopyRegionFault:
The specified region is incorrect or does not exist.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- SnapshotCopyGrantNotFoundFault:
The specified snapshot copy grant can't be found. Make sure that the name is typed correctly and that the grant exists in the destination region.
- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
FailoverPrimaryCompute
$result = $client->failoverPrimaryCompute
([/* ... */]); $promise = $client->failoverPrimaryComputeAsync
([/* ... */]);
Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
Parameter Syntax
$result = $client->failoverPrimaryCompute([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the cluster for which the primary compute unit will be failed over to another Availability Zone.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnsupportedOperationFault:
The requested operation isn't supported.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.
GetClusterCredentials
$result = $client->getClusterCredentials
([/* ... */]); $promise = $client->getClusterCredentialsAsync
([/* ... */]);
Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM:
if AutoCreate
is False
or IAMA:
if AutoCreate
is True
. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Using IAM Authentication to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide.
The Identity and Access Management (IAM) user or role that runs GetClusterCredentials must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the Amazon Redshift Cluster Management Guide.
If the DbGroups
parameter is specified, the IAM policy must allow the redshift:JoinGroup
action with access to the listed dbgroups
.
In addition, if the AutoCreate
parameter is set to True
, then the policy must include the redshift:CreateClusterUser
permission.
If the DbName
parameter is specified, the IAM policy must allow access to the resource dbname
for the specified database name.
Parameter Syntax
$result = $client->getClusterCredentials([ 'AutoCreate' => true || false, 'ClusterIdentifier' => '<string>', 'CustomDomainName' => '<string>', 'DbGroups' => ['<string>', ...], 'DbName' => '<string>', 'DbUser' => '<string>', // REQUIRED 'DurationSeconds' => <integer>, ]);
Parameter Details
Members
- AutoCreate
-
- Type: boolean
Create a database user with the name specified for the user named in
DbUser
if one does not exist. - ClusterIdentifier
-
- Type: string
The unique identifier of the cluster that contains the database for which you are requesting credentials. This parameter is case sensitive.
- CustomDomainName
-
- Type: string
The custom domain name for the cluster credentials.
- DbGroups
-
- Type: Array of strings
A list of the names of existing database groups that the user named in
DbUser
will join for the current session, in addition to any group memberships for an existing user. If not specified, a new user is added only to PUBLIC.Database group name constraints
-
Must be 1 to 64 alphanumeric characters or hyphens
-
Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
-
First character must be a letter.
-
Must not contain a colon ( : ) or slash ( / ).
-
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- DbName
-
- Type: string
The name of a database that
DbUser
is authorized to log on to. IfDbName
is not specified,DbUser
can log on to any existing database.Constraints:
-
Must be 1 to 64 alphanumeric characters or hyphens
-
Must contain uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
-
First character must be a letter.
-
Must not contain a colon ( : ) or slash ( / ).
-
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- DbUser
-
- Required: Yes
- Type: string
The name of a database user. If a user name matching
DbUser
exists in the database, the temporary user credentials have the same permissions as the existing user. IfDbUser
doesn't exist in the database andAutocreate
isTrue
, a new user is created using the value forDbUser
with PUBLIC permissions. If a database user matching the value forDbUser
doesn't exist andAutocreate
isFalse
, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database.For more information, see CREATE USER in the Amazon Redshift Database Developer Guide.
Constraints:
-
Must be 1 to 64 alphanumeric characters or hyphens. The user name can't be
PUBLIC
. -
Must contain uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
-
First character must be a letter.
-
Must not contain a colon ( : ) or slash ( / ).
-
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- DurationSeconds
-
- Type: int
The number of seconds until the returned temporary password expires.
Constraint: minimum 900, maximum 3600.
Default: 900
Result Syntax
[ 'DbPassword' => '<string>', 'DbUser' => '<string>', 'Expiration' => <DateTime>, ]
Result Details
Members
- DbPassword
-
- Type: string
A temporary password that authorizes the user name returned by
DbUser
to log on to the databaseDbName
. - DbUser
-
- Type: string
A database user name that is authorized to log on to the database
DbName
using the passwordDbPassword
. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If theDbGroups
parameter is specifed,DbUser
is added to the listed groups for any sessions created using these credentials. - Expiration
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time the password in
DbPassword
expires.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnsupportedOperationFault:
The requested operation isn't supported.
GetClusterCredentialsWithIAM
$result = $client->getClusterCredentialsWithIAM
([/* ... */]); $promise = $client->getClusterCredentialsWithIAMAsync
([/* ... */]);
Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. The database user is mapped 1:1 to the source Identity and Access Management (IAM) identity. For more information about IAM identities, see IAM Identities (users, user groups, and roles) in the Amazon Web Services Identity and Access Management User Guide.
The Identity and Access Management (IAM) identity that runs this operation must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Using identity-based policies (IAM policies) in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->getClusterCredentialsWithIAM([ 'ClusterIdentifier' => '<string>', 'CustomDomainName' => '<string>', 'DbName' => '<string>', 'DurationSeconds' => <integer>, ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The unique identifier of the cluster that contains the database for which you are requesting credentials.
- CustomDomainName
-
- Type: string
The custom domain name for the IAM message cluster credentials.
- DbName
-
- Type: string
The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource
dbname
for the specified database name. If the database name is not specified, access to all databases is allowed. - DurationSeconds
-
- Type: int
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
Result Syntax
[ 'DbPassword' => '<string>', 'DbUser' => '<string>', 'Expiration' => <DateTime>, 'NextRefreshTime' => <DateTime>, ]
Result Details
Members
- DbPassword
-
- Type: string
A temporary password that you provide when you connect to a database.
- DbUser
-
- Type: string
A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
- Expiration
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
- NextRefreshTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Reserved for future use.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnsupportedOperationFault:
The requested operation isn't supported.
GetReservedNodeExchangeConfigurationOptions
$result = $client->getReservedNodeExchangeConfigurationOptions
([/* ... */]); $promise = $client->getReservedNodeExchangeConfigurationOptionsAsync
([/* ... */]);
Gets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.
Parameter Syntax
$result = $client->getReservedNodeExchangeConfigurationOptions([ 'ActionType' => 'restore-cluster|resize-cluster', // REQUIRED 'ClusterIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'SnapshotIdentifier' => '<string>', ]);
Parameter Details
Members
- ActionType
-
- Required: Yes
- Type: string
The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.
- ClusterIdentifier
-
- Type: string
The identifier for the cluster that is the source for a reserved-node exchange.
- Marker
-
- Type: string
An optional pagination token provided by a previous
GetReservedNodeExchangeConfigurationOptions
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in aMarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. - SnapshotIdentifier
-
- Type: string
The identifier for the snapshot that is the source for the reserved-node exchange.
Result Syntax
[ 'Marker' => '<string>', 'ReservedNodeConfigurationOptionList' => [ [ 'SourceReservedNode' => [ 'CurrencyCode' => '<string>', 'Duration' => <integer>, 'FixedPrice' => <float>, 'NodeCount' => <integer>, 'NodeType' => '<string>', 'OfferingType' => '<string>', 'RecurringCharges' => [ [ 'RecurringChargeAmount' => <float>, 'RecurringChargeFrequency' => '<string>', ], // ... ], 'ReservedNodeId' => '<string>', 'ReservedNodeOfferingId' => '<string>', 'ReservedNodeOfferingType' => 'Regular|Upgradable', 'StartTime' => <DateTime>, 'State' => '<string>', 'UsagePrice' => <float>, ], 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOffering' => [ 'CurrencyCode' => '<string>', 'Duration' => <integer>, 'FixedPrice' => <float>, 'NodeType' => '<string>', 'OfferingType' => '<string>', 'RecurringCharges' => [ [ 'RecurringChargeAmount' => <float>, 'RecurringChargeFrequency' => '<string>', ], // ... ], 'ReservedNodeOfferingId' => '<string>', 'ReservedNodeOfferingType' => 'Regular|Upgradable', 'UsagePrice' => <float>, ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A pagination token provided by a previous
GetReservedNodeExchangeConfigurationOptions
request. - ReservedNodeConfigurationOptionList
-
- Type: Array of ReservedNodeConfigurationOption structures
the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node. Details include the node type, the price, the node count, and the offering type.
Errors
- ReservedNodeNotFoundFault:
The specified reserved compute node not found.
- InvalidReservedNodeStateFault:
Indicates that the Reserved Node being exchanged is not in an active state.
- ReservedNodeAlreadyMigratedFault:
Indicates that the reserved node has already been exchanged.
- ReservedNodeOfferingNotFoundFault:
Specified offering does not exist.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
GetReservedNodeExchangeOfferings
$result = $client->getReservedNodeExchangeOfferings
([/* ... */]); $promise = $client->getReservedNodeExchangeOfferingsAsync
([/* ... */]);
Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.
Parameter Syntax
$result = $client->getReservedNodeExchangeOfferings([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReservedNodeId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of ReservedNodeOfferings.
- MaxRecords
-
- Type: int
An integer setting the maximum number of ReservedNodeOfferings to retrieve.
- ReservedNodeId
-
- Required: Yes
- Type: string
A string representing the node identifier for the DC1 Reserved Node to be exchanged.
Result Syntax
[ 'Marker' => '<string>', 'ReservedNodeOfferings' => [ [ 'CurrencyCode' => '<string>', 'Duration' => <integer>, 'FixedPrice' => <float>, 'NodeType' => '<string>', 'OfferingType' => '<string>', 'RecurringCharges' => [ [ 'RecurringChargeAmount' => <float>, 'RecurringChargeFrequency' => '<string>', ], // ... ], 'ReservedNodeOfferingId' => '<string>', 'ReservedNodeOfferingType' => 'Regular|Upgradable', 'UsagePrice' => <float>, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point for returning a set of response records. When the results of a
GetReservedNodeExchangeOfferings
request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request. - ReservedNodeOfferings
-
- Type: Array of ReservedNodeOffering structures
Returns an array of ReservedNodeOffering objects.
Errors
- ReservedNodeNotFoundFault:
The specified reserved compute node not found.
- InvalidReservedNodeStateFault:
Indicates that the Reserved Node being exchanged is not in an active state.
- ReservedNodeAlreadyMigratedFault:
Indicates that the reserved node has already been exchanged.
- ReservedNodeOfferingNotFoundFault:
Specified offering does not exist.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
GetResourcePolicy
$result = $client->getResourcePolicy
([/* ... */]); $promise = $client->getResourcePolicyAsync
([/* ... */]);
Get the resource policy for a specified resource.
Parameter Syntax
$result = $client->getResourcePolicy([ 'ResourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource of which its resource policy is fetched.
Result Syntax
[ 'ResourcePolicy' => [ 'Policy' => '<string>', 'ResourceArn' => '<string>', ], ]
Result Details
Members
- ResourcePolicy
-
- Type: ResourcePolicy structure
The content of the resource policy.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidPolicyFault:
The resource policy isn't valid.
- UnsupportedOperationFault:
The requested operation isn't supported.
ListRecommendations
$result = $client->listRecommendations
([/* ... */]); $promise = $client->listRecommendationsAsync
([/* ... */]);
List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.
Parameter Syntax
$result = $client->listRecommendations([ 'ClusterIdentifier' => '<string>', 'Marker' => '<string>', 'MaxRecords' => <integer>, 'NamespaceArn' => '<string>', ]);
Parameter Details
Members
- ClusterIdentifier
-
- Type: string
The unique identifier of the Amazon Redshift cluster for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
- MaxRecords
-
- Type: int
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
- NamespaceArn
-
- Type: string
The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
Result Syntax
[ 'Marker' => '<string>', 'Recommendations' => [ [ 'ClusterIdentifier' => '<string>', 'CreatedAt' => <DateTime>, 'Description' => '<string>', 'Id' => '<string>', 'ImpactRanking' => 'HIGH|MEDIUM|LOW', 'NamespaceArn' => '<string>', 'Observation' => '<string>', 'RecommendationText' => '<string>', 'RecommendationType' => '<string>', 'RecommendedActions' => [ [ 'Command' => '<string>', 'Database' => '<string>', 'Text' => '<string>', 'Type' => 'SQL|CLI', ], // ... ], 'ReferenceLinks' => [ [ 'Link' => '<string>', 'Text' => '<string>', ], // ... ], 'Title' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
- Recommendations
-
- Type: Array of Recommendation structures
The Advisor recommendations for action on the Amazon Redshift cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnsupportedOperationFault:
The requested operation isn't supported.
ModifyAquaConfiguration
$result = $client->modifyAquaConfiguration
([/* ... */]); $promise = $client->modifyAquaConfigurationAsync
([/* ... */]);
This operation is retired. Calling this operation does not change AQUA configuration. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
Parameter Syntax
$result = $client->modifyAquaConfiguration([ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AquaConfigurationStatus
-
- Type: string
This parameter is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster to be modified.
Result Syntax
[ 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], ]
Result Details
Members
- AquaConfiguration
-
- Type: AquaConfiguration structure
This parameter is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnsupportedOperationFault:
The requested operation isn't supported.
ModifyAuthenticationProfile
$result = $client->modifyAuthenticationProfile
([/* ... */]); $promise = $client->modifyAuthenticationProfileAsync
([/* ... */]);
Modifies an authentication profile.
Parameter Syntax
$result = $client->modifyAuthenticationProfile([ 'AuthenticationProfileContent' => '<string>', // REQUIRED 'AuthenticationProfileName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AuthenticationProfileContent
-
- Required: Yes
- Type: string
The new content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
- AuthenticationProfileName
-
- Required: Yes
- Type: string
The name of the authentication profile to replace.
Result Syntax
[ 'AuthenticationProfileContent' => '<string>', 'AuthenticationProfileName' => '<string>', ]
Result Details
Members
- AuthenticationProfileContent
-
- Type: string
The updated content of the authentication profile in JSON format.
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile that was replaced.
Errors
- AuthenticationProfileNotFoundFault:
The authentication profile can't be found.
- AuthenticationProfileQuotaExceededFault:
The size or number of authentication profiles has exceeded the quota. The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.
- InvalidAuthenticationProfileRequestFault:
The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.
ModifyCluster
$result = $client->modifyCluster
([/* ... */]); $promise = $client->modifyClusterAsync
([/* ... */]);
Modifies the settings for a cluster.
You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change.
You can add another security or parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->modifyCluster([ 'AllowVersionUpgrade' => true || false, 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocation' => true || false, 'ClusterIdentifier' => '<string>', // REQUIRED 'ClusterParameterGroupName' => '<string>', 'ClusterSecurityGroups' => ['<string>', ...], 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'ElasticIp' => '<string>', 'Encrypted' => true || false, 'EnhancedVpcRouting' => true || false, 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManageMasterPassword' => true || false, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUserPassword' => '<string>', 'MultiAZ' => true || false, 'NewClusterIdentifier' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'Port' => <integer>, 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'VpcSecurityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- AllowVersionUpgrade
-
- Type: boolean
If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window.Default:
false
- AutomatedSnapshotRetentionPeriod
-
- Type: int
The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.
If you decrease the automated snapshot retention period from its current value, existing automated snapshots that fall outside of the new retention period will be immediately deleted.
You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days.
Default: Uses existing setting.
Constraints: Must be a value from 0 to 35.
- AvailabilityZone
-
- Type: string
The option to initiate relocation for an Amazon Redshift cluster to the target Availability Zone.
- AvailabilityZoneRelocation
-
- Type: boolean
The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the cluster to be modified.
Example:
examplecluster
- ClusterParameterGroupName
-
- Type: string
The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster.
Default: Uses existing setting.
Constraints: The cluster parameter group must be in the same parameter group family that matches the cluster version.
- ClusterSecurityGroups
-
- Type: Array of strings
A list of cluster security groups to be authorized on this cluster. This change is asynchronously applied as soon as possible.
Security groups currently associated with the cluster, and not in the list of groups to apply, will be revoked from the cluster.
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
- ClusterType
-
- Type: string
The new cluster type.
When you submit your cluster resize request, your existing cluster goes into a read-only mode. After Amazon Redshift provisions a new cluster based on your resize requirements, there will be outage for a period while the old cluster is deleted and your connection is switched to the new cluster. You can use DescribeResize to track the progress of the resize request.
Valid Values:
multi-node | single-node
- ClusterVersion
-
- Type: string
The new version number of the Amazon Redshift engine to upgrade to.
For major version upgrades, if a non-default cluster parameter group is currently in use, a new cluster parameter group in the cluster parameter group family for the new version must be specified. The new cluster parameter group can be the default for that cluster parameter group family. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Example:
1.0
- ElasticIp
-
- Type: string
The Elastic IP (EIP) address for the cluster.
Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible through an Internet gateway. For more information about provisioning clusters in EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management Guide.
- Encrypted
-
- Type: boolean
Indicates whether the cluster is encrypted. If the value is encrypted (true) and you provide a value for the
KmsKeyId
parameter, we encrypt the cluster with the providedKmsKeyId
. If you don't provide aKmsKeyId
, we encrypt with the default key.If the value is not encrypted (false), then the cluster is decrypted.
- EnhancedVpcRouting
-
- Type: boolean
An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is
true
, enhanced VPC routing is enabled.Default: false
- HsmClientCertificateIdentifier
-
- Type: string
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
- HsmConfigurationIdentifier
-
- Type: string
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- IpAddressType
-
- Type: string
The IP address types that the cluster supports. Possible values are
ipv4
anddualstack
. - KmsKeyId
-
- Type: string
The Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- MaintenanceTrackName
-
- Type: string
The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the
PendingModifiedValues
for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied. - ManageMasterPassword
-
- Type: boolean
If
true
, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials. You can't useMasterUserPassword
ifManageMasterPassword
is true. IfManageMasterPassword
is false or not set, Amazon Redshift usesMasterUserPassword
for the admin user account's password. - ManualSnapshotRetentionPeriod
-
- Type: int
The default for number of days that a newly created manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. This value doesn't retroactively change the retention periods of existing manual snapshots.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
- MasterPasswordSecretKmsKeyId
-
- Type: string
The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if
ManageMasterPassword
is true. - MasterUserPassword
-
- Type: string
The new password for the cluster admin user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the
MasterUserPassword
element exists in thePendingModifiedValues
element of the operation response.You can't use
MasterUserPassword
ifManageMasterPassword
istrue
.Operations never return the password, so this operation provides a way to regain access to the admin user account for a cluster if the password is lost.
Default: Uses existing setting.
Constraints:
-
Must be between 8 and 64 characters in length.
-
Must contain at least one uppercase letter.
-
Must contain at least one lowercase letter.
-
Must contain one number.
-
Can be any printable ASCII character (ASCII code 33-126) except
'
(single quote),"
(double quote),\
,/
, or@
.
- MultiAZ
-
- Type: boolean
If true and the cluster is currently only deployed in a single Availability Zone, the cluster will be modified to be deployed in two Availability Zones.
- NewClusterIdentifier
-
- Type: string
The new identifier for the cluster.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
Alphabetic characters must be lowercase.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for all clusters within an Amazon Web Services account.
Example:
examplecluster
- NodeType
-
- Type: string
The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.
For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Valid Values:
dc2.large
|dc2.8xlarge
|ra3.large
|ra3.xlplus
|ra3.4xlarge
|ra3.16xlarge
- NumberOfNodes
-
- Type: int
The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter.
For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Valid Values: Integer greater than
0
. - Port
-
- Type: int
The option to change the port of an Amazon Redshift cluster.
Valid Values:
-
For clusters with ra3 nodes - Select a port within the ranges
5431-5455
or8191-8215
. (If you have an existing cluster with ra3 nodes, it isn't required that you change the port to these ranges.) -
For clusters with dc2 nodes - Select a port within the range
1150-65535
.
- PreferredMaintenanceWindow
-
- Type: string
The weekly time range (in UTC) during which system maintenance can occur, if necessary. If system maintenance is necessary during the window, it may result in an outage.
This maintenance window change is made immediately. If the new maintenance window indicates the current time, there must be at least 120 minutes between the current time and end of the window in order to ensure that pending changes are applied.
Default: Uses existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi, for example
wed:07:30-wed:08:00
.Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Must be at least 30 minutes.
- PubliclyAccessible
-
- Type: boolean
If
true
, the cluster can be accessed from a public network. Only clusters in VPCs can be set to be publicly available. - VpcSecurityGroupIds
-
- Type: Array of strings
A list of virtual private cloud (VPC) security groups to be associated with the cluster. This change is asynchronously applied as soon as possible.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- NumberOfNodesQuotaExceededFault:
The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NumberOfNodesPerClusterLimitExceededFault:
The operation would exceed the number of nodes allowed for a cluster.
- ClusterSecurityGroupNotFoundFault:
The cluster security group name does not refer to an existing cluster security group.
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
- InsufficientClusterCapacityFault:
The number of nodes specified exceeds the allotted capacity of the cluster.
- UnsupportedOptionFault:
A request option was specified that is not supported.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- HsmClientCertificateNotFoundFault:
There is no Amazon Redshift HSM client certificate with the specified identifier.
- HsmConfigurationNotFoundFault:
There is no Amazon Redshift HSM configuration with the specified identifier.
- ClusterAlreadyExistsFault:
The account already has a cluster with the given identifier.
- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
- InvalidElasticIpFault:
The Elastic IP (EIP) is invalid or cannot be found.
- TableLimitExceededFault:
The number of tables in the cluster exceeds the limit for the requested new cluster node type.
- InvalidClusterTrackFault:
The provided cluster track name is not valid.
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
- UnsupportedOperationFault:
The requested operation isn't supported.
- CustomCnameAssociationFault:
An error occurred when an attempt was made to change the custom domain association.
- Ipv6CidrBlockNotFoundFault:
There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.
ModifyClusterDbRevision
$result = $client->modifyClusterDbRevision
([/* ... */]); $promise = $client->modifyClusterDbRevisionAsync
([/* ... */]);
Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.
Parameter Syntax
$result = $client->modifyClusterDbRevision([ 'ClusterIdentifier' => '<string>', // REQUIRED 'RevisionTarget' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of a cluster whose database revision you want to modify.
Example:
examplecluster
- RevisionTarget
-
- Required: Yes
- Type: string
The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ClusterOnLatestRevisionFault:
Cluster is already on the latest database revision.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnsupportedOperationFault:
The requested operation isn't supported.
ModifyClusterIamRoles
$result = $client->modifyClusterIamRoles
([/* ... */]); $promise = $client->modifyClusterIamRolesAsync
([/* ... */]);
Modifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.
The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->modifyClusterIamRoles([ 'AddIamRoles' => ['<string>', ...], 'ClusterIdentifier' => '<string>', // REQUIRED 'DefaultIamRoleArn' => '<string>', 'RemoveIamRoles' => ['<string>', ...], ]);
Parameter Details
Members
- AddIamRoles
-
- Type: Array of strings
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
- DefaultIamRoleArn
-
- Type: string
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
- RemoveIamRoles
-
- Type: Array of strings
Zero or more IAM roles in ARN format to disassociate from the cluster.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.
ModifyClusterMaintenance
$result = $client->modifyClusterMaintenance
([/* ... */]); $promise = $client->modifyClusterMaintenanceAsync
([/* ... */]);
Modifies the maintenance settings of a cluster.
Parameter Syntax
$result = $client->modifyClusterMaintenance([ 'ClusterIdentifier' => '<string>', // REQUIRED 'DeferMaintenance' => true || false, 'DeferMaintenanceDuration' => <integer>, 'DeferMaintenanceEndTime' => <integer || string || DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <integer || string || DateTime>, ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
A unique identifier for the cluster.
- DeferMaintenance
-
- Type: boolean
A boolean indicating whether to enable the deferred maintenance window.
- DeferMaintenanceDuration
-
- Type: int
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
- DeferMaintenanceEndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- DeferMaintenanceIdentifier
-
- Type: string
A unique identifier for the deferred maintenance window.
- DeferMaintenanceStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp indicating the start time for the deferred maintenance window.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.
ModifyClusterParameterGroup
$result = $client->modifyClusterParameterGroup
([/* ... */]); $promise = $client->modifyClusterParameterGroupAsync
([/* ... */]);
Modifies the parameters of a parameter group. For the parameters parameter, it can't contain ASCII characters.
For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->modifyClusterParameterGroup([ 'ParameterGroupName' => '<string>', // REQUIRED 'Parameters' => [ // REQUIRED [ 'AllowedValues' => '<string>', 'ApplyType' => 'static|dynamic', 'DataType' => '<string>', 'Description' => '<string>', 'IsModifiable' => true || false, 'MinimumEngineVersion' => '<string>', 'ParameterName' => '<string>', 'ParameterValue' => '<string>', 'Source' => '<string>', ], // ... ], ]);
Parameter Details
Members
- ParameterGroupName
-
- Required: Yes
- Type: string
The name of the parameter group to be modified.
- Parameters
-
- Required: Yes
- Type: Array of Parameter structures
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
Result Syntax
[ 'ParameterGroupName' => '<string>', 'ParameterGroupStatus' => '<string>', ]
Result Details
Members
- ParameterGroupName
-
- Type: string
The name of the cluster parameter group.
- ParameterGroupStatus
-
- Type: string
The status of the parameter group. For example, if you made a change to a parameter group name-value pair, then the change could be pending a reboot of an associated cluster.
Errors
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
- InvalidClusterParameterGroupStateFault:
The cluster parameter group action can not be completed because another task is in progress that involves the parameter group. Wait a few moments and try the operation again.
ModifyClusterSnapshot
$result = $client->modifyClusterSnapshot
([/* ... */]); $promise = $client->modifyClusterSnapshotAsync
([/* ... */]);
Modifies the settings for a snapshot.
This exanmple modifies the manual retention period setting for a cluster snapshot.
Parameter Syntax
$result = $client->modifyClusterSnapshot([ 'Force' => true || false, 'ManualSnapshotRetentionPeriod' => <integer>, 'SnapshotIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Force
-
- Type: boolean
A Boolean option to override an exception if the retention period has already passed.
- ManualSnapshotRetentionPeriod
-
- Type: int
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
- SnapshotIdentifier
-
- Required: Yes
- Type: string
The identifier of the snapshot whose setting you want to modify.
Result Syntax
[ 'Snapshot' => [ 'AccountsWithRestoreAccess' => [ [ 'AccountAlias' => '<string>', 'AccountId' => '<string>', ], // ... ], 'ActualIncrementalBackupSizeInMegaBytes' => <float>, 'AvailabilityZone' => '<string>', 'BackupProgressInMegaBytes' => <float>, 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterVersion' => '<string>', 'CurrentBackupRateInMegaBytesPerSecond' => <float>, 'DBName' => '<string>', 'ElapsedTimeInSeconds' => <integer>, 'Encrypted' => true || false, 'EncryptedWithHSM' => true || false, 'EngineFullVersion' => '<string>', 'EnhancedVpcRouting' => true || false, 'EstimatedSecondsToCompletion' => <integer>, 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRemainingDays' => <integer>, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'RestorableNodeTypes' => ['<string>', ...], 'SnapshotArn' => '<string>', 'SnapshotCreateTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SnapshotRetentionStartTime' => <DateTime>, 'SnapshotType' => '<string>', 'SourceRegion' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalBackupSizeInMegaBytes' => <float>, 'VpcId' => '<string>', ], ]
Result Details
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
Errors
- InvalidClusterSnapshotStateFault:
The specified cluster snapshot is not in the
available
state, or other accounts are authorized to access the snapshot.- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
ModifyClusterSnapshotSchedule
$result = $client->modifyClusterSnapshotSchedule
([/* ... */]); $promise = $client->modifyClusterSnapshotScheduleAsync
([/* ... */]);
Modifies a snapshot schedule for a cluster.
Parameter Syntax
$result = $client->modifyClusterSnapshotSchedule([ 'ClusterIdentifier' => '<string>', // REQUIRED 'DisassociateSchedule' => true || false, 'ScheduleIdentifier' => '<string>', ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
A unique identifier for the cluster whose snapshot schedule you want to modify.
- DisassociateSchedule
-
- Type: boolean
A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
- ScheduleIdentifier
-
- Type: string
A unique alphanumeric identifier for the schedule that you want to associate with the cluster.
Result Syntax
[]
Result Details
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- SnapshotScheduleNotFoundFault:
We could not find the specified snapshot schedule.
- InvalidClusterSnapshotScheduleStateFault:
The cluster snapshot schedule state is not valid.
ModifyClusterSubnetGroup
$result = $client->modifyClusterSubnetGroup
([/* ... */]); $promise = $client->modifyClusterSubnetGroupAsync
([/* ... */]);
Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.
Parameter Syntax
$result = $client->modifyClusterSubnetGroup([ 'ClusterSubnetGroupName' => '<string>', // REQUIRED 'Description' => '<string>', 'SubnetIds' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ClusterSubnetGroupName
-
- Required: Yes
- Type: string
The name of the subnet group to be modified.
- Description
-
- Type: string
A text description of the subnet group to be modified.
- SubnetIds
-
- Required: Yes
- Type: Array of strings
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
Result Syntax
[ 'ClusterSubnetGroup' => [ 'ClusterSubnetGroupName' => '<string>', 'Description' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', 'SupportedPlatforms' => [ [ 'Name' => '<string>', ], // ... ], ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedClusterIpAddressTypes' => ['<string>', ...], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'VpcId' => '<string>', ], ]
Result Details
Members
- ClusterSubnetGroup
-
- Type: ClusterSubnetGroup structure
Describes a subnet group.
Errors
- ClusterSubnetGroupNotFoundFault:
The cluster subnet group name does not refer to an existing cluster subnet group.
- ClusterSubnetQuotaExceededFault:
The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- SubnetAlreadyInUse:
A specified subnet is already in use by another cluster.
- InvalidSubnet:
The requested subnet is not valid, or not all of the subnets are in the same VPC.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
ModifyCustomDomainAssociation
$result = $client->modifyCustomDomainAssociation
([/* ... */]); $promise = $client->modifyCustomDomainAssociationAsync
([/* ... */]);
Contains information for changing a custom domain association.
Parameter Syntax
$result = $client->modifyCustomDomainAssociation([ 'ClusterIdentifier' => '<string>', // REQUIRED 'CustomDomainCertificateArn' => '<string>', // REQUIRED 'CustomDomainName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster to change a custom domain association for.
- CustomDomainCertificateArn
-
- Required: Yes
- Type: string
The certificate Amazon Resource Name (ARN) for the changed custom domain association.
- CustomDomainName
-
- Required: Yes
- Type: string
The custom domain name for a changed custom domain association.
Result Syntax
[ 'ClusterIdentifier' => '<string>', 'CustomDomainCertExpiryTime' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainName' => '<string>', ]
Result Details
Members
- ClusterIdentifier
-
- Type: string
The identifier of the cluster associated with the result for the changed custom domain association.
- CustomDomainCertExpiryTime
-
- Type: string
The certificate expiration time associated with the result for the changed custom domain association.
- CustomDomainCertificateArn
-
- Type: string
The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain association.
- CustomDomainName
-
- Type: string
The custom domain name associated with the result for the changed custom domain association.
Errors
- UnsupportedOperationFault:
The requested operation isn't supported.
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- CustomCnameAssociationFault:
An error occurred when an attempt was made to change the custom domain association.
- CustomDomainAssociationNotFoundFault:
An error occurred. The custom domain name couldn't be found.
ModifyEndpointAccess
$result = $client->modifyEndpointAccess
([/* ... */]); $promise = $client->modifyEndpointAccessAsync
([/* ... */]);
Modifies a Redshift-managed VPC endpoint.
Parameter Syntax
$result = $client->modifyEndpointAccess([ 'EndpointName' => '<string>', // REQUIRED 'VpcSecurityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- EndpointName
-
- Required: Yes
- Type: string
The endpoint to be modified.
- VpcSecurityGroupIds
-
- Type: Array of strings
The complete list of VPC security groups associated with the endpoint after the endpoint is modified.
Result Syntax
[ 'Address' => '<string>', 'ClusterIdentifier' => '<string>', 'EndpointCreateTime' => <DateTime>, 'EndpointName' => '<string>', 'EndpointStatus' => '<string>', 'Port' => <integer>, 'ResourceOwner' => '<string>', 'SubnetGroupName' => '<string>', 'VpcEndpoint' => [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ]
Result Details
Members
- Address
-
- Type: string
The DNS address of the endpoint.
- ClusterIdentifier
-
- Type: string
The cluster identifier of the cluster associated with the endpoint.
- EndpointCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) that the endpoint was created.
- EndpointName
-
- Type: string
The name of the endpoint.
- EndpointStatus
-
- Type: string
The status of the endpoint.
- Port
-
- Type: int
The port number on which the cluster accepts incoming connections.
- ResourceOwner
-
- Type: string
The Amazon Web Services account ID of the owner of the cluster.
- SubnetGroupName
-
- Type: string
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
- VpcEndpoint
-
- Type: VpcEndpoint structure
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
- VpcSecurityGroups
-
- Type: Array of VpcSecurityGroupMembership structures
The security groups associated with the endpoint.
Errors
- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidEndpointStateFault:
The status of the endpoint is not valid.
- EndpointNotFoundFault:
The endpoint name doesn't refer to an existing endpoint.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
ModifyEventSubscription
$result = $client->modifyEventSubscription
([/* ... */]); $promise = $client->modifyEventSubscriptionAsync
([/* ... */]);
Modifies an existing Amazon Redshift event notification subscription.
Parameter Syntax
$result = $client->modifyEventSubscription([ 'Enabled' => true || false, 'EventCategories' => ['<string>', ...], 'Severity' => '<string>', 'SnsTopicArn' => '<string>', 'SourceIds' => ['<string>', ...], 'SourceType' => '<string>', 'SubscriptionName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Enabled
-
- Type: boolean
A Boolean value indicating if the subscription is enabled.
true
indicates the subscription is enabled - EventCategories
-
- Type: Array of strings
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
Values: configuration, management, monitoring, security, pending
- Severity
-
- Type: string
Specifies the Amazon Redshift event severity to be published by the event notification subscription.
Values: ERROR, INFO
- SnsTopicArn
-
- Type: string
The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.
- SourceIds
-
- Type: Array of strings
A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.
Example: my-cluster-1, my-cluster-2
Example: my-snapshot-20131010
- SourceType
-
- Type: string
The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type in order to specify source IDs.
Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.
- SubscriptionName
-
- Required: Yes
- Type: string
The name of the modified Amazon Redshift event notification subscription.
Result Syntax
[ 'EventSubscription' => [ 'CustSubscriptionId' => '<string>', 'CustomerAwsId' => '<string>', 'Enabled' => true || false, 'EventCategoriesList' => ['<string>', ...], 'Severity' => '<string>', 'SnsTopicArn' => '<string>', 'SourceIdsList' => ['<string>', ...], 'SourceType' => '<string>', 'Status' => '<string>', 'SubscriptionCreationTime' => <DateTime>, 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- EventSubscription
-
- Type: EventSubscription structure
Describes event subscriptions.
Errors
- SubscriptionNotFoundFault:
An Amazon Redshift event notification subscription with the specified name does not exist.
- SNSInvalidTopicFault:
Amazon SNS has responded that there is a problem with the specified Amazon SNS topic.
- SNSNoAuthorizationFault:
You do not have permission to publish to the specified Amazon SNS topic.
- SNSTopicArnNotFoundFault:
An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not exist.
- SubscriptionEventIdNotFoundFault:
An Amazon Redshift event with the specified event ID does not exist.
- SubscriptionCategoryNotFoundFault:
The value specified for the event category was not one of the allowed values, or it specified a category that does not apply to the specified source type. The allowed values are Configuration, Management, Monitoring, and Security.
- SubscriptionSeverityNotFoundFault:
The value specified for the event severity was not one of the allowed values, or it specified a severity that does not apply to the specified source type. The allowed values are ERROR and INFO.
- SourceNotFoundFault:
The specified Amazon Redshift event source could not be found.
- InvalidSubscriptionStateFault:
The subscription request is invalid because it is a duplicate request. This subscription request is already in progress.
ModifyIntegration
$result = $client->modifyIntegration
([/* ... */]); $promise = $client->modifyIntegrationAsync
([/* ... */]);
Modifies a zero-ETL integration or S3 event integration with Amazon Redshift.
Parameter Syntax
$result = $client->modifyIntegration([ 'Description' => '<string>', 'IntegrationArn' => '<string>', // REQUIRED 'IntegrationName' => '<string>', ]);
Parameter Details
Members
- Description
-
- Type: string
A new description for the integration.
- IntegrationArn
-
- Required: Yes
- Type: string
The unique identifier of the integration to modify.
- IntegrationName
-
- Type: string
A new name for the integration.
Result Syntax
[ 'AdditionalEncryptionContext' => ['<string>', ...], 'CreateTime' => <DateTime>, 'Description' => '<string>', 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', ], // ... ], 'IntegrationArn' => '<string>', 'IntegrationName' => '<string>', 'KMSKeyId' => '<string>', 'SourceArn' => '<string>', 'Status' => 'creating|active|modifying|failed|deleting|syncing|needs_attention', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetArn' => '<string>', ]
Result Details
Members
- AdditionalEncryptionContext
-
- Type: Associative array of custom strings keys (String) to strings
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
- CreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the integration was created.
- Description
-
- Type: string
The description of the integration.
- Errors
-
- Type: Array of IntegrationError structures
Any errors associated with the integration.
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) of the integration.
- IntegrationName
-
- Type: string
The name of the integration.
- KMSKeyId
-
- Type: string
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
- SourceArn
-
- Type: string
The Amazon Resource Name (ARN) of the database used as the source for replication.
- Status
-
- Type: string
The current status of the integration.
- Tags
-
- Type: Array of Tag structures
The list of tags associated with the integration.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Errors
- IntegrationNotFoundFault:
The integration can't be found.
- IntegrationConflictStateFault:
The integration is in an invalid state and can't perform the requested operation.
- IntegrationConflictOperationFault:
A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.
- IntegrationAlreadyExistsFault:
The integration you are trying to create already exists.
- UnsupportedOperationFault:
The requested operation isn't supported.
ModifyRedshiftIdcApplication
$result = $client->modifyRedshiftIdcApplication
([/* ... */]); $promise = $client->modifyRedshiftIdcApplicationAsync
([/* ... */]);
Changes an existing Amazon Redshift IAM Identity Center application.
Parameter Syntax
$result = $client->modifyRedshiftIdcApplication([ 'AuthorizedTokenIssuerList' => [ [ 'AuthorizedAudiencesList' => ['<string>', ...], 'TrustedTokenIssuerArn' => '<string>', ], // ... ], 'IamRoleArn' => '<string>', 'IdcDisplayName' => '<string>', 'IdentityNamespace' => '<string>', 'RedshiftIdcApplicationArn' => '<string>', // REQUIRED 'ServiceIntegrations' => [ [ 'LakeFormation' => [ [ 'LakeFormationQuery' => [ 'Authorization' => 'Enabled|Disabled', // REQUIRED ], ], // ... ], 'S3AccessGrants' => [ [ 'ReadWriteAccess' => [ 'Authorization' => 'Enabled|Disabled', // REQUIRED ], ], // ... ], ], // ... ], ]);
Parameter Details
Members
- AuthorizedTokenIssuerList
-
- Type: Array of AuthorizedTokenIssuer structures
The authorized token issuer list for the Amazon Redshift IAM Identity Center application to change.
- IamRoleArn
-
- Type: string
The IAM role ARN associated with the Amazon Redshift IAM Identity Center application to change. It has the required permissions to be assumed and invoke the IDC Identity Center API.
- IdcDisplayName
-
- Type: string
The display name for the Amazon Redshift IAM Identity Center application to change. It appears on the console.
- IdentityNamespace
-
- Type: string
The namespace for the Amazon Redshift IAM Identity Center application to change. It determines which managed application verifies the connection token.
- RedshiftIdcApplicationArn
-
- Required: Yes
- Type: string
The ARN for the Redshift application that integrates with IAM Identity Center.
- ServiceIntegrations
-
- Type: Array of ServiceIntegrationsUnion structures
A collection of service integrations associated with the application.
Result Syntax
[ 'RedshiftIdcApplication' => [ 'AuthorizedTokenIssuerList' => [ [ 'AuthorizedAudiencesList' => ['<string>', ...], 'TrustedTokenIssuerArn' => '<string>', ], // ... ], 'IamRoleArn' => '<string>', 'IdcDisplayName' => '<string>', 'IdcInstanceArn' => '<string>', 'IdcManagedApplicationArn' => '<string>', 'IdcOnboardStatus' => '<string>', 'IdentityNamespace' => '<string>', 'RedshiftIdcApplicationArn' => '<string>', 'RedshiftIdcApplicationName' => '<string>', 'ServiceIntegrations' => [ [ 'LakeFormation' => [ [ 'LakeFormationQuery' => [ 'Authorization' => 'Enabled|Disabled', ], ], // ... ], 'S3AccessGrants' => [ [ 'ReadWriteAccess' => [ 'Authorization' => 'Enabled|Disabled', ], ], // ... ], ], // ... ], ], ]
Result Details
Members
- RedshiftIdcApplication
-
- Type: RedshiftIdcApplication structure
Contains properties for the Redshift IDC application.
Errors
- RedshiftIdcApplicationNotExistsFault:
The application you attempted to find doesn't exist.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- UnsupportedOperationFault:
The requested operation isn't supported.
- DependentServiceAccessDeniedFault:
A dependent service denied access for the integration.
ModifyScheduledAction
$result = $client->modifyScheduledAction
([/* ... */]); $promise = $client->modifyScheduledActionAsync
([/* ... */]);
Modifies a scheduled action.
Parameter Syntax
$result = $client->modifyScheduledAction([ 'Enable' => true || false, 'EndTime' => <integer || string || DateTime>, 'IamRole' => '<string>', 'Schedule' => '<string>', 'ScheduledActionDescription' => '<string>', 'ScheduledActionName' => '<string>', // REQUIRED 'StartTime' => <integer || string || DateTime>, 'TargetAction' => [ 'PauseCluster' => [ 'ClusterIdentifier' => '<string>', // REQUIRED ], 'ResizeCluster' => [ 'Classic' => true || false, 'ClusterIdentifier' => '<string>', // REQUIRED 'ClusterType' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'ReservedNodeId' => '<string>', 'TargetReservedNodeOfferingId' => '<string>', ], 'ResumeCluster' => [ 'ClusterIdentifier' => '<string>', // REQUIRED ], ], ]);
Parameter Details
Members
- Enable
-
- Type: boolean
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
- IamRole
-
- Type: string
A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
- Schedule
-
- Type: string
A modified schedule in either
at( )
orcron( )
format. For more information about this parameter, see ScheduledAction. - ScheduledActionDescription
-
- Type: string
A modified description of the scheduled action.
- ScheduledActionName
-
- Required: Yes
- Type: string
The name of the scheduled action to modify.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
- TargetAction
-
- Type: ScheduledActionType structure
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.
Result Syntax
[ 'EndTime' => <DateTime>, 'IamRole' => '<string>', 'NextInvocations' => [<DateTime>, ...], 'Schedule' => '<string>', 'ScheduledActionDescription' => '<string>', 'ScheduledActionName' => '<string>', 'StartTime' => <DateTime>, 'State' => 'ACTIVE|DISABLED', 'TargetAction' => [ 'PauseCluster' => [ 'ClusterIdentifier' => '<string>', ], 'ResizeCluster' => [ 'Classic' => true || false, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'ReservedNodeId' => '<string>', 'TargetReservedNodeOfferingId' => '<string>', ], 'ResumeCluster' => [ 'ClusterIdentifier' => '<string>', ], ], ]
Result Details
Members
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.
- IamRole
-
- Type: string
The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NextInvocations
-
- Type: Array of timestamp (string|DateTime or anything parsable by strtotime)s
List of times when the scheduled action will run.
- Schedule
-
- Type: string
The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.
Format of at expressions is "
at(yyyy-mm-ddThh:mm:ss)
". For example, "at(2016-03-04T17:27:00)
".Format of cron expressions is "
cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide. - ScheduledActionDescription
-
- Type: string
The description of the scheduled action.
- ScheduledActionName
-
- Type: string
The name of the scheduled action.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
- State
-
- Type: string
The state of the scheduled action. For example,
DISABLED
. - TargetAction
-
- Type: ScheduledActionType structure
A JSON format string of the Amazon Redshift API operation with input parameters.
"
{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}
".
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- ScheduledActionNotFoundFault:
The scheduled action cannot be found.
- ScheduledActionTypeUnsupportedFault:
The action type specified for a scheduled action is not supported.
- InvalidScheduleFault:
The schedule you submitted isn't valid.
- InvalidScheduledActionFault:
The scheduled action is not valid.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- UnsupportedOperationFault:
The requested operation isn't supported.
ModifySnapshotCopyRetentionPeriod
$result = $client->modifySnapshotCopyRetentionPeriod
([/* ... */]); $promise = $client->modifySnapshotCopyRetentionPeriodAsync
([/* ... */]);
Modifies 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. By default, this operation only changes the retention period of copied automated snapshots. The retention periods for both new and existing copied automated snapshots are updated with the new retention period. You can set the manual option to change only the retention periods of copied manual snapshots. If you set this option, only newly copied manual snapshots have the new retention period.
Parameter Syntax
$result = $client->modifySnapshotCopyRetentionPeriod([ 'ClusterIdentifier' => '<string>', // REQUIRED 'Manual' => true || false, 'RetentionPeriod' => <integer>, // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the cluster for which you want to change the retention period for either automated or manual snapshots that are copied to a destination Amazon Web Services Region.
Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
- Manual
-
- Type: boolean
Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
- RetentionPeriod
-
- Required: Yes
- Type: int
The number of days to retain automated snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region.
By default, this only changes the retention period of copied automated snapshots.
If you decrease the retention period for automated snapshots that are copied to a destination Amazon Web Services Region, Amazon Redshift deletes any existing automated snapshots that were copied to the destination Amazon Web Services Region and that fall outside of the new retention period.
Constraints: Must be at least 1 and no more than 35 for automated snapshots.
If you specify the
manual
option, only newly copied manual snapshots will have the new retention period.If you specify the value of -1 newly copied manual snapshots are retained indefinitely.
Constraints: The number of days must be either -1 or an integer between 1 and 3,653 for manual snapshots.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- SnapshotCopyDisabledFault:
Cross-region snapshot copy was temporarily disabled. Try your request again.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- InvalidRetentionPeriodFault:
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
ModifySnapshotSchedule
$result = $client->modifySnapshotSchedule
([/* ... */]); $promise = $client->modifySnapshotScheduleAsync
([/* ... */]);
Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.
Parameter Syntax
$result = $client->modifySnapshotSchedule([ 'ScheduleDefinitions' => ['<string>', ...], // REQUIRED 'ScheduleIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ScheduleDefinitions
-
- Required: Yes
- Type: Array of strings
An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
- ScheduleIdentifier
-
- Required: Yes
- Type: string
A unique alphanumeric identifier of the schedule to modify.
Result Syntax
[ 'AssociatedClusterCount' => <integer>, 'AssociatedClusters' => [ [ 'ClusterIdentifier' => '<string>', 'ScheduleAssociationState' => 'MODIFYING|ACTIVE|FAILED', ], // ... ], 'NextInvocations' => [<DateTime>, ...], 'ScheduleDefinitions' => ['<string>', ...], 'ScheduleDescription' => '<string>', 'ScheduleIdentifier' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ]
Result Details
Members
- AssociatedClusterCount
-
- Type: int
The number of clusters associated with the schedule.
- AssociatedClusters
-
- Type: Array of ClusterAssociatedToSchedule structures
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
- NextInvocations
-
- Type: Array of timestamp (string|DateTime or anything parsable by strtotime)s
- ScheduleDefinitions
-
- Type: Array of strings
A list of ScheduleDefinitions.
- ScheduleDescription
-
- Type: string
The description of the schedule.
- ScheduleIdentifier
-
- Type: string
A unique identifier for the schedule.
- Tags
-
- Type: Array of Tag structures
An optional set of tags describing the schedule.
Errors
- InvalidScheduleFault:
The schedule you submitted isn't valid.
- SnapshotScheduleNotFoundFault:
We could not find the specified snapshot schedule.
- SnapshotScheduleUpdateInProgressFault:
The specified snapshot schedule is already being updated.
ModifyUsageLimit
$result = $client->modifyUsageLimit
([/* ... */]); $promise = $client->modifyUsageLimitAsync
([/* ... */]);
Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.
Parameter Syntax
$result = $client->modifyUsageLimit([ 'Amount' => <integer>, 'BreachAction' => 'log|emit-metric|disable', 'UsageLimitId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Amount
-
- Type: long (int|float)
The new limit amount. For more information about this parameter, see UsageLimit.
- BreachAction
-
- Type: string
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
- UsageLimitId
-
- Required: Yes
- Type: string
The identifier of the usage limit to modify.
Result Syntax
[ 'Amount' => <integer>, 'BreachAction' => 'log|emit-metric|disable', 'ClusterIdentifier' => '<string>', 'FeatureType' => 'spectrum|concurrency-scaling|cross-region-datasharing', 'LimitType' => 'time|data-scanned', 'Period' => 'daily|weekly|monthly', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'UsageLimitId' => '<string>', ]
Result Details
Members
- Amount
-
- Type: long (int|float)
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
- BreachAction
-
- Type: string
The action that Amazon Redshift takes when the limit is reached. Possible values are:
-
log - To log an event in a system table. The default is log.
-
emit-metric - To emit CloudWatch metrics.
-
disable - To disable the feature until the next usage period begins.
- ClusterIdentifier
-
- Type: string
The identifier of the cluster with a usage limit.
- FeatureType
-
- Type: string
The Amazon Redshift feature to which the limit applies.
- LimitType
-
- Type: string
The type of limit. Depending on the feature type, this can be based on a time duration or data size.
- Period
-
- Type: string
The time period that the amount applies to. A
weekly
period begins on Sunday. The default ismonthly
. - Tags
-
- Type: Array of Tag structures
A list of tag instances.
- UsageLimitId
-
- Type: string
The identifier of the usage limit.
Errors
- InvalidUsageLimitFault:
The usage limit is not valid.
- UsageLimitNotFoundFault:
The usage limit identifier can't be found.
- UnsupportedOperationFault:
The requested operation isn't supported.
PauseCluster
$result = $client->pauseCluster
([/* ... */]); $promise = $client->pauseClusterAsync
([/* ... */]);
Pauses a cluster.
Parameter Syntax
$result = $client->pauseCluster([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster to be paused.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnsupportedOperationFault:
The requested operation isn't supported.
PurchaseReservedNodeOffering
$result = $client->purchaseReservedNodeOffering
([/* ... */]); $promise = $client->purchaseReservedNodeOfferingAsync
([/* ... */]);
Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.
For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->purchaseReservedNodeOffering([ 'NodeCount' => <integer>, 'ReservedNodeOfferingId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- NodeCount
-
- Type: int
The number of reserved nodes that you want to purchase.
Default:
1
- ReservedNodeOfferingId
-
- Required: Yes
- Type: string
The unique identifier of the reserved node offering you want to purchase.
Result Syntax
[ 'ReservedNode' => [ 'CurrencyCode' => '<string>', 'Duration' => <integer>, 'FixedPrice' => <float>, 'NodeCount' => <integer>, 'NodeType' => '<string>', 'OfferingType' => '<string>', 'RecurringCharges' => [ [ 'RecurringChargeAmount' => <float>, 'RecurringChargeFrequency' => '<string>', ], // ... ], 'ReservedNodeId' => '<string>', 'ReservedNodeOfferingId' => '<string>', 'ReservedNodeOfferingType' => 'Regular|Upgradable', 'StartTime' => <DateTime>, 'State' => '<string>', 'UsagePrice' => <float>, ], ]
Result Details
Members
- ReservedNode
-
- Type: ReservedNode structure
Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.
Errors
- ReservedNodeOfferingNotFoundFault:
Specified offering does not exist.
- ReservedNodeAlreadyExistsFault:
User already has a reservation with the given identifier.
- ReservedNodeQuotaExceededFault:
Request would exceed the user's compute node quota. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- UnsupportedOperationFault:
The requested operation isn't supported.
PutResourcePolicy
$result = $client->putResourcePolicy
([/* ... */]); $promise = $client->putResourcePolicyAsync
([/* ... */]);
Updates the resource policy for a specified resource.
Parameter Syntax
$result = $client->putResourcePolicy([ 'Policy' => '<string>', // REQUIRED 'ResourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Policy
-
- Required: Yes
- Type: string
The content of the resource policy being updated.
- ResourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource of which its resource policy is updated.
Result Syntax
[ 'ResourcePolicy' => [ 'Policy' => '<string>', 'ResourceArn' => '<string>', ], ]
Result Details
Members
- ResourcePolicy
-
- Type: ResourcePolicy structure
The content of the updated resource policy.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidPolicyFault:
The resource policy isn't valid.
- ConflictPolicyUpdateFault:
There is a conflict while updating the resource policy.
- UnsupportedOperationFault:
The requested operation isn't supported.
RebootCluster
$result = $client->rebootCluster
([/* ... */]); $promise = $client->rebootClusterAsync
([/* ... */]);
Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting
. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->rebootCluster([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The cluster identifier.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.
RejectDataShare
$result = $client->rejectDataShare
([/* ... */]); $promise = $client->rejectDataShareAsync
([/* ... */]);
From a datashare consumer account, rejects the specified datashare.
Parameter Syntax
$result = $client->rejectDataShare([ 'DataShareArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- DataShareArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the datashare to reject.
Result Syntax
[ 'AllowPubliclyAccessibleConsumers' => true || false, 'DataShareArn' => '<string>', 'DataShareAssociations' => [ [ 'ConsumerAcceptedWrites' => true || false, 'ConsumerIdentifier' => '<string>', 'ConsumerRegion' => '<string>', 'CreatedDate' => <DateTime>, 'ProducerAllowedWrites' => true || false, 'Status' => 'ACTIVE|PENDING_AUTHORIZATION|AUTHORIZED|DEAUTHORIZED|REJECTED|AVAILABLE', 'StatusChangeDate' => <DateTime>, ], // ... ], 'ManagedBy' => '<string>', 'ProducerArn' => '<string>', ]
Result Details
Members
- AllowPubliclyAccessibleConsumers
-
- Type: boolean
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
- DataShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
- DataShareAssociations
-
- Type: Array of DataShareAssociation structures
A value that specifies when the datashare has an association between producer and data consumers.
- ManagedBy
-
- Type: string
The identifier of a datashare to show its managing entity.
- ProducerArn
-
- Type: string
The Amazon Resource Name (ARN) of the producer namespace.
Errors
- InvalidDataShareFault:
There is an error with the datashare.
ResetClusterParameterGroup
$result = $client->resetClusterParameterGroup
([/* ... */]); $promise = $client->resetClusterParameterGroupAsync
([/* ... */]);
Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.
Parameter Syntax
$result = $client->resetClusterParameterGroup([ 'ParameterGroupName' => '<string>', // REQUIRED 'Parameters' => [ [ 'AllowedValues' => '<string>', 'ApplyType' => 'static|dynamic', 'DataType' => '<string>', 'Description' => '<string>', 'IsModifiable' => true || false, 'MinimumEngineVersion' => '<string>', 'ParameterName' => '<string>', 'ParameterValue' => '<string>', 'Source' => '<string>', ], // ... ], 'ResetAllParameters' => true || false, ]);
Parameter Details
Members
- ParameterGroupName
-
- Required: Yes
- Type: string
The name of the cluster parameter group to be reset.
- Parameters
-
- Type: Array of Parameter structures
An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.
Constraints: A maximum of 20 parameters can be reset in a single request.
- ResetAllParameters
-
- Type: boolean
If
true
, all parameters in the specified parameter group will be reset to their default values.Default:
true
Result Syntax
[ 'ParameterGroupName' => '<string>', 'ParameterGroupStatus' => '<string>', ]
Result Details
Members
- ParameterGroupName
-
- Type: string
The name of the cluster parameter group.
- ParameterGroupStatus
-
- Type: string
The status of the parameter group. For example, if you made a change to a parameter group name-value pair, then the change could be pending a reboot of an associated cluster.
Errors
- InvalidClusterParameterGroupStateFault:
The cluster parameter group action can not be completed because another task is in progress that involves the parameter group. Wait a few moments and try the operation again.
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
ResizeCluster
$result = $client->resizeCluster
([/* ... */]); $promise = $client->resizeClusterAsync
([/* ... */]);
Changes the size of the cluster. You can change the cluster's type, or change the number or type of nodes. The default behavior is to use the elastic resize method. With an elastic resize, your cluster is available for read and write operations more quickly than with the classic resize method.
Elastic resize operations have the following restrictions:
-
You can only resize clusters of the following types:
-
dc2.large
-
dc2.8xlarge
-
ra3.large
-
ra3.xlplus
-
ra3.4xlarge
-
ra3.16xlarge
-
-
The type of nodes that you add must match the node type for the cluster.
Parameter Syntax
$result = $client->resizeCluster([ 'Classic' => true || false, 'ClusterIdentifier' => '<string>', // REQUIRED 'ClusterType' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'ReservedNodeId' => '<string>', 'TargetReservedNodeOfferingId' => '<string>', ]);
Parameter Details
Members
- Classic
-
- Type: boolean
A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to
false
, the resize type is elastic. - ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier for the cluster to resize.
- ClusterType
-
- Type: string
The new cluster type for the specified cluster.
- NodeType
-
- Type: string
The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
- NumberOfNodes
-
- Type: int
The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
- ReservedNodeId
-
- Type: string
The identifier of the reserved node.
- TargetReservedNodeOfferingId
-
- Type: string
The identifier of the target reserved node offering.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- NumberOfNodesQuotaExceededFault:
The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NumberOfNodesPerClusterLimitExceededFault:
The operation would exceed the number of nodes allowed for a cluster.
- InsufficientClusterCapacityFault:
The number of nodes specified exceeds the allotted capacity of the cluster.
- UnsupportedOptionFault:
A request option was specified that is not supported.
- UnsupportedOperationFault:
The requested operation isn't supported.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- ReservedNodeNotFoundFault:
The specified reserved compute node not found.
- InvalidReservedNodeStateFault:
Indicates that the Reserved Node being exchanged is not in an active state.
- ReservedNodeAlreadyMigratedFault:
Indicates that the reserved node has already been exchanged.
- ReservedNodeOfferingNotFoundFault:
Specified offering does not exist.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- ReservedNodeAlreadyExistsFault:
User already has a reservation with the given identifier.
RestoreFromClusterSnapshot
$result = $client->restoreFromClusterSnapshot
([/* ... */]); $promise = $client->restoreFromClusterSnapshotAsync
([/* ... */]);
Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore.
If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->restoreFromClusterSnapshot([ 'AdditionalInfo' => '<string>', 'AllowVersionUpgrade' => true || false, 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocation' => true || false, 'ClusterIdentifier' => '<string>', // REQUIRED 'ClusterParameterGroupName' => '<string>', 'ClusterSecurityGroups' => ['<string>', ...], 'ClusterSubnetGroupName' => '<string>', 'DefaultIamRoleArn' => '<string>', 'ElasticIp' => '<string>', 'Encrypted' => true || false, 'EnhancedVpcRouting' => true || false, 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'IamRoles' => ['<string>', ...], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManageMasterPassword' => true || false, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretKmsKeyId' => '<string>', 'MultiAZ' => true || false, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeId' => '<string>', 'SnapshotArn' => '<string>', 'SnapshotClusterIdentifier' => '<string>', 'SnapshotIdentifier' => '<string>', 'SnapshotScheduleIdentifier' => '<string>', 'TargetReservedNodeOfferingId' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- AdditionalInfo
-
- Type: string
Reserved.
- AllowVersionUpgrade
-
- Type: boolean
If
true
, major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster.Default:
true
- AquaConfigurationStatus
-
- Type: string
This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
- AutomatedSnapshotRetentionPeriod
-
- Type: int
The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.
You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days.
Default: The value selected for the cluster from which the snapshot was taken.
Constraints: Must be a value from 0 to 35.
- AvailabilityZone
-
- Type: string
The Amazon EC2 Availability Zone in which to restore the cluster.
Default: A random, system-chosen Availability Zone.
Example:
us-east-2a
- AvailabilityZoneRelocation
-
- Type: boolean
The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster is restored.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster that will be created from restoring the snapshot.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
Alphabetic characters must be lowercase.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for all clusters within an Amazon Web Services account.
- ClusterParameterGroupName
-
- Type: string
The name of the parameter group to be associated with this cluster.
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups.
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- ClusterSecurityGroups
-
- Type: Array of strings
A list of security groups to be associated with this cluster.
Default: The default cluster security group for Amazon Redshift.
Cluster security groups only apply to clusters outside of VPCs.
- ClusterSubnetGroupName
-
- Type: string
The name of the subnet group where you want to cluster restored.
A snapshot of cluster in VPC can be restored only in VPC. Therefore, you must provide subnet group name where you want the cluster restored.
- DefaultIamRoleArn
-
- Type: string
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified while it was restored from a snapshot.
- ElasticIp
-
- Type: string
The Elastic IP (EIP) address for the cluster. Don't specify the Elastic IP address for a publicly accessible cluster with availability zone relocation turned on.
- Encrypted
-
- Type: boolean
Enables support for restoring an unencrypted snapshot to a cluster encrypted with Key Management Service (KMS) and a customer managed key.
- EnhancedVpcRouting
-
- Type: boolean
An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is
true
, enhanced VPC routing is enabled.Default: false
- HsmClientCertificateIdentifier
-
- Type: string
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
- HsmConfigurationIdentifier
-
- Type: string
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- IamRoles
-
- Type: Array of strings
A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon Resource Name (ARN) format.
The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.
- IpAddressType
-
- Type: string
The IP address type for the cluster. Possible values are
ipv4
anddualstack
. - KmsKeyId
-
- Type: string
The Key Management Service (KMS) key ID of the encryption key that encrypts data in the cluster restored from a shared snapshot. You can also provide the key ID when you restore from an unencrypted snapshot to an encrypted cluster in the same account. Additionally, you can specify a new KMS key ID when you restore from an encrypted snapshot in the same account in order to change it. In that case, the restored cluster is encrypted with the new KMS key ID.
- MaintenanceTrackName
-
- Type: string
The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the
MaintenanceTrack
value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks. - ManageMasterPassword
-
- Type: boolean
If
true
, Amazon Redshift uses Secrets Manager to manage the restored cluster's admin credentials. IfManageMasterPassword
is false or not set, Amazon Redshift uses the admin credentials the cluster had at the time the snapshot was taken. - ManualSnapshotRetentionPeriod
-
- Type: int
The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots.
The value must be either -1 or an integer between 1 and 3,653.
- MasterPasswordSecretKmsKeyId
-
- Type: string
The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if
ManageMasterPassword
is true. - MultiAZ
-
- Type: boolean
If true, the snapshot will be restored to a cluster deployed in two Availability Zones.
- NodeType
-
- Type: string
The node type that the restored cluster will be provisioned with.
If you have a DC instance type, you must restore into that same instance type and size. In other words, you can only restore a dc2.large node type into another dc2 type. For more information about node types, see About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.
- NumberOfNodes
-
- Type: int
The number of nodes specified when provisioning the restored cluster.
- OwnerAccount
-
- Type: string
The Amazon Web Services account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
- Port
-
- Type: int
The port number on which the cluster accepts connections.
Default: The same port as the original cluster.
Valid values: For clusters with DC2 nodes, must be within the range
1150
-65535
. For clusters with ra3 nodes, must be within the ranges5431
-5455
or8191
-8215
. - PreferredMaintenanceWindow
-
- Type: string
The weekly time range (in UTC) during which automated cluster maintenance can occur.
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: The value selected for the cluster from which the snapshot was taken. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
- PubliclyAccessible
-
- Type: boolean
If
true
, the cluster can be accessed from a public network. - ReservedNodeId
-
- Type: string
The identifier of the target reserved node offering.
- SnapshotArn
-
- Type: string
The Amazon Resource Name (ARN) of the snapshot associated with the message to restore from a cluster. You must specify this parameter or
snapshotIdentifier
, but not both. - SnapshotClusterIdentifier
-
- Type: string
The name of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
- SnapshotIdentifier
-
- Type: string
The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive. You must specify this parameter or
snapshotArn
, but not both.Example:
my-snapshot-id
- SnapshotScheduleIdentifier
-
- Type: string
A unique identifier for the snapshot schedule.
- TargetReservedNodeOfferingId
-
- Type: string
The identifier of the target reserved node offering.
- VpcSecurityGroupIds
-
- Type: Array of strings
A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
Default: The default VPC security group is associated with the cluster.
VPC security groups only apply to clusters in VPCs.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- AccessToSnapshotDeniedFault:
The owner of the specified snapshot has not authorized your account to access the snapshot.
- ClusterAlreadyExistsFault:
The account already has a cluster with the given identifier.
- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- ClusterQuotaExceededFault:
The request would exceed the allowed number of cluster instances for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- InsufficientClusterCapacityFault:
The number of nodes specified exceeds the allotted capacity of the cluster.
- InvalidClusterSnapshotStateFault:
The specified cluster snapshot is not in the
available
state, or other accounts are authorized to access the snapshot.- InvalidRestoreFault:
The restore is invalid.
- NumberOfNodesQuotaExceededFault:
The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NumberOfNodesPerClusterLimitExceededFault:
The operation would exceed the number of nodes allowed for a cluster.
- InvalidVPCNetworkStateFault:
The cluster subnet group does not cover all Availability Zones.
- InvalidClusterSubnetGroupStateFault:
The cluster subnet group cannot be deleted because it is in use.
- InvalidSubnet:
The requested subnet is not valid, or not all of the subnets are in the same VPC.
- ClusterSubnetGroupNotFoundFault:
The cluster subnet group name does not refer to an existing cluster subnet group.
- UnauthorizedOperation:
Your account is not authorized to perform the requested operation.
- HsmClientCertificateNotFoundFault:
There is no Amazon Redshift HSM client certificate with the specified identifier.
- HsmConfigurationNotFoundFault:
There is no Amazon Redshift HSM configuration with the specified identifier.
- InvalidElasticIpFault:
The Elastic IP (EIP) is invalid or cannot be found.
- ClusterParameterGroupNotFoundFault:
The parameter group name does not refer to an existing parameter group.
- ClusterSecurityGroupNotFoundFault:
The cluster security group name does not refer to an existing cluster security group.
- LimitExceededFault:
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
- InvalidClusterTrackFault:
The provided cluster track name is not valid.
- SnapshotScheduleNotFoundFault:
We could not find the specified snapshot schedule.
- TagLimitExceededFault:
You have exceeded the number of tags allowed.
- InvalidTagFault:
The tag is invalid.
- ReservedNodeNotFoundFault:
The specified reserved compute node not found.
- InvalidReservedNodeStateFault:
Indicates that the Reserved Node being exchanged is not in an active state.
- ReservedNodeAlreadyMigratedFault:
Indicates that the reserved node has already been exchanged.
- ReservedNodeOfferingNotFoundFault:
Specified offering does not exist.
- DependentServiceUnavailableFault:
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
- ReservedNodeAlreadyExistsFault:
User already has a reservation with the given identifier.
- UnsupportedOperationFault:
The requested operation isn't supported.
- Ipv6CidrBlockNotFoundFault:
There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.
RestoreTableFromClusterSnapshot
$result = $client->restoreTableFromClusterSnapshot
([/* ... */]); $promise = $client->restoreTableFromClusterSnapshotAsync
([/* ... */]);
Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from.
You cannot use RestoreTableFromClusterSnapshot
to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot
. When you have renamed your original table, then you can pass the original name of the table as the NewTableName
parameter value in the call to RestoreTableFromClusterSnapshot
. This way, you can replace the original table with the table created from the snapshot.
You can't use this operation to restore tables with interleaved sort keys.
Parameter Syntax
$result = $client->restoreTableFromClusterSnapshot([ 'ClusterIdentifier' => '<string>', // REQUIRED 'EnableCaseSensitiveIdentifier' => true || false, 'NewTableName' => '<string>', // REQUIRED 'SnapshotIdentifier' => '<string>', // REQUIRED 'SourceDatabaseName' => '<string>', // REQUIRED 'SourceSchemaName' => '<string>', 'SourceTableName' => '<string>', // REQUIRED 'TargetDatabaseName' => '<string>', 'TargetSchemaName' => '<string>', ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the Amazon Redshift cluster to restore the table to.
- EnableCaseSensitiveIdentifier
-
- Type: boolean
Indicates whether name identifiers for database, schema, and table are case sensitive. If
true
, the names are case sensitive. Iffalse
(default), the names are not case sensitive. - NewTableName
-
- Required: Yes
- Type: string
The name of the table to create as a result of the current request.
- SnapshotIdentifier
-
- Required: Yes
- Type: string
The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the
ClusterIdentifier
parameter. - SourceDatabaseName
-
- Required: Yes
- Type: string
The name of the source database that contains the table to restore from.
- SourceSchemaName
-
- Type: string
The name of the source schema that contains the table to restore from. If you do not specify a
SourceSchemaName
value, the default ispublic
. - SourceTableName
-
- Required: Yes
- Type: string
The name of the source table to restore from.
- TargetDatabaseName
-
- Type: string
The name of the database to restore the table to.
- TargetSchemaName
-
- Type: string
The name of the schema to restore the table to.
Result Syntax
[ 'TableRestoreStatus' => [ 'ClusterIdentifier' => '<string>', 'Message' => '<string>', 'NewTableName' => '<string>', 'ProgressInMegaBytes' => <integer>, 'RequestTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SourceDatabaseName' => '<string>', 'SourceSchemaName' => '<string>', 'SourceTableName' => '<string>', 'Status' => 'PENDING|IN_PROGRESS|SUCCEEDED|FAILED|CANCELED', 'TableRestoreRequestId' => '<string>', 'TargetDatabaseName' => '<string>', 'TargetSchemaName' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], ]
Result Details
Members
- TableRestoreStatus
-
- Type: TableRestoreStatus structure
Describes the status of a RestoreTableFromClusterSnapshot operation.
Errors
- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- InProgressTableRestoreQuotaExceededFault:
You have exceeded the allowed number of table restore requests. Wait for your current table restore requests to complete before making a new request.
- InvalidClusterSnapshotStateFault:
The specified cluster snapshot is not in the
available
state, or other accounts are authorized to access the snapshot.- InvalidTableRestoreArgumentFault:
The value specified for the
sourceDatabaseName
,sourceSchemaName
, orsourceTableName
parameter, or a combination of these, doesn't exist in the snapshot.- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- UnsupportedOperationFault:
The requested operation isn't supported.
ResumeCluster
$result = $client->resumeCluster
([/* ... */]); $promise = $client->resumeClusterAsync
([/* ... */]);
Resumes a paused cluster.
Parameter Syntax
$result = $client->resumeCluster([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The identifier of the cluster to be resumed.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- InsufficientClusterCapacityFault:
The number of nodes specified exceeds the allotted capacity of the cluster.
- UnsupportedOperationFault:
The requested operation isn't supported.
RevokeClusterSecurityGroupIngress
$result = $client->revokeClusterSecurityGroupIngress
([/* ... */]); $promise = $client->revokeClusterSecurityGroupIngressAsync
([/* ... */]);
Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->revokeClusterSecurityGroupIngress([ 'CIDRIP' => '<string>', 'ClusterSecurityGroupName' => '<string>', // REQUIRED 'EC2SecurityGroupName' => '<string>', 'EC2SecurityGroupOwnerId' => '<string>', ]);
Parameter Details
Members
- CIDRIP
-
- Type: string
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot be provided. - ClusterSecurityGroupName
-
- Required: Yes
- Type: string
The name of the security Group from which to revoke the ingress rule.
- EC2SecurityGroupName
-
- Type: string
The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided. - EC2SecurityGroupOwnerId
-
- Type: string
The Amazon Web Services account number of the owner of the security group specified in the
EC2SecurityGroupName
parameter. The Amazon Web Services access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
Result Syntax
[ 'ClusterSecurityGroup' => [ 'ClusterSecurityGroupName' => '<string>', 'Description' => '<string>', 'EC2SecurityGroups' => [ [ 'EC2SecurityGroupName' => '<string>', 'EC2SecurityGroupOwnerId' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'IPRanges' => [ [ 'CIDRIP' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], // ... ], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], ], ]
Result Details
Members
- ClusterSecurityGroup
-
- Type: ClusterSecurityGroup structure
Describes a security group.
Errors
- ClusterSecurityGroupNotFoundFault:
The cluster security group name does not refer to an existing cluster security group.
- AuthorizationNotFoundFault:
The specified CIDR IP range or EC2 security group is not authorized for the specified cluster security group.
- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.
RevokeEndpointAccess
$result = $client->revokeEndpointAccess
([/* ... */]); $promise = $client->revokeEndpointAccessAsync
([/* ... */]);
Revokes access to a cluster.
Parameter Syntax
$result = $client->revokeEndpointAccess([ 'Account' => '<string>', 'ClusterIdentifier' => '<string>', 'Force' => true || false, 'VpcIds' => ['<string>', ...], ]);
Parameter Details
Members
- Account
-
- Type: string
The Amazon Web Services account ID whose access is to be revoked.
- ClusterIdentifier
-
- Type: string
The cluster to revoke access from.
- Force
-
- Type: boolean
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
- VpcIds
-
- Type: Array of strings
The virtual private cloud (VPC) identifiers for which access is to be revoked.
Result Syntax
[ 'AllowedAllVPCs' => true || false, 'AllowedVPCs' => ['<string>', ...], 'AuthorizeTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterStatus' => '<string>', 'EndpointCount' => <integer>, 'Grantee' => '<string>', 'Grantor' => '<string>', 'Status' => 'Authorized|Revoking', ]
Result Details
Members
- AllowedAllVPCs
-
- Type: boolean
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
- AllowedVPCs
-
- Type: Array of strings
The VPCs allowed access to the cluster.
- AuthorizeTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the authorization was created.
- ClusterIdentifier
-
- Type: string
The cluster identifier.
- ClusterStatus
-
- Type: string
The status of the cluster.
- EndpointCount
-
- Type: int
The number of Redshift-managed VPC endpoints created for the authorization.
- Grantee
-
- Type: string
The Amazon Web Services account ID of the grantee of the cluster.
- Grantor
-
- Type: string
The Amazon Web Services account ID of the cluster owner.
- Status
-
- Type: string
The status of the authorization action.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidEndpointStateFault:
The status of the endpoint is not valid.
- InvalidClusterSecurityGroupStateFault:
The state of the cluster security group is not
available
.- EndpointNotFoundFault:
The endpoint name doesn't refer to an existing endpoint.
- EndpointAuthorizationNotFoundFault:
The authorization for this endpoint can't be found.
- InvalidAuthorizationStateFault:
The status of the authorization is not valid.
- InvalidClusterStateFault:
The specified cluster is not in the
available
state.
RevokeSnapshotAccess
$result = $client->revokeSnapshotAccess
([/* ... */]); $promise = $client->revokeSnapshotAccessAsync
([/* ... */]);
Removes the ability of the specified Amazon Web Services account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
Parameter Syntax
$result = $client->revokeSnapshotAccess([ 'AccountWithRestoreAccess' => '<string>', // REQUIRED 'SnapshotArn' => '<string>', 'SnapshotClusterIdentifier' => '<string>', 'SnapshotIdentifier' => '<string>', ]);
Parameter Details
Members
- AccountWithRestoreAccess
-
- Required: Yes
- Type: string
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
- SnapshotArn
-
- Type: string
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
- SnapshotClusterIdentifier
-
- Type: string
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
- SnapshotIdentifier
-
- Type: string
The identifier of the snapshot that the account can no longer access.
Result Syntax
[ 'Snapshot' => [ 'AccountsWithRestoreAccess' => [ [ 'AccountAlias' => '<string>', 'AccountId' => '<string>', ], // ... ], 'ActualIncrementalBackupSizeInMegaBytes' => <float>, 'AvailabilityZone' => '<string>', 'BackupProgressInMegaBytes' => <float>, 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterVersion' => '<string>', 'CurrentBackupRateInMegaBytesPerSecond' => <float>, 'DBName' => '<string>', 'ElapsedTimeInSeconds' => <integer>, 'Encrypted' => true || false, 'EncryptedWithHSM' => true || false, 'EngineFullVersion' => '<string>', 'EnhancedVpcRouting' => true || false, 'EstimatedSecondsToCompletion' => <integer>, 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRemainingDays' => <integer>, 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'OwnerAccount' => '<string>', 'Port' => <integer>, 'RestorableNodeTypes' => ['<string>', ...], 'SnapshotArn' => '<string>', 'SnapshotCreateTime' => <DateTime>, 'SnapshotIdentifier' => '<string>', 'SnapshotRetentionStartTime' => <DateTime>, 'SnapshotType' => '<string>', 'SourceRegion' => '<string>', 'Status' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalBackupSizeInMegaBytes' => <float>, 'VpcId' => '<string>', ], ]
Result Details
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
Errors
- AccessToSnapshotDeniedFault:
The owner of the specified snapshot has not authorized your account to access the snapshot.
- AuthorizationNotFoundFault:
The specified CIDR IP range or EC2 security group is not authorized for the specified cluster security group.
- ClusterSnapshotNotFoundFault:
The snapshot identifier does not refer to an existing cluster snapshot.
- UnsupportedOperationFault:
The requested operation isn't supported.
RotateEncryptionKey
$result = $client->rotateEncryptionKey
([/* ... */]); $promise = $client->rotateEncryptionKeyAsync
([/* ... */]);
Rotates the encryption keys for a cluster.
Parameter Syntax
$result = $client->rotateEncryptionKey([ 'ClusterIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClusterIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the cluster that you want to rotate the encryption keys for.
Constraints: Must be the name of valid cluster that has encryption enabled.
Result Syntax
[ 'Cluster' => [ 'AllowVersionUpgrade' => true || false, 'AquaConfiguration' => [ 'AquaConfigurationStatus' => 'enabled|disabled|auto', 'AquaStatus' => 'enabled|disabled|applying', ], 'AutomatedSnapshotRetentionPeriod' => <integer>, 'AvailabilityZone' => '<string>', 'AvailabilityZoneRelocationStatus' => '<string>', 'ClusterAvailabilityStatus' => '<string>', 'ClusterCreateTime' => <DateTime>, 'ClusterIdentifier' => '<string>', 'ClusterNamespaceArn' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], 'ClusterParameterGroups' => [ [ 'ClusterParameterStatusList' => [ [ 'ParameterApplyErrorDescription' => '<string>', 'ParameterApplyStatus' => '<string>', 'ParameterName' => '<string>', ], // ... ], 'ParameterApplyStatus' => '<string>', 'ParameterGroupName' => '<string>', ], // ... ], 'ClusterPublicKey' => '<string>', 'ClusterRevisionNumber' => '<string>', 'ClusterSecurityGroups' => [ [ 'ClusterSecurityGroupName' => '<string>', 'Status' => '<string>', ], // ... ], 'ClusterSnapshotCopyStatus' => [ 'DestinationRegion' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'RetentionPeriod' => <integer>, 'SnapshotCopyGrantName' => '<string>', ], 'ClusterStatus' => '<string>', 'ClusterSubnetGroupName' => '<string>', 'ClusterVersion' => '<string>', 'CustomDomainCertificateArn' => '<string>', 'CustomDomainCertificateExpiryDate' => <DateTime>, 'CustomDomainName' => '<string>', 'DBName' => '<string>', 'DataTransferProgress' => [ 'CurrentRateInMegaBytesPerSecond' => <float>, 'DataTransferredInMegaBytes' => <integer>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'Status' => '<string>', 'TotalDataInMegaBytes' => <integer>, ], 'DefaultIamRoleArn' => '<string>', 'DeferredMaintenanceWindows' => [ [ 'DeferMaintenanceEndTime' => <DateTime>, 'DeferMaintenanceIdentifier' => '<string>', 'DeferMaintenanceStartTime' => <DateTime>, ], // ... ], 'ElasticIpStatus' => [ 'ElasticIp' => '<string>', 'Status' => '<string>', ], 'ElasticResizeNumberOfNodeOptions' => '<string>', 'Encrypted' => true || false, 'Endpoint' => [ 'Address' => '<string>', 'Port' => <integer>, 'VpcEndpoints' => [ [ 'NetworkInterfaces' => [ [ 'AvailabilityZone' => '<string>', 'Ipv6Address' => '<string>', 'NetworkInterfaceId' => '<string>', 'PrivateIpAddress' => '<string>', 'SubnetId' => '<string>', ], // ... ], 'VpcEndpointId' => '<string>', 'VpcId' => '<string>', ], // ... ], ], 'EnhancedVpcRouting' => true || false, 'ExpectedNextSnapshotScheduleTime' => <DateTime>, 'ExpectedNextSnapshotScheduleTimeStatus' => '<string>', 'HsmStatus' => [ 'HsmClientCertificateIdentifier' => '<string>', 'HsmConfigurationIdentifier' => '<string>', 'Status' => '<string>', ], 'IamRoles' => [ [ 'ApplyStatus' => '<string>', 'IamRoleArn' => '<string>', ], // ... ], 'IpAddressType' => '<string>', 'KmsKeyId' => '<string>', 'MaintenanceTrackName' => '<string>', 'ManualSnapshotRetentionPeriod' => <integer>, 'MasterPasswordSecretArn' => '<string>', 'MasterPasswordSecretKmsKeyId' => '<string>', 'MasterUsername' => '<string>', 'ModifyStatus' => '<string>', 'MultiAZ' => '<string>', 'MultiAZSecondary' => [ 'AvailabilityZone' => '<string>', 'ClusterNodes' => [ [ 'NodeRole' => '<string>', 'PrivateIPAddress' => '<string>', 'PublicIPAddress' => '<string>', ], // ... ], ], 'NextMaintenanceWindowStartTime' => <DateTime>, 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PendingActions' => ['<string>', ...], 'PendingModifiedValues' => [ 'AutomatedSnapshotRetentionPeriod' => <integer>, 'ClusterIdentifier' => '<string>', 'ClusterType' => '<string>', 'ClusterVersion' => '<string>', 'EncryptionType' => '<string>', 'EnhancedVpcRouting' => true || false, 'MaintenanceTrackName' => '<string>', 'MasterUserPassword' => '<string>', 'NodeType' => '<string>', 'NumberOfNodes' => <integer>, 'PubliclyAccessible' => true || false, ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReservedNodeExchangeStatus' => [ 'RequestTime' => <DateTime>, 'ReservedNodeExchangeRequestId' => '<string>', 'SourceReservedNodeCount' => <integer>, 'SourceReservedNodeId' => '<string>', 'SourceReservedNodeType' => '<string>', 'Status' => 'REQUESTED|PENDING|IN_PROGRESS|RETRYING|SUCCEEDED|FAILED', 'TargetReservedNodeCount' => <integer>, 'TargetReservedNodeOfferingId' => '<string>', 'TargetReservedNodeType' => '<string>', ], 'ResizeInfo' => [ 'AllowCancelResize' => true || false, 'ResizeType' => '<string>', ], 'RestoreStatus' => [ 'CurrentRestoreRateInMegaBytesPerSecond' => <float>, 'ElapsedTimeInSeconds' => <integer>, 'EstimatedTimeToCompletionInSeconds' => <integer>, 'ProgressInMegaBytes' => <integer>, 'SnapshotSizeInMegaBytes' => <integer>, 'Status' => '<string>', ], 'SnapshotScheduleIdentifier' => '<string>', 'SnapshotScheduleState' => 'MODIFYING|ACTIVE|FAILED', 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TotalStorageCapacityInMegaBytes' => <integer>, 'VpcId' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Errors
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- InvalidClusterStateFault:
The specified cluster is not in the
available
state.- DependentServiceRequestThrottlingFault:
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
- UnsupportedOperationFault:
The requested operation isn't supported.
UpdatePartnerStatus
$result = $client->updatePartnerStatus
([/* ... */]); $promise = $client->updatePartnerStatusAsync
([/* ... */]);
Updates the status of a partner integration.
Parameter Syntax
$result = $client->updatePartnerStatus([ 'AccountId' => '<string>', // REQUIRED 'ClusterIdentifier' => '<string>', // REQUIRED 'DatabaseName' => '<string>', // REQUIRED 'PartnerName' => '<string>', // REQUIRED 'Status' => 'Active|Inactive|RuntimeFailure|ConnectionFailure', // REQUIRED 'StatusMessage' => '<string>', ]);
Parameter Details
Members
- AccountId
-
- Required: Yes
- Type: string
The Amazon Web Services account ID that owns the cluster.
- ClusterIdentifier
-
- Required: Yes
- Type: string
The cluster identifier of the cluster whose partner integration status is being updated.
- DatabaseName
-
- Required: Yes
- Type: string
The name of the database whose partner integration status is being updated.
- PartnerName
-
- Required: Yes
- Type: string
The name of the partner whose integration status is being updated.
- Status
-
- Required: Yes
- Type: string
The value of the updated status.
- StatusMessage
-
- Type: string
The status message provided by the partner.
Result Syntax
[ 'DatabaseName' => '<string>', 'PartnerName' => '<string>', ]
Result Details
Members
- DatabaseName
-
- Type: string
The name of the database that receives data from the partner.
- PartnerName
-
- Type: string
The name of the partner that is authorized to send data.
Errors
- PartnerNotFoundFault:
The name of the partner was not found.
- ClusterNotFoundFault:
The
ClusterIdentifier
parameter does not refer to an existing cluster.- UnauthorizedPartnerIntegrationFault:
The partner integration is not authorized.
- UnsupportedOperationFault:
The requested operation isn't supported.
Shapes
AcceptReservedNodeExchangeOutputMessage
Members
- ExchangedReservedNode
-
- Type: ReservedNode structure
AccessToClusterDeniedFault
Description
You are not authorized to access the cluster.
Members
AccessToSnapshotDeniedFault
Description
The owner of the specified snapshot has not authorized your account to access the snapshot.
Members
AccountAttribute
Description
A name value pair that describes an aspect of an account.
Members
- AttributeName
-
- Type: string
The name of the attribute.
- AttributeValues
-
- Type: Array of AttributeValueTarget structures
A list of attribute values.
AccountAttributeList
Members
- AccountAttributes
-
- Type: Array of AccountAttribute structures
A list of attributes assigned to an account.
AccountWithRestoreAccess
Description
Describes an Amazon Web Services account authorized to restore a snapshot.
Members
- AccountAlias
-
- Type: string
The identifier of an Amazon Web Services support account authorized to restore a snapshot. For Amazon Web Services Support, the identifier is
amazon-redshift-support
. - AccountId
-
- Type: string
The identifier of an Amazon Web Services account authorized to restore a snapshot.
AquaConfiguration
Description
The operation that uses this structure is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
Members
- AquaConfigurationStatus
-
- Type: string
This field is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
- AquaStatus
-
- Type: string
This field is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
Association
Description
Contains information about the custom domain name association.
Members
- CertificateAssociations
-
- Type: Array of CertificateAssociation structures
A list of all associated clusters and domain names tied to a specific certificate.
- CustomDomainCertificateArn
-
- Type: string
The Amazon Resource Name (ARN) for the certificate associated with the custom domain.
- CustomDomainCertificateExpiryDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The expiration date for the certificate.
AttributeValueTarget
Description
Describes an attribute value.
Members
- AttributeValue
-
- Type: string
The value of the attribute.
AuthenticationProfile
Description
Describes an authentication profile.
Members
- AuthenticationProfileContent
-
- Type: string
The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile.
AuthenticationProfileAlreadyExistsFault
Description
The authentication profile already exists.
Members
AuthenticationProfileNotFoundFault
Description
The authentication profile can't be found.
Members
AuthenticationProfileQuotaExceededFault
Description
The size or number of authentication profiles has exceeded the quota. The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.
Members
AuthorizationAlreadyExistsFault
Description
The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.
Members
AuthorizationNotFoundFault
Description
The specified CIDR IP range or EC2 security group is not authorized for the specified cluster security group.
Members
AuthorizationQuotaExceededFault
Description
The authorization quota for the cluster security group has been reached.
Members
AuthorizeClusterSecurityGroupIngressResult
Members
- ClusterSecurityGroup
-
- Type: ClusterSecurityGroup structure
Describes a security group.
AuthorizeSnapshotAccessResult
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
AuthorizedTokenIssuer
Description
The authorized token issuer for the Amazon Redshift IAM Identity Center application.
Members
- AuthorizedAudiencesList
-
- Type: Array of strings
The list of audiences for the authorized token issuer for integrating Amazon Redshift with IDC Identity Center.
- TrustedTokenIssuerArn
-
- Type: string
The ARN for the authorized token issuer for integrating Amazon Redshift with IDC Identity Center.
AvailabilityZone
Description
Describes an availability zone.
Members
- Name
-
- Type: string
The name of the availability zone.
- SupportedPlatforms
-
- Type: Array of SupportedPlatform structures
BatchDeleteClusterSnapshotsResult
Members
- Errors
-
- Type: Array of SnapshotErrorMessage structures
A list of any errors returned.
- Resources
-
- Type: Array of strings
A list of the snapshot identifiers that were deleted.
BatchDeleteRequestSizeExceededFault
Description
The maximum number for a batch delete of snapshots has been reached. The limit is 100.
Members
BatchModifyClusterSnapshotsLimitExceededFault
Description
The maximum number for snapshot identifiers has been reached. The limit is 100.
Members
BatchModifyClusterSnapshotsOutputMessage
Members
- Errors
-
- Type: Array of SnapshotErrorMessage structures
A list of any errors returned.
- Resources
-
- Type: Array of strings
A list of the snapshots that were modified.
BucketNotFoundFault
Description
Could not find the specified S3 bucket.
Members
CertificateAssociation
Description
A cluster ID and custom domain name tied to a specific certificate. These are typically returned in a list.
Members
- ClusterIdentifier
-
- Type: string
The cluster identifier for the certificate association.
- CustomDomainName
-
- Type: string
The custom domain name for the certificate association.
Cluster
Description
Describes a cluster.
Members
- AllowVersionUpgrade
-
- Type: boolean
A boolean value that, if
true
, indicates that major version upgrades will be applied automatically to the cluster during the maintenance window. - AquaConfiguration
-
- Type: AquaConfiguration structure
This field is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
- AutomatedSnapshotRetentionPeriod
-
- Type: int
The number of days that automatic cluster snapshots are retained.
- AvailabilityZone
-
- Type: string
The name of the Availability Zone in which the cluster is located.
- AvailabilityZoneRelocationStatus
-
- Type: string
Describes the status of the Availability Zone relocation operation.
- ClusterAvailabilityStatus
-
- Type: string
The availability status of the cluster for queries. Possible values are the following:
-
Available - The cluster is available for queries.
-
Unavailable - The cluster is not available for queries.
-
Maintenance - The cluster is intermittently available for queries due to maintenance activities.
-
Modifying - The cluster is intermittently available for queries due to changes that modify the cluster.
-
Failed - The cluster failed and is not available for queries.
- ClusterCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the cluster was created.
- ClusterIdentifier
-
- Type: string
The unique identifier of the cluster.
- ClusterNamespaceArn
-
- Type: string
The namespace Amazon Resource Name (ARN) of the cluster.
- ClusterNodes
-
- Type: Array of ClusterNode structures
The nodes in the cluster.
- ClusterParameterGroups
-
- Type: Array of ClusterParameterGroupStatus structures
The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.
- ClusterPublicKey
-
- Type: string
The public key for the cluster.
- ClusterRevisionNumber
-
- Type: string
The specific revision number of the database in the cluster.
- ClusterSecurityGroups
-
- Type: Array of ClusterSecurityGroupMembership structures
A list of cluster security group that are associated with the cluster. Each security group is represented by an element that contains
ClusterSecurityGroup.Name
andClusterSecurityGroup.Status
subelements.Cluster security groups are used when the cluster is not created in an Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
- ClusterSnapshotCopyStatus
-
- Type: ClusterSnapshotCopyStatus structure
A value that returns the destination region and retention period that are configured for cross-region snapshot copy.
- ClusterStatus
-
- Type: string
The current state of the cluster. Possible values are the following:
-
available
-
available, prep-for-resize
-
available, resize-cleanup
-
cancelling-resize
-
creating
-
deleting
-
final-snapshot
-
hardware-failure
-
incompatible-hsm
-
incompatible-network
-
incompatible-parameters
-
incompatible-restore
-
modifying
-
paused
-
rebooting
-
renaming
-
resizing
-
rotating-keys
-
storage-full
-
updating-hsm
- ClusterSubnetGroupName
-
- Type: string
The name of the subnet group that is associated with the cluster. This parameter is valid only when the cluster is in a VPC.
- ClusterVersion
-
- Type: string
The version ID of the Amazon Redshift engine that is running on the cluster.
- CustomDomainCertificateArn
-
- Type: string
The certificate Amazon Resource Name (ARN) for the custom domain name.
- CustomDomainCertificateExpiryDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The expiration date for the certificate associated with the custom domain name.
- CustomDomainName
-
- Type: string
The custom domain name associated with the cluster.
- DBName
-
- Type: string
The name of the initial database that was created when the cluster was created. This same name is returned for the life of the cluster. If an initial database was not specified, a database named
dev
dev was created by default. - DataTransferProgress
-
- Type: DataTransferProgress structure
- DefaultIamRoleArn
-
- Type: string
The Amazon Resource Name (ARN) for the IAM role set as default for the cluster.
- DeferredMaintenanceWindows
-
- Type: Array of DeferredMaintenanceWindow structures
Describes a group of
DeferredMaintenanceWindow
objects. - ElasticIpStatus
-
- Type: ElasticIpStatus structure
The status of the elastic IP (EIP) address.
- ElasticResizeNumberOfNodeOptions
-
- Type: string
The number of nodes that you can resize the cluster to with the elastic resize method.
- Encrypted
-
- Type: boolean
A boolean value that, if
true
, indicates that data in the cluster is encrypted at rest. - Endpoint
-
- Type: Endpoint structure
The connection endpoint.
- EnhancedVpcRouting
-
- Type: boolean
An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is
true
, enhanced VPC routing is enabled.Default: false
- ExpectedNextSnapshotScheduleTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time when the next snapshot is expected to be taken for clusters with a valid snapshot schedule and backups enabled.
- ExpectedNextSnapshotScheduleTimeStatus
-
- Type: string
The status of next expected snapshot for clusters having a valid snapshot schedule and backups enabled. Possible values are the following:
-
OnTrack - The next snapshot is expected to be taken on time.
-
Pending - The next snapshot is pending to be taken.
- HsmStatus
-
- Type: HsmStatus structure
A value that reports whether the Amazon Redshift cluster has finished applying any hardware security module (HSM) settings changes specified in a modify cluster command.
Values: active, applying
- IamRoles
-
- Type: Array of ClusterIamRole structures
A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.
- IpAddressType
-
- Type: string
The IP address type for the cluster. Possible values are
ipv4
anddualstack
. - KmsKeyId
-
- Type: string
The Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.
- MaintenanceTrackName
-
- Type: string
The name of the maintenance track for the cluster.
- ManualSnapshotRetentionPeriod
-
- Type: int
The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots.
The value must be either -1 or an integer between 1 and 3,653.
- MasterPasswordSecretArn
-
- Type: string
The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- MasterPasswordSecretKmsKeyId
-
- Type: string
The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
- MasterUsername
-
- Type: string
The admin user name for the cluster. This name is used to connect to the database that is specified in the DBName parameter.
- ModifyStatus
-
- Type: string
The status of a modify operation, if any, initiated for the cluster.
- MultiAZ
-
- Type: string
A boolean value that, if true, indicates that the cluster is deployed in two Availability Zones.
- MultiAZSecondary
-
- Type: SecondaryClusterInfo structure
The secondary compute unit of a cluster, if Multi-AZ deployment is turned on.
- NextMaintenanceWindowStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time in UTC when system maintenance can begin.
- NodeType
-
- Type: string
The node type for the nodes in the cluster.
- NumberOfNodes
-
- Type: int
The number of compute nodes in the cluster.
- PendingActions
-
- Type: Array of strings
Cluster operations that are waiting to be started.
- PendingModifiedValues
-
- Type: PendingModifiedValues structure
A value that, if present, indicates that changes to the cluster are pending. Specific pending changes are identified by subelements.
- PreferredMaintenanceWindow
-
- Type: string
The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.
- PubliclyAccessible
-
- Type: boolean
A boolean value that, if
true
, indicates that the cluster can be accessed from a public network. - ReservedNodeExchangeStatus
-
- Type: ReservedNodeExchangeStatus structure
The status of the reserved-node exchange request. Statuses include in-progress and requested.
- ResizeInfo
-
- Type: ResizeInfo structure
Returns the following:
-
AllowCancelResize: a boolean value indicating if the resize operation can be cancelled.
-
ResizeType: Returns ClassicResize
- RestoreStatus
-
- Type: RestoreStatus structure
A value that describes the status of a cluster restore action. This parameter returns null if the cluster was not created by restoring a snapshot.
- SnapshotScheduleIdentifier
-
- Type: string
A unique identifier for the cluster snapshot schedule.
- SnapshotScheduleState
-
- Type: string
The current state of the cluster snapshot schedule.
- Tags
-
- Type: Array of Tag structures
The list of tags for the cluster.
- TotalStorageCapacityInMegaBytes
-
- Type: long (int|float)
The total storage capacity of the cluster in megabytes.
- VpcId
-
- Type: string
The identifier of the VPC the cluster is in, if the cluster is in a VPC.
- VpcSecurityGroups
-
- Type: Array of VpcSecurityGroupMembership structures
A list of Amazon Virtual Private Cloud (Amazon VPC) security groups that are associated with the cluster. This parameter is returned only if the cluster is in a VPC.
ClusterAlreadyExistsFault
Description
The account already has a cluster with the given identifier.
Members
ClusterAssociatedToSchedule
Description
Members
- ClusterIdentifier
-
- Type: string
- ScheduleAssociationState
-
- Type: string
ClusterCredentials
Description
Temporary credentials with authorization to log on to an Amazon Redshift database.
Members
- DbPassword
-
- Type: string
A temporary password that authorizes the user name returned by
DbUser
to log on to the databaseDbName
. - DbUser
-
- Type: string
A database user name that is authorized to log on to the database
DbName
using the passwordDbPassword
. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If theDbGroups
parameter is specifed,DbUser
is added to the listed groups for any sessions created using these credentials. - Expiration
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time the password in
DbPassword
expires.
ClusterDbRevision
Description
Describes a ClusterDbRevision
.
Members
- ClusterIdentifier
-
- Type: string
The unique identifier of the cluster.
- CurrentDatabaseRevision
-
- Type: string
A string representing the current cluster version.
- DatabaseRevisionReleaseDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date on which the database revision was released.
- RevisionTargets
-
- Type: Array of RevisionTarget structures
A list of
RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.
ClusterDbRevisionsMessage
Members
- ClusterDbRevisions
-
- Type: Array of ClusterDbRevision structures
A list of revisions.
- Marker
-
- Type: string
A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in the
marker
parameter and retrying the command. If themarker
field is empty, all revisions have already been returned.
ClusterExtendedCredentials
Members
- DbPassword
-
- Type: string
A temporary password that you provide when you connect to a database.
- DbUser
-
- Type: string
A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
- Expiration
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
- NextRefreshTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Reserved for future use.
ClusterIamRole
Description
An Identity and Access Management (IAM) role that can be used by the associated Amazon Redshift cluster to access other Amazon Web Services services.
Members
- ApplyStatus
-
- Type: string
A value that describes the status of the IAM role's association with an Amazon Redshift cluster.
The following are possible statuses and descriptions.
-
in-sync
: The role is available for use by the cluster. -
adding
: The role is in the process of being associated with the cluster. -
removing
: The role is in the process of being disassociated with the cluster.
- IamRoleArn
-
- Type: string
The Amazon Resource Name (ARN) of the IAM role, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.
ClusterNode
Description
The identifier of a node in a cluster.
Members
- NodeRole
-
- Type: string
Whether the node is a leader node or a compute node.
- PrivateIPAddress
-
- Type: string
The private IP address of a node within a cluster.
- PublicIPAddress
-
- Type: string
The public IP address of a node within a cluster.
ClusterNotFoundFault
Description
The ClusterIdentifier
parameter does not refer to an existing cluster.
Members
ClusterOnLatestRevisionFault
Description
Cluster is already on the latest database revision.
Members
ClusterParameterGroup
Description
Describes a parameter group.
Members
- Description
-
- Type: string
The description of the parameter group.
- ParameterGroupFamily
-
- Type: string
The name of the cluster parameter group family that this cluster parameter group is compatible with.
- ParameterGroupName
-
- Type: string
The name of the cluster parameter group.
- Tags
-
- Type: Array of Tag structures
The list of tags for the cluster parameter group.
ClusterParameterGroupAlreadyExistsFault
Description
A cluster parameter group with the same name already exists.
Members
ClusterParameterGroupDetails
Description
Contains the output from the DescribeClusterParameters action.
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - Parameters
-
- Type: Array of Parameter structures
A list of Parameter instances. Each instance lists the parameters of one cluster parameter group.
ClusterParameterGroupNameMessage
Description
Members
- ParameterGroupName
-
- Type: string
The name of the cluster parameter group.
- ParameterGroupStatus
-
- Type: string
The status of the parameter group. For example, if you made a change to a parameter group name-value pair, then the change could be pending a reboot of an associated cluster.
ClusterParameterGroupNotFoundFault
Description
The parameter group name does not refer to an existing parameter group.
Members
ClusterParameterGroupQuotaExceededFault
Description
The request would result in the user exceeding the allowed number of cluster parameter groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
ClusterParameterGroupStatus
Description
Describes the status of a parameter group.
Members
- ClusterParameterStatusList
-
- Type: Array of ClusterParameterStatus structures
The list of parameter statuses.
For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- ParameterApplyStatus
-
- Type: string
The status of parameter updates.
- ParameterGroupName
-
- Type: string
The name of the cluster parameter group.
ClusterParameterGroupsMessage
Description
Contains the output from the DescribeClusterParameterGroups action.
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - ParameterGroups
-
- Type: Array of ClusterParameterGroup structures
A list of ClusterParameterGroup instances. Each instance describes one cluster parameter group.
ClusterParameterStatus
Description
Describes the status of a parameter group.
Members
- ParameterApplyErrorDescription
-
- Type: string
The error that prevented the parameter from being applied to the database.
- ParameterApplyStatus
-
- Type: string
The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.
The following are possible statuses and descriptions.
-
in-sync
: The parameter value is in sync with the database. -
pending-reboot
: The parameter value will be applied after the cluster reboots. -
applying
: The parameter value is being applied to the database. -
invalid-parameter
: Cannot apply the parameter value because it has an invalid value or syntax. -
apply-deferred
: The parameter contains static property changes. The changes are deferred until the cluster reboots. -
apply-error
: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots. -
unknown-error
: Cannot apply the parameter change right now. The change will be applied after the cluster reboots.
- ParameterName
-
- Type: string
The name of the parameter.
ClusterQuotaExceededFault
Description
The request would exceed the allowed number of cluster instances for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
ClusterSecurityGroup
Description
Describes a security group.
Members
- ClusterSecurityGroupName
-
- Type: string
The name of the cluster security group to which the operation was applied.
- Description
-
- Type: string
A description of the security group.
- EC2SecurityGroups
-
- Type: Array of EC2SecurityGroup structures
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
- IPRanges
-
- Type: Array of IPRange structures
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
- Tags
-
- Type: Array of Tag structures
The list of tags for the cluster security group.
ClusterSecurityGroupAlreadyExistsFault
Description
A cluster security group with the same name already exists.
Members
ClusterSecurityGroupMembership
Description
Describes a cluster security group.
Members
- ClusterSecurityGroupName
-
- Type: string
The name of the cluster security group.
- Status
-
- Type: string
The status of the cluster security group.
ClusterSecurityGroupMessage
Description
Members
- ClusterSecurityGroups
-
- Type: Array of ClusterSecurityGroup structures
A list of ClusterSecurityGroup instances.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
ClusterSecurityGroupNotFoundFault
Description
The cluster security group name does not refer to an existing cluster security group.
Members
ClusterSecurityGroupQuotaExceededFault
Description
The request would result in the user exceeding the allowed number of cluster security groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
ClusterSnapshotAlreadyExistsFault
Description
The value specified as a snapshot identifier is already used by an existing snapshot.
Members
ClusterSnapshotCopyStatus
Description
Returns the destination region and retention period that are configured for cross-region snapshot copy.
Members
- DestinationRegion
-
- Type: string
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
- ManualSnapshotRetentionPeriod
-
- Type: int
The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- RetentionPeriod
-
- Type: long (int|float)
The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
- SnapshotCopyGrantName
-
- Type: string
The name of the snapshot copy grant.
ClusterSnapshotNotFoundFault
Description
The snapshot identifier does not refer to an existing cluster snapshot.
Members
ClusterSnapshotQuotaExceededFault
Description
The request would result in the user exceeding the allowed number of cluster snapshots.
Members
ClusterSubnetGroup
Description
Describes a subnet group.
Members
- ClusterSubnetGroupName
-
- Type: string
The name of the cluster subnet group.
- Description
-
- Type: string
The description of the cluster subnet group.
- SubnetGroupStatus
-
- Type: string
The status of the cluster subnet group. Possible values are
Complete
,Incomplete
andInvalid
. - Subnets
-
- Type: Array of Subnet structures
A list of the VPC Subnet elements.
- SupportedClusterIpAddressTypes
-
- Type: Array of strings
The IP address types supported by this cluster subnet group. Possible values are
ipv4
anddualstack
. - Tags
-
- Type: Array of Tag structures
The list of tags for the cluster subnet group.
- VpcId
-
- Type: string
The VPC ID of the cluster subnet group.
ClusterSubnetGroupAlreadyExistsFault
Description
A ClusterSubnetGroupName is already used by an existing cluster subnet group.
Members
ClusterSubnetGroupMessage
Description
Contains the output from the DescribeClusterSubnetGroups action.
Members
- ClusterSubnetGroups
-
- Type: Array of ClusterSubnetGroup structures
A list of ClusterSubnetGroup instances.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
ClusterSubnetGroupNotFoundFault
Description
The cluster subnet group name does not refer to an existing cluster subnet group.
Members
ClusterSubnetGroupQuotaExceededFault
Description
The request would result in user exceeding the allowed number of cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
ClusterSubnetQuotaExceededFault
Description
The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
ClusterVersion
Description
Describes a cluster version, including the parameter group family and description of the version.
Members
- ClusterParameterGroupFamily
-
- Type: string
The name of the cluster parameter group family for the cluster.
- ClusterVersion
-
- Type: string
The version number used by the cluster.
- Description
-
- Type: string
The description of the cluster version.
ClusterVersionsMessage
Description
Contains the output from the DescribeClusterVersions action.
Members
- ClusterVersions
-
- Type: Array of ClusterVersion structures
A list of
Version
elements. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
ClustersMessage
Description
Contains the output from the DescribeClusters action.
Members
- Clusters
-
- Type: Array of Cluster structures
A list of
Cluster
objects, where each object describes one cluster. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
ConflictPolicyUpdateFault
Description
There is a conflict while updating the resource policy.
Members
CopyClusterSnapshotResult
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
CopyToRegionDisabledFault
Description
Cross-region snapshot copy was temporarily disabled. Try your request again.
Members
CreateAuthenticationProfileResult
Members
- AuthenticationProfileContent
-
- Type: string
The content of the authentication profile in JSON format.
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile that was created.
CreateClusterParameterGroupResult
Members
- ClusterParameterGroup
-
- Type: ClusterParameterGroup structure
Describes a parameter group.
CreateClusterResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
CreateClusterSecurityGroupResult
Members
- ClusterSecurityGroup
-
- Type: ClusterSecurityGroup structure
Describes a security group.
CreateClusterSnapshotResult
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
CreateClusterSubnetGroupResult
Members
- ClusterSubnetGroup
-
- Type: ClusterSubnetGroup structure
Describes a subnet group.
CreateCustomDomainAssociationResult
Members
- ClusterIdentifier
-
- Type: string
The identifier of the cluster that the custom domain is associated with.
- CustomDomainCertExpiryTime
-
- Type: string
The expiration time for the certificate for the custom domain.
- CustomDomainCertificateArn
-
- Type: string
The Amazon Resource Name (ARN) for the certificate associated with the custom domain name.
- CustomDomainName
-
- Type: string
The custom domain name for the association result.
CreateEventSubscriptionResult
Members
- EventSubscription
-
- Type: EventSubscription structure
Describes event subscriptions.
CreateHsmClientCertificateResult
Members
- HsmClientCertificate
-
- Type: HsmClientCertificate structure
Returns information about an HSM client certificate. The certificate is stored in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift cluster to encrypt data files.
CreateHsmConfigurationResult
Members
- HsmConfiguration
-
- Type: HsmConfiguration structure
Returns information about an HSM configuration, which is an object that describes to Amazon Redshift clusters the information they require to connect to an HSM where they can store database encryption keys.
CreateRedshiftIdcApplicationResult
Members
- RedshiftIdcApplication
-
- Type: RedshiftIdcApplication structure
Contains properties for the Redshift IDC application.
CreateSnapshotCopyGrantResult
Members
- SnapshotCopyGrant
-
- Type: SnapshotCopyGrant structure
The snapshot copy grant that grants Amazon Redshift permission to encrypt copied snapshots with the specified encrypted symmetric key from Amazon Web Services KMS in the destination region.
For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
CustomCnameAssociationFault
Description
An error occurred when an attempt was made to change the custom domain association.
Members
CustomDomainAssociationNotFoundFault
Description
An error occurred. The custom domain name couldn't be found.
Members
CustomDomainAssociationsMessage
Members
- Associations
-
- Type: Array of Association structures
The associations for the custom domain.
- Marker
-
- Type: string
The marker for the custom domain association.
CustomerStorageMessage
Members
- TotalBackupSizeInMegaBytes
-
- Type: double
The total amount of storage currently used for snapshots.
- TotalProvisionedStorageInMegaBytes
-
- Type: double
The total amount of storage currently provisioned.
DataShare
Members
- AllowPubliclyAccessibleConsumers
-
- Type: boolean
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
- DataShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
- DataShareAssociations
-
- Type: Array of DataShareAssociation structures
A value that specifies when the datashare has an association between producer and data consumers.
- ManagedBy
-
- Type: string
The identifier of a datashare to show its managing entity.
- ProducerArn
-
- Type: string
The Amazon Resource Name (ARN) of the producer namespace.
DataShareAssociation
Description
The association of a datashare from a producer account with a data consumer.
Members
- ConsumerAcceptedWrites
-
- Type: boolean
Specifies whether write operations were allowed during data share association.
- ConsumerIdentifier
-
- Type: string
The name of the consumer accounts that have an association with a producer datashare.
- ConsumerRegion
-
- Type: string
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
- CreatedDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The creation date of the datashare that is associated.
- ProducerAllowedWrites
-
- Type: boolean
Specifies whether write operations were allowed during data share authorization.
- Status
-
- Type: string
The status of the datashare that is associated.
- StatusChangeDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The status change data of the datashare that is associated.
DataTransferProgress
Description
Describes the status of a cluster while it is in the process of resizing with an incremental resize.
Members
- CurrentRateInMegaBytesPerSecond
-
- Type: double
Describes the data transfer rate in MB's per second.
- DataTransferredInMegaBytes
-
- Type: long (int|float)
Describes the total amount of data that has been transfered in MB's.
- ElapsedTimeInSeconds
-
- Type: long (int|float)
Describes the number of seconds that have elapsed during the data transfer.
- EstimatedTimeToCompletionInSeconds
-
- Type: long (int|float)
Describes the estimated number of seconds remaining to complete the transfer.
- Status
-
- Type: string
Describes the status of the cluster. While the transfer is in progress the status is
transferringdata
. - TotalDataInMegaBytes
-
- Type: long (int|float)
Describes the total amount of data to be transfered in megabytes.
DefaultClusterParameters
Description
Describes the default cluster parameters for a parameter group family.
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - ParameterGroupFamily
-
- Type: string
The name of the cluster parameter group family to which the engine default parameters apply.
- Parameters
-
- Type: Array of Parameter structures
The list of cluster default parameters.
DeferredMaintenanceWindow
Description
Describes a deferred maintenance window
Members
- DeferMaintenanceEndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp for the end of the time period when we defer maintenance.
- DeferMaintenanceIdentifier
-
- Type: string
A unique identifier for the maintenance window.
- DeferMaintenanceStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp for the beginning of the time period when we defer maintenance.
DeleteAuthenticationProfileResult
Members
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile that was deleted.
DeleteClusterResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
DeleteClusterSnapshotResult
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
DependentServiceAccessDeniedFault
Description
A dependent service denied access for the integration.
Members
DependentServiceRequestThrottlingFault
Description
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
Members
DependentServiceUnavailableFault
Description
Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
Members
DescribeAuthenticationProfilesResult
Members
- AuthenticationProfiles
-
- Type: Array of AuthenticationProfile structures
The list of authentication profiles.
DescribeDataSharesForConsumerResult
Members
- DataShares
-
- Type: Array of DataShare structures
Shows the results of datashares available for consumers.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.
DescribeDataSharesForProducerResult
Members
- DataShares
-
- Type: Array of DataShare structures
Shows the results of datashares available for producers.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForProducer request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.
DescribeDataSharesResult
Members
- DataShares
-
- Type: Array of DataShare structures
The results returned from describing datashares.
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.
DescribeDefaultClusterParametersResult
Members
- DefaultClusterParameters
-
- Type: DefaultClusterParameters structure
Describes the default cluster parameters for a parameter group family.
DescribeIntegrationsFilter
Description
A set of elements to filter the returned integrations.
Members
- Name
-
- Required: Yes
- Type: string
Specifies the type of integration filter.
- Values
-
- Required: Yes
- Type: Array of strings
Specifies the values to filter on.
DescribePartnersOutputMessage
Members
- PartnerIntegrationInfoList
-
- Type: Array of PartnerIntegrationInfo structures
A list of partner integrations.
DescribeRedshiftIdcApplicationsResult
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
- RedshiftIdcApplications
-
- Type: Array of RedshiftIdcApplication structures
The list of Amazon Redshift IAM Identity Center applications.
DescribeReservedNodeExchangeStatusOutputMessage
Members
- Marker
-
- Type: string
A pagination token provided by a previous
DescribeReservedNodeExchangeStatus
request. - ReservedNodeExchangeStatusDetails
-
- Type: Array of ReservedNodeExchangeStatus structures
The details of the reserved-node exchange request, including the status, request time, source reserved-node identifier, and additional details.
DescribeSnapshotSchedulesOutputMessage
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
marker
parameter and retrying the command. If themarker
field is empty, all response records have been retrieved for the request. - SnapshotSchedules
-
- Type: Array of SnapshotSchedule structures
A list of SnapshotSchedules.
DisableSnapshotCopyResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
EC2SecurityGroup
Description
Describes an Amazon EC2 security group.
Members
- EC2SecurityGroupName
-
- Type: string
The name of the EC2 Security Group.
- EC2SecurityGroupOwnerId
-
- Type: string
The Amazon Web Services account ID of the owner of the EC2 security group specified in the
EC2SecurityGroupName
field. - Status
-
- Type: string
The status of the EC2 security group.
- Tags
-
- Type: Array of Tag structures
The list of tags for the EC2 security group.
ElasticIpStatus
Description
Describes the status of the elastic IP (EIP) address.
Members
- ElasticIp
-
- Type: string
The elastic IP (EIP) address for the cluster.
- Status
-
- Type: string
The status of the elastic IP (EIP) address.
EnableSnapshotCopyResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Endpoint
Description
Describes a connection endpoint.
Members
- Address
-
- Type: string
The DNS address of the Cluster.
- Port
-
- Type: int
The port that the database engine is listening on.
- VpcEndpoints
-
- Type: Array of VpcEndpoint structures
Describes a connection endpoint.
EndpointAccess
Description
Describes a Redshift-managed VPC endpoint.
Members
- Address
-
- Type: string
The DNS address of the endpoint.
- ClusterIdentifier
-
- Type: string
The cluster identifier of the cluster associated with the endpoint.
- EndpointCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) that the endpoint was created.
- EndpointName
-
- Type: string
The name of the endpoint.
- EndpointStatus
-
- Type: string
The status of the endpoint.
- Port
-
- Type: int
The port number on which the cluster accepts incoming connections.
- ResourceOwner
-
- Type: string
The Amazon Web Services account ID of the owner of the cluster.
- SubnetGroupName
-
- Type: string
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
- VpcEndpoint
-
- Type: VpcEndpoint structure
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
- VpcSecurityGroups
-
- Type: Array of VpcSecurityGroupMembership structures
The security groups associated with the endpoint.
EndpointAccessList
Members
- EndpointAccessList
-
- Type: Array of EndpointAccess structures
The list of endpoints with access to the cluster.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeEndpointAccess
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.
EndpointAlreadyExistsFault
Description
The account already has a Redshift-managed VPC endpoint with the given identifier.
Members
EndpointAuthorization
Description
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across Amazon Web Services accounts.
Members
- AllowedAllVPCs
-
- Type: boolean
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
- AllowedVPCs
-
- Type: Array of strings
The VPCs allowed access to the cluster.
- AuthorizeTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the authorization was created.
- ClusterIdentifier
-
- Type: string
The cluster identifier.
- ClusterStatus
-
- Type: string
The status of the cluster.
- EndpointCount
-
- Type: int
The number of Redshift-managed VPC endpoints created for the authorization.
- Grantee
-
- Type: string
The Amazon Web Services account ID of the grantee of the cluster.
- Grantor
-
- Type: string
The Amazon Web Services account ID of the cluster owner.
- Status
-
- Type: string
The status of the authorization action.
EndpointAuthorizationAlreadyExistsFault
Description
The authorization already exists for this endpoint.
Members
EndpointAuthorizationList
Members
- EndpointAuthorizationList
-
- Type: Array of EndpointAuthorization structures
The authorizations to an endpoint.
- Marker
-
- Type: string
An optional pagination token provided by a previous
DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.
EndpointAuthorizationNotFoundFault
Description
The authorization for this endpoint can't be found.
Members
EndpointAuthorizationsPerClusterLimitExceededFault
Description
The number of endpoint authorizations per cluster has exceeded its limit.
Members
EndpointNotFoundFault
Description
The endpoint name doesn't refer to an existing endpoint.
Members
EndpointsPerAuthorizationLimitExceededFault
Description
The number of Redshift-managed VPC endpoints per authorization has exceeded its limit.
Members
EndpointsPerClusterLimitExceededFault
Description
The number of Redshift-managed VPC endpoints per cluster has exceeded its limit.
Members
Event
Description
Describes an event.
Members
- Date
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time of the event.
- EventCategories
-
- Type: Array of strings
A list of the event categories.
Values: Configuration, Management, Monitoring, Security, Pending
- EventId
-
- Type: string
The identifier of the event.
- Message
-
- Type: string
The text of this event.
- Severity
-
- Type: string
The severity of the event.
Values: ERROR, INFO
- SourceIdentifier
-
- Type: string
The identifier for the source of the event.
- SourceType
-
- Type: string
The source type for this event.
EventCategoriesMap
Description
Describes event categories.
Members
- Events
-
- Type: Array of EventInfoMap structures
The events in the event category.
- SourceType
-
- Type: string
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
EventCategoriesMessage
Description
Members
- EventCategoriesMapList
-
- Type: Array of EventCategoriesMap structures
A list of event categories descriptions.
EventInfoMap
Description
Describes event information.
Members
- EventCategories
-
- Type: Array of strings
The category of an Amazon Redshift event.
- EventDescription
-
- Type: string
The description of an Amazon Redshift event.
- EventId
-
- Type: string
The identifier of an Amazon Redshift event.
- Severity
-
- Type: string
The severity of the event.
Values: ERROR, INFO
EventSubscription
Description
Describes event subscriptions.
Members
- CustSubscriptionId
-
- Type: string
The name of the Amazon Redshift event notification subscription.
- CustomerAwsId
-
- Type: string
The Amazon Web Services account associated with the Amazon Redshift event notification subscription.
- Enabled
-
- Type: boolean
A boolean value indicating whether the subscription is enabled;
true
indicates that the subscription is enabled. - EventCategoriesList
-
- Type: Array of strings
The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security, Pending
- Severity
-
- Type: string
The event severity specified in the Amazon Redshift event notification subscription.
Values: ERROR, INFO
- SnsTopicArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
- SourceIdsList
-
- Type: Array of strings
A list of the sources that publish events to the Amazon Redshift event notification subscription.
- SourceType
-
- Type: string
The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.
- Status
-
- Type: string
The status of the Amazon Redshift event notification subscription.
Constraints:
-
Can be one of the following: active | no-permission | topic-not-exist
-
The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
- SubscriptionCreationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time the Amazon Redshift event notification subscription was created.
- Tags
-
- Type: Array of Tag structures
The list of tags for the event subscription.
EventSubscriptionQuotaExceededFault
Description
The request would exceed the allowed number of event subscriptions for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
EventSubscriptionsMessage
Description
Members
- EventSubscriptionsList
-
- Type: Array of EventSubscription structures
A list of event subscriptions.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
EventsMessage
Description
Members
- Events
-
- Type: Array of Event structures
A list of
Event
instances. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
FailoverPrimaryComputeResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
GetReservedNodeExchangeConfigurationOptionsOutputMessage
Members
- Marker
-
- Type: string
A pagination token provided by a previous
GetReservedNodeExchangeConfigurationOptions
request. - ReservedNodeConfigurationOptionList
-
- Type: Array of ReservedNodeConfigurationOption structures
the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node. Details include the node type, the price, the node count, and the offering type.
GetReservedNodeExchangeOfferingsOutputMessage
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point for returning a set of response records. When the results of a
GetReservedNodeExchangeOfferings
request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request. - ReservedNodeOfferings
-
- Type: Array of ReservedNodeOffering structures
Returns an array of ReservedNodeOffering objects.
GetResourcePolicyResult
Members
- ResourcePolicy
-
- Type: ResourcePolicy structure
The content of the resource policy.
HsmClientCertificate
Description
Returns information about an HSM client certificate. The certificate is stored in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift cluster to encrypt data files.
Members
- HsmClientCertificateIdentifier
-
- Type: string
The identifier of the HSM client certificate.
- HsmClientCertificatePublicKey
-
- Type: string
The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
- Tags
-
- Type: Array of Tag structures
The list of tags for the HSM client certificate.
HsmClientCertificateAlreadyExistsFault
Description
There is already an existing Amazon Redshift HSM client certificate with the specified identifier.
Members
HsmClientCertificateMessage
Description
Members
- HsmClientCertificates
-
- Type: Array of HsmClientCertificate structures
A list of the identifiers for one or more HSM client certificates used by Amazon Redshift clusters to store and retrieve database encryption keys in an HSM.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
HsmClientCertificateNotFoundFault
Description
There is no Amazon Redshift HSM client certificate with the specified identifier.
Members
HsmClientCertificateQuotaExceededFault
Description
The quota for HSM client certificates has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
HsmConfiguration
Description
Returns information about an HSM configuration, which is an object that describes to Amazon Redshift clusters the information they require to connect to an HSM where they can store database encryption keys.
Members
- Description
-
- Type: string
A text description of the HSM configuration.
- HsmConfigurationIdentifier
-
- Type: string
The name of the Amazon Redshift HSM configuration.
- HsmIpAddress
-
- Type: string
The IP address that the Amazon Redshift cluster must use to access the HSM.
- HsmPartitionName
-
- Type: string
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
- Tags
-
- Type: Array of Tag structures
The list of tags for the HSM configuration.
HsmConfigurationAlreadyExistsFault
Description
There is already an existing Amazon Redshift HSM configuration with the specified identifier.
Members
HsmConfigurationMessage
Description
Members
- HsmConfigurations
-
- Type: Array of HsmConfiguration structures
A list of
HsmConfiguration
objects. - Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
HsmConfigurationNotFoundFault
Description
There is no Amazon Redshift HSM configuration with the specified identifier.
Members
HsmConfigurationQuotaExceededFault
Description
The quota for HSM configurations has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
HsmStatus
Description
Describes the status of changes to HSM settings.
Members
- HsmClientCertificateIdentifier
-
- Type: string
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
- HsmConfigurationIdentifier
-
- Type: string
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- Status
-
- Type: string
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.
Values: active, applying
IPRange
Description
Describes an IP range used in a security group.
Members
- CIDRIP
-
- Type: string
The IP range in Classless Inter-Domain Routing (CIDR) notation.
- Status
-
- Type: string
The status of the IP range, for example, "authorized".
- Tags
-
- Type: Array of Tag structures
The list of tags for the IP range.
InProgressTableRestoreQuotaExceededFault
Description
You have exceeded the allowed number of table restore requests. Wait for your current table restore requests to complete before making a new request.
Members
InboundIntegration
Description
The content of an inbound integration.
Members
- CreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The creation time of an inbound integration.
- Errors
-
- Type: Array of IntegrationError structures
The outstanding errors of an inbound integration. Each item is an "IntegrationError". This is null if there is no error.
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) of an inbound integration.
- SourceArn
-
- Type: string
The Amazon Resource Name (ARN) of the source of an inbound integration.
- Status
-
- Type: string
The status of an inbound integration.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) of the target of an inbound integration.
InboundIntegrationsMessage
Members
- InboundIntegrations
-
- Type: Array of InboundIntegration structures
A list of InboundIntegration instances.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
IncompatibleOrderableOptions
Description
The specified options are incompatible.
Members
InsufficientClusterCapacityFault
Description
The number of nodes specified exceeds the allotted capacity of the cluster.
Members
InsufficientS3BucketPolicyFault
Description
The cluster does not have read bucket or put object permissions on the S3 bucket specified when enabling logging.
Members
Integration
Members
- AdditionalEncryptionContext
-
- Type: Associative array of custom strings keys (String) to strings
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
- CreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the integration was created.
- Description
-
- Type: string
The description of the integration.
- Errors
-
- Type: Array of IntegrationError structures
Any errors associated with the integration.
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) of the integration.
- IntegrationName
-
- Type: string
The name of the integration.
- KMSKeyId
-
- Type: string
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
- SourceArn
-
- Type: string
The Amazon Resource Name (ARN) of the database used as the source for replication.
- Status
-
- Type: string
The current status of the integration.
- Tags
-
- Type: Array of Tag structures
The list of tags associated with the integration.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
IntegrationAlreadyExistsFault
Description
The integration you are trying to create already exists.
Members
IntegrationConflictOperationFault
Description
A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.
Members
IntegrationConflictStateFault
Description
The integration is in an invalid state and can't perform the requested operation.
Members
IntegrationError
Description
The error of an inbound integration.
Members
- ErrorCode
-
- Required: Yes
- Type: string
The error code of an inbound integration error.
- ErrorMessage
-
- Type: string
The error message of an inbound integration error.
IntegrationNotFoundFault
Description
The integration can't be found.
Members
IntegrationQuotaExceededFault
Description
You can't create any more zero-ETL or S3 event integrations because the quota has been reached.
Members
IntegrationSourceNotFoundFault
Description
The specified integration source can't be found.
Members
IntegrationTargetNotFoundFault
Description
The specified integration target can't be found.
Members
IntegrationsMessage
Members
- Integrations
-
- Type: Array of Integration structures
List of integrations that are described.
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
InvalidAuthenticationProfileRequestFault
Description
The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.
Members
InvalidAuthorizationStateFault
Description
The status of the authorization is not valid.
Members
InvalidClusterParameterGroupStateFault
Description
The cluster parameter group action can not be completed because another task is in progress that involves the parameter group. Wait a few moments and try the operation again.
Members
InvalidClusterSecurityGroupStateFault
Description
The state of the cluster security group is not available
.
Members
InvalidClusterSnapshotScheduleStateFault
Description
The cluster snapshot schedule state is not valid.
Members
InvalidClusterSnapshotStateFault
Description
The specified cluster snapshot is not in the available
state, or other accounts are authorized to access the snapshot.
Members
InvalidClusterStateFault
Description
The specified cluster is not in the available
state.
Members
InvalidClusterSubnetGroupStateFault
Description
The cluster subnet group cannot be deleted because it is in use.
Members
InvalidClusterSubnetStateFault
Description
The state of the subnet is invalid.
Members
InvalidClusterTrackFault
Description
The provided cluster track name is not valid.
Members
InvalidDataShareFault
Description
There is an error with the datashare.
Members
InvalidElasticIpFault
Description
The Elastic IP (EIP) is invalid or cannot be found.
Members
InvalidEndpointStateFault
Description
The status of the endpoint is not valid.
Members
InvalidHsmClientCertificateStateFault
Description
The specified HSM client certificate is not in the available
state, or it is still in use by one or more Amazon Redshift clusters.
Members
InvalidHsmConfigurationStateFault
Description
The specified HSM configuration is not in the available
state, or it is still in use by one or more Amazon Redshift clusters.
Members
InvalidNamespaceFault
Description
The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
Members
InvalidPolicyFault
Description
The resource policy isn't valid.
Members
InvalidReservedNodeStateFault
Description
Indicates that the Reserved Node being exchanged is not in an active state.
Members
InvalidRestoreFault
Description
The restore is invalid.
Members
InvalidRetentionPeriodFault
Description
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
Members
InvalidS3BucketNameFault
Description
The S3 bucket name is invalid. For more information about naming rules, go to Bucket Restrictions and Limitations in the Amazon Simple Storage Service (S3) Developer Guide.
Members
InvalidS3KeyPrefixFault
Description
The string specified for the logging S3 key prefix does not comply with the documented constraints.
Members
InvalidScheduleFault
Description
The schedule you submitted isn't valid.
Members
InvalidScheduledActionFault
Description
The scheduled action is not valid.
Members
InvalidSnapshotCopyGrantStateFault
Description
The snapshot copy grant can't be deleted because it is used by one or more clusters.
Members
InvalidSubnet
Description
The requested subnet is not valid, or not all of the subnets are in the same VPC.
Members
InvalidSubscriptionStateFault
Description
The subscription request is invalid because it is a duplicate request. This subscription request is already in progress.
Members
InvalidTableRestoreArgumentFault
Description
The value specified for the sourceDatabaseName
, sourceSchemaName
, or sourceTableName
parameter, or a combination of these, doesn't exist in the snapshot.
Members
InvalidTagFault
Description
The tag is invalid.
Members
InvalidUsageLimitFault
Description
The usage limit is not valid.
Members
InvalidVPCNetworkStateFault
Description
The cluster subnet group does not cover all Availability Zones.
Members
Ipv6CidrBlockNotFoundFault
Description
There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.
Members
LakeFormationQuery
Description
The Lake Formation scope.
Members
- Authorization
-
- Required: Yes
- Type: string
Determines whether the query scope is enabled or disabled.
LakeFormationScopeUnion
Description
A list of scopes set up for Lake Formation integration.
Members
- LakeFormationQuery
-
- Type: LakeFormationQuery structure
The Lake Formation scope.
LimitExceededFault
Description
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
Members
ListRecommendationsResult
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
- Recommendations
-
- Type: Array of Recommendation structures
The Advisor recommendations for action on the Amazon Redshift cluster.
LoggingStatus
Description
Describes the status of logging for a cluster.
Members
- BucketName
-
- Type: string
The name of the S3 bucket where the log files are stored.
- LastFailureMessage
-
- Type: string
The message indicating that logs failed to be delivered.
- LastFailureTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time when logs failed to be delivered.
- LastSuccessfulDeliveryTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time that logs were delivered.
- LogDestinationType
-
- Type: string
The log destination type. An enum with possible values of
s3
andcloudwatch
. - LogExports
-
- Type: Array of strings
The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - LoggingEnabled
-
- Type: boolean
true
if logging is on,false
if logging is off. - S3KeyPrefix
-
- Type: string
The prefix applied to the log file names.
MaintenanceTrack
Description
Defines a maintenance track that determines which Amazon Redshift version to apply during a maintenance window. If the value for MaintenanceTrack
is current
, the cluster is updated to the most recently certified maintenance release. If the value is trailing
, the cluster is updated to the previously certified maintenance release.
Members
- DatabaseVersion
-
- Type: string
The version number for the cluster release.
- MaintenanceTrackName
-
- Type: string
The name of the maintenance track. Possible values are
current
andtrailing
. - UpdateTargets
-
- Type: Array of UpdateTarget structures
An array of UpdateTarget objects to update with the maintenance track.
ModifyAquaOutputMessage
Members
- AquaConfiguration
-
- Type: AquaConfiguration structure
This parameter is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
ModifyAuthenticationProfileResult
Members
- AuthenticationProfileContent
-
- Type: string
The updated content of the authentication profile in JSON format.
- AuthenticationProfileName
-
- Type: string
The name of the authentication profile that was replaced.
ModifyClusterDbRevisionResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
ModifyClusterIamRolesResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
ModifyClusterMaintenanceResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
ModifyClusterResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
ModifyClusterSnapshotResult
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
ModifyClusterSubnetGroupResult
Members
- ClusterSubnetGroup
-
- Type: ClusterSubnetGroup structure
Describes a subnet group.
ModifyCustomDomainAssociationResult
Members
- ClusterIdentifier
-
- Type: string
The identifier of the cluster associated with the result for the changed custom domain association.
- CustomDomainCertExpiryTime
-
- Type: string
The certificate expiration time associated with the result for the changed custom domain association.
- CustomDomainCertificateArn
-
- Type: string
The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain association.
- CustomDomainName
-
- Type: string
The custom domain name associated with the result for the changed custom domain association.
ModifyEventSubscriptionResult
Members
- EventSubscription
-
- Type: EventSubscription structure
Describes event subscriptions.
ModifyRedshiftIdcApplicationResult
Members
- RedshiftIdcApplication
-
- Type: RedshiftIdcApplication structure
Contains properties for the Redshift IDC application.
ModifySnapshotCopyRetentionPeriodResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
NetworkInterface
Description
Describes a network interface.
Members
- AvailabilityZone
-
- Type: string
The Availability Zone.
- Ipv6Address
-
- Type: string
The IPv6 address of the network interface within the subnet.
- NetworkInterfaceId
-
- Type: string
The network interface identifier.
- PrivateIpAddress
-
- Type: string
The IPv4 address of the network interface within the subnet.
- SubnetId
-
- Type: string
The subnet identifier.
NodeConfigurationOption
Description
A list of node configurations.
Members
- EstimatedDiskUtilizationPercent
-
- Type: double
The estimated disk utilizaton percentage.
- Mode
-
- Type: string
The category of the node configuration recommendation.
- NodeType
-
- Type: string
The node type, such as, "ra3.4xlarge".
- NumberOfNodes
-
- Type: int
The number of nodes.
NodeConfigurationOptionsFilter
Description
A set of elements to filter the returned node configurations.
Members
- Name
-
- Type: string
The name of the element to filter.
- Operator
-
- Type: string
The filter operator. If filter Name is NodeType only the 'in' operator is supported. Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide a list of values for 'in'.
- Values
-
- Type: Array of strings
List of values. Compare Name using Operator to Values. If filter Name is NumberOfNodes, then values can range from 0 to 200. If filter Name is EstimatedDiskUtilizationPercent, then values can range from 0 to 100. For example, filter NumberOfNodes (name) GT (operator) 3 (values).
NodeConfigurationOptionsMessage
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - NodeConfigurationOptionList
-
- Type: Array of NodeConfigurationOption structures
A list of valid node configurations.
NumberOfNodesPerClusterLimitExceededFault
Description
The operation would exceed the number of nodes allowed for a cluster.
Members
NumberOfNodesQuotaExceededFault
Description
The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
OrderableClusterOption
Description
Describes an orderable cluster option.
Members
- AvailabilityZones
-
- Type: Array of AvailabilityZone structures
A list of availability zones for the orderable cluster.
- ClusterType
-
- Type: string
The cluster type, for example
multi-node
. - ClusterVersion
-
- Type: string
The version of the orderable cluster.
- NodeType
-
- Type: string
The node type for the orderable cluster.
OrderableClusterOptionsMessage
Description
Contains the output from the DescribeOrderableClusterOptions action.
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - OrderableClusterOptions
-
- Type: Array of OrderableClusterOption structures
An
OrderableClusterOption
structure containing information about orderable options for the cluster.
Parameter
Description
Describes a parameter in a cluster parameter group.
Members
- AllowedValues
-
- Type: string
The valid range of values for the parameter.
- ApplyType
-
- Type: string
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- DataType
-
- Type: string
The data type of the parameter.
- Description
-
- Type: string
A description of the parameter.
- IsModifiable
-
- Type: boolean
If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed. - MinimumEngineVersion
-
- Type: string
The earliest engine version to which the parameter can apply.
- ParameterName
-
- Type: string
The name of the parameter.
- ParameterValue
-
- Type: string
The value of the parameter. If
ParameterName
iswlm_json_configuration
, then the maximum size ofParameterValue
is 8000 characters. - Source
-
- Type: string
The source of the parameter value, such as "engine-default" or "user".
PartnerIntegrationInfo
Description
Describes a partner integration.
Members
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date (UTC) that the partner integration was created.
- DatabaseName
-
- Type: string
The name of the database that receives data from a partner.
- PartnerName
-
- Type: string
The name of the partner.
- Status
-
- Type: string
The partner integration status.
- StatusMessage
-
- Type: string
The status message provided by the partner.
- UpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date (UTC) that the partner integration status was last updated by the partner.
PartnerIntegrationOutputMessage
Members
- DatabaseName
-
- Type: string
The name of the database that receives data from the partner.
- PartnerName
-
- Type: string
The name of the partner that is authorized to send data.
PartnerNotFoundFault
Description
The name of the partner was not found.
Members
PauseClusterResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
PendingModifiedValues
Description
Describes cluster attributes that are in a pending state. A change to one or more the attributes was requested and is in progress or will be applied.
Members
- AutomatedSnapshotRetentionPeriod
-
- Type: int
The pending or in-progress change of the automated snapshot retention period.
- ClusterIdentifier
-
- Type: string
The pending or in-progress change of the new identifier for the cluster.
- ClusterType
-
- Type: string
The pending or in-progress change of the cluster type.
- ClusterVersion
-
- Type: string
The pending or in-progress change of the service version.
- EncryptionType
-
- Type: string
The encryption type for a cluster. Possible values are: KMS and None.
- EnhancedVpcRouting
-
- Type: boolean
An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is
true
, enhanced VPC routing is enabled.Default: false
- MaintenanceTrackName
-
- Type: string
The name of the maintenance track that the cluster will change to during the next maintenance window.
- MasterUserPassword
-
- Type: string
The pending or in-progress change of the admin user password for the cluster.
- NodeType
-
- Type: string
The pending or in-progress change of the cluster's node type.
- NumberOfNodes
-
- Type: int
The pending or in-progress change of the number of nodes in the cluster.
- PubliclyAccessible
-
- Type: boolean
The pending or in-progress change of the ability to connect to the cluster from the public network.
PurchaseReservedNodeOfferingResult
Members
- ReservedNode
-
- Type: ReservedNode structure
Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.
PutResourcePolicyResult
Members
- ResourcePolicy
-
- Type: ResourcePolicy structure
The content of the updated resource policy.
ReadWriteAccess
Description
The S3 Access Grants scope.
Members
- Authorization
-
- Required: Yes
- Type: string
Determines whether the read/write scope is enabled or disabled.
RebootClusterResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
Recommendation
Description
An Amazon Redshift Advisor recommended action on the Amazon Redshift cluster.
Members
- ClusterIdentifier
-
- Type: string
The unique identifier of the cluster for which the recommendation is returned.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time (UTC) that the recommendation was created.
- Description
-
- Type: string
The description of the recommendation.
- Id
-
- Type: string
A unique identifier of the Advisor recommendation.
- ImpactRanking
-
- Type: string
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
- NamespaceArn
-
- Type: string
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
- Observation
-
- Type: string
The description of what was observed about your cluster.
- RecommendationText
-
- Type: string
The description of the recommendation.
- RecommendationType
-
- Type: string
The type of Advisor recommendation.
- RecommendedActions
-
- Type: Array of RecommendedAction structures
List of Amazon Redshift recommended actions.
- ReferenceLinks
-
- Type: Array of ReferenceLink structures
List of helpful links for more information about the Advisor recommendation.
- Title
-
- Type: string
The title of the recommendation.
RecommendedAction
Description
The recommended action from the Amazon Redshift Advisor recommendation.
Members
- Command
-
- Type: string
The command to run.
- Database
-
- Type: string
The database name to perform the action on. Only applicable if the type of command is SQL.
- Text
-
- Type: string
The specific instruction about the command.
- Type
-
- Type: string
The type of command.
RecurringCharge
Description
Describes a recurring charge.
Members
- RecurringChargeAmount
-
- Type: double
The amount charged per the period of time specified by the recurring charge frequency.
- RecurringChargeFrequency
-
- Type: string
The frequency at which the recurring charge amount is applied.
RedshiftIdcApplication
Description
Contains properties for the Redshift IDC application.
Members
- AuthorizedTokenIssuerList
-
- Type: Array of AuthorizedTokenIssuer structures
The authorized token issuer list for the Amazon Redshift IAM Identity Center application.
- IamRoleArn
-
- Type: string
The ARN for the Amazon Redshift IAM Identity Center application. It has the required permissions to be assumed and invoke the IDC Identity Center API.
- IdcDisplayName
-
- Type: string
The display name for the Amazon Redshift IAM Identity Center application. It appears on the console.
- IdcInstanceArn
-
- Type: string
The ARN for the IAM Identity Center instance that Redshift integrates with.
- IdcManagedApplicationArn
-
- Type: string
The ARN for the Amazon Redshift IAM Identity Center application.
- IdcOnboardStatus
-
- Type: string
The onboarding status for the Amazon Redshift IAM Identity Center application.
- IdentityNamespace
-
- Type: string
The identity namespace for the Amazon Redshift IAM Identity Center application. It determines which managed application verifies the connection token.
- RedshiftIdcApplicationArn
-
- Type: string
The ARN for the Redshift application that integrates with IAM Identity Center.
- RedshiftIdcApplicationName
-
- Type: string
The name of the Redshift application in IAM Identity Center.
- ServiceIntegrations
-
- Type: Array of ServiceIntegrationsUnion structures
A list of service integrations for the Redshift IAM Identity Center application.
RedshiftIdcApplicationAlreadyExistsFault
Description
The application you attempted to add already exists.
Members
RedshiftIdcApplicationNotExistsFault
Description
The application you attempted to find doesn't exist.
Members
RedshiftIdcApplicationQuotaExceededFault
Description
The maximum number of Redshift IAM Identity Center applications was exceeded.
Members
ReferenceLink
Description
A link to an Amazon Redshift Advisor reference for more information about a recommendation.
Members
- Link
-
- Type: string
The URL address to find more information.
- Text
-
- Type: string
The hyperlink text that describes the link to more information.
ReservedNode
Description
Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.
Members
- CurrencyCode
-
- Type: string
The currency code for the reserved cluster.
- Duration
-
- Type: int
The duration of the node reservation in seconds.
- FixedPrice
-
- Type: double
The fixed cost Amazon Redshift charges you for this reserved node.
- NodeCount
-
- Type: int
The number of reserved compute nodes.
- NodeType
-
- Type: string
The node type of the reserved node.
- OfferingType
-
- Type: string
The anticipated utilization of the reserved node, as defined in the reserved node offering.
- RecurringCharges
-
- Type: Array of RecurringCharge structures
The recurring charges for the reserved node.
- ReservedNodeId
-
- Type: string
The unique identifier for the reservation.
- ReservedNodeOfferingId
-
- Type: string
The identifier for the reserved node offering.
- ReservedNodeOfferingType
-
- Type: string
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.
- State
-
- Type: string
The state of the reserved compute node.
Possible Values:
-
pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
-
active-This reserved node is owned by the caller and is available for use.
-
payment-failed-Payment failed for the purchase attempt.
-
retired-The reserved node is no longer available.
-
exchanging-The owner is exchanging the reserved node for another reserved node.
- UsagePrice
-
- Type: double
The hourly rate Amazon Redshift charges you for this reserved node.
ReservedNodeAlreadyExistsFault
Description
User already has a reservation with the given identifier.
Members
ReservedNodeAlreadyMigratedFault
Description
Indicates that the reserved node has already been exchanged.
Members
ReservedNodeConfigurationOption
Description
Details for a reserved-node exchange. Examples include the node type for a reserved node, the price for a node, the node's state, and other details.
Members
- SourceReservedNode
-
- Type: ReservedNode structure
Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.
- TargetReservedNodeCount
-
- Type: int
The target reserved-node count.
- TargetReservedNodeOffering
-
- Type: ReservedNodeOffering structure
Describes a reserved node offering.
ReservedNodeExchangeNotFoundFault
Description
The reserved-node exchange status wasn't found.
Members
ReservedNodeExchangeStatus
Description
Reserved-node status details, such as the source reserved-node identifier, the target reserved-node identifier, the node type, the node count, and other details.
Members
- RequestTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A date and time that indicate when the reserved-node exchange was requested.
- ReservedNodeExchangeRequestId
-
- Type: string
The identifier of the reserved-node exchange request.
- SourceReservedNodeCount
-
- Type: int
The source reserved-node count in the cluster.
- SourceReservedNodeId
-
- Type: string
The identifier of the source reserved node.
- SourceReservedNodeType
-
- Type: string
The source reserved-node type, for example ra3.4xlarge.
- Status
-
- Type: string
The status of the reserved-node exchange request. Statuses include in-progress and requested.
- TargetReservedNodeCount
-
- Type: int
The count of target reserved nodes in the cluster.
- TargetReservedNodeOfferingId
-
- Type: string
The identifier of the target reserved node offering.
- TargetReservedNodeType
-
- Type: string
The node type of the target reserved node, for example ra3.4xlarge.
ReservedNodeNotFoundFault
Description
The specified reserved compute node not found.
Members
ReservedNodeOffering
Description
Describes a reserved node offering.
Members
- CurrencyCode
-
- Type: string
The currency code for the compute nodes offering.
- Duration
-
- Type: int
The duration, in seconds, for which the offering will reserve the node.
- FixedPrice
-
- Type: double
The upfront fixed charge you will pay to purchase the specific reserved node offering.
- NodeType
-
- Type: string
The node type offered by the reserved node offering.
- OfferingType
-
- Type: string
The anticipated utilization of the reserved node, as defined in the reserved node offering.
- RecurringCharges
-
- Type: Array of RecurringCharge structures
The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.
- ReservedNodeOfferingId
-
- Type: string
The offering identifier.
- ReservedNodeOfferingType
-
- Type: string
- UsagePrice
-
- Type: double
The rate you are charged for each hour the cluster that is using the offering is running.
ReservedNodeOfferingNotFoundFault
Description
Specified offering does not exist.
Members
ReservedNodeOfferingsMessage
Description
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - ReservedNodeOfferings
-
- Type: Array of ReservedNodeOffering structures
A list of
ReservedNodeOffering
objects.
ReservedNodeQuotaExceededFault
Description
Request would exceed the user's compute node quota. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Members
ReservedNodesMessage
Description
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - ReservedNodes
-
- Type: Array of ReservedNode structures
The list of
ReservedNode
objects.
ResizeClusterResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
ResizeInfo
Description
Describes a resize operation.
Members
- AllowCancelResize
-
- Type: boolean
A boolean value indicating if the resize operation can be cancelled.
- ResizeType
-
- Type: string
Returns the value
ClassicResize
.
ResizeNotFoundFault
Description
A resize operation for the specified cluster is not found.
Members
ResizeProgressMessage
Description
Describes the result of a cluster resize operation.
Members
- AvgResizeRateInMegaBytesPerSecond
-
- Type: double
The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.
- DataTransferProgressPercent
-
- Type: double
The percent of data transferred from source cluster to target cluster.
- ElapsedTimeInSeconds
-
- Type: long (int|float)
The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.
- EstimatedTimeToCompletionInSeconds
-
- Type: long (int|float)
The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.
- ImportTablesCompleted
-
- Type: Array of strings
The names of tables that have been completely imported .
Valid Values: List of table names.
- ImportTablesInProgress
-
- Type: Array of strings
The names of tables that are being currently imported.
Valid Values: List of table names.
- ImportTablesNotStarted
-
- Type: Array of strings
The names of tables that have not been yet imported.
Valid Values: List of table names
- Message
-
- Type: string
An optional string to provide additional details about the resize action.
- ProgressInMegaBytes
-
- Type: long (int|float)
While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).
- ResizeType
-
- Type: string
An enum with possible values of
ClassicResize
andElasticResize
. These values describe the type of resize operation being performed. - Status
-
- Type: string
The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
|CANCELLING
- TargetClusterType
-
- Type: string
The cluster type after the resize operation is complete.
Valid Values:
multi-node
|single-node
- TargetEncryptionType
-
- Type: string
The type of encryption for the cluster after the resize is complete.
Possible values are
KMS
andNone
. - TargetNodeType
-
- Type: string
The node type that the cluster will have after the resize operation is complete.
- TargetNumberOfNodes
-
- Type: int
The number of nodes that the cluster will have after the resize operation is complete.
- TotalResizeDataInMegaBytes
-
- Type: long (int|float)
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
ResourceNotFoundFault
Description
The resource could not be found.
Members
ResourcePolicy
Description
The policy that is attached to a resource.
Members
- Policy
-
- Type: string
The content of a resource policy.
- ResourceArn
-
- Type: string
The resources that a policy is attached to.
RestoreFromClusterSnapshotResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
RestoreStatus
Description
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.
Members
- CurrentRestoreRateInMegaBytesPerSecond
-
- Type: double
The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup. This field is only updated when you restore to DC2 node types.
- ElapsedTimeInSeconds
-
- Type: long (int|float)
The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. This field is only updated when you restore to DC2 node types.
- EstimatedTimeToCompletionInSeconds
-
- Type: long (int|float)
The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore. This field is only updated when you restore to DC2 node types.
- ProgressInMegaBytes
-
- Type: long (int|float)
The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 node types.
- SnapshotSizeInMegaBytes
-
- Type: long (int|float)
The size of the set of snapshot data used to restore the cluster. This field is only updated when you restore to DC2 node types.
- Status
-
- Type: string
The status of the restore action. Returns starting, restoring, completed, or failed.
RestoreTableFromClusterSnapshotResult
Members
- TableRestoreStatus
-
- Type: TableRestoreStatus structure
Describes the status of a RestoreTableFromClusterSnapshot operation.
ResumeClusterResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
RevisionTarget
Description
Describes a RevisionTarget
.
Members
- DatabaseRevision
-
- Type: string
A unique string that identifies the version to update the cluster to. You can use this value in ModifyClusterDbRevision.
- DatabaseRevisionReleaseDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date on which the database revision was released.
- Description
-
- Type: string
A string that describes the changes and features that will be applied to the cluster when it is updated to the corresponding ClusterDbRevision.
RevokeClusterSecurityGroupIngressResult
Members
- ClusterSecurityGroup
-
- Type: ClusterSecurityGroup structure
Describes a security group.
RevokeSnapshotAccessResult
Members
- Snapshot
-
- Type: Snapshot structure
Describes a snapshot.
RotateEncryptionKeyResult
Members
- Cluster
-
- Type: Cluster structure
Describes a cluster.
S3AccessGrantsScopeUnion
Description
A list of scopes set up for S3 Access Grants integration.
Members
- ReadWriteAccess
-
- Type: ReadWriteAccess structure
The S3 Access Grants scope.
SNSInvalidTopicFault
Description
Amazon SNS has responded that there is a problem with the specified Amazon SNS topic.
Members
SNSNoAuthorizationFault
Description
You do not have permission to publish to the specified Amazon SNS topic.
Members
SNSTopicArnNotFoundFault
Description
An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not exist.
Members
ScheduleDefinitionTypeUnsupportedFault
Description
The definition you submitted is not supported.
Members
ScheduledAction
Description
Describes a scheduled action. You can use a scheduled action to trigger some Amazon Redshift API operations on a schedule. For information about which API operations can be scheduled, see ScheduledActionType.
Members
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.
- IamRole
-
- Type: string
The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.
- NextInvocations
-
- Type: Array of timestamp (string|DateTime or anything parsable by strtotime)s
List of times when the scheduled action will run.
- Schedule
-
- Type: string
The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.
Format of at expressions is "
at(yyyy-mm-ddThh:mm:ss)
". For example, "at(2016-03-04T17:27:00)
".Format of cron expressions is "
cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide. - ScheduledActionDescription
-
- Type: string
The description of the scheduled action.
- ScheduledActionName
-
- Type: string
The name of the scheduled action.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
- State
-
- Type: string
The state of the scheduled action. For example,
DISABLED
. - TargetAction
-
- Type: ScheduledActionType structure
A JSON format string of the Amazon Redshift API operation with input parameters.
"
{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}
".
ScheduledActionAlreadyExistsFault
Description
The scheduled action already exists.
Members
ScheduledActionFilter
Description
A set of elements to filter the returned scheduled actions.
Members
- Name
-
- Required: Yes
- Type: string
The type of element to filter.
- Values
-
- Required: Yes
- Type: Array of strings
List of values. Compare if the value (of type defined by
Name
) equals an item in the list of scheduled actions.
ScheduledActionNotFoundFault
Description
The scheduled action cannot be found.
Members
ScheduledActionQuotaExceededFault
Description
The quota for scheduled actions exceeded.
Members
ScheduledActionType
Description
The action type that specifies an Amazon Redshift API operation that is supported by the Amazon Redshift scheduler.
Members
- PauseCluster
-
- Type: PauseClusterMessage structure
An action that runs a
PauseCluster
API operation. - ResizeCluster
-
- Type: ResizeClusterMessage structure
An action that runs a
ResizeCluster
API operation. - ResumeCluster
-
- Type: ResumeClusterMessage structure
An action that runs a
ResumeCluster
API operation.
ScheduledActionTypeUnsupportedFault
Description
The action type specified for a scheduled action is not supported.
Members
ScheduledActionsMessage
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request. - ScheduledActions
-
- Type: Array of ScheduledAction structures
List of retrieved scheduled actions.
SecondaryClusterInfo
Description
The AvailabilityZone and ClusterNodes information of the secondary compute unit.
Members
- AvailabilityZone
-
- Type: string
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
- ClusterNodes
-
- Type: Array of ClusterNode structures
The nodes in the secondary compute unit.
ServiceIntegrationsUnion
Description
A list of service integrations.
Members
- LakeFormation
-
- Type: Array of LakeFormationScopeUnion structures
A list of scopes set up for Lake Formation integration.
- S3AccessGrants
-
- Type: Array of S3AccessGrantsScopeUnion structures
A list of scopes set up for S3 Access Grants integration.
Snapshot
Description
Describes a snapshot.
Members
- AccountsWithRestoreAccess
-
- Type: Array of AccountWithRestoreAccess structures
A list of the Amazon Web Services accounts authorized to restore the snapshot. Returns
null
if no accounts are authorized. Visible only to the snapshot owner. - ActualIncrementalBackupSizeInMegaBytes
-
- Type: double
The size of the incremental backup.
- AvailabilityZone
-
- Type: string
The Availability Zone in which the cluster was created.
- BackupProgressInMegaBytes
-
- Type: double
The number of megabytes that have been transferred to the snapshot backup.
- ClusterCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (UTC) when the cluster was originally created.
- ClusterIdentifier
-
- Type: string
The identifier of the cluster for which the snapshot was taken.
- ClusterVersion
-
- Type: string
The version ID of the Amazon Redshift engine that is running on the cluster.
- CurrentBackupRateInMegaBytesPerSecond
-
- Type: double
The number of megabytes per second being transferred to the snapshot backup. Returns
0
for a completed backup. - DBName
-
- Type: string
The name of the database that was created when the cluster was created.
- ElapsedTimeInSeconds
-
- Type: long (int|float)
The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.
- Encrypted
-
- Type: boolean
If
true
, the data in the snapshot is encrypted at rest. - EncryptedWithHSM
-
- Type: boolean
A boolean that indicates whether the snapshot data is encrypted using the HSM keys of the source cluster.
true
indicates that the data is encrypted using HSM keys. - EngineFullVersion
-
- Type: string
The cluster version of the cluster used to create the snapshot. For example, 1.0.15503.
- EnhancedVpcRouting
-
- Type: boolean
An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is
true
, enhanced VPC routing is enabled.Default: false
- EstimatedSecondsToCompletion
-
- Type: long (int|float)
The estimate of the time remaining before the snapshot backup will complete. Returns
0
for a completed backup. - KmsKeyId
-
- Type: string
The Key Management Service (KMS) key ID of the encryption key that was used to encrypt data in the cluster from which the snapshot was taken.
- MaintenanceTrackName
-
- Type: string
The name of the maintenance track for the snapshot.
- ManualSnapshotRemainingDays
-
- Type: int
The number of days until a manual snapshot will pass its retention period.
- ManualSnapshotRetentionPeriod
-
- Type: int
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- MasterPasswordSecretArn
-
- Type: string
The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- MasterPasswordSecretKmsKeyId
-
- Type: string
The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
- MasterUsername
-
- Type: string
The admin user name for the cluster.
- NodeType
-
- Type: string
The node type of the nodes in the cluster.
- NumberOfNodes
-
- Type: int
The number of nodes in the cluster.
- OwnerAccount
-
- Type: string
For manual snapshots, the Amazon Web Services account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.
- Port
-
- Type: int
The port that the cluster is listening on.
- RestorableNodeTypes
-
- Type: Array of strings
The list of node types that this cluster snapshot is able to restore into.
- SnapshotArn
-
- Type: string
The Amazon Resource Name (ARN) of the snapshot.
- SnapshotCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time (in UTC format) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.
- SnapshotIdentifier
-
- Type: string
The snapshot identifier that is provided in the request.
- SnapshotRetentionStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp representing the start of the retention period for the snapshot.
- SnapshotType
-
- Type: string
The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot are of type "manual".
- SourceRegion
-
- Type: string
The source region from which the snapshot was copied.
- Status
-
- Type: string
The snapshot status. The value of the status depends on the API operation used:
-
CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating".
-
DescribeClusterSnapshots returns status as "creating", "available", "final snapshot", or "failed".
-
DeleteClusterSnapshot returns status as "deleted".
- Tags
-
- Type: Array of Tag structures
The list of tags for the cluster snapshot.
- TotalBackupSizeInMegaBytes
-
- Type: double
The size of the complete set of backup data that would be used to restore the cluster.
- VpcId
-
- Type: string
The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.
SnapshotCopyAlreadyDisabledFault
Description
The cluster already has cross-region snapshot copy disabled.
Members
SnapshotCopyAlreadyEnabledFault
Description
The cluster already has cross-region snapshot copy enabled.
Members
SnapshotCopyDisabledFault
Description
Cross-region snapshot copy was temporarily disabled. Try your request again.
Members
SnapshotCopyGrant
Description
The snapshot copy grant that grants Amazon Redshift permission to encrypt copied snapshots with the specified encrypted symmetric key from Amazon Web Services KMS in the destination region.
For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
Members
- KmsKeyId
-
- Type: string
The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.
- SnapshotCopyGrantName
-
- Type: string
The name of the snapshot copy grant.
- Tags
-
- Type: Array of Tag structures
A list of tag instances.
SnapshotCopyGrantAlreadyExistsFault
Description
The snapshot copy grant can't be created because a grant with the same name already exists.
Members
SnapshotCopyGrantMessage
Description
Members
- Marker
-
- Type: string
An optional parameter that specifies the starting point to return a set of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value specified inMaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- SnapshotCopyGrants
-
- Type: Array of SnapshotCopyGrant structures
The list of
SnapshotCopyGrant
objects.
SnapshotCopyGrantNotFoundFault
Description
The specified snapshot copy grant can't be found. Make sure that the name is typed correctly and that the grant exists in the destination region.
Members
SnapshotCopyGrantQuotaExceededFault
Description
The Amazon Web Services account has exceeded the maximum number of snapshot copy grants in this region.
Members
SnapshotErrorMessage
Description
Describes the errors returned by a snapshot.
Members
- FailureCode
-
- Type: string
The failure code for the error.
- FailureReason
-
- Type: string
The text message describing the error.
- SnapshotClusterIdentifier
-
- Type: string
A unique identifier for the cluster.
- SnapshotIdentifier
-
- Type: string
A unique identifier for the snapshot returning the error.
SnapshotMessage
Description
Contains the output from the DescribeClusterSnapshots action.
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - Snapshots
-
- Type: Array of Snapshot structures
A list of Snapshot instances.
SnapshotSchedule
Description
Describes a snapshot schedule. You can set a regular interval for creating snapshots of a cluster. You can also schedule snapshots for specific dates.
Members
- AssociatedClusterCount
-
- Type: int
The number of clusters associated with the schedule.
- AssociatedClusters
-
- Type: Array of ClusterAssociatedToSchedule structures
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
- NextInvocations
-
- Type: Array of timestamp (string|DateTime or anything parsable by strtotime)s
- ScheduleDefinitions
-
- Type: Array of strings
A list of ScheduleDefinitions.
- ScheduleDescription
-
- Type: string
The description of the schedule.
- ScheduleIdentifier
-
- Type: string
A unique identifier for the schedule.
- Tags
-
- Type: Array of Tag structures
An optional set of tags describing the schedule.
SnapshotScheduleAlreadyExistsFault
Description
The specified snapshot schedule already exists.
Members
SnapshotScheduleNotFoundFault
Description
We could not find the specified snapshot schedule.
Members
SnapshotScheduleQuotaExceededFault
Description
You have exceeded the quota of snapshot schedules.
Members
SnapshotScheduleUpdateInProgressFault
Description
The specified snapshot schedule is already being updated.
Members
SnapshotSortingEntity
Description
Describes a sorting entity
Members
- Attribute
-
- Required: Yes
- Type: string
The category for sorting the snapshots.
- SortOrder
-
- Type: string
The order for listing the attributes.
SourceNotFoundFault
Description
The specified Amazon Redshift event source could not be found.
Members
Subnet
Description
Describes a subnet.
Members
- SubnetAvailabilityZone
-
- Type: AvailabilityZone structure
- SubnetIdentifier
-
- Type: string
The identifier of the subnet.
- SubnetStatus
-
- Type: string
The status of the subnet.
SubnetAlreadyInUse
Description
A specified subnet is already in use by another cluster.
Members
SubscriptionAlreadyExistFault
Description
There is already an existing event notification subscription with the specified name.
Members
SubscriptionCategoryNotFoundFault
Description
The value specified for the event category was not one of the allowed values, or it specified a category that does not apply to the specified source type. The allowed values are Configuration, Management, Monitoring, and Security.
Members
SubscriptionEventIdNotFoundFault
Description
An Amazon Redshift event with the specified event ID does not exist.
Members
SubscriptionNotFoundFault
Description
An Amazon Redshift event notification subscription with the specified name does not exist.
Members
SubscriptionSeverityNotFoundFault
Description
The value specified for the event severity was not one of the allowed values, or it specified a severity that does not apply to the specified source type. The allowed values are ERROR and INFO.
Members
SupportedOperation
Description
Describes the operations that are allowed on a maintenance track.
Members
- OperationName
-
- Type: string
A list of the supported operations.
SupportedPlatform
Description
A list of supported platforms for orderable clusters.
Members
- Name
-
- Type: string
TableLimitExceededFault
Description
The number of tables in the cluster exceeds the limit for the requested new cluster node type.
Members
TableRestoreNotFoundFault
Description
The specified TableRestoreRequestId
value was not found.
Members
TableRestoreStatus
Description
Describes the status of a RestoreTableFromClusterSnapshot operation.
Members
- ClusterIdentifier
-
- Type: string
The identifier of the Amazon Redshift cluster that the table is being restored to.
- Message
-
- Type: string
A description of the status of the table restore request. Status values include
SUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
. - NewTableName
-
- Type: string
The name of the table to create as a result of the table restore request.
- ProgressInMegaBytes
-
- Type: long (int|float)
The amount of data restored to the new table so far, in megabytes (MB).
- RequestTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the table restore request was made, in Universal Coordinated Time (UTC).
- SnapshotIdentifier
-
- Type: string
The identifier of the snapshot that the table is being restored from.
- SourceDatabaseName
-
- Type: string
The name of the source database that contains the table being restored.
- SourceSchemaName
-
- Type: string
The name of the source schema that contains the table being restored.
- SourceTableName
-
- Type: string
The name of the source table being restored.
- Status
-
- Type: string
A value that describes the current state of the table restore request.
Valid Values:
SUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
- TableRestoreRequestId
-
- Type: string
The unique identifier for the table restore request.
- TargetDatabaseName
-
- Type: string
The name of the database to restore the table to.
- TargetSchemaName
-
- Type: string
The name of the schema to restore the table to.
- TotalDataInMegaBytes
-
- Type: long (int|float)
The total amount of data to restore to the new table, in megabytes (MB).
TableRestoreStatusMessage
Description
Members
- Marker
-
- Type: string
A pagination token that can be used in a subsequent DescribeTableRestoreStatus request.
- TableRestoreStatusDetails
-
- Type: Array of TableRestoreStatus structures
A list of status details for one or more table restore requests.
Tag
Description
A tag consisting of a name/value pair for a resource.
Members
- Key
-
- Type: string
The key, or name, for the resource tag.
- Value
-
- Type: string
The value for the resource tag.
TagLimitExceededFault
Description
You have exceeded the number of tags allowed.
Members
TaggedResource
Description
A tag and its associated resource.
Members
- ResourceName
-
- Type: string
The Amazon Resource Name (ARN) with which the tag is associated, for example:
arn:aws:redshift:us-east-2:123456789:cluster:t1
. - ResourceType
-
- Type: string
The type of resource with which the tag is associated. Valid resource types are:
-
Cluster
-
CIDR/IP
-
EC2 security group
-
Snapshot
-
Cluster security group
-
Subnet group
-
HSM connection
-
HSM certificate
-
Parameter group
For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.
- Tag
-
- Type: Tag structure
The tag for the resource.
TaggedResourceListMessage
Description
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - TaggedResources
-
- Type: Array of TaggedResource structures
A list of tags with their associated resources.
TrackListMessage
Members
- MaintenanceTracks
-
- Type: Array of MaintenanceTrack structures
A list of maintenance tracks output by the
DescribeClusterTracks
operation. - Marker
-
- Type: string
The starting point to return a set of response tracklist records. You can retrieve the next set of response records by providing the returned marker value in the
Marker
parameter and retrying the request.
UnauthorizedOperation
Description
Your account is not authorized to perform the requested operation.
Members
UnauthorizedPartnerIntegrationFault
Description
The partner integration is not authorized.
Members
UnknownSnapshotCopyRegionFault
Description
The specified region is incorrect or does not exist.
Members
UnsupportedOperationFault
Description
The requested operation isn't supported.
Members
UnsupportedOptionFault
Description
A request option was specified that is not supported.
Members
UpdateTarget
Description
A maintenance track that you can switch the current track to.
Members
- DatabaseVersion
-
- Type: string
The cluster version for the new maintenance track.
- MaintenanceTrackName
-
- Type: string
The name of the new maintenance track.
- SupportedOperations
-
- Type: Array of SupportedOperation structures
A list of operations supported by the maintenance track.
UsageLimit
Description
Describes a usage limit object for a cluster.
Members
- Amount
-
- Type: long (int|float)
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
- BreachAction
-
- Type: string
The action that Amazon Redshift takes when the limit is reached. Possible values are:
-
log - To log an event in a system table. The default is log.
-
emit-metric - To emit CloudWatch metrics.
-
disable - To disable the feature until the next usage period begins.
- ClusterIdentifier
-
- Type: string
The identifier of the cluster with a usage limit.
- FeatureType
-
- Type: string
The Amazon Redshift feature to which the limit applies.
- LimitType
-
- Type: string
The type of limit. Depending on the feature type, this can be based on a time duration or data size.
- Period
-
- Type: string
The time period that the amount applies to. A
weekly
period begins on Sunday. The default ismonthly
. - Tags
-
- Type: Array of Tag structures
A list of tag instances.
- UsageLimitId
-
- Type: string
The identifier of the usage limit.
UsageLimitAlreadyExistsFault
Description
The usage limit already exists.
Members
UsageLimitList
Members
- Marker
-
- Type: string
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request. - UsageLimits
-
- Type: Array of UsageLimit structures
Contains the output from the DescribeUsageLimits action.
UsageLimitNotFoundFault
Description
The usage limit identifier can't be found.
Members
VpcEndpoint
Description
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
Members
- NetworkInterfaces
-
- Type: Array of NetworkInterface structures
One or more network interfaces of the endpoint. Also known as an interface endpoint.
- VpcEndpointId
-
- Type: string
The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.
- VpcId
-
- Type: string
The VPC identifier that the endpoint is associated.
VpcSecurityGroupMembership
Description
Describes the members of a VPC security group.
Members
- Status
-
- Type: string
The status of the VPC security group.
- VpcSecurityGroupId
-
- Type: string
The identifier of the VPC security group.