@aws-sdk/client-redshift 3.450.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.
@@ -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?: string;
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?: string;
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?: string;
755
- CustomDomainCertificateArn?: string;
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.450.0",
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",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.450.0",
25
- "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.450.0",
27
- "@aws-sdk/middleware-host-header": "3.449.0",
28
- "@aws-sdk/middleware-logger": "3.449.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.449.0",
30
- "@aws-sdk/middleware-signing": "3.449.0",
31
- "@aws-sdk/middleware-user-agent": "3.449.0",
32
- "@aws-sdk/region-config-resolver": "3.433.0",
33
- "@aws-sdk/types": "3.449.0",
34
- "@aws-sdk/util-endpoints": "3.449.0",
35
- "@aws-sdk/util-user-agent-browser": "3.449.0",
36
- "@aws-sdk/util-user-agent-node": "3.449.0",
37
- "@smithy/config-resolver": "^2.0.16",
38
- "@smithy/fetch-http-handler": "^2.2.4",
39
- "@smithy/hash-node": "^2.0.12",
40
- "@smithy/invalid-dependency": "^2.0.12",
41
- "@smithy/middleware-content-length": "^2.0.14",
42
- "@smithy/middleware-endpoint": "^2.1.3",
43
- "@smithy/middleware-retry": "^2.0.18",
44
- "@smithy/middleware-serde": "^2.0.12",
45
- "@smithy/middleware-stack": "^2.0.6",
46
- "@smithy/node-config-provider": "^2.1.3",
47
- "@smithy/node-http-handler": "^2.1.8",
48
- "@smithy/protocol-http": "^3.0.8",
49
- "@smithy/smithy-client": "^2.1.12",
50
- "@smithy/types": "^2.4.0",
51
- "@smithy/url-parser": "^2.0.12",
52
- "@smithy/util-base64": "^2.0.0",
24
+ "@aws-sdk/client-sts": "3.451.0",
25
+ "@aws-sdk/core": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.451.0",
27
+ "@aws-sdk/middleware-host-header": "3.451.0",
28
+ "@aws-sdk/middleware-logger": "3.451.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.451.0",
30
+ "@aws-sdk/middleware-signing": "3.451.0",
31
+ "@aws-sdk/middleware-user-agent": "3.451.0",
32
+ "@aws-sdk/region-config-resolver": "3.451.0",
33
+ "@aws-sdk/types": "3.451.0",
34
+ "@aws-sdk/util-endpoints": "3.451.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.451.0",
36
+ "@aws-sdk/util-user-agent-node": "3.451.0",
37
+ "@smithy/config-resolver": "^2.0.18",
38
+ "@smithy/fetch-http-handler": "^2.2.6",
39
+ "@smithy/hash-node": "^2.0.15",
40
+ "@smithy/invalid-dependency": "^2.0.13",
41
+ "@smithy/middleware-content-length": "^2.0.15",
42
+ "@smithy/middleware-endpoint": "^2.2.0",
43
+ "@smithy/middleware-retry": "^2.0.20",
44
+ "@smithy/middleware-serde": "^2.0.13",
45
+ "@smithy/middleware-stack": "^2.0.7",
46
+ "@smithy/node-config-provider": "^2.1.5",
47
+ "@smithy/node-http-handler": "^2.1.9",
48
+ "@smithy/protocol-http": "^3.0.9",
49
+ "@smithy/smithy-client": "^2.1.15",
50
+ "@smithy/types": "^2.5.0",
51
+ "@smithy/url-parser": "^2.0.13",
52
+ "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.16",
56
- "@smithy/util-defaults-mode-node": "^2.0.21",
57
- "@smithy/util-endpoints": "^1.0.2",
58
- "@smithy/util-retry": "^2.0.5",
59
- "@smithy/util-utf8": "^2.0.0",
60
- "@smithy/util-waiter": "^2.0.12",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.25",
57
+ "@smithy/util-endpoints": "^1.0.4",
58
+ "@smithy/util-retry": "^2.0.6",
59
+ "@smithy/util-utf8": "^2.0.2",
60
+ "@smithy/util-waiter": "^2.0.13",
61
61
  "fast-xml-parser": "4.2.5",
62
62
  "tslib": "^2.5.0"
63
63
  },