@aws-sdk/client-rds 3.216.0 → 3.218.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.
Files changed (63) hide show
  1. package/dist-cjs/RDS.js +60 -0
  2. package/dist-cjs/commands/CreateBlueGreenDeploymentCommand.js +46 -0
  3. package/dist-cjs/commands/DeleteBlueGreenDeploymentCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeBlueGreenDeploymentsCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeDBProxyTargetGroupsCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeDBProxyTargetsCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeDBSecurityGroupsCommand.js +3 -3
  8. package/dist-cjs/commands/SwitchoverBlueGreenDeploymentCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +4 -0
  10. package/dist-cjs/endpoint/ruleset.js +1 -1
  11. package/dist-cjs/models/models_0.js +150 -115
  12. package/dist-cjs/models/models_1.js +78 -4
  13. package/dist-cjs/pagination/DescribeBlueGreenDeploymentsPaginator.js +36 -0
  14. package/dist-cjs/pagination/index.js +2 -1
  15. package/dist-cjs/protocols/Aws_query.js +544 -6
  16. package/dist-es/RDS.js +60 -0
  17. package/dist-es/commands/CreateBlueGreenDeploymentCommand.js +42 -0
  18. package/dist-es/commands/DeleteBlueGreenDeploymentCommand.js +42 -0
  19. package/dist-es/commands/DescribeBlueGreenDeploymentsCommand.js +42 -0
  20. package/dist-es/commands/DescribeDBProxyTargetGroupsCommand.js +1 -1
  21. package/dist-es/commands/DescribeDBProxyTargetsCommand.js +1 -1
  22. package/dist-es/commands/DescribeDBSecurityGroupsCommand.js +1 -1
  23. package/dist-es/commands/SwitchoverBlueGreenDeploymentCommand.js +42 -0
  24. package/dist-es/commands/index.js +4 -0
  25. package/dist-es/endpoint/ruleset.js +1 -1
  26. package/dist-es/models/models_0.js +126 -95
  27. package/dist-es/models/models_1.js +62 -0
  28. package/dist-es/pagination/DescribeBlueGreenDeploymentsPaginator.js +32 -0
  29. package/dist-es/pagination/index.js +2 -1
  30. package/dist-es/protocols/Aws_query.js +531 -1
  31. package/dist-types/RDS.d.ts +59 -0
  32. package/dist-types/RDSClient.d.ts +6 -2
  33. package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +51 -0
  34. package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +42 -0
  35. package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +42 -0
  36. package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  39. package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +44 -0
  40. package/dist-types/commands/index.d.ts +4 -0
  41. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  42. package/dist-types/models/models_0.d.ts +516 -431
  43. package/dist-types/models/models_1.d.ts +370 -1
  44. package/dist-types/pagination/DescribeBlueGreenDeploymentsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +2 -1
  46. package/dist-types/protocols/Aws_query.d.ts +12 -0
  47. package/dist-types/ts3.4/RDS.d.ts +68 -0
  48. package/dist-types/ts3.4/RDSClient.d.ts +24 -0
  49. package/dist-types/ts3.4/commands/CreateBlueGreenDeploymentCommand.d.ts +41 -0
  50. package/dist-types/ts3.4/commands/DeleteBlueGreenDeploymentCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/DescribeBlueGreenDeploymentsCommand.d.ts +41 -0
  52. package/dist-types/ts3.4/commands/DescribeDBProxyTargetGroupsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeDBProxyTargetsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +41 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  57. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  58. package/dist-types/ts3.4/models/models_0.d.ts +153 -143
  59. package/dist-types/ts3.4/models/models_1.d.ts +128 -2
  60. package/dist-types/ts3.4/pagination/DescribeBlueGreenDeploymentsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  62. package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
  63. package/package.json +3 -3
@@ -95,6 +95,10 @@ import {
95
95
  CopyOptionGroupCommandInput,
96
96
  CopyOptionGroupCommandOutput,
97
97
  } from "./commands/CopyOptionGroupCommand";
98
+ import {
99
+ CreateBlueGreenDeploymentCommandInput,
100
+ CreateBlueGreenDeploymentCommandOutput,
101
+ } from "./commands/CreateBlueGreenDeploymentCommand";
98
102
  import {
99
103
  CreateCustomDBEngineVersionCommandInput,
100
104
  CreateCustomDBEngineVersionCommandOutput,
@@ -159,6 +163,10 @@ import {
159
163
  CreateOptionGroupCommandInput,
160
164
  CreateOptionGroupCommandOutput,
161
165
  } from "./commands/CreateOptionGroupCommand";
166
+ import {
167
+ DeleteBlueGreenDeploymentCommandInput,
168
+ DeleteBlueGreenDeploymentCommandOutput,
169
+ } from "./commands/DeleteBlueGreenDeploymentCommand";
162
170
  import {
163
171
  DeleteCustomDBEngineVersionCommandInput,
164
172
  DeleteCustomDBEngineVersionCommandOutput,
@@ -231,6 +239,10 @@ import {
231
239
  DescribeAccountAttributesCommandInput,
232
240
  DescribeAccountAttributesCommandOutput,
233
241
  } from "./commands/DescribeAccountAttributesCommand";
242
+ import {
243
+ DescribeBlueGreenDeploymentsCommandInput,
244
+ DescribeBlueGreenDeploymentsCommandOutput,
245
+ } from "./commands/DescribeBlueGreenDeploymentsCommand";
234
246
  import {
235
247
  DescribeCertificatesCommandInput,
236
248
  DescribeCertificatesCommandOutput,
@@ -587,6 +599,10 @@ import {
587
599
  StopDBInstanceCommandInput,
588
600
  StopDBInstanceCommandOutput,
589
601
  } from "./commands/StopDBInstanceCommand";
602
+ import {
603
+ SwitchoverBlueGreenDeploymentCommandInput,
604
+ SwitchoverBlueGreenDeploymentCommandOutput,
605
+ } from "./commands/SwitchoverBlueGreenDeploymentCommand";
590
606
  import {
591
607
  SwitchoverReadReplicaCommandInput,
592
608
  SwitchoverReadReplicaCommandOutput,
@@ -610,6 +626,7 @@ export declare type ServiceInputTypes =
610
626
  | CopyDBParameterGroupCommandInput
611
627
  | CopyDBSnapshotCommandInput
612
628
  | CopyOptionGroupCommandInput
629
+ | CreateBlueGreenDeploymentCommandInput
613
630
  | CreateCustomDBEngineVersionCommandInput
614
631
  | CreateDBClusterCommandInput
615
632
  | CreateDBClusterEndpointCommandInput
@@ -626,6 +643,7 @@ export declare type ServiceInputTypes =
626
643
  | CreateEventSubscriptionCommandInput
627
644
  | CreateGlobalClusterCommandInput
628
645
  | CreateOptionGroupCommandInput
646
+ | DeleteBlueGreenDeploymentCommandInput
629
647
  | DeleteCustomDBEngineVersionCommandInput
630
648
  | DeleteDBClusterCommandInput
631
649
  | DeleteDBClusterEndpointCommandInput
@@ -644,6 +662,7 @@ export declare type ServiceInputTypes =
644
662
  | DeleteOptionGroupCommandInput
645
663
  | DeregisterDBProxyTargetsCommandInput
646
664
  | DescribeAccountAttributesCommandInput
665
+ | DescribeBlueGreenDeploymentsCommandInput
647
666
  | DescribeCertificatesCommandInput
648
667
  | DescribeDBClusterBacktracksCommandInput
649
668
  | DescribeDBClusterEndpointsCommandInput
@@ -733,6 +752,7 @@ export declare type ServiceInputTypes =
733
752
  | StopDBClusterCommandInput
734
753
  | StopDBInstanceAutomatedBackupsReplicationCommandInput
735
754
  | StopDBInstanceCommandInput
755
+ | SwitchoverBlueGreenDeploymentCommandInput
736
756
  | SwitchoverReadReplicaCommandInput;
737
757
  export declare type ServiceOutputTypes =
738
758
  | AddRoleToDBClusterCommandOutput
@@ -748,6 +768,7 @@ export declare type ServiceOutputTypes =
748
768
  | CopyDBParameterGroupCommandOutput
749
769
  | CopyDBSnapshotCommandOutput
750
770
  | CopyOptionGroupCommandOutput
771
+ | CreateBlueGreenDeploymentCommandOutput
751
772
  | CreateCustomDBEngineVersionCommandOutput
752
773
  | CreateDBClusterCommandOutput
753
774
  | CreateDBClusterEndpointCommandOutput
@@ -764,6 +785,7 @@ export declare type ServiceOutputTypes =
764
785
  | CreateEventSubscriptionCommandOutput
765
786
  | CreateGlobalClusterCommandOutput
766
787
  | CreateOptionGroupCommandOutput
788
+ | DeleteBlueGreenDeploymentCommandOutput
767
789
  | DeleteCustomDBEngineVersionCommandOutput
768
790
  | DeleteDBClusterCommandOutput
769
791
  | DeleteDBClusterEndpointCommandOutput
@@ -782,6 +804,7 @@ export declare type ServiceOutputTypes =
782
804
  | DeleteOptionGroupCommandOutput
783
805
  | DeregisterDBProxyTargetsCommandOutput
784
806
  | DescribeAccountAttributesCommandOutput
807
+ | DescribeBlueGreenDeploymentsCommandOutput
785
808
  | DescribeCertificatesCommandOutput
786
809
  | DescribeDBClusterBacktracksCommandOutput
787
810
  | DescribeDBClusterEndpointsCommandOutput
@@ -871,6 +894,7 @@ export declare type ServiceOutputTypes =
871
894
  | StopDBClusterCommandOutput
872
895
  | StopDBInstanceAutomatedBackupsReplicationCommandOutput
873
896
  | StopDBInstanceCommandOutput
897
+ | SwitchoverBlueGreenDeploymentCommandOutput
874
898
  | SwitchoverReadReplicaCommandOutput;
875
899
  export interface ClientDefaults
876
900
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CreateBlueGreenDeploymentRequest,
11
+ CreateBlueGreenDeploymentResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RDSClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RDSClient";
18
+ export interface CreateBlueGreenDeploymentCommandInput
19
+ extends CreateBlueGreenDeploymentRequest {}
20
+ export interface CreateBlueGreenDeploymentCommandOutput
21
+ extends CreateBlueGreenDeploymentResponse,
22
+ __MetadataBearer {}
23
+ export declare class CreateBlueGreenDeploymentCommand extends $Command<
24
+ CreateBlueGreenDeploymentCommandInput,
25
+ CreateBlueGreenDeploymentCommandOutput,
26
+ RDSClientResolvedConfig
27
+ > {
28
+ readonly input: CreateBlueGreenDeploymentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateBlueGreenDeploymentCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: RDSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CreateBlueGreenDeploymentCommandInput,
37
+ CreateBlueGreenDeploymentCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DeleteBlueGreenDeploymentRequest,
11
+ DeleteBlueGreenDeploymentResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RDSClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RDSClient";
18
+ export interface DeleteBlueGreenDeploymentCommandInput
19
+ extends DeleteBlueGreenDeploymentRequest {}
20
+ export interface DeleteBlueGreenDeploymentCommandOutput
21
+ extends DeleteBlueGreenDeploymentResponse,
22
+ __MetadataBearer {}
23
+ export declare class DeleteBlueGreenDeploymentCommand extends $Command<
24
+ DeleteBlueGreenDeploymentCommandInput,
25
+ DeleteBlueGreenDeploymentCommandOutput,
26
+ RDSClientResolvedConfig
27
+ > {
28
+ readonly input: DeleteBlueGreenDeploymentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteBlueGreenDeploymentCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: RDSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DeleteBlueGreenDeploymentCommandInput,
37
+ DeleteBlueGreenDeploymentCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DescribeBlueGreenDeploymentsRequest,
11
+ DescribeBlueGreenDeploymentsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RDSClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RDSClient";
18
+ export interface DescribeBlueGreenDeploymentsCommandInput
19
+ extends DescribeBlueGreenDeploymentsRequest {}
20
+ export interface DescribeBlueGreenDeploymentsCommandOutput
21
+ extends DescribeBlueGreenDeploymentsResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeBlueGreenDeploymentsCommand extends $Command<
24
+ DescribeBlueGreenDeploymentsCommandInput,
25
+ DescribeBlueGreenDeploymentsCommandOutput,
26
+ RDSClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeBlueGreenDeploymentsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeBlueGreenDeploymentsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: RDSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeBlueGreenDeploymentsCommandInput,
37
+ DescribeBlueGreenDeploymentsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  DescribeDBProxyTargetGroupsRequest,
11
11
  DescribeDBProxyTargetGroupsResponse,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  RDSClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  DescribeDBProxyTargetsRequest,
11
11
  DescribeDBProxyTargetsResponse,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  RDSClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  DBSecurityGroupMessage,
11
11
  DescribeDBSecurityGroupsMessage,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  RDSClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ SwitchoverBlueGreenDeploymentRequest,
11
+ SwitchoverBlueGreenDeploymentResponse,
12
+ } from "../models/models_1";
13
+ import {
14
+ RDSClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RDSClient";
18
+ export interface SwitchoverBlueGreenDeploymentCommandInput
19
+ extends SwitchoverBlueGreenDeploymentRequest {}
20
+ export interface SwitchoverBlueGreenDeploymentCommandOutput
21
+ extends SwitchoverBlueGreenDeploymentResponse,
22
+ __MetadataBearer {}
23
+ export declare class SwitchoverBlueGreenDeploymentCommand extends $Command<
24
+ SwitchoverBlueGreenDeploymentCommandInput,
25
+ SwitchoverBlueGreenDeploymentCommandOutput,
26
+ RDSClientResolvedConfig
27
+ > {
28
+ readonly input: SwitchoverBlueGreenDeploymentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: SwitchoverBlueGreenDeploymentCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: RDSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ SwitchoverBlueGreenDeploymentCommandInput,
37
+ SwitchoverBlueGreenDeploymentCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -11,6 +11,7 @@ export * from "./CopyDBClusterSnapshotCommand";
11
11
  export * from "./CopyDBParameterGroupCommand";
12
12
  export * from "./CopyDBSnapshotCommand";
13
13
  export * from "./CopyOptionGroupCommand";
14
+ export * from "./CreateBlueGreenDeploymentCommand";
14
15
  export * from "./CreateCustomDBEngineVersionCommand";
15
16
  export * from "./CreateDBClusterCommand";
16
17
  export * from "./CreateDBClusterEndpointCommand";
@@ -27,6 +28,7 @@ export * from "./CreateDBSubnetGroupCommand";
27
28
  export * from "./CreateEventSubscriptionCommand";
28
29
  export * from "./CreateGlobalClusterCommand";
29
30
  export * from "./CreateOptionGroupCommand";
31
+ export * from "./DeleteBlueGreenDeploymentCommand";
30
32
  export * from "./DeleteCustomDBEngineVersionCommand";
31
33
  export * from "./DeleteDBClusterCommand";
32
34
  export * from "./DeleteDBClusterEndpointCommand";
@@ -45,6 +47,7 @@ export * from "./DeleteGlobalClusterCommand";
45
47
  export * from "./DeleteOptionGroupCommand";
46
48
  export * from "./DeregisterDBProxyTargetsCommand";
47
49
  export * from "./DescribeAccountAttributesCommand";
50
+ export * from "./DescribeBlueGreenDeploymentsCommand";
48
51
  export * from "./DescribeCertificatesCommand";
49
52
  export * from "./DescribeDBClusterBacktracksCommand";
50
53
  export * from "./DescribeDBClusterEndpointsCommand";
@@ -134,4 +137,5 @@ export * from "./StopActivityStreamCommand";
134
137
  export * from "./StopDBClusterCommand";
135
138
  export * from "./StopDBInstanceAutomatedBackupsReplicationCommand";
136
139
  export * from "./StopDBInstanceCommand";
140
+ export * from "./SwitchoverBlueGreenDeploymentCommand";
137
141
  export * from "./SwitchoverReadReplicaCommand";
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;