Skip to content

Commit

Permalink
feat(client-redshift): Adds support for Amazon Redshift DescribeClust…
Browse files Browse the repository at this point in the history
…erSnapshots API to include Snapshot ARN response field.
  • Loading branch information
awstools committed Apr 12, 2024
1 parent d8d946a commit d7ebbc3
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export interface AuthorizeSnapshotAccessCommandOutput extends AuthorizeSnapshotA
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
* // MasterPasswordSecretArn: "STRING_VALUE",
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
* // SnapshotArn: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export interface CopyClusterSnapshotCommandOutput extends CopyClusterSnapshotRes
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
* // MasterPasswordSecretArn: "STRING_VALUE",
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
* // SnapshotArn: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export interface CreateClusterSnapshotCommandOutput extends CreateClusterSnapsho
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
* // MasterPasswordSecretArn: "STRING_VALUE",
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
* // SnapshotArn: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export interface DeleteClusterSnapshotCommandOutput extends DeleteClusterSnapsho
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
* // MasterPasswordSecretArn: "STRING_VALUE",
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
* // SnapshotArn: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export interface DescribeClusterSnapshotsCommandOutput extends SnapshotMessage,
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
* // MasterPasswordSecretArn: "STRING_VALUE",
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
* // SnapshotArn: "STRING_VALUE",
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface ModifyClusterSnapshotCommandOutput extends ModifyClusterSnapsho
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
* // MasterPasswordSecretArn: "STRING_VALUE",
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
* // SnapshotArn: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export interface RevokeSnapshotAccessCommandOutput extends RevokeSnapshotAccessR
* // SnapshotRetentionStartTime: new Date("TIMESTAMP"),
* // MasterPasswordSecretArn: "STRING_VALUE",
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
* // SnapshotArn: "STRING_VALUE",
* // },
* // };
*
Expand Down
6 changes: 6 additions & 0 deletions clients/client-redshift/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1707,6 +1707,12 @@ export interface Snapshot {
* @public
*/
MasterPasswordSecretKmsKeyId?: string;

/**
* <p>The Amazon Resource Name (ARN) of the snapshot.</p>
* @public
*/
SnapshotArn?: string;
}

/**
Expand Down
3 changes: 3 additions & 0 deletions clients/client-redshift/src/protocols/Aws_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17719,6 +17719,9 @@ const de_Snapshot = (output: any, context: __SerdeContext): Snapshot => {
if (output[_MPSKKI] != null) {
contents[_MPSKKI] = __expectString(output[_MPSKKI]);
}
if (output[_SA] != null) {
contents[_SA] = __expectString(output[_SA]);
}
return contents;
};

Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/redshift.json
Original file line number Diff line number Diff line change
Expand Up @@ -17584,6 +17584,12 @@
"traits": {
"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>"
}
},
"SnapshotArn": {
"target": "com.amazonaws.redshift#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the snapshot.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit d7ebbc3

Please sign in to comment.