Skip to content

Commit 5c61c92

Browse files
author
AWS
committed
Amazon Redshift Update: This release adds a new --snapshot-arn field for describe-cluster-snapshots, describe-node-configuration-options, restore-from-cluster-snapshot, authorize-snapshot-acsess, and revoke-snapshot-acsess APIs. It allows customers to give a Redshift snapshot ARN or a Redshift Serverless ARN as input.
1 parent 5b31895 commit 5c61c92

File tree

2 files changed

+39
-18
lines changed

2 files changed

+39
-18
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": "Amazon Redshift",
4+
"contributor": "",
5+
"description": "This release adds a new --snapshot-arn field for describe-cluster-snapshots, describe-node-configuration-options, restore-from-cluster-snapshot, authorize-snapshot-acsess, and revoke-snapshot-acsess APIs. It allows customers to give a Redshift snapshot ARN or a Redshift Serverless ARN as input."
6+
}

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

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@
141141
{"shape":"AuthorizationQuotaExceededFault"},
142142
{"shape":"DependentServiceRequestThrottlingFault"},
143143
{"shape":"InvalidClusterSnapshotStateFault"},
144-
{"shape":"LimitExceededFault"}
144+
{"shape":"LimitExceededFault"},
145+
{"shape":"UnsupportedOperationFault"}
145146
],
146147
"documentation":"<p>Authorizes the specified Amazon Web Services account to restore the specified snapshot.</p> <p> For more information about working with snapshots, go to <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html\">Amazon Redshift Snapshots</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>"
147148
},
@@ -907,7 +908,8 @@
907908
"errors":[
908909
{"shape":"ClusterNotFoundFault"},
909910
{"shape":"ClusterSnapshotNotFoundFault"},
910-
{"shape":"InvalidTagFault"}
911+
{"shape":"InvalidTagFault"},
912+
{"shape":"UnsupportedOperationFault"}
911913
],
912914
"documentation":"<p>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.</p> <p>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 <code>owner</code> and <code>environment</code> for tag keys, and <code>admin</code> and <code>test</code> 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.</p> <p>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.</p>"
913915
},
@@ -1179,7 +1181,8 @@
11791181
{"shape":"ClusterSnapshotNotFoundFault"},
11801182
{"shape":"InvalidClusterSnapshotStateFault"},
11811183
{"shape":"ClusterNotFoundFault"},
1182-
{"shape":"AccessToSnapshotDeniedFault"}
1184+
{"shape":"AccessToSnapshotDeniedFault"},
1185+
{"shape":"UnsupportedOperationFault"}
11831186
],
11841187
"documentation":"<p>Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.</p>"
11851188
},
@@ -2141,7 +2144,8 @@
21412144
"errors":[
21422145
{"shape":"AccessToSnapshotDeniedFault"},
21432146
{"shape":"AuthorizationNotFoundFault"},
2144-
{"shape":"ClusterSnapshotNotFoundFault"}
2147+
{"shape":"ClusterSnapshotNotFoundFault"},
2148+
{"shape":"UnsupportedOperationFault"}
21452149
],
21462150
"documentation":"<p>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.</p> <p> For more information about working with snapshots, go to <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html\">Amazon Redshift Snapshots</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>"
21472151
},
@@ -2543,15 +2547,16 @@
25432547
},
25442548
"AuthorizeSnapshotAccessMessage":{
25452549
"type":"structure",
2546-
"required":[
2547-
"SnapshotIdentifier",
2548-
"AccountWithRestoreAccess"
2549-
],
2550+
"required":["AccountWithRestoreAccess"],
25502551
"members":{
25512552
"SnapshotIdentifier":{
25522553
"shape":"String",
25532554
"documentation":"<p>The identifier of the snapshot the account is authorized to restore.</p>"
25542555
},
2556+
"SnapshotArn":{
2557+
"shape":"String",
2558+
"documentation":"<p>The Amazon Resource Name (ARN) of the snapshot to authorize access to.</p>"
2559+
},
25552560
"SnapshotClusterIdentifier":{
25562561
"shape":"String",
25572562
"documentation":"<p>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.</p>"
@@ -3759,7 +3764,7 @@
37593764
},
37603765
"ElasticIp":{
37613766
"shape":"String",
3762-
"documentation":"<p>The Elastic IP (EIP) address for the cluster.</p> <p>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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#cluster-platforms\">Supported Platforms to Launch Your Cluster</a> in the Amazon Redshift Cluster Management Guide.</p>"
3767+
"documentation":"<p>The Elastic IP (EIP) address for the cluster. You don't have to specify the EIP for a publicly accessible cluster with AvailabilityZoneRelocation turned on.</p> <p>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 <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#cluster-platforms\">Supported Platforms to Launch Your Cluster</a> in the Amazon Redshift Cluster Management Guide.</p>"
37633768
},
37643769
"Tags":{
37653770
"shape":"TagList",
@@ -4803,6 +4808,10 @@
48034808
"shape":"String",
48044809
"documentation":"<p>The snapshot identifier of the snapshot about which to return information.</p>"
48054810
},
4811+
"SnapshotArn":{
4812+
"shape":"String",
4813+
"documentation":"<p>The Amazon Resource Name (ARN) of the snapshot associated with the message to describe cluster snapshots.</p>"
4814+
},
48064815
"SnapshotType":{
48074816
"shape":"String",
48084817
"documentation":"<p>The type of snapshots for which you are requesting information. By default, snapshots of all types are returned.</p> <p>Valid Values: <code>automated</code> | <code>manual</code> </p>"
@@ -5263,6 +5272,10 @@
52635272
"shape":"String",
52645273
"documentation":"<p>The identifier of the snapshot to evaluate for possible node configurations.</p>"
52655274
},
5275+
"SnapshotArn":{
5276+
"shape":"String",
5277+
"documentation":"<p>The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.</p>"
5278+
},
52665279
"OwnerAccount":{
52675280
"shape":"String",
52685281
"documentation":"<p>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.</p>"
@@ -8546,10 +8559,7 @@
85468559
},
85478560
"RestoreFromClusterSnapshotMessage":{
85488561
"type":"structure",
8549-
"required":[
8550-
"ClusterIdentifier",
8551-
"SnapshotIdentifier"
8552-
],
8562+
"required":["ClusterIdentifier"],
85538563
"members":{
85548564
"ClusterIdentifier":{
85558565
"shape":"String",
@@ -8559,6 +8569,10 @@
85598569
"shape":"String",
85608570
"documentation":"<p>The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive.</p> <p>Example: <code>my-snapshot-id</code> </p>"
85618571
},
8572+
"SnapshotArn":{
8573+
"shape":"String",
8574+
"documentation":"<p>The Amazon Resource Name (ARN) of the snapshot associated with the message to restore from a cluster.</p>"
8575+
},
85628576
"SnapshotClusterIdentifier":{
85638577
"shape":"String",
85648578
"documentation":"<p>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.</p>"
@@ -8597,7 +8611,7 @@
85978611
},
85988612
"ElasticIp":{
85998613
"shape":"String",
8600-
"documentation":"<p>The elastic IP (EIP) address for the cluster.</p>"
8614+
"documentation":"<p>The elastic IP (EIP) address for the cluster. You don't have to specify the EIP for a publicly accessible cluster with AvailabilityZoneRelocation turned on.</p>"
86018615
},
86028616
"ClusterParameterGroupName":{
86038617
"shape":"String",
@@ -8867,15 +8881,16 @@
88678881
},
88688882
"RevokeSnapshotAccessMessage":{
88698883
"type":"structure",
8870-
"required":[
8871-
"SnapshotIdentifier",
8872-
"AccountWithRestoreAccess"
8873-
],
8884+
"required":["AccountWithRestoreAccess"],
88748885
"members":{
88758886
"SnapshotIdentifier":{
88768887
"shape":"String",
88778888
"documentation":"<p>The identifier of the snapshot that the account can no longer access.</p>"
88788889
},
8890+
"SnapshotArn":{
8891+
"shape":"String",
8892+
"documentation":"<p>The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.</p>"
8893+
},
88798894
"SnapshotClusterIdentifier":{
88808895
"shape":"String",
88818896
"documentation":"<p>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.</p>"

0 commit comments

Comments
 (0)