@aws-sdk/client-neptune 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/Neptune.js +0 -21
- package/dist-cjs/NeptuneClient.js +0 -26
- package/dist-cjs/commands/AddRoleToDBClusterCommand.js +0 -26
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -27
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +0 -25
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +0 -28
- package/dist-cjs/commands/CopyDBParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/CreateDBClusterCommand.js +0 -31
- package/dist-cjs/commands/CreateDBClusterEndpointCommand.js +0 -25
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +0 -49
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +0 -25
- package/dist-cjs/commands/CreateDBInstanceCommand.js +0 -25
- package/dist-cjs/commands/CreateDBParameterGroupCommand.js +0 -46
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +0 -39
- package/dist-cjs/commands/DeleteDBClusterCommand.js +0 -31
- package/dist-cjs/commands/DeleteDBClusterEndpointCommand.js +0 -25
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +0 -30
- package/dist-cjs/commands/DeleteDBInstanceCommand.js +0 -38
- package/dist-cjs/commands/DeleteDBParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +0 -28
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClusterEndpointsCommand.js +0 -29
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +0 -27
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -34
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +0 -26
- package/dist-cjs/commands/DescribeDBClustersCommand.js +0 -31
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBInstancesCommand.js +0 -30
- package/dist-cjs/commands/DescribeDBParameterGroupsCommand.js +0 -27
- package/dist-cjs/commands/DescribeDBParametersCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +0 -27
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +0 -28
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -28
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -25
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +0 -26
- package/dist-cjs/commands/DescribeValidDBInstanceModificationsCommand.js +0 -27
- package/dist-cjs/commands/FailoverDBClusterCommand.js +0 -32
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ModifyDBClusterCommand.js +0 -26
- package/dist-cjs/commands/ModifyDBClusterEndpointCommand.js +0 -25
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +0 -45
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -38
- package/dist-cjs/commands/ModifyDBInstanceCommand.js +0 -27
- package/dist-cjs/commands/ModifyDBParameterGroupCommand.js +0 -44
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +0 -26
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +0 -29
- package/dist-cjs/commands/PromoteReadReplicaDBClusterCommand.js +0 -25
- package/dist-cjs/commands/RebootDBInstanceCommand.js +0 -29
- package/dist-cjs/commands/RemoveRoleFromDBClusterCommand.js +0 -25
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -25
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +0 -32
- package/dist-cjs/commands/ResetDBParameterGroupCommand.js +0 -31
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +0 -30
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +0 -37
- package/dist-cjs/commands/StartDBClusterCommand.js +0 -26
- package/dist-cjs/commands/StopDBClusterCommand.js +0 -30
- package/dist-cjs/commands/index.js +66 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -83
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -667
- package/dist-cjs/pagination/DescribeDBClusterEndpointsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBParameterGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBParametersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +19 -0
- package/dist-cjs/protocols/Aws_query.js +0 -3
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForDBInstanceAvailable.js +0 -10
- package/dist-es/Neptune.js +0 -1
- package/dist-es/NeptuneClient.js +0 -1
- package/dist-es/commands/AddRoleToDBClusterCommand.js +0 -1
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +0 -1
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/CopyDBParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterEndpointCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateDBInstanceCommand.js +0 -1
- package/dist-es/commands/CreateDBParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/CreateEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterEndpointCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteDBInstanceCommand.js +0 -1
- package/dist-es/commands/DeleteDBParameterGroupCommand.js +0 -1
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterEndpointsCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +0 -1
- package/dist-es/commands/DescribeDBClustersCommand.js +0 -1
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +0 -1
- package/dist-es/commands/DescribeDBInstancesCommand.js +0 -1
- package/dist-es/commands/DescribeDBParameterGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeDBParametersCommand.js +0 -1
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -1
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +0 -1
- package/dist-es/commands/DescribeEventCategoriesCommand.js +0 -1
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +0 -1
- package/dist-es/commands/DescribeEventsCommand.js +0 -1
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -1
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +0 -1
- package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js +0 -1
- package/dist-es/commands/FailoverDBClusterCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterEndpointCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -1
- package/dist-es/commands/ModifyDBInstanceCommand.js +0 -1
- package/dist-es/commands/ModifyDBParameterGroupCommand.js +0 -1
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +0 -1
- package/dist-es/commands/RebootDBInstanceCommand.js +0 -1
- package/dist-es/commands/RemoveRoleFromDBClusterCommand.js +0 -1
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/ResetDBParameterGroupCommand.js +0 -1
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +0 -1
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +0 -1
- package/dist-es/commands/StartDBClusterCommand.js +0 -1
- package/dist-es/commands/StopDBClusterCommand.js +0 -1
- package/dist-es/commands/index.js +63 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -83
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClustersPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBParametersPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +0 -1
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js +0 -1
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -1
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +16 -0
- package/dist-es/protocols/Aws_query.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForDBInstanceAvailable.js +0 -1
- package/dist-types/commands/index.d.ts +63 -0
- package/dist-types/index.d.ts +5 -82
- package/dist-types/pagination/index.d.ts +16 -0
- package/dist-types/ts3.4/Neptune.d.ts +64 -460
- package/dist-types/ts3.4/NeptuneClient.d.ts +24 -106
- package/dist-types/ts3.4/commands/AddRoleToDBClusterCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CopyDBParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateDBClusterEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBParameterGroupCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteDBClusterEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DeleteDBParameterGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClusterEndpointsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeDBParameterGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeDBParametersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeValidDBInstanceModificationsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyDBClusterEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyDBParameterGroupCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PromoteReadReplicaDBClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RemoveRoleFromDBClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ResetDBParameterGroupCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/index.d.ts +63 -0
- package/dist-types/ts3.4/index.d.ts +5 -82
- package/dist-types/ts3.4/models/models_0.d.ts +1120 -5203
- package/dist-types/ts3.4/pagination/index.d.ts +16 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForDBInstanceAvailable.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +35 -32
- package/dist-cjs/Neptune.js.map +0 -1
- package/dist-cjs/NeptuneClient.js.map +0 -1
- package/dist-cjs/commands/AddRoleToDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CopyDBParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterEndpointCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterEndpointCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterEndpointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBParameterGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeValidDBInstanceModificationsCommand.js.map +0 -1
- package/dist-cjs/commands/FailoverDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterEndpointCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/PromoteReadReplicaDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/RebootDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveRoleFromDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ResetDBParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
- package/dist-cjs/commands/StartDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/StopDBClusterCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterEndpointsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBParameterGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBParametersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_query.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForDBInstanceAvailable.js.map +0 -1
- package/dist-es/Neptune.js.map +0 -1
- package/dist-es/NeptuneClient.js.map +0 -1
- package/dist-es/commands/AddRoleToDBClusterCommand.js.map +0 -1
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CopyDBParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterEndpointCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/CreateDBParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterEndpointCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterEndpointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBInstancesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBParameterGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventCategoriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js.map +0 -1
- package/dist-es/commands/FailoverDBClusterCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterEndpointCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js.map +0 -1
- package/dist-es/commands/RebootDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/RemoveRoleFromDBClusterCommand.js.map +0 -1
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/ResetDBParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
- package/dist-es/commands/StartDBClusterCommand.js.map +0 -1
- package/dist-es/commands/StopDBClusterCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClustersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBInstancesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBParametersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_query.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForDBInstanceAvailable.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Neptune.ts +0 -2611
- package/src/NeptuneClient.ts +0 -589
- package/src/commands/AddRoleToDBClusterCommand.ts +0 -96
- package/src/commands/AddSourceIdentifierToSubscriptionCommand.ts +0 -103
- package/src/commands/AddTagsToResourceCommand.ts +0 -97
- package/src/commands/ApplyPendingMaintenanceActionCommand.ts +0 -100
- package/src/commands/CopyDBClusterParameterGroupCommand.ts +0 -98
- package/src/commands/CopyDBClusterSnapshotCommand.ts +0 -100
- package/src/commands/CopyDBParameterGroupCommand.ts +0 -95
- package/src/commands/CreateDBClusterCommand.ts +0 -103
- package/src/commands/CreateDBClusterEndpointCommand.ts +0 -95
- package/src/commands/CreateDBClusterParameterGroupCommand.ts +0 -124
- package/src/commands/CreateDBClusterSnapshotCommand.ts +0 -95
- package/src/commands/CreateDBInstanceCommand.ts +0 -95
- package/src/commands/CreateDBParameterGroupCommand.ts +0 -116
- package/src/commands/CreateDBSubnetGroupCommand.ts +0 -96
- package/src/commands/CreateEventSubscriptionCommand.ts +0 -109
- package/src/commands/DeleteDBClusterCommand.ts +0 -101
- package/src/commands/DeleteDBClusterEndpointCommand.ts +0 -95
- package/src/commands/DeleteDBClusterParameterGroupCommand.ts +0 -99
- package/src/commands/DeleteDBClusterSnapshotCommand.ts +0 -100
- package/src/commands/DeleteDBInstanceCommand.ts +0 -108
- package/src/commands/DeleteDBParameterGroupCommand.ts +0 -96
- package/src/commands/DeleteDBSubnetGroupCommand.ts +0 -98
- package/src/commands/DeleteEventSubscriptionCommand.ts +0 -95
- package/src/commands/DescribeDBClusterEndpointsCommand.ts +0 -102
- package/src/commands/DescribeDBClusterParameterGroupsCommand.ts +0 -105
- package/src/commands/DescribeDBClusterParametersCommand.ts +0 -98
- package/src/commands/DescribeDBClusterSnapshotAttributesCommand.ts +0 -115
- package/src/commands/DescribeDBClusterSnapshotsCommand.ts +0 -99
- package/src/commands/DescribeDBClustersCommand.ts +0 -101
- package/src/commands/DescribeDBEngineVersionsCommand.ts +0 -95
- package/src/commands/DescribeDBInstancesCommand.ts +0 -100
- package/src/commands/DescribeDBParameterGroupsCommand.ts +0 -100
- package/src/commands/DescribeDBParametersCommand.ts +0 -95
- package/src/commands/DescribeDBSubnetGroupsCommand.ts +0 -97
- package/src/commands/DescribeEngineDefaultClusterParametersCommand.ts +0 -108
- package/src/commands/DescribeEngineDefaultParametersCommand.ts +0 -104
- package/src/commands/DescribeEventCategoriesCommand.ts +0 -96
- package/src/commands/DescribeEventSubscriptionsCommand.ts +0 -101
- package/src/commands/DescribeEventsCommand.ts +0 -98
- package/src/commands/DescribeOrderableDBInstanceOptionsCommand.ts +0 -103
- package/src/commands/DescribePendingMaintenanceActionsCommand.ts +0 -104
- package/src/commands/DescribeValidDBInstanceModificationsCommand.ts +0 -108
- package/src/commands/FailoverDBClusterCommand.ts +0 -102
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ModifyDBClusterCommand.ts +0 -96
- package/src/commands/ModifyDBClusterEndpointCommand.ts +0 -95
- package/src/commands/ModifyDBClusterParameterGroupCommand.ts +0 -120
- package/src/commands/ModifyDBClusterSnapshotAttributeCommand.ts +0 -116
- package/src/commands/ModifyDBInstanceCommand.ts +0 -97
- package/src/commands/ModifyDBParameterGroupCommand.ts +0 -114
- package/src/commands/ModifyDBSubnetGroupCommand.ts +0 -96
- package/src/commands/ModifyEventSubscriptionCommand.ts +0 -99
- package/src/commands/PromoteReadReplicaDBClusterCommand.ts +0 -98
- package/src/commands/RebootDBInstanceCommand.ts +0 -99
- package/src/commands/RemoveRoleFromDBClusterCommand.ts +0 -95
- package/src/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +0 -107
- package/src/commands/RemoveTagsFromResourceCommand.ts +0 -95
- package/src/commands/ResetDBClusterParameterGroupCommand.ts +0 -107
- package/src/commands/ResetDBParameterGroupCommand.ts +0 -101
- package/src/commands/RestoreDBClusterFromSnapshotCommand.ts +0 -105
- package/src/commands/RestoreDBClusterToPointInTimeCommand.ts +0 -112
- package/src/commands/StartDBClusterCommand.ts +0 -96
- package/src/commands/StopDBClusterCommand.ts +0 -100
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -83
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -8696
- package/src/pagination/DescribeDBClusterEndpointsPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterParameterGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterParametersPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterSnapshotsPaginator.ts +0 -59
- package/src/pagination/DescribeDBClustersPaginator.ts +0 -59
- package/src/pagination/DescribeDBEngineVersionsPaginator.ts +0 -59
- package/src/pagination/DescribeDBInstancesPaginator.ts +0 -59
- package/src/pagination/DescribeDBParameterGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeDBParametersPaginator.ts +0 -59
- package/src/pagination/DescribeDBSubnetGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeEngineDefaultParametersPaginator.ts +0 -59
- package/src/pagination/DescribeEventSubscriptionsPaginator.ts +0 -59
- package/src/pagination/DescribeEventsPaginator.ts +0 -59
- package/src/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +0 -59
- package/src/pagination/DescribePendingMaintenanceActionsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_query.ts +0 -13230
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForDBInstanceAvailable.ts +0 -125
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBClusterEndpointsCommand,
|
|
5
|
-
DescribeDBClusterEndpointsCommandInput,
|
|
6
|
-
DescribeDBClusterEndpointsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBClusterEndpointsCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBClusterEndpointsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBClusterEndpointsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBClusterEndpointsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBClusterEndpointsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBClusterEndpointsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBClusterEndpoints(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBClusterEndpoints(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBClusterEndpointsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBClusterEndpointsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBClusterEndpointsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBClusterParameterGroupsCommand,
|
|
5
|
-
DescribeDBClusterParameterGroupsCommandInput,
|
|
6
|
-
DescribeDBClusterParameterGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBClusterParameterGroupsCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBClusterParameterGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBClusterParameterGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBClusterParameterGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBClusterParameterGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBClusterParameterGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBClusterParameterGroups(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBClusterParameterGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBClusterParameterGroupsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBClusterParameterGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBClusterParametersCommand,
|
|
5
|
-
DescribeDBClusterParametersCommandInput,
|
|
6
|
-
DescribeDBClusterParametersCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBClusterParametersCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBClusterParametersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBClusterParametersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBClusterParametersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBClusterParametersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBClusterParametersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBClusterParameters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBClusterParameters(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBClusterParametersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBClusterParametersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBClusterParametersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBClusterSnapshotsCommand,
|
|
5
|
-
DescribeDBClusterSnapshotsCommandInput,
|
|
6
|
-
DescribeDBClusterSnapshotsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBClusterSnapshotsCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBClusterSnapshotsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBClusterSnapshotsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBClusterSnapshotsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBClusterSnapshotsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBClusterSnapshots(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBClusterSnapshots(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBClusterSnapshotsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBClusterSnapshotsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBClusterSnapshotsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBClustersCommand,
|
|
5
|
-
DescribeDBClustersCommandInput,
|
|
6
|
-
DescribeDBClustersCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBClustersCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBClustersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBClustersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBClustersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBClustersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBClustersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBClusters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBClusters(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBClustersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBClustersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBClustersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBEngineVersionsCommand,
|
|
5
|
-
DescribeDBEngineVersionsCommandInput,
|
|
6
|
-
DescribeDBEngineVersionsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBEngineVersionsCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBEngineVersionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBEngineVersionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBEngineVersionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBEngineVersionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBEngineVersionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBEngineVersions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBEngineVersions(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBEngineVersionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBEngineVersionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBEngineVersionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBInstancesCommand,
|
|
5
|
-
DescribeDBInstancesCommandInput,
|
|
6
|
-
DescribeDBInstancesCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBInstancesCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBInstancesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBInstancesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBInstancesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBInstancesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBInstancesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBInstances(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBInstances(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBInstancesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBInstancesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBInstancesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBParameterGroupsCommand,
|
|
5
|
-
DescribeDBParameterGroupsCommandInput,
|
|
6
|
-
DescribeDBParameterGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBParameterGroupsCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBParameterGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBParameterGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBParameterGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBParameterGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBParameterGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBParameterGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBParameterGroups(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBParameterGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBParameterGroupsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBParameterGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBParametersCommand,
|
|
5
|
-
DescribeDBParametersCommandInput,
|
|
6
|
-
DescribeDBParametersCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBParametersCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBParametersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBParametersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBParametersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBParametersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBParametersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBParameters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBParameters(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBParametersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBParametersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBParametersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeDBSubnetGroupsCommand,
|
|
5
|
-
DescribeDBSubnetGroupsCommandInput,
|
|
6
|
-
DescribeDBSubnetGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeDBSubnetGroupsCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeDBSubnetGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeDBSubnetGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeDBSubnetGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeDBSubnetGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeDBSubnetGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeDBSubnetGroups(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeDBSubnetGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeDBSubnetGroupsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeDBSubnetGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeEngineDefaultParametersCommand,
|
|
5
|
-
DescribeEngineDefaultParametersCommandInput,
|
|
6
|
-
DescribeEngineDefaultParametersCommandOutput,
|
|
7
|
-
} from "../commands/DescribeEngineDefaultParametersCommand";
|
|
8
|
-
import { Neptune } from "../Neptune";
|
|
9
|
-
import { NeptuneClient } from "../NeptuneClient";
|
|
10
|
-
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: NeptuneClient,
|
|
17
|
-
input: DescribeEngineDefaultParametersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeEngineDefaultParametersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Neptune,
|
|
28
|
-
input: DescribeEngineDefaultParametersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeEngineDefaultParametersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeEngineDefaultParameters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeEngineDefaultParameters(
|
|
35
|
-
config: NeptunePaginationConfiguration,
|
|
36
|
-
input: DescribeEngineDefaultParametersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeEngineDefaultParametersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeEngineDefaultParametersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Neptune) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof NeptuneClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.EngineDefaults!.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|