Skip to content

Commit 1cf78e7

Browse files
author
AWS
committed
Redshift Serverless Update: Adds dualstack support for Redshift Serverless workgroup.
1 parent e1559d8 commit 1cf78e7

File tree

2 files changed

+42
-5
lines changed

2 files changed

+42
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Redshift Serverless",
4+
"contributor": "",
5+
"description": "Adds dualstack support for Redshift Serverless workgroup."
6+
}

services/redshiftserverless/src/main/resources/codegen-resources/service-2.json

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@
172172
{"shape":"ResourceNotFoundException"},
173173
{"shape":"ConflictException"},
174174
{"shape":"ValidationException"},
175-
{"shape":"TooManyTagsException"}
175+
{"shape":"TooManyTagsException"},
176+
{"shape":"Ipv6CidrBlockNotFoundException"}
176177
],
177178
"documentation":"<p>Creates an workgroup in Amazon Redshift Serverless.</p>",
178179
"idempotent":true
@@ -916,7 +917,8 @@
916917
{"shape":"InsufficientCapacityException"},
917918
{"shape":"ResourceNotFoundException"},
918919
{"shape":"ConflictException"},
919-
{"shape":"ValidationException"}
920+
{"shape":"ValidationException"},
921+
{"shape":"Ipv6CidrBlockNotFoundException"}
920922
],
921923
"documentation":"<p>Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one request. For example, you can update <code>baseCapacity</code> or <code>port</code> in a single request, but you can't update both in the same request.</p>"
922924
}
@@ -1200,7 +1202,7 @@
12001202
},
12011203
"roleArn":{
12021204
"shape":"IamRoleArn",
1203-
"documentation":"<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>"
1205+
"documentation":"<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Management Guide</p>"
12041206
},
12051207
"schedule":{
12061208
"shape":"Schedule",
@@ -1383,6 +1385,10 @@
13831385
"shape":"Boolean",
13841386
"documentation":"<p>The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.</p>"
13851387
},
1388+
"ipAddressType":{
1389+
"shape":"IpAddressType",
1390+
"documentation":"<p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>"
1391+
},
13861392
"maxCapacity":{
13871393
"shape":"Integer",
13881394
"documentation":"<p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>"
@@ -1999,6 +2005,19 @@
19992005
"documentation":"<p>The provided pagination token is invalid.</p>",
20002006
"exception":true
20012007
},
2008+
"IpAddressType":{
2009+
"type":"string",
2010+
"pattern":"^(ipv4|dualstack)$"
2011+
},
2012+
"Ipv6CidrBlockNotFoundException":{
2013+
"type":"structure",
2014+
"required":["message"],
2015+
"members":{
2016+
"message":{"shape":"String"}
2017+
},
2018+
"documentation":"<p>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.</p>",
2019+
"exception":true
2020+
},
20022021
"KmsKeyId":{"type":"string"},
20032022
"ListCustomDomainAssociationsRequest":{
20042023
"type":"structure",
@@ -2538,6 +2557,10 @@
25382557
"shape":"String",
25392558
"documentation":"<p>The availability Zone.</p>"
25402559
},
2560+
"ipv6Address":{
2561+
"shape":"String",
2562+
"documentation":"<p>The IPv6 address of the network interface within the subnet.</p>"
2563+
},
25412564
"networkInterfaceId":{
25422565
"shape":"String",
25432566
"documentation":"<p>The unique identifier of the network interface.</p>"
@@ -2925,7 +2948,7 @@
29252948
},
29262949
"roleArn":{
29272950
"shape":"IamRoleArn",
2928-
"documentation":"<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>"
2951+
"documentation":"<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Management Guide</p>"
29292952
},
29302953
"schedule":{
29312954
"shape":"Schedule",
@@ -3461,7 +3484,7 @@
34613484
},
34623485
"roleArn":{
34633486
"shape":"IamRoleArn",
3464-
"documentation":"<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>"
3487+
"documentation":"<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Management Guide</p>"
34653488
},
34663489
"schedule":{
34673490
"shape":"Schedule",
@@ -3581,6 +3604,10 @@
35813604
"shape":"Boolean",
35823605
"documentation":"<p>The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.</p>"
35833606
},
3607+
"ipAddressType":{
3608+
"shape":"IpAddressType",
3609+
"documentation":"<p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>"
3610+
},
35843611
"maxCapacity":{
35853612
"shape":"Integer",
35863613
"documentation":"<p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>"
@@ -3777,6 +3804,10 @@
37773804
"shape":"Boolean",
37783805
"documentation":"<p>The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.</p>"
37793806
},
3807+
"ipAddressType":{
3808+
"shape":"IpAddressType",
3809+
"documentation":"<p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>"
3810+
},
37803811
"maxCapacity":{
37813812
"shape":"Integer",
37823813
"documentation":"<p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>"

0 commit comments

Comments
 (0)