@aws-sdk/client-docdb 3.477.0 → 3.481.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/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +19 -42
- package/dist-cjs/commands/CreateDBClusterCommand.js +18 -41
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +18 -41
- package/dist-cjs/commands/CreateDBInstanceCommand.js +18 -41
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/CreateGlobalClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteDBClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +18 -41
- package/dist-cjs/commands/DeleteDBInstanceCommand.js +18 -41
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DeleteGlobalClusterCommand.js +18 -41
- package/dist-cjs/commands/DescribeCertificatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBClustersCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBInstancesCommand.js +18 -41
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
- package/dist-cjs/commands/DescribeGlobalClustersCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
- package/dist-cjs/commands/FailoverDBClusterCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ModifyDBClusterCommand.js +18 -41
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
- package/dist-cjs/commands/ModifyDBInstanceCommand.js +18 -41
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +18 -41
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/ModifyGlobalClusterCommand.js +18 -41
- package/dist-cjs/commands/RebootDBInstanceCommand.js +18 -41
- package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +18 -41
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
- package/dist-cjs/commands/StartDBClusterCommand.js +18 -41
- package/dist-cjs/commands/StopDBClusterCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeCertificatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -24
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
- package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +18 -41
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +19 -42
- package/dist-es/commands/CreateDBClusterCommand.js +18 -41
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +18 -41
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +18 -41
- package/dist-es/commands/CreateDBInstanceCommand.js +18 -41
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +18 -41
- package/dist-es/commands/CreateEventSubscriptionCommand.js +18 -41
- package/dist-es/commands/CreateGlobalClusterCommand.js +18 -41
- package/dist-es/commands/DeleteDBClusterCommand.js +18 -41
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +18 -41
- package/dist-es/commands/DeleteDBInstanceCommand.js +18 -41
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +18 -41
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +18 -41
- package/dist-es/commands/DeleteGlobalClusterCommand.js +18 -41
- package/dist-es/commands/DescribeCertificatesCommand.js +18 -41
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +18 -41
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
- package/dist-es/commands/DescribeDBClustersCommand.js +18 -41
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +18 -41
- package/dist-es/commands/DescribeDBInstancesCommand.js +18 -41
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
- package/dist-es/commands/DescribeEventCategoriesCommand.js +18 -41
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +18 -41
- package/dist-es/commands/DescribeEventsCommand.js +18 -41
- package/dist-es/commands/DescribeGlobalClustersCommand.js +18 -41
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
- package/dist-es/commands/FailoverDBClusterCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ModifyDBClusterCommand.js +18 -41
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
- package/dist-es/commands/ModifyDBInstanceCommand.js +18 -41
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +18 -41
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +18 -41
- package/dist-es/commands/ModifyGlobalClusterCommand.js +18 -41
- package/dist-es/commands/RebootDBInstanceCommand.js +18 -41
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +18 -41
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +18 -41
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
- package/dist-es/commands/StartDBClusterCommand.js +18 -41
- package/dist-es/commands/StopDBClusterCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeCertificatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -23
- package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +6 -21
- package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/CreateDBClusterCommand.d.ts +6 -21
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +6 -21
- package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +6 -21
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +6 -21
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +6 -21
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +6 -21
- package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +6 -21
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +6 -21
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +6 -21
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +6 -21
- package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +6 -21
- package/dist-types/commands/StartDBClusterCommand.d.ts +6 -21
- package/dist-types/commands/StopDBClusterCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeCertificatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeGlobalClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RestoreDBClusterFromSnapshotCommand, se_RestoreDBClusterFromSnapshotCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RestoreDBClusterFromSnapshotCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DocDBClient";
|
|
26
|
-
const commandName = "RestoreDBClusterFromSnapshotCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonRDSv19",
|
|
35
|
-
operation: "RestoreDBClusterFromSnapshot",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RestoreDBClusterFromSnapshotCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RestoreDBClusterFromSnapshotCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RestoreDBClusterFromSnapshotCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonRDSv19", "RestoreDBClusterFromSnapshot", {})
|
|
19
|
+
.n("DocDBClient", "RestoreDBClusterFromSnapshotCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RestoreDBClusterFromSnapshotCommand)
|
|
22
|
+
.de(de_RestoreDBClusterFromSnapshotCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RestoreDBClusterToPointInTimeCommand, se_RestoreDBClusterToPointInTimeCommand, } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RestoreDBClusterToPointInTimeCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DocDBClient";
|
|
26
|
-
const commandName = "RestoreDBClusterToPointInTimeCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonRDSv19",
|
|
35
|
-
operation: "RestoreDBClusterToPointInTime",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RestoreDBClusterToPointInTimeCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RestoreDBClusterToPointInTimeCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RestoreDBClusterToPointInTimeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonRDSv19", "RestoreDBClusterToPointInTime", {})
|
|
19
|
+
.n("DocDBClient", "RestoreDBClusterToPointInTimeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RestoreDBClusterToPointInTimeCommand)
|
|
22
|
+
.de(de_RestoreDBClusterToPointInTimeCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartDBClusterCommand, se_StartDBClusterCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartDBClusterCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DocDBClient";
|
|
26
|
-
const commandName = "StartDBClusterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonRDSv19",
|
|
35
|
-
operation: "StartDBCluster",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartDBClusterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartDBClusterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartDBClusterCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonRDSv19", "StartDBCluster", {})
|
|
19
|
+
.n("DocDBClient", "StartDBClusterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartDBClusterCommand)
|
|
22
|
+
.de(de_StartDBClusterCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StopDBClusterCommand, se_StopDBClusterCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopDBClusterCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DocDBClient";
|
|
26
|
-
const commandName = "StopDBClusterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonRDSv19",
|
|
35
|
-
operation: "StopDBCluster",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StopDBClusterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopDBClusterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopDBClusterCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonRDSv19", "StopDBCluster", {})
|
|
19
|
+
.n("DocDBClient", "StopDBClusterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopDBClusterCommand)
|
|
22
|
+
.de(de_StopDBClusterCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "rds",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeCertificatesCommand, } from "../commands/DescribeCertificatesCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeCertificatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeCertificates(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeCertificates = createPaginator(DocDBClient, DescribeCertificatesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBClusterParameterGroupsCommand, } from "../commands/DescribeDBClusterParameterGroupsCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBClusterParameterGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBClusterParameterGroups = createPaginator(DocDBClient, DescribeDBClusterParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBClusterParametersCommand, } from "../commands/DescribeDBClusterParametersCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBClusterParametersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBClusterParameters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBClusterParameters = createPaginator(DocDBClient, DescribeDBClusterParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBClusterSnapshotsCommand, } from "../commands/DescribeDBClusterSnapshotsCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBClusterSnapshots = createPaginator(DocDBClient, DescribeDBClusterSnapshotsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBClustersCommand, } from "../commands/DescribeDBClustersCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBClustersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBClusters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBClusters = createPaginator(DocDBClient, DescribeDBClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBEngineVersionsCommand, } from "../commands/DescribeDBEngineVersionsCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBEngineVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBEngineVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBEngineVersions = createPaginator(DocDBClient, DescribeDBEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBInstancesCommand, } from "../commands/DescribeDBInstancesCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBInstancesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBInstances(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBInstances = createPaginator(DocDBClient, DescribeDBInstancesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBSubnetGroupsCommand, } from "../commands/DescribeDBSubnetGroupsCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBSubnetGroups = createPaginator(DocDBClient, DescribeDBSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventSubscriptionsCommand, } from "../commands/DescribeEventSubscriptionsCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventSubscriptionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEventSubscriptions = createPaginator(DocDBClient, DescribeEventSubscriptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventsCommand, } from "../commands/DescribeEventsCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEvents = createPaginator(DocDBClient, DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeGlobalClustersCommand, } from "../commands/DescribeGlobalClustersCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeGlobalClustersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeGlobalClusters = createPaginator(DocDBClient, DescribeGlobalClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeOrderableDBInstanceOptionsCommand, } from "../commands/DescribeOrderableDBInstanceOptionsCommand";
|
|
2
3
|
import { DocDBClient } from "../DocDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DocDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DocDB | DocDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeOrderableDBInstanceOptions = createPaginator(DocDBClient, DescribeOrderableDBInstanceOptionsCommand, "Marker", "Marker", "MaxRecords");
|