@aws-sdk/client-database-migration-service 3.378.0 → 3.382.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 (35) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/DatabaseMigrationService.js +2 -0
  3. package/dist-cjs/commands/DescribeEngineVersionsCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +6 -6
  6. package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +29 -0
  7. package/dist-cjs/pagination/index.js +2 -1
  8. package/dist-cjs/protocols/Aws_json1_1.js +64 -4
  9. package/dist-es/DatabaseMigrationService.js +2 -0
  10. package/dist-es/commands/DescribeEngineVersionsCommand.js +42 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/models/models_0.js +4 -4
  13. package/dist-es/pagination/DescribeEngineVersionsPaginator.js +25 -0
  14. package/dist-es/pagination/index.js +2 -1
  15. package/dist-es/protocols/Aws_json1_1.js +58 -0
  16. package/dist-types/DatabaseMigrationService.d.ts +7 -0
  17. package/dist-types/DatabaseMigrationServiceClient.d.ts +3 -2
  18. package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +88 -0
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/models/models_0.d.ts +1221 -15
  23. package/dist-types/pagination/DescribeEngineVersionsPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +2 -1
  25. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  26. package/dist-types/ts3.4/DatabaseMigrationService.d.ts +17 -0
  27. package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +6 -0
  28. package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +42 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  30. package/dist-types/ts3.4/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +24 -6
  32. package/dist-types/ts3.4/pagination/DescribeEngineVersionsPaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  34. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  35. package/package.json +7 -7
@@ -0,0 +1,88 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { DescribeEngineVersionsMessage, DescribeEngineVersionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeEngineVersionsCommand}.
14
+ */
15
+ export interface DescribeEngineVersionsCommandInput extends DescribeEngineVersionsMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeEngineVersionsCommand}.
21
+ */
22
+ export interface DescribeEngineVersionsCommandOutput extends DescribeEngineVersionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information about the replication instance versions used in the project.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { DatabaseMigrationServiceClient, DescribeEngineVersionsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
31
+ * // const { DatabaseMigrationServiceClient, DescribeEngineVersionsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
32
+ * const client = new DatabaseMigrationServiceClient(config);
33
+ * const input = { // DescribeEngineVersionsMessage
34
+ * MaxRecords: Number("int"),
35
+ * Marker: "STRING_VALUE",
36
+ * };
37
+ * const command = new DescribeEngineVersionsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DescribeEngineVersionsResponse
40
+ * // EngineVersions: [ // EngineVersionList
41
+ * // { // EngineVersion
42
+ * // Version: "STRING_VALUE",
43
+ * // Lifecycle: "STRING_VALUE",
44
+ * // ReleaseStatus: "beta" || "prod",
45
+ * // LaunchDate: new Date("TIMESTAMP"),
46
+ * // AutoUpgradeDate: new Date("TIMESTAMP"),
47
+ * // DeprecationDate: new Date("TIMESTAMP"),
48
+ * // ForceUpgradeDate: new Date("TIMESTAMP"),
49
+ * // AvailableUpgrades: [ // AvailableUpgradesList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // },
53
+ * // ],
54
+ * // Marker: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param DescribeEngineVersionsCommandInput - {@link DescribeEngineVersionsCommandInput}
60
+ * @returns {@link DescribeEngineVersionsCommandOutput}
61
+ * @see {@link DescribeEngineVersionsCommandInput} for command's `input` shape.
62
+ * @see {@link DescribeEngineVersionsCommandOutput} for command's `response` shape.
63
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
64
+ *
65
+ * @throws {@link DatabaseMigrationServiceServiceException}
66
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
67
+ *
68
+ */
69
+ export declare class DescribeEngineVersionsCommand extends $Command<DescribeEngineVersionsCommandInput, DescribeEngineVersionsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
70
+ readonly input: DescribeEngineVersionsCommandInput;
71
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
+ /**
73
+ * @public
74
+ */
75
+ constructor(input: DescribeEngineVersionsCommandInput);
76
+ /**
77
+ * @internal
78
+ */
79
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEngineVersionsCommandInput, DescribeEngineVersionsCommandOutput>;
80
+ /**
81
+ * @internal
82
+ */
83
+ private serialize;
84
+ /**
85
+ * @internal
86
+ */
87
+ private deserialize;
88
+ }
@@ -27,6 +27,7 @@ export * from "./DescribeConnectionsCommand";
27
27
  export * from "./DescribeEndpointSettingsCommand";
28
28
  export * from "./DescribeEndpointTypesCommand";
29
29
  export * from "./DescribeEndpointsCommand";
30
+ export * from "./DescribeEngineVersionsCommand";
30
31
  export * from "./DescribeEventCategoriesCommand";
31
32
  export * from "./DescribeEventSubscriptionsCommand";
32
33
  export * from "./DescribeEventsCommand";
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -14,6 +14,7 @@
14
14
  */
15
15
  export * from "./DatabaseMigrationServiceClient";
16
16
  export * from "./DatabaseMigrationService";
17
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
17
18
  export * from "./commands";
18
19
  export * from "./pagination";
19
20
  export * from "./waiters";