@aws-sdk/client-elasticache 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/ElastiCache.js +0 -13
- package/dist-cjs/ElastiCacheClient.js +0 -18
- package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -36
- package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +0 -31
- package/dist-cjs/commands/BatchApplyUpdateActionCommand.js +0 -25
- package/dist-cjs/commands/BatchStopUpdateActionCommand.js +0 -25
- package/dist-cjs/commands/CompleteMigrationCommand.js +0 -25
- package/dist-cjs/commands/CopySnapshotCommand.js +0 -118
- package/dist-cjs/commands/CreateCacheClusterCommand.js +0 -28
- package/dist-cjs/commands/CreateCacheParameterGroupCommand.js +0 -40
- package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js +0 -30
- package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js +0 -40
- package/dist-cjs/commands/CreateReplicationGroupCommand.js +0 -51
- package/dist-cjs/commands/CreateSnapshotCommand.js +0 -30
- package/dist-cjs/commands/CreateUserCommand.js +0 -25
- package/dist-cjs/commands/CreateUserGroupCommand.js +0 -26
- package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -25
- package/dist-cjs/commands/DecreaseReplicaCountCommand.js +0 -27
- package/dist-cjs/commands/DeleteCacheClusterCommand.js +0 -54
- package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js +0 -27
- package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js +0 -28
- package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js +0 -28
- package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js +0 -41
- package/dist-cjs/commands/DeleteReplicationGroupCommand.js +0 -33
- package/dist-cjs/commands/DeleteSnapshotCommand.js +0 -31
- package/dist-cjs/commands/DeleteUserCommand.js +0 -25
- package/dist-cjs/commands/DeleteUserGroupCommand.js +0 -25
- package/dist-cjs/commands/DescribeCacheClustersCommand.js +0 -40
- package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js +0 -26
- package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js +0 -27
- package/dist-cjs/commands/DescribeCacheParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js +0 -28
- package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js +0 -28
- package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -30
- package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeReplicationGroupsCommand.js +0 -30
- package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js +0 -26
- package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +0 -26
- package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +0 -25
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +0 -32
- package/dist-cjs/commands/DescribeUpdateActionsCommand.js +0 -25
- package/dist-cjs/commands/DescribeUserGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeUsersCommand.js +0 -25
- package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js +0 -25
- package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js +0 -25
- package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -25
- package/dist-cjs/commands/IncreaseReplicaCountCommand.js +0 -27
- package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js +0 -30
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -31
- package/dist-cjs/commands/ModifyCacheClusterCommand.js +0 -27
- package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js +0 -27
- package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js +0 -25
- package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js +0 -25
- package/dist-cjs/commands/ModifyReplicationGroupCommand.js +0 -41
- package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +0 -26
- package/dist-cjs/commands/ModifyUserCommand.js +0 -25
- package/dist-cjs/commands/ModifyUserGroupCommand.js +0 -25
- package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +0 -28
- package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +0 -25
- package/dist-cjs/commands/RebootCacheClusterCommand.js +0 -37
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -28
- package/dist-cjs/commands/ResetCacheParameterGroupCommand.js +0 -28
- package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +0 -27
- package/dist-cjs/commands/StartMigrationCommand.js +0 -25
- package/dist-cjs/commands/TestFailoverCommand.js +0 -87
- package/dist-cjs/commands/index.js +68 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -90
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -742
- package/dist-cjs/pagination/DescribeCacheClustersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeCacheParametersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeUserGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeUsersPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +21 -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 +7 -0
- package/dist-cjs/waiters/waitForCacheClusterAvailable.js +0 -10
- package/dist-cjs/waiters/waitForCacheClusterDeleted.js +0 -10
- package/dist-cjs/waiters/waitForReplicationGroupAvailable.js +0 -10
- package/dist-cjs/waiters/waitForReplicationGroupDeleted.js +0 -10
- package/dist-es/ElastiCache.js +0 -1
- package/dist-es/ElastiCacheClient.js +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js +0 -1
- package/dist-es/commands/BatchApplyUpdateActionCommand.js +0 -1
- package/dist-es/commands/BatchStopUpdateActionCommand.js +0 -1
- package/dist-es/commands/CompleteMigrationCommand.js +0 -1
- package/dist-es/commands/CopySnapshotCommand.js +0 -1
- package/dist-es/commands/CreateCacheClusterCommand.js +0 -1
- package/dist-es/commands/CreateCacheParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateCacheSecurityGroupCommand.js +0 -1
- package/dist-es/commands/CreateCacheSubnetGroupCommand.js +0 -1
- package/dist-es/commands/CreateGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/CreateReplicationGroupCommand.js +0 -1
- package/dist-es/commands/CreateSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateUserCommand.js +0 -1
- package/dist-es/commands/CreateUserGroupCommand.js +0 -1
- package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/DecreaseReplicaCountCommand.js +0 -1
- package/dist-es/commands/DeleteCacheClusterCommand.js +0 -1
- package/dist-es/commands/DeleteCacheParameterGroupCommand.js +0 -1
- package/dist-es/commands/DeleteCacheSecurityGroupCommand.js +0 -1
- package/dist-es/commands/DeleteCacheSubnetGroupCommand.js +0 -1
- package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/DeleteReplicationGroupCommand.js +0 -1
- package/dist-es/commands/DeleteSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteUserCommand.js +0 -1
- package/dist-es/commands/DeleteUserGroupCommand.js +0 -1
- package/dist-es/commands/DescribeCacheClustersCommand.js +0 -1
- package/dist-es/commands/DescribeCacheEngineVersionsCommand.js +0 -1
- package/dist-es/commands/DescribeCacheParameterGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeCacheParametersCommand.js +0 -1
- package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +0 -1
- package/dist-es/commands/DescribeEventsCommand.js +0 -1
- package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeReplicationGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeReservedCacheNodesCommand.js +0 -1
- package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js +0 -1
- package/dist-es/commands/DescribeServiceUpdatesCommand.js +0 -1
- package/dist-es/commands/DescribeSnapshotsCommand.js +0 -1
- package/dist-es/commands/DescribeUpdateActionsCommand.js +0 -1
- package/dist-es/commands/DescribeUserGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeUsersCommand.js +0 -1
- package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/IncreaseReplicaCountCommand.js +0 -1
- package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyCacheClusterCommand.js +0 -1
- package/dist-es/commands/ModifyCacheParameterGroupCommand.js +0 -1
- package/dist-es/commands/ModifyCacheSubnetGroupCommand.js +0 -1
- package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/ModifyReplicationGroupCommand.js +0 -1
- package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js +0 -1
- package/dist-es/commands/ModifyUserCommand.js +0 -1
- package/dist-es/commands/ModifyUserGroupCommand.js +0 -1
- package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js +0 -1
- package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +0 -1
- package/dist-es/commands/RebootCacheClusterCommand.js +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-es/commands/ResetCacheParameterGroupCommand.js +0 -1
- package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js +0 -1
- package/dist-es/commands/StartMigrationCommand.js +0 -1
- package/dist-es/commands/TestFailoverCommand.js +0 -1
- package/dist-es/commands/index.js +65 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -90
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeCacheClustersPaginator.js +0 -1
- package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeCacheParametersPaginator.js +0 -1
- package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js +0 -1
- package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +0 -1
- package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +0 -1
- package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +0 -1
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +0 -1
- package/dist-es/pagination/DescribeUpdateActionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeUserGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeUsersPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +18 -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 +4 -0
- package/dist-es/waiters/waitForCacheClusterAvailable.js +0 -1
- package/dist-es/waiters/waitForCacheClusterDeleted.js +0 -1
- package/dist-es/waiters/waitForReplicationGroupAvailable.js +0 -1
- package/dist-es/waiters/waitForReplicationGroupDeleted.js +0 -1
- package/dist-types/commands/index.d.ts +65 -0
- package/dist-types/index.d.ts +5 -89
- package/dist-types/pagination/index.d.ts +18 -0
- package/dist-types/ts3.4/ElastiCache.d.ts +66 -621
- package/dist-types/ts3.4/ElastiCacheClient.d.ts +24 -98
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/BatchApplyUpdateActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchStopUpdateActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CompleteMigrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -113
- package/dist-types/ts3.4/commands/CreateCacheClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateCacheParameterGroupCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/CreateCacheSecurityGroupCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateCacheSubnetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateGlobalReplicationGroupCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/CreateReplicationGroupCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateUserGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DecreaseReplicaCountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteCacheClusterCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/DeleteCacheParameterGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteCacheSecurityGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteCacheSubnetGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteGlobalReplicationGroupCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DeleteReplicationGroupCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeCacheClustersCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DescribeCacheEngineVersionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeCacheParameterGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeCacheParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeCacheSecurityGroupsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeCacheSubnetGroupsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeGlobalReplicationGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeReplicationGroupsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeReservedCacheNodesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeUpdateActionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUserGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FailoverGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/IncreaseReplicaCountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAllowedNodeTypeModificationsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ModifyCacheClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyCacheParameterGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyCacheSubnetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyReplicationGroupCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyUserGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RebootCacheClusterCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ResetCacheParameterGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TestFailoverCommand.d.ts +2 -82
- package/dist-types/ts3.4/commands/index.d.ts +65 -0
- package/dist-types/ts3.4/index.d.ts +5 -89
- package/dist-types/ts3.4/models/models_0.d.ts +1183 -7009
- package/dist-types/ts3.4/pagination/index.d.ts +18 -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 +4 -0
- package/dist-types/ts3.4/waiters/waitForCacheClusterAvailable.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForCacheClusterDeleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForReplicationGroupAvailable.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForReplicationGroupDeleted.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +4 -0
- package/package.json +34 -31
- package/dist-cjs/ElastiCache.js.map +0 -1
- package/dist-cjs/ElastiCacheClient.js.map +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js.map +0 -1
- package/dist-cjs/commands/BatchApplyUpdateActionCommand.js.map +0 -1
- package/dist-cjs/commands/BatchStopUpdateActionCommand.js.map +0 -1
- package/dist-cjs/commands/CompleteMigrationCommand.js.map +0 -1
- package/dist-cjs/commands/CopySnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCacheClusterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCacheParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DecreaseReplicaCountCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCacheClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCacheClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCacheParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeReplicationGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeServiceUpdatesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUpdateActionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUsersCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/IncreaseReplicaCountCommand.js.map +0 -1
- package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyCacheClusterCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyUserCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyUserGroupCommand.js.map +0 -1
- package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js.map +0 -1
- package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-cjs/commands/RebootCacheClusterCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ResetCacheParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js.map +0 -1
- package/dist-cjs/commands/StartMigrationCommand.js.map +0 -1
- package/dist-cjs/commands/TestFailoverCommand.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/DescribeCacheClustersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeCacheParametersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeUserGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeUsersPaginator.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/waitForCacheClusterAvailable.js.map +0 -1
- package/dist-cjs/waiters/waitForCacheClusterDeleted.js.map +0 -1
- package/dist-cjs/waiters/waitForReplicationGroupAvailable.js.map +0 -1
- package/dist-cjs/waiters/waitForReplicationGroupDeleted.js.map +0 -1
- package/dist-es/ElastiCache.js.map +0 -1
- package/dist-es/ElastiCacheClient.js.map +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js.map +0 -1
- package/dist-es/commands/BatchApplyUpdateActionCommand.js.map +0 -1
- package/dist-es/commands/BatchStopUpdateActionCommand.js.map +0 -1
- package/dist-es/commands/CompleteMigrationCommand.js.map +0 -1
- package/dist-es/commands/CopySnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateCacheClusterCommand.js.map +0 -1
- package/dist-es/commands/CreateCacheParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateCacheSecurityGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateCacheSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateUserCommand.js.map +0 -1
- package/dist-es/commands/CreateUserGroupCommand.js.map +0 -1
- package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/DecreaseReplicaCountCommand.js.map +0 -1
- package/dist-es/commands/DeleteCacheClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteCacheParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteCacheSecurityGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteCacheSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserGroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeCacheClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeCacheEngineVersionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeCacheParameterGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeCacheParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeReplicationGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeReservedCacheNodesCommand.js.map +0 -1
- package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js.map +0 -1
- package/dist-es/commands/DescribeServiceUpdatesCommand.js.map +0 -1
- package/dist-es/commands/DescribeSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/DescribeUpdateActionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeUsersCommand.js.map +0 -1
- package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/IncreaseReplicaCountCommand.js.map +0 -1
- package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyCacheClusterCommand.js.map +0 -1
- package/dist-es/commands/ModifyCacheParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyCacheSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js.map +0 -1
- package/dist-es/commands/ModifyUserCommand.js.map +0 -1
- package/dist-es/commands/ModifyUserGroupCommand.js.map +0 -1
- package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js.map +0 -1
- package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js.map +0 -1
- package/dist-es/commands/RebootCacheClusterCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-es/commands/ResetCacheParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js.map +0 -1
- package/dist-es/commands/StartMigrationCommand.js.map +0 -1
- package/dist-es/commands/TestFailoverCommand.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/DescribeCacheClustersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeCacheParametersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeReplicationGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeServiceUpdatesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeSnapshotsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeUpdateActionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeUserGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeUsersPaginator.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/waitForCacheClusterAvailable.js.map +0 -1
- package/dist-es/waiters/waitForCacheClusterDeleted.js.map +0 -1
- package/dist-es/waiters/waitForReplicationGroupAvailable.js.map +0 -1
- package/dist-es/waiters/waitForReplicationGroupDeleted.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ElastiCache.ts +0 -2808
- package/src/ElastiCacheClient.ts +0 -572
- package/src/commands/AddTagsToResourceCommand.ts +0 -106
- package/src/commands/AuthorizeCacheSecurityGroupIngressCommand.ts +0 -112
- package/src/commands/BatchApplyUpdateActionCommand.ts +0 -95
- package/src/commands/BatchStopUpdateActionCommand.ts +0 -95
- package/src/commands/CompleteMigrationCommand.ts +0 -95
- package/src/commands/CopySnapshotCommand.ts +0 -185
- package/src/commands/CreateCacheClusterCommand.ts +0 -98
- package/src/commands/CreateCacheParameterGroupCommand.ts +0 -113
- package/src/commands/CreateCacheSecurityGroupCommand.ts +0 -100
- package/src/commands/CreateCacheSubnetGroupCommand.ts +0 -96
- package/src/commands/CreateGlobalReplicationGroupCommand.ts +0 -115
- package/src/commands/CreateReplicationGroupCommand.ts +0 -121
- package/src/commands/CreateSnapshotCommand.ts +0 -100
- package/src/commands/CreateUserCommand.ts +0 -92
- package/src/commands/CreateUserGroupCommand.ts +0 -96
- package/src/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.ts +0 -110
- package/src/commands/DecreaseReplicaCountCommand.ts +0 -97
- package/src/commands/DeleteCacheClusterCommand.ts +0 -124
- package/src/commands/DeleteCacheParameterGroupCommand.ts +0 -100
- package/src/commands/DeleteCacheSecurityGroupCommand.ts +0 -98
- package/src/commands/DeleteCacheSubnetGroupCommand.ts +0 -98
- package/src/commands/DeleteGlobalReplicationGroupCommand.ts +0 -116
- package/src/commands/DeleteReplicationGroupCommand.ts +0 -103
- package/src/commands/DeleteSnapshotCommand.ts +0 -101
- package/src/commands/DeleteUserCommand.ts +0 -92
- package/src/commands/DeleteUserGroupCommand.ts +0 -95
- package/src/commands/DescribeCacheClustersCommand.ts +0 -110
- package/src/commands/DescribeCacheEngineVersionsCommand.ts +0 -99
- package/src/commands/DescribeCacheParameterGroupsCommand.ts +0 -100
- package/src/commands/DescribeCacheParametersCommand.ts +0 -96
- package/src/commands/DescribeCacheSecurityGroupsCommand.ts +0 -101
- package/src/commands/DescribeCacheSubnetGroupsCommand.ts +0 -101
- package/src/commands/DescribeEngineDefaultParametersCommand.ts +0 -104
- package/src/commands/DescribeEventsCommand.ts +0 -100
- package/src/commands/DescribeGlobalReplicationGroupsCommand.ts +0 -103
- package/src/commands/DescribeReplicationGroupsCommand.ts +0 -103
- package/src/commands/DescribeReservedCacheNodesCommand.ts +0 -99
- package/src/commands/DescribeReservedCacheNodesOfferingsCommand.ts +0 -104
- package/src/commands/DescribeServiceUpdatesCommand.ts +0 -95
- package/src/commands/DescribeSnapshotsCommand.ts +0 -102
- package/src/commands/DescribeUpdateActionsCommand.ts +0 -95
- package/src/commands/DescribeUserGroupsCommand.ts +0 -95
- package/src/commands/DescribeUsersCommand.ts +0 -95
- package/src/commands/DisassociateGlobalReplicationGroupCommand.ts +0 -106
- package/src/commands/FailoverGlobalReplicationGroupCommand.ts +0 -103
- package/src/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.ts +0 -110
- package/src/commands/IncreaseReplicaCountCommand.ts +0 -97
- package/src/commands/ListAllowedNodeTypeModificationsCommand.ts +0 -108
- package/src/commands/ListTagsForResourceCommand.ts +0 -101
- package/src/commands/ModifyCacheClusterCommand.ts +0 -97
- package/src/commands/ModifyCacheParameterGroupCommand.ts +0 -100
- package/src/commands/ModifyCacheSubnetGroupCommand.ts +0 -95
- package/src/commands/ModifyGlobalReplicationGroupCommand.ts +0 -100
- package/src/commands/ModifyReplicationGroupCommand.ts +0 -111
- package/src/commands/ModifyReplicationGroupShardConfigurationCommand.ts +0 -111
- package/src/commands/ModifyUserCommand.ts +0 -92
- package/src/commands/ModifyUserGroupCommand.ts +0 -95
- package/src/commands/PurchaseReservedCacheNodesOfferingCommand.ts +0 -109
- package/src/commands/RebalanceSlotsInGlobalReplicationGroupCommand.ts +0 -107
- package/src/commands/RebootCacheClusterCommand.ts +0 -107
- package/src/commands/RemoveTagsFromResourceCommand.ts +0 -98
- package/src/commands/ResetCacheParameterGroupCommand.ts +0 -98
- package/src/commands/RevokeCacheSecurityGroupIngressCommand.ts +0 -105
- package/src/commands/StartMigrationCommand.ts +0 -95
- package/src/commands/TestFailoverCommand.ts +0 -154
- package/src/endpoints.ts +0 -63
- package/src/index.ts +0 -90
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -10878
- package/src/pagination/DescribeCacheClustersPaginator.ts +0 -59
- package/src/pagination/DescribeCacheEngineVersionsPaginator.ts +0 -59
- package/src/pagination/DescribeCacheParameterGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeCacheParametersPaginator.ts +0 -59
- package/src/pagination/DescribeCacheSecurityGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeCacheSubnetGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeEngineDefaultParametersPaginator.ts +0 -59
- package/src/pagination/DescribeEventsPaginator.ts +0 -59
- package/src/pagination/DescribeGlobalReplicationGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeReplicationGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts +0 -59
- package/src/pagination/DescribeReservedCacheNodesPaginator.ts +0 -59
- package/src/pagination/DescribeServiceUpdatesPaginator.ts +0 -59
- package/src/pagination/DescribeSnapshotsPaginator.ts +0 -59
- package/src/pagination/DescribeUpdateActionsPaginator.ts +0 -59
- package/src/pagination/DescribeUserGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeUsersPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_query.ts +0 -15065
- 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/waitForCacheClusterAvailable.ts +0 -117
- package/src/waiters/waitForCacheClusterDeleted.ts +0 -148
- package/src/waiters/waitForReplicationGroupAvailable.ts +0 -75
- package/src/waiters/waitForReplicationGroupDeleted.ts +0 -78
- 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
|
-
DescribeCacheClustersCommand,
|
|
5
|
-
DescribeCacheClustersCommandInput,
|
|
6
|
-
DescribeCacheClustersCommandOutput,
|
|
7
|
-
} from "../commands/DescribeCacheClustersCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeCacheClustersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeCacheClustersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeCacheClustersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeCacheClustersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeCacheClustersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeCacheClusters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeCacheClusters(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeCacheClustersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeCacheClustersCommandOutput> {
|
|
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: DescribeCacheClustersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeCacheEngineVersionsCommand,
|
|
5
|
-
DescribeCacheEngineVersionsCommandInput,
|
|
6
|
-
DescribeCacheEngineVersionsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeCacheEngineVersionsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeCacheEngineVersionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeCacheEngineVersionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeCacheEngineVersionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeCacheEngineVersionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeCacheEngineVersionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeCacheEngineVersions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeCacheEngineVersions(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeCacheEngineVersionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeCacheEngineVersionsCommandOutput> {
|
|
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: DescribeCacheEngineVersionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeCacheParameterGroupsCommand,
|
|
5
|
-
DescribeCacheParameterGroupsCommandInput,
|
|
6
|
-
DescribeCacheParameterGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeCacheParameterGroupsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeCacheParameterGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeCacheParameterGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeCacheParameterGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeCacheParameterGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeCacheParameterGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeCacheParameterGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeCacheParameterGroups(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeCacheParameterGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeCacheParameterGroupsCommandOutput> {
|
|
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: DescribeCacheParameterGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeCacheParametersCommand,
|
|
5
|
-
DescribeCacheParametersCommandInput,
|
|
6
|
-
DescribeCacheParametersCommandOutput,
|
|
7
|
-
} from "../commands/DescribeCacheParametersCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeCacheParametersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeCacheParametersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeCacheParametersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeCacheParametersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeCacheParametersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeCacheParameters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeCacheParameters(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeCacheParametersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeCacheParametersCommandOutput> {
|
|
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: DescribeCacheParametersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeCacheSecurityGroupsCommand,
|
|
5
|
-
DescribeCacheSecurityGroupsCommandInput,
|
|
6
|
-
DescribeCacheSecurityGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeCacheSecurityGroupsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeCacheSecurityGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeCacheSecurityGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeCacheSecurityGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeCacheSecurityGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeCacheSecurityGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeCacheSecurityGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeCacheSecurityGroups(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeCacheSecurityGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeCacheSecurityGroupsCommandOutput> {
|
|
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: DescribeCacheSecurityGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeCacheSubnetGroupsCommand,
|
|
5
|
-
DescribeCacheSubnetGroupsCommandInput,
|
|
6
|
-
DescribeCacheSubnetGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeCacheSubnetGroupsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeCacheSubnetGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeCacheSubnetGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeCacheSubnetGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeCacheSubnetGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeCacheSubnetGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeCacheSubnetGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeCacheSubnetGroups(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeCacheSubnetGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeCacheSubnetGroupsCommandOutput> {
|
|
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: DescribeCacheSubnetGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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 { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
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: ElastiCache,
|
|
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: ElastiCachePaginationConfiguration,
|
|
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 ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.EngineDefaults!.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
|
-
DescribeEventsCommand,
|
|
5
|
-
DescribeEventsCommandInput,
|
|
6
|
-
DescribeEventsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeEventsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeEventsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeEventsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeEventsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeEventsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeEventsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeEvents(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeEvents(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeEventsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeEventsCommandOutput> {
|
|
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: DescribeEventsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeGlobalReplicationGroupsCommand,
|
|
5
|
-
DescribeGlobalReplicationGroupsCommandInput,
|
|
6
|
-
DescribeGlobalReplicationGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeGlobalReplicationGroupsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeGlobalReplicationGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeGlobalReplicationGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeGlobalReplicationGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeGlobalReplicationGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeGlobalReplicationGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeGlobalReplicationGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeGlobalReplicationGroups(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeGlobalReplicationGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeGlobalReplicationGroupsCommandOutput> {
|
|
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: DescribeGlobalReplicationGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeReplicationGroupsCommand,
|
|
5
|
-
DescribeReplicationGroupsCommandInput,
|
|
6
|
-
DescribeReplicationGroupsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeReplicationGroupsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeReplicationGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeReplicationGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeReplicationGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeReplicationGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeReplicationGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeReplicationGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeReplicationGroups(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeReplicationGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeReplicationGroupsCommandOutput> {
|
|
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: DescribeReplicationGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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
|
-
DescribeReservedCacheNodesOfferingsCommand,
|
|
5
|
-
DescribeReservedCacheNodesOfferingsCommandInput,
|
|
6
|
-
DescribeReservedCacheNodesOfferingsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeReservedCacheNodesOfferingsCommand";
|
|
8
|
-
import { ElastiCache } from "../ElastiCache";
|
|
9
|
-
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
10
|
-
import { ElastiCachePaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ElastiCacheClient,
|
|
17
|
-
input: DescribeReservedCacheNodesOfferingsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeReservedCacheNodesOfferingsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: ElastiCache,
|
|
28
|
-
input: DescribeReservedCacheNodesOfferingsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeReservedCacheNodesOfferingsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeReservedCacheNodesOfferings(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeReservedCacheNodesOfferings(
|
|
35
|
-
config: ElastiCachePaginationConfiguration,
|
|
36
|
-
input: DescribeReservedCacheNodesOfferingsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeReservedCacheNodesOfferingsCommandOutput> {
|
|
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: DescribeReservedCacheNodesOfferingsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof ElastiCache) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ElastiCacheClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.Marker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|