remove node_modules and .gitignore them
This commit is contained in:
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeActivationsCommand, } from "../commands/DescribeActivationsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeActivationsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeActivations(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeAssociationExecutionTargetsCommand, } from "../commands/DescribeAssociationExecutionTargetsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeAssociationExecutionTargetsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeAssociationExecutionTargets(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeAssociationExecutionsCommand, } from "../commands/DescribeAssociationExecutionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeAssociationExecutionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeAssociationExecutions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeAutomationExecutionsCommand, } from "../commands/DescribeAutomationExecutionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeAutomationExecutionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeAutomationExecutions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeAutomationStepExecutionsCommand, } from "../commands/DescribeAutomationStepExecutionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeAutomationStepExecutionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeAutomationStepExecutions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeAvailablePatchesCommand, } from "../commands/DescribeAvailablePatchesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeAvailablePatchesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeAvailablePatches(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeEffectiveInstanceAssociationsCommand, } from "../commands/DescribeEffectiveInstanceAssociationsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeEffectiveInstanceAssociationsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeEffectiveInstanceAssociations(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeEffectivePatchesForPatchBaselineCommand, } from "../commands/DescribeEffectivePatchesForPatchBaselineCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeEffectivePatchesForPatchBaselineCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeEffectivePatchesForPatchBaseline(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeInstanceAssociationsStatusCommand, } from "../commands/DescribeInstanceAssociationsStatusCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeInstanceAssociationsStatusCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeInstanceAssociationsStatus(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeInstanceInformationCommand, } from "../commands/DescribeInstanceInformationCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeInstanceInformationCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeInstanceInformation(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeInstancePatchStatesForPatchGroupCommand, } from "../commands/DescribeInstancePatchStatesForPatchGroupCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeInstancePatchStatesForPatchGroupCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeInstancePatchStatesForPatchGroup(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeInstancePatchStatesCommand, } from "../commands/DescribeInstancePatchStatesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeInstancePatchStatesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeInstancePatchStates(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeInstancePatchesCommand, } from "../commands/DescribeInstancePatchesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeInstancePatchesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeInstancePatches(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeInventoryDeletionsCommand, } from "../commands/DescribeInventoryDeletionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeInventoryDeletionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeInventoryDeletions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowExecutionTaskInvocationsCommand, } from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindowExecutionTaskInvocations(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowExecutionTasksCommand, } from "../commands/DescribeMaintenanceWindowExecutionTasksCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowExecutionTasksCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindowExecutionTasks(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowExecutionsCommand, } from "../commands/DescribeMaintenanceWindowExecutionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowExecutionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindowExecutions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowScheduleCommand, } from "../commands/DescribeMaintenanceWindowScheduleCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowScheduleCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindowSchedule(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowTargetsCommand, } from "../commands/DescribeMaintenanceWindowTargetsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowTargetsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindowTargets(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowTasksCommand, } from "../commands/DescribeMaintenanceWindowTasksCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowTasksCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindowTasks(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowsForTargetCommand, } from "../commands/DescribeMaintenanceWindowsForTargetCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowsForTargetCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindowsForTarget(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeMaintenanceWindowsCommand, } from "../commands/DescribeMaintenanceWindowsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeMaintenanceWindowsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeMaintenanceWindows(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeOpsItemsCommand, } from "../commands/DescribeOpsItemsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeOpsItemsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeOpsItems(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeParametersCommand, } from "../commands/DescribeParametersCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeParametersCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeParameters(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribePatchBaselinesCommand, } from "../commands/DescribePatchBaselinesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribePatchBaselinesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribePatchBaselines(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribePatchGroupsCommand, } from "../commands/DescribePatchGroupsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribePatchGroupsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribePatchGroups(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribePatchPropertiesCommand, } from "../commands/DescribePatchPropertiesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribePatchPropertiesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribePatchProperties(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { DescribeSessionsCommand, } from "../commands/DescribeSessionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new DescribeSessionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateDescribeSessions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { GetInventoryCommand, } from "../commands/GetInventoryCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new GetInventoryCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateGetInventory(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { GetInventorySchemaCommand, } from "../commands/GetInventorySchemaCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new GetInventorySchemaCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateGetInventorySchema(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { GetOpsSummaryCommand, } from "../commands/GetOpsSummaryCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new GetOpsSummaryCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateGetOpsSummary(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { GetParameterHistoryCommand, } from "../commands/GetParameterHistoryCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new GetParameterHistoryCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateGetParameterHistory(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { GetParametersByPathCommand, } from "../commands/GetParametersByPathCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new GetParametersByPathCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateGetParametersByPath(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { GetResourcePoliciesCommand, } from "../commands/GetResourcePoliciesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new GetResourcePoliciesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateGetResourcePolicies(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
export {};
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListAssociationVersionsCommand, } from "../commands/ListAssociationVersionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListAssociationVersionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListAssociationVersions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { ListAssociationsCommand, } from "../commands/ListAssociationsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListAssociationsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListAssociations(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListCommandInvocationsCommand, } from "../commands/ListCommandInvocationsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListCommandInvocationsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListCommandInvocations(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { ListCommandsCommand, } from "../commands/ListCommandsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListCommandsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListCommands(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListComplianceItemsCommand, } from "../commands/ListComplianceItemsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListComplianceItemsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListComplianceItems(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListComplianceSummariesCommand, } from "../commands/ListComplianceSummariesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListComplianceSummariesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListComplianceSummaries(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListDocumentVersionsCommand, } from "../commands/ListDocumentVersionsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListDocumentVersionsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListDocumentVersions(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { ListDocumentsCommand, } from "../commands/ListDocumentsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListDocumentsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListDocuments(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListOpsItemEventsCommand, } from "../commands/ListOpsItemEventsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListOpsItemEventsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListOpsItemEvents(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListOpsItemRelatedItemsCommand, } from "../commands/ListOpsItemRelatedItemsCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListOpsItemRelatedItemsCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListOpsItemRelatedItems(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
import { ListOpsMetadataCommand, } from "../commands/ListOpsMetadataCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListOpsMetadataCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListOpsMetadata(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListResourceComplianceSummariesCommand, } from "../commands/ListResourceComplianceSummariesCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListResourceComplianceSummariesCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListResourceComplianceSummaries(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Generated
Vendored
-25
@@ -1,25 +0,0 @@
|
||||
import { ListResourceDataSyncCommand, } from "../commands/ListResourceDataSyncCommand";
|
||||
import { SSMClient } from "../SSMClient";
|
||||
const makePagedClientRequest = async (client, input, ...args) => {
|
||||
return await client.send(new ListResourceDataSyncCommand(input), ...args);
|
||||
};
|
||||
export async function* paginateListResourceDataSync(config, input, ...additionalArguments) {
|
||||
let token = config.startingToken || undefined;
|
||||
let hasNext = true;
|
||||
let page;
|
||||
while (hasNext) {
|
||||
input.NextToken = token;
|
||||
input["MaxResults"] = config.pageSize;
|
||||
if (config.client instanceof SSMClient) {
|
||||
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
||||
}
|
||||
else {
|
||||
throw new Error("Invalid client, expected SSM | SSMClient");
|
||||
}
|
||||
yield page;
|
||||
const prevToken = token;
|
||||
token = page.NextToken;
|
||||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
-48
@@ -1,48 +0,0 @@
|
||||
export * from "./DescribeActivationsPaginator";
|
||||
export * from "./DescribeAssociationExecutionTargetsPaginator";
|
||||
export * from "./DescribeAssociationExecutionsPaginator";
|
||||
export * from "./DescribeAutomationExecutionsPaginator";
|
||||
export * from "./DescribeAutomationStepExecutionsPaginator";
|
||||
export * from "./DescribeAvailablePatchesPaginator";
|
||||
export * from "./DescribeEffectiveInstanceAssociationsPaginator";
|
||||
export * from "./DescribeEffectivePatchesForPatchBaselinePaginator";
|
||||
export * from "./DescribeInstanceAssociationsStatusPaginator";
|
||||
export * from "./DescribeInstanceInformationPaginator";
|
||||
export * from "./Interfaces";
|
||||
export * from "./DescribeInstancePatchStatesForPatchGroupPaginator";
|
||||
export * from "./DescribeInstancePatchStatesPaginator";
|
||||
export * from "./DescribeInstancePatchesPaginator";
|
||||
export * from "./DescribeInventoryDeletionsPaginator";
|
||||
export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsPaginator";
|
||||
export * from "./DescribeMaintenanceWindowExecutionTasksPaginator";
|
||||
export * from "./DescribeMaintenanceWindowExecutionsPaginator";
|
||||
export * from "./DescribeMaintenanceWindowSchedulePaginator";
|
||||
export * from "./DescribeMaintenanceWindowTargetsPaginator";
|
||||
export * from "./DescribeMaintenanceWindowTasksPaginator";
|
||||
export * from "./DescribeMaintenanceWindowsForTargetPaginator";
|
||||
export * from "./DescribeMaintenanceWindowsPaginator";
|
||||
export * from "./DescribeOpsItemsPaginator";
|
||||
export * from "./DescribeParametersPaginator";
|
||||
export * from "./DescribePatchBaselinesPaginator";
|
||||
export * from "./DescribePatchGroupsPaginator";
|
||||
export * from "./DescribePatchPropertiesPaginator";
|
||||
export * from "./DescribeSessionsPaginator";
|
||||
export * from "./GetInventoryPaginator";
|
||||
export * from "./GetInventorySchemaPaginator";
|
||||
export * from "./GetOpsSummaryPaginator";
|
||||
export * from "./GetParameterHistoryPaginator";
|
||||
export * from "./GetParametersByPathPaginator";
|
||||
export * from "./GetResourcePoliciesPaginator";
|
||||
export * from "./ListAssociationVersionsPaginator";
|
||||
export * from "./ListAssociationsPaginator";
|
||||
export * from "./ListCommandInvocationsPaginator";
|
||||
export * from "./ListCommandsPaginator";
|
||||
export * from "./ListComplianceItemsPaginator";
|
||||
export * from "./ListComplianceSummariesPaginator";
|
||||
export * from "./ListDocumentVersionsPaginator";
|
||||
export * from "./ListDocumentsPaginator";
|
||||
export * from "./ListOpsItemEventsPaginator";
|
||||
export * from "./ListOpsItemRelatedItemsPaginator";
|
||||
export * from "./ListOpsMetadataPaginator";
|
||||
export * from "./ListResourceComplianceSummariesPaginator";
|
||||
export * from "./ListResourceDataSyncPaginator";
|
||||
Reference in New Issue
Block a user