Amazon Redshift
API Reference
API Version 2012-12-01
Amazon Redshift: API Reference
Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.
Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.
Table of Contents
Welcome ... 1
Actions ... 2
AcceptReservedNodeExchange ... 5
Request Parameters ... 5
Response Elements ... 5
Errors ... 5
Examples ... 6
See Also ... 7
AddPartner ... 8
Request Parameters ... 8
Response Elements ... 8
Errors ... 9
See Also ... 9
AssociateDataShareConsumer ... 10
Request Parameters ... 10
Response Elements ... 10
Errors ... 11
Examples ... 11
See Also ... 12
AuthorizeClusterSecurityGroupIngress ... 13
Request Parameters ... 13
Response Elements ... 14
Errors ... 14
Examples ... 14
See Also ... 15
AuthorizeDataShare ... 16
Request Parameters ... 16
Response Elements ... 16
Errors ... 17
Examples ... 17
See Also ... 18
AuthorizeEndpointAccess ... 19
Request Parameters ... 19
Response Elements ... 19
Errors ... 20
See Also ... 21
AuthorizeSnapshotAccess ... 22
Request Parameters ... 22
Response Elements ... 22
Errors ... 22
See Also ... 23
BatchDeleteClusterSnapshots ... 24
Request Parameters ... 24
Response Elements ... 24
Errors ... 24
Examples ... 24
See Also ... 25
BatchModifyClusterSnapshots ... 26
Request Parameters ... 26
Response Elements ... 26
Errors ... 27
Examples ... 27
See Also ... 27
CancelResize ... 29
Request Parameters ... 29
Response Elements ... 29
Errors ... 31
Examples ... 31
See Also ... 32
CopyClusterSnapshot ... 33
Request Parameters ... 33
Response Elements ... 34
Errors ... 34
Examples ... 35
See Also ... 36
CreateAuthenticationProfile ... 37
Request Parameters ... 37
Response Elements ... 37
Errors ... 37
See Also ... 38
CreateCluster ... 39
Request Parameters ... 39
Response Elements ... 46
Errors ... 46
Examples ... 48
See Also ... 49
CreateClusterParameterGroup ... 51
Request Parameters ... 51
Response Elements ... 52
Errors ... 52
Examples ... 52
See Also ... 53
CreateClusterSecurityGroup ... 54
Request Parameters ... 54
Response Elements ... 54
Errors ... 55
Examples ... 55
See Also ... 56
CreateClusterSnapshot ... 57
Request Parameters ... 57
Response Elements ... 58
Errors ... 58
Examples ... 58
See Also ... 59
CreateClusterSubnetGroup ... 61
Request Parameters ... 61
Response Elements ... 61
Errors ... 62
Examples ... 63
See Also ... 63
CreateEndpointAccess ... 65
Request Parameters ... 65
Response Elements ... 66
Errors ... 67
See Also ... 68
CreateEventSubscription ... 69
Request Parameters ... 69
Response Elements ... 71
Errors ... 71
Examples ... 72
See Also ... 73
CreateHsmClientCertificate ... 74
Request Parameters ... 74
Response Elements ... 74
Errors ... 74
Examples ... 75
See Also ... 76
CreateHsmConfiguration ... 77
Request Parameters ... 77
Response Elements ... 78
Errors ... 78
Examples ... 79
See Also ... 79
CreateScheduledAction ... 80
Request Parameters ... 80
Response Elements ... 81
Errors ... 82
See Also ... 83
CreateSnapshotCopyGrant ... 84
Request Parameters ... 84
Response Elements ... 84
Errors ... 85
Examples ... 85
See Also ... 86
CreateSnapshotSchedule ... 87
Request Parameters ... 87
Response Elements ... 88
Errors ... 88
Examples ... 89
See Also ... 90
CreateTags ... 91
Request Parameters ... 91
Errors ... 91
Examples ... 92
See Also ... 92
CreateUsageLimit ... 93
Request Parameters ... 93
Response Elements ... 94
Errors ... 95
See Also ... 96
DeauthorizeDataShare ... 97
Request Parameters ... 97
Response Elements ... 97
Errors ... 98
Examples ... 98
See Also ... 99
DeleteAuthenticationProfile ... 100
Request Parameters ... 100
Response Elements ... 100
Errors ... 100
See Also ... 100
DeleteCluster ... 102
Request Parameters ... 102
Response Elements ... 103
Errors ... 103
Examples ... 104
See Also ... 105
DeleteClusterParameterGroup ... 106
Request Parameters ... 106
Errors ... 106
Examples ... 106
See Also ... 107
DeleteClusterSecurityGroup ... 108
Request Parameters ... 108
Errors ... 108
Examples ... 108
See Also ... 109
DeleteClusterSnapshot ... 110
Request Parameters ... 110
Response Elements ... 110
Errors ... 110
Examples ... 111
See Also ... 112
DeleteClusterSubnetGroup ... 113
Request Parameters ... 113
Errors ... 113
Examples ... 113
See Also ... 114
DeleteEndpointAccess ... 115
Request Parameters ... 115
Response Elements ... 115
Errors ... 116
See Also ... 117
DeleteEventSubscription ... 118
Request Parameters ... 118
Errors ... 118
Examples ... 118
See Also ... 119
DeleteHsmClientCertificate ... 120
Request Parameters ... 120
Errors ... 120
Examples ... 120
See Also ... 121
DeleteHsmConfiguration ... 122
Request Parameters ... 122
Errors ... 122
Examples ... 122
See Also ... 123
DeletePartner ... 124
Request Parameters ... 124
Response Elements ... 124
Errors ... 125
See Also ... 125
DeleteScheduledAction ... 126
Request Parameters ... 126
Errors ... 126
Examples ... 126
See Also ... 127
DeleteSnapshotCopyGrant ... 128
Request Parameters ... 128
Errors ... 128
Examples ... 128
See Also ... 129
DeleteSnapshotSchedule ... 130
Request Parameters ... 130
Errors ... 130
Examples ... 130
See Also ... 131
DeleteTags ... 132
Request Parameters ... 132
Errors ... 132
Examples ... 132
See Also ... 133
DeleteUsageLimit ... 134
Request Parameters ... 134
Errors ... 134
See Also ... 134
DescribeAccountAttributes ... 135
Request Parameters ... 135
Response Elements ... 135
Errors ... 135
Examples ... 135
See Also ... 136
DescribeAuthenticationProfiles ... 137
Request Parameters ... 137
Response Elements ... 137
Errors ... 137
See Also ... 137
DescribeClusterDbRevisions ... 139
Request Parameters ... 139
Response Elements ... 139
Errors ... 140
Examples ... 140
See Also ... 141
DescribeClusterParameterGroups ... 142
Request Parameters ... 142
Response Elements ... 143
Errors ... 143
Examples ... 144
See Also ... 144
DescribeClusterParameters ... 146
Request Parameters ... 146
Response Elements ... 147
Errors ... 147
Examples ... 147
See Also ... 150
DescribeClusters ... 151
Request Parameters ... 151
Response Elements ... 152
Errors ... 152
Examples ... 153
See Also ... 154
DescribeClusterSecurityGroups ... 155
Request Parameters ... 155
Response Elements ... 156
Errors ... 156
Examples ... 157
See Also ... 157
DescribeClusterSnapshots ... 159
Request Parameters ... 159
Response Elements ... 161
Errors ... 162
Examples ... 162
See Also ... 163
DescribeClusterSubnetGroups ... 164
Request Parameters ... 164
Response Elements ... 165
Errors ... 165
Examples ... 166
See Also ... 167
DescribeClusterTracks ... 168
Request Parameters ... 168
Response Elements ... 168
Errors ... 169
Examples ... 169
See Also ... 170
DescribeClusterVersions ... 171
Request Parameters ... 171
Response Elements ... 172
Errors ... 172
Examples ... 172
See Also ... 173
DescribeDataShares ... 174
Request Parameters ... 174
Response Elements ... 174
Errors ... 175
Examples ... 175
See Also ... 176
DescribeDataSharesForConsumer ... 177
Request Parameters ... 177
Response Elements ... 177
Errors ... 178
See Also ... 178
DescribeDataSharesForProducer ... 179
Request Parameters ... 179
Response Elements ... 179
Errors ... 180
See Also ... 180
DescribeDefaultClusterParameters ... 181
Request Parameters ... 181
Response Elements ... 181
Errors ... 182
Examples ... 182
See Also ... 184
DescribeEndpointAccess ... 185
Request Parameters ... 185
Response Elements ... 186
Errors ... 186
See Also ... 186
DescribeEndpointAuthorization ... 188
Request Parameters ... 188
Response Elements ... 189
Errors ... 189
See Also ... 189
DescribeEventCategories ... 190
Request Parameters ... 190
Response Elements ... 190
Errors ... 190
Examples ... 190
See Also ... 191
DescribeEvents ... 192
Request Parameters ... 192
Response Elements ... 193
Errors ... 194
Examples ... 194
See Also ... 195
DescribeEventSubscriptions ... 197
Request Parameters ... 197
Response Elements ... 198
Errors ... 198
Examples ... 199
See Also ... 199
DescribeHsmClientCertificates ... 201
Request Parameters ... 201
Response Elements ... 202
Errors ... 202
Examples ... 203
See Also ... 203
DescribeHsmConfigurations ... 205
Request Parameters ... 205
Response Elements ... 206
Errors ... 206
Examples ... 207
See Also ... 207
DescribeLoggingStatus ... 208
Request Parameters ... 208
Response Elements ... 208
Errors ... 209
Examples ... 209
See Also ... 209
DescribeNodeConfigurationOptions ... 211
Request Parameters ... 211
Response Elements ... 212
Errors ... 212
Examples ... 213
See Also ... 214
DescribeOrderableClusterOptions ... 215
Request Parameters ... 215
Response Elements ... 216
Errors ... 216
Examples ... 216
See Also ... 218
DescribePartners ... 219
Request Parameters ... 219
Response Elements ... 219
Errors ... 220
See Also ... 220
DescribeReservedNodeExchangeStatus ... 221
Request Parameters ... 221
Response Elements ... 221
Errors ... 222
See Also ... 222
DescribeReservedNodeOfferings ... 223
Request Parameters ... 223
Response Elements ... 223
Errors ... 224
Examples ... 224
See Also ... 225
DescribeReservedNodes ... 227
Request Parameters ... 227
Response Elements ... 227
Errors ... 228
Examples ... 228
See Also ... 229
DescribeResize ... 230
Request Parameters ... 230
Response Elements ... 230
Errors ... 232
Examples ... 232
See Also ... 233
DescribeScheduledActions ... 234
Request Parameters ... 234
Response Elements ... 235
Errors ... 235
Examples ... 236
See Also ... 236
DescribeSnapshotCopyGrants ... 238
Request Parameters ... 238
Response Elements ... 239
Errors ... 239
Examples ... 240
See Also ... 240
DescribeSnapshotSchedules ... 241
Request Parameters ... 241
Response Elements ... 242
Errors ... 242
Examples ... 242
See Also ... 243
DescribeStorage ... 244
Response Elements ... 244
Errors ... 244
Examples ... 244
See Also ... 245
DescribeTableRestoreStatus ... 246
Request Parameters ... 246
Response Elements ... 246
Errors ... 247
Examples ... 247
See Also ... 248
DescribeTags ... 249
Request Parameters ... 249
Response Elements ... 250
Errors ... 251
Examples ... 251
See Also ... 252
DescribeUsageLimits ... 253
Request Parameters ... 253
Response Elements ... 254
Errors ... 255
See Also ... 255
DisableLogging ... 256
Request Parameters ... 256
Response Elements ... 256
Errors ... 257
See Also ... 257
DisableSnapshotCopy ... 258
Request Parameters ... 258
Response Elements ... 258
Errors ... 258
Examples ... 259
See Also ... 260
DisassociateDataShareConsumer ... 261
Request Parameters ... 261
Response Elements ... 261
Errors ... 262
Examples ... 262
See Also ... 263
EnableLogging ... 264
Request Parameters ... 264
Response Elements ... 265
Errors ... 265
See Also ... 266
EnableSnapshotCopy ... 267
Request Parameters ... 267
Response Elements ... 268
Errors ... 268
Examples ... 269
See Also ... 270
GetClusterCredentials ... 272
Request Parameters ... 272
Response Elements ... 274
Errors ... 274
Examples ... 274
See Also ... 275
GetReservedNodeExchangeConfigurationOptions ... 276
Request Parameters ... 276
Response Elements ... 277
Errors ... 277
See Also ... 278
GetReservedNodeExchangeOfferings ... 279
Request Parameters ... 279
Response Elements ... 279
Errors ... 280
Examples ... 280
See Also ... 281
ModifyAquaConfiguration ... 282
Request Parameters ... 282
Response Elements ... 282
Errors ... 282
See Also ... 283
ModifyAuthenticationProfile ... 284
Request Parameters ... 284
Response Elements ... 284
Errors ... 284
See Also ... 285
ModifyCluster ... 286
Request Parameters ... 286
Response Elements ... 292
Errors ... 292
Examples ... 294
See Also ... 295
ModifyClusterDbRevision ... 296
Request Parameters ... 296
Response Elements ... 296
Errors ... 296
See Also ... 297
ModifyClusterIamRoles ... 298
Request Parameters ... 298
Response Elements ... 298
Errors ... 299
Examples ... 299
See Also ... 300
ModifyClusterMaintenance ... 302
Request Parameters ... 302
Response Elements ... 303
Errors ... 303
Examples ... 303
See Also ... 304
ModifyClusterParameterGroup ... 306
Request Parameters ... 306
Response Elements ... 306
Errors ... 307
Examples ... 307
See Also ... 307
ModifyClusterSnapshot ... 309
Request Parameters ... 309
Response Elements ... 309
Errors ... 309
Examples ... 310
See Also ... 311
ModifyClusterSnapshotSchedule ... 312
Request Parameters ... 312
Errors ... 312
Examples ... 313
See Also ... 313
ModifyClusterSubnetGroup ... 314
Request Parameters ... 314
Response Elements ... 314
Errors ... 314
Examples ... 315
See Also ... 316
ModifyEndpointAccess ... 317
Request Parameters ... 317
Response Elements ... 317
Errors ... 318
See Also ... 319
ModifyEventSubscription ... 320
Request Parameters ... 320
Response Elements ... 321
Errors ... 321
Examples ... 322
See Also ... 323
ModifyScheduledAction ... 324
Request Parameters ... 324
Response Elements ... 325
Errors ... 326
Examples ... 327
See Also ... 328
ModifySnapshotCopyRetentionPeriod ... 329
Request Parameters ... 329
Response Elements ... 330
Errors ... 330
Examples ... 330
See Also ... 332
ModifySnapshotSchedule ... 333
Request Parameters ... 333
Response Elements ... 333
Errors ... 334
Examples ... 334
See Also ... 335
ModifyUsageLimit ... 336
Request Parameters ... 336
Response Elements ... 336
Errors ... 337
See Also ... 338
PauseCluster ... 339
Request Parameters ... 339
Response Elements ... 339
Errors ... 339
See Also ... 339
PurchaseReservedNodeOffering ... 341
Request Parameters ... 341
Response Elements ... 341
Errors ... 341
Examples ... 342
See Also ... 343
RebootCluster ... 344
Request Parameters ... 344
Response Elements ... 344
Errors ... 344
Examples ... 344
See Also ... 346
RejectDataShare ... 347
Request Parameters ... 347
Response Elements ... 347
Errors ... 348
Examples ... 348
See Also ... 348
ResetClusterParameterGroup ... 350
Request Parameters ... 350
Response Elements ... 350
Errors ... 351
Examples ... 351
See Also ... 351
ResizeCluster ... 353
Request Parameters ... 353
Response Elements ... 354
Errors ... 354
Examples ... 356
See Also ... 357
RestoreFromClusterSnapshot ... 359
Request Parameters ... 359
Response Elements ... 365
Errors ... 365
Examples ... 368
See Also ... 369
RestoreTableFromClusterSnapshot ... 370
Request Parameters ... 370
Response Elements ... 371
Errors ... 371
Examples ... 372
See Also ... 373
ResumeCluster ... 374
Request Parameters ... 374
Response Elements ... 374
Errors ... 374
See Also ... 374
RevokeClusterSecurityGroupIngress ... 376
Request Parameters ... 376
Response Elements ... 377
Errors ... 377
Examples ... 377
See Also ... 378
RevokeEndpointAccess ... 379
Request Parameters ... 379
Response Elements ... 379
Errors ... 380
See Also ... 381
RevokeSnapshotAccess ... 382
Request Parameters ... 382
Response Elements ... 382
Errors ... 382
See Also ... 383
RotateEncryptionKey ... 384
Request Parameters ... 384
Response Elements ... 384
Errors ... 384
Examples ... 385
See Also ... 386
UpdatePartnerStatus ... 387
Request Parameters ... 387
Response Elements ... 388
Errors ... 388
See Also ... 389
Data Types ... 390
AccountAttribute ... 392
Contents ... 392
See Also ... 392
AccountWithRestoreAccess ... 393
Contents ... 393
See Also ... 393
AquaConfiguration ... 394
Contents ... 394
See Also ... 394
AttributeValueTarget ... 395
Contents ... 395
See Also ... 395
AuthenticationProfile ... 396
Contents ... 396
See Also ... 396
AvailabilityZone ... 397
Contents ... 397
See Also ... 397
Cluster ... 398
Contents ... 398
See Also ... 406
ClusterAssociatedToSchedule ... 407
Contents ... 407
See Also ... 407
ClusterDbRevision ... 408
Contents ... 408
See Also ... 408
ClusterIamRole ... 409
Contents ... 409
See Also ... 409
ClusterNode ... 410
Contents ... 410
See Also ... 410
ClusterParameterGroup ... 411
Contents ... 411
See Also ... 411
ClusterParameterGroupStatus ... 412
Contents ... 412
See Also ... 412
ClusterParameterStatus ... 413
Contents ... 413
See Also ... 413
ClusterSecurityGroup ... 415
Contents ... 415
See Also ... 415
ClusterSecurityGroupMembership ... 417
Contents ... 417
See Also ... 417
ClusterSnapshotCopyStatus ... 418
Contents ... 418
See Also ... 418
ClusterSubnetGroup ... 420
Contents ... 420
See Also ... 421
ClusterVersion ... 422
Contents ... 422
See Also ... 422
DataShare ... 423
Contents ... 423
See Also ... 423
DataShareAssociation ... 425
Contents ... 425
See Also ... 425
DataTransferProgress ... 427
Contents ... 427
See Also ... 427
DefaultClusterParameters ... 429
Contents ... 429
See Also ... 429
DeferredMaintenanceWindow ... 430
Contents ... 430
See Also ... 430
DeleteClusterSnapshotMessage ... 431
Contents ... 431
See Also ... 431
EC2SecurityGroup ... 432
Contents ... 432
See Also ... 432
ElasticIpStatus ... 433
Contents ... 433
See Also ... 433
Endpoint ... 434
Contents ... 434
See Also ... 434
EndpointAccess ... 435
Contents ... 435
See Also ... 436
EndpointAuthorization ... 437
Contents ... 437
See Also ... 438
Event ... 439
Contents ... 439
See Also ... 440
EventCategoriesMap ... 441
Contents ... 441
See Also ... 441
EventInfoMap ... 442
Contents ... 442
See Also ... 442
EventSubscription ... 444
Contents ... 444
See Also ... 446
HsmClientCertificate ... 447
Contents ... 447
See Also ... 447
HsmConfiguration ... 448
Contents ... 448
See Also ... 448
HsmStatus ... 450
Contents ... 450
See Also ... 450
IPRange ... 451
Contents ... 451
See Also ... 451
MaintenanceTrack ... 452
Contents ... 452
See Also ... 452
NetworkInterface ... 453
Contents ... 453
See Also ... 453
NodeConfigurationOption ... 454
Contents ... 454
See Also ... 454
NodeConfigurationOptionsFilter ... 455
Contents ... 455
See Also ... 455
OrderableClusterOption ... 456
Contents ... 456
See Also ... 456
Parameter ... 457
Contents ... 457
See Also ... 458
PartnerIntegrationInfo ... 459
Contents ... 459
See Also ... 460
PauseClusterMessage ... 461
Contents ... 461
See Also ... 461
PendingModifiedValues ... 462
Contents ... 462
See Also ... 463
RecurringCharge ... 465
Contents ... 465
See Also ... 465
ReservedNode ... 466
Contents ... 466
See Also ... 468
ReservedNodeConfigurationOption ... 469
Contents ... 469
See Also ... 469
ReservedNodeExchangeStatus ... 470
Contents ... 470
See Also ... 471
ReservedNodeOffering ... 472
Contents ... 472
See Also ... 473
ResizeClusterMessage ... 474
Contents ... 474
See Also ... 475
ResizeInfo ... 476
Contents ... 476
See Also ... 476
RestoreStatus ... 477
Contents ... 477
See Also ... 478
ResumeClusterMessage ... 479
Contents ... 479
See Also ... 479
RevisionTarget ... 480
Contents ... 480
See Also ... 480
ScheduledAction ... 481
Contents ... 481
See Also ... 482
ScheduledActionFilter ... 483
Contents ... 483
See Also ... 483
ScheduledActionType ... 484
Contents ... 484
See Also ... 484
Snapshot ... 485
Contents ... 485
See Also ... 490
SnapshotCopyGrant ... 491
Contents ... 491
See Also ... 491
SnapshotErrorMessage ... 492
Contents ... 492
See Also ... 492
SnapshotSchedule ... 493
Contents ... 493
See Also ... 494
SnapshotSortingEntity ... 495
Contents ... 495
See Also ... 495
Subnet ... 496
Contents ... 496
See Also ... 496
SupportedOperation ... 497
Contents ... 497
See Also ... 497
SupportedPlatform ... 498
Contents ... 498
See Also ... 498
TableRestoreStatus ... 499
Contents ... 499
See Also ... 501
Tag ... 502
Contents ... 502
See Also ... 502
TaggedResource ... 503
Contents ... 503
See Also ... 503
UpdateTarget ... 505
Contents ... 505
See Also ... 505
UsageLimit ... 506
Contents ... 506
See Also ... 507
VpcEndpoint ... 508
Contents ... 508
See Also ... 508
VpcSecurityGroupMembership ... 509
Contents ... 509
See Also ... 509
Common Parameters ... 510
Common Errors ... 512
Welcome
Overview
This is an interface reference for Amazon Redshift. It contains documentation for one of the
programming or command line interfaces you can use to manage Amazon Redshift clusters. Note that Amazon Redshift is asynchronous, which means that some interfaces may require techniques, such as polling or asynchronous callback handlers, to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a change is applied immediately, on the next instance reboot, or during the next maintenance window. For a summary of the Amazon Redshift cluster management interfaces, go to Using the Amazon Redshift Management Interfaces.
Amazon Redshift manages all the work of setting up, operating, and scaling a data warehouse:
provisioning capacity, monitoring and backing up the cluster, and applying patches and upgrades to the Amazon Redshift engine. You can focus on using your data to acquire new insights for your business and customers.
If you are a first-time user of Amazon Redshift, we recommend that you begin by reading the Amazon Redshift Getting Started Guide.
If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and maintain the databases that make up your data warehouse.
This document was last published on March 6, 2022.
Actions
The following actions are supported:
• AcceptReservedNodeExchange (p. 5)
• AddPartner (p. 8)
• AssociateDataShareConsumer (p. 10)
• AuthorizeClusterSecurityGroupIngress (p. 13)
• AuthorizeDataShare (p. 16)
• AuthorizeEndpointAccess (p. 19)
• AuthorizeSnapshotAccess (p. 22)
• BatchDeleteClusterSnapshots (p. 24)
• BatchModifyClusterSnapshots (p. 26)
• CancelResize (p. 29)
• CopyClusterSnapshot (p. 33)
• CreateAuthenticationProfile (p. 37)
• CreateCluster (p. 39)
• CreateClusterParameterGroup (p. 51)
• CreateClusterSecurityGroup (p. 54)
• CreateClusterSnapshot (p. 57)
• CreateClusterSubnetGroup (p. 61)
• CreateEndpointAccess (p. 65)
• CreateEventSubscription (p. 69)
• CreateHsmClientCertificate (p. 74)
• CreateHsmConfiguration (p. 77)
• CreateScheduledAction (p. 80)
• CreateSnapshotCopyGrant (p. 84)
• CreateSnapshotSchedule (p. 87)
• CreateTags (p. 91)
• CreateUsageLimit (p. 93)
• DeauthorizeDataShare (p. 97)
• DeleteAuthenticationProfile (p. 100)
• DeleteCluster (p. 102)
• DeleteClusterParameterGroup (p. 106)
• DeleteClusterSecurityGroup (p. 108)
• DeleteClusterSnapshot (p. 110)
• DeleteClusterSubnetGroup (p. 113)
• DeleteEndpointAccess (p. 115)
• DeleteEventSubscription (p. 118)
• DeleteHsmClientCertificate (p. 120)
• DeleteHsmConfiguration (p. 122)
• DeletePartner (p. 124)
• DeleteScheduledAction (p. 126)
• DeleteSnapshotCopyGrant (p. 128)
• DeleteSnapshotSchedule (p. 130)
• DeleteTags (p. 132)
• DeleteUsageLimit (p. 134)
• DescribeAccountAttributes (p. 135)
• DescribeAuthenticationProfiles (p. 137)
• DescribeClusterDbRevisions (p. 139)
• DescribeClusterParameterGroups (p. 142)
• DescribeClusterParameters (p. 146)
• DescribeClusters (p. 151)
• DescribeClusterSecurityGroups (p. 155)
• DescribeClusterSnapshots (p. 159)
• DescribeClusterSubnetGroups (p. 164)
• DescribeClusterTracks (p. 168)
• DescribeClusterVersions (p. 171)
• DescribeDataShares (p. 174)
• DescribeDataSharesForConsumer (p. 177)
• DescribeDataSharesForProducer (p. 179)
• DescribeDefaultClusterParameters (p. 181)
• DescribeEndpointAccess (p. 185)
• DescribeEndpointAuthorization (p. 188)
• DescribeEventCategories (p. 190)
• DescribeEvents (p. 192)
• DescribeEventSubscriptions (p. 197)
• DescribeHsmClientCertificates (p. 201)
• DescribeHsmConfigurations (p. 205)
• DescribeLoggingStatus (p. 208)
• DescribeNodeConfigurationOptions (p. 211)
• DescribeOrderableClusterOptions (p. 215)
• DescribePartners (p. 219)
• DescribeReservedNodeExchangeStatus (p. 221)
• DescribeReservedNodeOfferings (p. 223)
• DescribeReservedNodes (p. 227)
• DescribeResize (p. 230)
• DescribeScheduledActions (p. 234)
• DescribeSnapshotCopyGrants (p. 238)
• DescribeSnapshotSchedules (p. 241)
• DescribeStorage (p. 244)
• DescribeTableRestoreStatus (p. 246)
• DescribeTags (p. 249)
• DescribeUsageLimits (p. 253)
• DisableLogging (p. 256)
• DisableSnapshotCopy (p. 258)
• DisassociateDataShareConsumer (p. 261)
• EnableLogging (p. 264)
• EnableSnapshotCopy (p. 267)
• GetClusterCredentials (p. 272)
• GetReservedNodeExchangeConfigurationOptions (p. 276)
• GetReservedNodeExchangeOfferings (p. 279)
• ModifyAquaConfiguration (p. 282)
• ModifyAuthenticationProfile (p. 284)
• ModifyCluster (p. 286)
• ModifyClusterDbRevision (p. 296)
• ModifyClusterIamRoles (p. 298)
• ModifyClusterMaintenance (p. 302)
• ModifyClusterParameterGroup (p. 306)
• ModifyClusterSnapshot (p. 309)
• ModifyClusterSnapshotSchedule (p. 312)
• ModifyClusterSubnetGroup (p. 314)
• ModifyEndpointAccess (p. 317)
• ModifyEventSubscription (p. 320)
• ModifyScheduledAction (p. 324)
• ModifySnapshotCopyRetentionPeriod (p. 329)
• ModifySnapshotSchedule (p. 333)
• ModifyUsageLimit (p. 336)
• PauseCluster (p. 339)
• PurchaseReservedNodeOffering (p. 341)
• RebootCluster (p. 344)
• RejectDataShare (p. 347)
• ResetClusterParameterGroup (p. 350)
• ResizeCluster (p. 353)
• RestoreFromClusterSnapshot (p. 359)
• RestoreTableFromClusterSnapshot (p. 370)
• ResumeCluster (p. 374)
• RevokeClusterSecurityGroupIngress (p. 376)
• RevokeEndpointAccess (p. 379)
• RevokeSnapshotAccess (p. 382)
• RotateEncryptionKey (p. 384)
• UpdatePartnerStatus (p. 387)
AcceptReservedNodeExchange
AcceptReservedNodeExchange
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.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
ReservedNodeId
A string representing the node identifier of the DC1 Reserved Node to be exchanged.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes
TargetReservedNodeOfferingId
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 (p. 279)
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes
Response Elements
The following element is returned by the service.
ExchangedReservedNode
Type: ReservedNode (p. 466) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
DependentServiceUnavailableFault
Your request cannot be completed because a dependent internal service is temporarily unavailable.
Wait 30 to 60 seconds and try again.
HTTP Status Code: 400 InvalidReservedNodeState
Indicates that the Reserved Node being exchanged is not in an active state.
HTTP Status Code: 400
Examples
ReservedNodeAlreadyExists
User already has a reservation with the given identifier.
HTTP Status Code: 404 ReservedNodeAlreadyMigrated
Indicates that the reserved node has already been exchanged.
HTTP Status Code: 400 ReservedNodeNotFound
The specified reserved compute node not found.
HTTP Status Code: 404 ReservedNodeOfferingNotFound
Specified offering does not exist.
HTTP Status Code: 404 UnsupportedOperation
The requested operation isn't supported.
HTTP Status Code: 400
Examples
Example
This example illustrates one usage of AcceptReservedNodeExchange.
Sample Request
https://redshift.us-east-2.amazonaws.com/
?Action=AcceptReservedNodeExchange
&ReservedNodeId=12345678-12ab-12a1-1a2a-12ab-12a12aEXAMPLE
&TargetReservedNodeOfferingId=12345678-12ab-12a1-1a2a-12ab-12a12bEXAMPLE
&SignatureMethod=HmacSHA256&SignatureVersion=4
&Version=2012-12-01
&X-Amz-Algorithm=AWS4-HMAC-SHA256
&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request
&X-Amz-Date=20190825T160000Z
&X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date
&X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b
Sample Response
<AcceptReservedNodeExchangeResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/">
<AcceptReservedNodeExchangeResult>
<ExchangedReservedNode>
<ReservedNodeId>12345678-12ab-12a1-1a2a-12ab-12a12aEXAMPLE</ReservedNodeId>
<OfferingType>All Upfront</OfferingType>
<ReservedNodeOfferingType>Regular</ReservedNodeOfferingType>
<RecurringCharges>
<RecurringCharge>
<RecurringChargeAmount>0.0</RecurringChargeAmount>
See Also
<RecurringChargeFrequency>Hourly</RecurringChargeFrequency>
</RecurringCharge>
</RecurringCharges>
<NodeType>dc2.large</NodeType>
<FixedPrice>0.0</FixedPrice>
<Duration>31536000</Duration>
<UsagePrice>0.0</UsagePrice>
<ReservedNodeOfferingId>12345678-12ab-12a1-1a2a-12ab-12a12bEXAMPLE</
ReservedNodeOfferingId>
<StartTime>2019-12-26T22:27:56Z</StartTime>
<NodeCount>1</NodeCount>
<State>exchanging</State>
<CurrencyCode>USD</CurrencyCode>
</ExchangedReservedNode>
</AcceptReservedNodeExchangeResult>
<ResponseMetadata>
<RequestId>0b899aa4-2830-11ea-8a28-2fd1719d0e86</RequestId>
</ResponseMetadata>
</AcceptReservedNodeExchangeResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AddPartner
AddPartner
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.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
AccountId
The AWS account ID that owns the cluster.
Type: String
Length Constraints: Fixed length of 12.
Pattern: ^[0-9]+$
Required: Yes ClusterIdentifier
The cluster identifier of the cluster that receives data from the partner.
Type: String
Length Constraints: Maximum length of 63.
Pattern: ^[a-zA-Z0-9\-]+$
Required: Yes DatabaseName
The name of the database that receives data from the partner.
Type: String
Length Constraints: Maximum length of 127.
Pattern: ^[\p{L}_][\p{L}\p{N}@$#_]+$
Required: Yes PartnerName
The name of the partner that is authorized to send data.
Type: String
Length Constraints: Maximum length of 255.
Pattern: ^[a-zA-Z0-9\-_]+$
Required: Yes
Response Elements
The following elements are returned by the service.
Errors
DatabaseName
The name of the database that receives data from the partner.
Type: String
Length Constraints: Maximum length of 127.
Pattern: ^[\p{L}_][\p{L}\p{N}@$#_]+$
PartnerName
The name of the partner that is authorized to send data.
Type: String
Length Constraints: Maximum length of 255.
Pattern: ^[a-zA-Z0-9\-_]+$
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
ClusterNotFound
The ClusterIdentifier parameter does not refer to an existing cluster.
HTTP Status Code: 404 PartnerNotFound
The name of the partner was not found.
HTTP Status Code: 404 UnauthorizedPartnerIntegration
The partner integration is not authorized.
HTTP Status Code: 401
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AssociateDataShareConsumer
AssociateDataShareConsumer
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.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
DataShareArn
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes AssociateEntireAccount
A value that specifies whether the datashare is associated with the entire account.
Type: Boolean Required: No ConsumerArn
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No ConsumerRegion
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified AWS Region.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No
Response Elements
The following elements are returned by the service.
AllowPubliclyAccessibleConsumers
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
Type: Boolean
Errors
DataShareArn
An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the arn:aws:redshift:{region}:
{account-id}:{datashare}:{namespace-guid}/{datashare-name} format.
Type: String
Length Constraints: Maximum length of 2147483647.
DataShareAssociations.member.N
A value that specifies when the datashare has an association between a producer and data consumers.
Type: Array of DataShareAssociation (p. 425) objects ManagedBy
The identifier of a datashare to show its managing entity.
Type: String
Length Constraints: Maximum length of 2147483647.
ProducerArn
The Amazon Resource Name (ARN) of the producer.
Type: String
Length Constraints: Maximum length of 2147483647.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
InvalidDataShareFault
There is an error with the datashare.
HTTP Status Code: 400 InvalidNamespaceFault
The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
HTTP Status Code: 400
Examples
Example
This example illustrates one usage of AssociateDataShareConsumer.
Sample Request
AssociateDataShareConsumer&AssociateEntireAccount=true&DataShareArn=arn%3Aaws%3Aredshift
%3Aus-east-1%3A827630067164%3Adatashare%3Aa1c54ed4-8323-4d14-b5dd-927cb596dc0e
%2Ftestshare&Version=2012-12-01
See Also
Sample Response
<AssociateDataShareConsumerResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/">
<AssociateDataShareConsumerResult>
<ProducerNamespaceArn>arn:aws:redshift:us-
east-1:827630067164:namespace:a1c54ed4-8323-4d14-b5dd-927cb596dc0e</ProducerNamespaceArn>
<AllowPubliclyAccessibleConsumers>false</AllowPubliclyAccessibleConsumers>
<DataShareArn>arn:aws:redshift:us-east-1:827630067164:datashare:a1c54ed4-8323-4d14- b5dd-927cb596dc0e/testshare</DataShareArn>
<DataShareAssociations>
<member>
<StatusChangeDate>2021-01-11T23:39:25.485605</StatusChangeDate>
<ConsumerIdentifier>827630067164</ConsumerIdentifier>
<CreatedDate>2021-01-11T22:12:23.038612</CreatedDate>
<Status>ACTIVE</Status>
</member>
</DataShareAssociations>
</AssociateDataShareConsumerResult>
<ResponseMetadata>
<RequestId>c125d0e3-72de-4938-a919-e6a0c3f8489d</RequestId>
</ResponseMetadata>
</AssociateDataShareConsumerResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AuthorizeClusterSecurityGroupIngress
AuthorizeClusterSecurityGroupIngress
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 AWS 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.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
ClusterSecurityGroupName
The name of the security group to which the ingress rule is added.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes CIDRIP
The IP range to be added the Amazon Redshift security group.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No EC2SecurityGroupName
The EC2 security group to be added the Amazon Redshift security group.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No
EC2SecurityGroupOwnerId
The AWS account number of the owner of the security group specified by the
EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.
Example: 111122223333
Response Elements
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No
Response Elements
The following element is returned by the service.
ClusterSecurityGroup
Describes a security group.
Type: ClusterSecurityGroup (p. 415) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
AuthorizationAlreadyExists
The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.
HTTP Status Code: 400 AuthorizationQuotaExceeded
The authorization quota for the cluster security group has been reached.
HTTP Status Code: 400 ClusterSecurityGroupNotFound
The cluster security group name does not refer to an existing cluster security group.
HTTP Status Code: 404 InvalidClusterSecurityGroupState
The state of the cluster security group is not available.
HTTP Status Code: 400
Examples
Example
This example illustrates one usage of AuthorizeClusterSecurityGroupIngress.
Sample Request
https://redshift.us-east-2.amazonaws.com/
?Action=AuthorizeClusterSecurityGroupIngress &CIDRIP=10.24.34.0/24
&ClusterSecurityGroupName=example-security-group
See Also
&SignatureMethod=HmacSHA256&SignatureVersion=4 &Version=2012-12-01
&X-Amz-Algorithm=AWS4-HMAC-SHA256
&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20150817/us-east-2/redshift/aws4_request &X-Amz-Date=20150825T160000Z
&X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b
Sample Response
<AuthorizeClusterSecurityGroupIngressResponse xmlns="http://redshift.amazonaws.com/
doc/2012-12-01/">
<AuthorizeClusterSecurityGroupIngressResult>
<ClusterSecurityGroup>
<Tags/>
<EC2SecurityGroups/>
<IPRanges>
<IPRange>
<CIDRIP>10.24.34.0/24</CIDRIP>
<Status>authorized</Status>
</IPRange>
</IPRanges>
<Description>Example security group</Description>
<ClusterSecurityGroupName>example-security-group</ClusterSecurityGroupName>
</ClusterSecurityGroup>
</AuthorizeClusterSecurityGroupIngressResult>
<ResponseMetadata>
<RequestId>534d1bce-46ac-11e5-b673-31d855cc98c6</RequestId>
</ResponseMetadata>
</AuthorizeClusterSecurityGroupIngressResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AuthorizeDataShare
AuthorizeDataShare
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 privileges.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
ConsumerIdentifier
The identifier of the data consumer that is authorized to access the datashare. This identifier is an AWS account ID or a keyword, such as ADX.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes DataShareArn
The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes
Response Elements
The following elements are returned by the service.
AllowPubliclyAccessibleConsumers
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
Type: Boolean DataShareArn
An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the arn:aws:redshift:{region}:
{account-id}:{datashare}:{namespace-guid}/{datashare-name} format.
Type: String
Length Constraints: Maximum length of 2147483647.
DataShareAssociations.member.N
A value that specifies when the datashare has an association between a producer and data consumers.
Type: Array of DataShareAssociation (p. 425) objects
Errors
ManagedBy
The identifier of a datashare to show its managing entity.
Type: String
Length Constraints: Maximum length of 2147483647.
ProducerArn
The Amazon Resource Name (ARN) of the producer.
Type: String
Length Constraints: Maximum length of 2147483647.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
InvalidDataShareFault
There is an error with the datashare.
HTTP Status Code: 400
Examples
Example
This example illustrates one usage of AuthorizeDataShare.
Sample Request
https://redshift.us-east-2.amazonaws.com/
?Action=AuthorizeDataShare &ConsumerIdentifier=275247490162
&DataShareArn=arn%3Aaws%3Aredshift%3Aus-east-1%3A827630067164%3Adatashare
%3Aaf06285e-8a45-4ee9-b598-648c218c8ff1%2Ftestshare2 &SignatureMethod=HmacSHA256&SignatureVersion=4 &Version=2012-12-01
&X-Amz-Algorithm=AWS4-HMAC-SHA256
&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request &X-Amz-Date=20190825T160000Z
&X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b
Sample Response
<AuthorizeDataShareResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/">
<AuthorizeDataShareResult>
<AllowPubliclyAccessibleConsumers>false</AllowPubliclyAccessibleConsumers>
<ProducerNamespaceArn>arn:aws:redshift:us-
east-1:827630067164:namespace:af06285e-8a45-4ee9-b598-648c218c8ff1</ProducerNamespaceArn>
<DataShareArn>arn:aws:redshift:us-
east-1:827630067164:datashare:af06285e-8a45-4ee9-b598-648c218c8ff1/testshare2</
DataShareArn>
See Also
<DataShareAssociations>
<member>
<ConsumerIdentifier>275247490162</ConsumerIdentifier>
<StatusChangeDate>2020-10-30T17:39:04.021910</StatusChangeDate>
<CreatedDate>2020-10-29T22:31:53.495665</CreatedDate>
<Status>PENDING_ACCEPTANCE</Status>
</member>
</DataShareAssociations>
</AuthorizeDataShareResult>
<ResponseMetadata>
<RequestId>7c915a04-fe35-4be1-b71d-363efaa95a08</RequestId>
</ResponseMetadata>
</AuthorizeDataShareResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AuthorizeEndpointAccess
AuthorizeEndpointAccess
Grants access to a cluster.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
Account
The AWS account ID to grant access to.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes ClusterIdentifier
The cluster identifier of the cluster to grant access to.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No VpcIds.VpcIdentifier.N
The virtual private cloud (VPC) identifiers to grant access to.
Type: Array of strings
Length Constraints: Maximum length of 2147483647.
Required: No
Response Elements
The following elements are returned by the service.
AllowedAllVPCs
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
Type: Boolean
AllowedVPCs.VpcIdentifier.N
The VPCs allowed access to the cluster.
Type: Array of strings
Length Constraints: Maximum length of 2147483647.
AuthorizeTime
The time (UTC) when the authorization was created.
Errors
Type: Timestamp ClusterIdentifier
The cluster identifier.
Type: String
Length Constraints: Maximum length of 2147483647.
ClusterStatus
The status of the cluster.
Type: String
Length Constraints: Maximum length of 2147483647.
EndpointCount
The number of Redshift-managed VPC endpoints created for the authorization.
Type: Integer Grantee
The AWS account ID of the grantee of the cluster.
Type: String
Length Constraints: Maximum length of 2147483647.
Grantor
The AWS account ID of the cluster owner.
Type: String
Length Constraints: Maximum length of 2147483647.
Status
The status of the authorization action.
Type: String
Valid Values: Authorized | Revoking
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
ClusterNotFound
The ClusterIdentifier parameter does not refer to an existing cluster.
HTTP Status Code: 404
EndpointAuthorizationAlreadyExists
The authorization already exists for this endpoint.
HTTP Status Code: 400
EndpointAuthorizationsPerClusterLimitExceeded
The number of endpoint authorizations per cluster has exceeded its limit.
See Also
HTTP Status Code: 400 InvalidAuthorizationState
The status of the authorization is not valid.
HTTP Status Code: 400 InvalidClusterState
The specified cluster is not in the available state.
HTTP Status Code: 400 UnsupportedOperation
The requested operation isn't supported.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AuthorizeSnapshotAccess
AuthorizeSnapshotAccess
Authorizes the specified AWS 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.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
AccountWithRestoreAccess
The identifier of the AWS account authorized to restore the specified snapshot.
To share a snapshot with AWS Support, specify amazon-redshift-support.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes SnapshotIdentifier
The identifier of the snapshot the account is authorized to restore.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes
SnapshotClusterIdentifier
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.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No
Response Elements
The following element is returned by the service.
Snapshot
Describes a snapshot.
Type: Snapshot (p. 485) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
See Also
AuthorizationAlreadyExists
The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.
HTTP Status Code: 400 AuthorizationQuotaExceeded
The authorization quota for the cluster security group has been reached.
HTTP Status Code: 400 ClusterSnapshotNotFound
The snapshot identifier does not refer to an existing cluster snapshot.
HTTP Status Code: 404
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.
HTTP Status Code: 400 InvalidClusterSnapshotState
The specified cluster snapshot is not in the available state, or other accounts are authorized to access the snapshot.
HTTP Status Code: 400 LimitExceededFault
The encryption key has exceeded its grant limit in AWS KMS.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
BatchDeleteClusterSnapshots
BatchDeleteClusterSnapshots
Deletes a set of cluster snapshots.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
Identifiers.DeleteClusterSnapshotMessage.N
A list of identifiers for the snapshots that you want to delete.
Type: Array of DeleteClusterSnapshotMessage (p. 431) objects Required: Yes
Response Elements
The following elements are returned by the service.
Errors.SnapshotErrorMessage.N A list of any errors returned.
Type: Array of SnapshotErrorMessage (p. 492) objects Resources.String.N
A list of the snapshot identifiers that were deleted.
Type: Array of strings
Length Constraints: Maximum length of 2147483647.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
BatchDeleteRequestSizeExceeded
The maximum number for a batch delete of snapshots has been reached. The limit is 100.
HTTP Status Code: 400
Examples
Example
This example illustrates one usage of BatchDeleteClusterSnapshots.
Sample Request
https://redshift.us-east-2.amazonaws.com/
See Also
?Action=BatchDeleteClusterSnapshots
&Identifiers.DeleteClusterSnapshotMessage.1.SnapshotIdentifier=mysnapshotid1 &Identifiers.DeleteClusterSnapshotMessage.2.SnapshotIdentifier=mysnapshotid2 &SignatureMethod=HmacSHA256&SignatureVersion=4
&Version=2012-12-01
&X-Amz-Algorithm=AWS4-HMAC-SHA256
&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request &X-Amz-Date=20190825T160000Z
&X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b
Sample Response
<BatchDeleteClusterSnapshotsResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/">
<BatchDeleteClusterSnapshotsResult>
<Resources>
<String>mysnapshotid1</String>
<String>mysnapshotid2</String>
</Resources>
</BatchDeleteClusterSnapshotsResult>
<ResponseMetadata>
<RequestId>5b43fc38-282e-11ea-8cc9-43f1872b4b75</RequestId>
</ResponseMetadata>
</BatchDeleteClusterSnapshotsResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
BatchModifyClusterSnapshots
BatchModifyClusterSnapshots
Modifies the settings for a set of cluster snapshots.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
SnapshotIdentifierList.String.N
A list of snapshot identifiers you want to modify.
Type: Array of strings
Length Constraints: Maximum length of 2147483647.
Required: Yes Force
A boolean value indicating whether to override an exception if the retention period has passed.
Type: Boolean Required: No
ManualSnapshotRetentionPeriod
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.
Type: Integer Required: No
Response Elements
The following elements are returned by the service.
Errors.SnapshotErrorMessage.N A list of any errors returned.
Type: Array of SnapshotErrorMessage (p. 492) objects Resources.String.N
A list of the snapshots that were modified.
Type: Array of strings
Length Constraints: Maximum length of 2147483647.
Errors
Errors
For information about the errors that are common to all actions, see Common Errors (p. 512).
BatchModifyClusterSnapshotsLimitExceededFault
The maximum number for snapshot identifiers has been reached. The limit is 100.
HTTP Status Code: 400 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.
HTTP Status Code: 400
Examples
Example
This example illustrates one usage of BatchModifyClusterSnapshots.
Sample Request
https://redshift.us-east-2.amazonaws.com/
?Action=BatchModifyClusterSnapshots
&SnapshotIdentifierList.String.1=mysnapshotid1
&SnapshotIdentifierList.String.2=mysnapshotid2
&ManualSnapshotRetentionPeriod=30
&SignatureMethod=HmacSHA256&SignatureVersion=4
&Version=2012-12-01
&X-Amz-Algorithm=AWS4-HMAC-SHA256
&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request
&X-Amz-Date=20190825T160000Z
&X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date
&X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b
Sample Response
<BatchModifyClusterSnapshotsResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/">
<BatchModifyClusterSnapshotsResult>
<Resources>
<String>mysnapshotid1</String>
<String>mysnapshotid2</String>
</Resources>
<Errors/>
</BatchModifyClusterSnapshotsResult>
<ResponseMetadata>
<RequestId>c10326d1-282d-11ea-8314-974e2ba81189</RequestId>
</ResponseMetadata>
</BatchModifyClusterSnapshotsResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
See Also
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CancelResize
CancelResize
Cancels a resize operation for a cluster.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 510).
ClusterIdentifier
The unique identifier for the cluster that you want to cancel a resize operation for.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: Yes
Response Elements
The following elements are returned by the service.
AvgResizeRateInMegaBytesPerSecond
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.
Type: Double
DataTransferProgressPercent
The percent of data transferred from source cluster to target cluster.
Type: Double ElapsedTimeInSeconds
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.
Type: Long
EstimatedTimeToCompletionInSeconds
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.
Type: Long
ImportTablesCompleted.member.N
The names of tables that have been completely imported . Valid Values: List of table names.
Type: Array of strings
Length Constraints: Maximum length of 2147483647.