Skip to content

Commit d7ebbc3

Browse files
author
awstools
committed
feat(client-redshift): Adds support for Amazon Redshift DescribeClusterSnapshots API to include Snapshot ARN response field.
1 parent d8d946a commit d7ebbc3

10 files changed

+22
-0
lines changed

clients/client-redshift/src/commands/AuthorizeSnapshotAccessCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export interface AuthorizeSnapshotAccessCommandOutput extends AuthorizeSnapshotA
9797
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
9898
* // MasterPasswordSecretArn: "STRING_VALUE",
9999
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
100+
* // SnapshotArn: "STRING_VALUE",
100101
* // },
101102
* // };
102103
*

clients/client-redshift/src/commands/CopyClusterSnapshotCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export interface CopyClusterSnapshotCommandOutput extends CopyClusterSnapshotRes
103103
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
104104
* // MasterPasswordSecretArn: "STRING_VALUE",
105105
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
106+
* // SnapshotArn: "STRING_VALUE",
106107
* // },
107108
* // };
108109
*

clients/client-redshift/src/commands/CreateClusterSnapshotCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export interface CreateClusterSnapshotCommandOutput extends CreateClusterSnapsho
102102
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
103103
* // MasterPasswordSecretArn: "STRING_VALUE",
104104
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
105+
* // SnapshotArn: "STRING_VALUE",
105106
* // },
106107
* // };
107108
*

clients/client-redshift/src/commands/DeleteClusterSnapshotCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export interface DeleteClusterSnapshotCommandOutput extends DeleteClusterSnapsho
9696
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
9797
* // MasterPasswordSecretArn: "STRING_VALUE",
9898
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
99+
* // SnapshotArn: "STRING_VALUE",
99100
* // },
100101
* // };
101102
*

clients/client-redshift/src/commands/DescribeClusterSnapshotsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export interface DescribeClusterSnapshotsCommandOutput extends SnapshotMessage,
124124
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
125125
* // MasterPasswordSecretArn: "STRING_VALUE",
126126
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
127+
* // SnapshotArn: "STRING_VALUE",
127128
* // },
128129
* // ],
129130
* // };

clients/client-redshift/src/commands/ModifyClusterSnapshotCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export interface ModifyClusterSnapshotCommandOutput extends ModifyClusterSnapsho
9292
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
9393
* // MasterPasswordSecretArn: "STRING_VALUE",
9494
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
95+
* // SnapshotArn: "STRING_VALUE",
9596
* // },
9697
* // };
9798
*

clients/client-redshift/src/commands/RevokeSnapshotAccessCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export interface RevokeSnapshotAccessCommandOutput extends RevokeSnapshotAccessR
9898
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
9999
* // MasterPasswordSecretArn: "STRING_VALUE",
100100
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
101+
* // SnapshotArn: "STRING_VALUE",
101102
* // },
102103
* // };
103104
*

clients/client-redshift/src/models/models_0.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1707,6 +1707,12 @@ export interface Snapshot {
17071707
* @public
17081708
*/
17091709
MasterPasswordSecretKmsKeyId?: string;
1710+
1711+
/**
1712+
* <p>The Amazon Resource Name (ARN) of the snapshot.</p>
1713+
* @public
1714+
*/
1715+
SnapshotArn?: string;
17101716
}
17111717

17121718
/**

clients/client-redshift/src/protocols/Aws_query.ts

+3
Original file line numberDiff line numberDiff line change
@@ -17719,6 +17719,9 @@ const de_Snapshot = (output: any, context: __SerdeContext): Snapshot => {
1771917719
if (output[_MPSKKI] != null) {
1772017720
contents[_MPSKKI] = __expectString(output[_MPSKKI]);
1772117721
}
17722+
if (output[_SA] != null) {
17723+
contents[_SA] = __expectString(output[_SA]);
17724+
}
1772217725
return contents;
1772317726
};
1772417727

codegen/sdk-codegen/aws-models/redshift.json

+6
Original file line numberDiff line numberDiff line change
@@ -17584,6 +17584,12 @@
1758417584
"traits": {
1758517585
"smithy.api#documentation": "<p>The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.</p>"
1758617586
}
17587+
},
17588+
"SnapshotArn": {
17589+
"target": "com.amazonaws.redshift#String",
17590+
"traits": {
17591+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the snapshot.</p>"
17592+
}
1758717593
}
1758817594
},
1758917595
"traits": {

0 commit comments

Comments
 (0)