@aws-sdk/client-redshift 3.451.0 → 3.452.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_query.js +9 -0
- package/dist-es/protocols/Aws_query.js +9 -0
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +4 -0
- package/dist-types/commands/ModifyCustomDomainAssociationCommand.d.ts +5 -2
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2972,6 +2972,9 @@ const de_DeleteCustomDomainAssociationCommandError = async (output, context) =>
|
|
|
2972
2972
|
case "CustomCnameAssociationFault":
|
|
2973
2973
|
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
2974
2974
|
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
2975
|
+
case "CustomDomainAssociationNotFoundFault":
|
|
2976
|
+
case "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault":
|
|
2977
|
+
throw await de_CustomDomainAssociationNotFoundFaultRes(parsedOutput, context);
|
|
2975
2978
|
case "UnsupportedOperation":
|
|
2976
2979
|
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2977
2980
|
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
@@ -5684,6 +5687,9 @@ const de_ModifyCustomDomainAssociationCommandError = async (output, context) =>
|
|
|
5684
5687
|
case "CustomCnameAssociationFault":
|
|
5685
5688
|
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
5686
5689
|
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
5690
|
+
case "CustomDomainAssociationNotFoundFault":
|
|
5691
|
+
case "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault":
|
|
5692
|
+
throw await de_CustomDomainAssociationNotFoundFaultRes(parsedOutput, context);
|
|
5687
5693
|
case "UnsupportedOperation":
|
|
5688
5694
|
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5689
5695
|
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
@@ -8695,6 +8701,9 @@ const se_DeleteCustomDomainAssociationMessage = (input, context) => {
|
|
|
8695
8701
|
if (input.ClusterIdentifier != null) {
|
|
8696
8702
|
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
8697
8703
|
}
|
|
8704
|
+
if (input.CustomDomainName != null) {
|
|
8705
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
8706
|
+
}
|
|
8698
8707
|
return entries;
|
|
8699
8708
|
};
|
|
8700
8709
|
const se_DeleteEndpointAccessMessage = (input, context) => {
|
|
@@ -2801,6 +2801,9 @@ const de_DeleteCustomDomainAssociationCommandError = async (output, context) =>
|
|
|
2801
2801
|
case "CustomCnameAssociationFault":
|
|
2802
2802
|
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
2803
2803
|
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
2804
|
+
case "CustomDomainAssociationNotFoundFault":
|
|
2805
|
+
case "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault":
|
|
2806
|
+
throw await de_CustomDomainAssociationNotFoundFaultRes(parsedOutput, context);
|
|
2804
2807
|
case "UnsupportedOperation":
|
|
2805
2808
|
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2806
2809
|
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
@@ -5441,6 +5444,9 @@ const de_ModifyCustomDomainAssociationCommandError = async (output, context) =>
|
|
|
5441
5444
|
case "CustomCnameAssociationFault":
|
|
5442
5445
|
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
5443
5446
|
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
5447
|
+
case "CustomDomainAssociationNotFoundFault":
|
|
5448
|
+
case "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault":
|
|
5449
|
+
throw await de_CustomDomainAssociationNotFoundFaultRes(parsedOutput, context);
|
|
5444
5450
|
case "UnsupportedOperation":
|
|
5445
5451
|
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5446
5452
|
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
@@ -8431,6 +8437,9 @@ const se_DeleteCustomDomainAssociationMessage = (input, context) => {
|
|
|
8431
8437
|
if (input.ClusterIdentifier != null) {
|
|
8432
8438
|
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
8433
8439
|
}
|
|
8440
|
+
if (input.CustomDomainName != null) {
|
|
8441
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
8442
|
+
}
|
|
8434
8443
|
return entries;
|
|
8435
8444
|
};
|
|
8436
8445
|
const se_DeleteEndpointAccessMessage = (input, context) => {
|
|
@@ -32,6 +32,7 @@ export interface DeleteCustomDomainAssociationCommandOutput extends __MetadataBe
|
|
|
32
32
|
* const client = new RedshiftClient(config);
|
|
33
33
|
* const input = { // DeleteCustomDomainAssociationMessage
|
|
34
34
|
* ClusterIdentifier: "STRING_VALUE", // required
|
|
35
|
+
* CustomDomainName: "STRING_VALUE", // required
|
|
35
36
|
* };
|
|
36
37
|
* const command = new DeleteCustomDomainAssociationCommand(input);
|
|
37
38
|
* const response = await client.send(command);
|
|
@@ -52,6 +53,9 @@ export interface DeleteCustomDomainAssociationCommandOutput extends __MetadataBe
|
|
|
52
53
|
* @throws {@link CustomCnameAssociationFault} (client fault)
|
|
53
54
|
* <p>An error occurred when an attempt was made to change the custom domain association.</p>
|
|
54
55
|
*
|
|
56
|
+
* @throws {@link CustomDomainAssociationNotFoundFault} (client fault)
|
|
57
|
+
* <p>An error occurred. The custom domain name couldn't be found.</p>
|
|
58
|
+
*
|
|
55
59
|
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
56
60
|
* <p>The requested operation isn't supported.</p>
|
|
57
61
|
*
|
|
@@ -31,8 +31,8 @@ export interface ModifyCustomDomainAssociationCommandOutput extends ModifyCustom
|
|
|
31
31
|
* // const { RedshiftClient, ModifyCustomDomainAssociationCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
32
32
|
* const client = new RedshiftClient(config);
|
|
33
33
|
* const input = { // ModifyCustomDomainAssociationMessage
|
|
34
|
-
* CustomDomainName: "STRING_VALUE",
|
|
35
|
-
* CustomDomainCertificateArn: "STRING_VALUE",
|
|
34
|
+
* CustomDomainName: "STRING_VALUE", // required
|
|
35
|
+
* CustomDomainCertificateArn: "STRING_VALUE", // required
|
|
36
36
|
* ClusterIdentifier: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ModifyCustomDomainAssociationCommand(input);
|
|
@@ -59,6 +59,9 @@ export interface ModifyCustomDomainAssociationCommandOutput extends ModifyCustom
|
|
|
59
59
|
* @throws {@link CustomCnameAssociationFault} (client fault)
|
|
60
60
|
* <p>An error occurred when an attempt was made to change the custom domain association.</p>
|
|
61
61
|
*
|
|
62
|
+
* @throws {@link CustomDomainAssociationNotFoundFault} (client fault)
|
|
63
|
+
* <p>An error occurred. The custom domain name couldn't be found.</p>
|
|
64
|
+
*
|
|
62
65
|
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
63
66
|
* <p>The requested operation isn't supported.</p>
|
|
64
67
|
*
|
|
@@ -6053,6 +6053,11 @@ export interface DeleteCustomDomainAssociationMessage {
|
|
|
6053
6053
|
* <p>The identifier of the cluster to delete a custom domain association for.</p>
|
|
6054
6054
|
*/
|
|
6055
6055
|
ClusterIdentifier: string | undefined;
|
|
6056
|
+
/**
|
|
6057
|
+
* @public
|
|
6058
|
+
* <p>The custom domain name for the custom domain association.</p>
|
|
6059
|
+
*/
|
|
6060
|
+
CustomDomainName: string | undefined;
|
|
6056
6061
|
}
|
|
6057
6062
|
/**
|
|
6058
6063
|
* @public
|
|
@@ -3270,12 +3270,12 @@ export interface ModifyCustomDomainAssociationMessage {
|
|
|
3270
3270
|
* @public
|
|
3271
3271
|
* <p>The custom domain name for a changed custom domain association.</p>
|
|
3272
3272
|
*/
|
|
3273
|
-
CustomDomainName
|
|
3273
|
+
CustomDomainName: string | undefined;
|
|
3274
3274
|
/**
|
|
3275
3275
|
* @public
|
|
3276
3276
|
* <p>The certificate Amazon Resource Name (ARN) for the changed custom domain association.</p>
|
|
3277
3277
|
*/
|
|
3278
|
-
CustomDomainCertificateArn
|
|
3278
|
+
CustomDomainCertificateArn: string | undefined;
|
|
3279
3279
|
/**
|
|
3280
3280
|
* @public
|
|
3281
3281
|
* <p>The identifier of the cluster to change a custom domain association for.</p>
|
|
@@ -1796,6 +1796,7 @@ export declare class InvalidClusterSubnetStateFault extends __BaseException {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
export interface DeleteCustomDomainAssociationMessage {
|
|
1798
1798
|
ClusterIdentifier: string | undefined;
|
|
1799
|
+
CustomDomainName: string | undefined;
|
|
1799
1800
|
}
|
|
1800
1801
|
export interface DeleteEndpointAccessMessage {
|
|
1801
1802
|
EndpointName: string | undefined;
|
|
@@ -751,8 +751,8 @@ export declare class SubnetAlreadyInUse extends __BaseException {
|
|
|
751
751
|
constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
|
|
752
752
|
}
|
|
753
753
|
export interface ModifyCustomDomainAssociationMessage {
|
|
754
|
-
CustomDomainName
|
|
755
|
-
CustomDomainCertificateArn
|
|
754
|
+
CustomDomainName: string | undefined;
|
|
755
|
+
CustomDomainCertificateArn: string | undefined;
|
|
756
756
|
ClusterIdentifier: string | undefined;
|
|
757
757
|
}
|
|
758
758
|
export interface ModifyCustomDomainAssociationResult {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.452.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|