Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-emr

Package Overview
Dependencies
Maintainers
5
Versions
436
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-emr - npm Package Compare versions

Comparing version 3.477.0 to 3.478.0

25

dist-cjs/pagination/ListBootstrapActionsPaginator.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListBootstrapActions = void 0;
const core_1 = require("@smithy/core");
const ListBootstrapActionsCommand_1 = require("../commands/ListBootstrapActionsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListBootstrapActionsCommand_1.ListBootstrapActionsCommand(input), ...args);
};
async function* paginateListBootstrapActions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListBootstrapActions = paginateListBootstrapActions;
exports.paginateListBootstrapActions = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListBootstrapActionsCommand_1.ListBootstrapActionsCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListClusters = void 0;
const core_1 = require("@smithy/core");
const ListClustersCommand_1 = require("../commands/ListClustersCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListClustersCommand_1.ListClustersCommand(input), ...args);
};
async function* paginateListClusters(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListClusters = paginateListClusters;
exports.paginateListClusters = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListClustersCommand_1.ListClustersCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListInstanceFleets = void 0;
const core_1 = require("@smithy/core");
const ListInstanceFleetsCommand_1 = require("../commands/ListInstanceFleetsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListInstanceFleetsCommand_1.ListInstanceFleetsCommand(input), ...args);
};
async function* paginateListInstanceFleets(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListInstanceFleets = paginateListInstanceFleets;
exports.paginateListInstanceFleets = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListInstanceFleetsCommand_1.ListInstanceFleetsCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListInstanceGroups = void 0;
const core_1 = require("@smithy/core");
const ListInstanceGroupsCommand_1 = require("../commands/ListInstanceGroupsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListInstanceGroupsCommand_1.ListInstanceGroupsCommand(input), ...args);
};
async function* paginateListInstanceGroups(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListInstanceGroups = paginateListInstanceGroups;
exports.paginateListInstanceGroups = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListInstanceGroupsCommand_1.ListInstanceGroupsCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListInstances = void 0;
const core_1 = require("@smithy/core");
const ListInstancesCommand_1 = require("../commands/ListInstancesCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListInstancesCommand_1.ListInstancesCommand(input), ...args);
};
async function* paginateListInstances(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListInstances = paginateListInstances;
exports.paginateListInstances = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListInstancesCommand_1.ListInstancesCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListNotebookExecutions = void 0;
const core_1 = require("@smithy/core");
const ListNotebookExecutionsCommand_1 = require("../commands/ListNotebookExecutionsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListNotebookExecutionsCommand_1.ListNotebookExecutionsCommand(input), ...args);
};
async function* paginateListNotebookExecutions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListNotebookExecutions = paginateListNotebookExecutions;
exports.paginateListNotebookExecutions = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListNotebookExecutionsCommand_1.ListNotebookExecutionsCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListReleaseLabels = void 0;
const core_1 = require("@smithy/core");
const ListReleaseLabelsCommand_1 = require("../commands/ListReleaseLabelsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListReleaseLabelsCommand_1.ListReleaseLabelsCommand(input), ...args);
};
async function* paginateListReleaseLabels(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 EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.NextToken;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListReleaseLabels = paginateListReleaseLabels;
exports.paginateListReleaseLabels = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListReleaseLabelsCommand_1.ListReleaseLabelsCommand, "NextToken", "NextToken", "MaxResults");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListSecurityConfigurations = void 0;
const core_1 = require("@smithy/core");
const ListSecurityConfigurationsCommand_1 = require("../commands/ListSecurityConfigurationsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListSecurityConfigurationsCommand_1.ListSecurityConfigurationsCommand(input), ...args);
};
async function* paginateListSecurityConfigurations(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListSecurityConfigurations = paginateListSecurityConfigurations;
exports.paginateListSecurityConfigurations = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListSecurityConfigurationsCommand_1.ListSecurityConfigurationsCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListSteps = void 0;
const core_1 = require("@smithy/core");
const ListStepsCommand_1 = require("../commands/ListStepsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListStepsCommand_1.ListStepsCommand(input), ...args);
};
async function* paginateListSteps(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListSteps = paginateListSteps;
exports.paginateListSteps = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListStepsCommand_1.ListStepsCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListStudioSessionMappings = void 0;
const core_1 = require("@smithy/core");
const ListStudioSessionMappingsCommand_1 = require("../commands/ListStudioSessionMappingsCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListStudioSessionMappingsCommand_1.ListStudioSessionMappingsCommand(input), ...args);
};
async function* paginateListStudioSessionMappings(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListStudioSessionMappings = paginateListStudioSessionMappings;
exports.paginateListStudioSessionMappings = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListStudioSessionMappingsCommand_1.ListStudioSessionMappingsCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListStudios = void 0;
const core_1 = require("@smithy/core");
const ListStudiosCommand_1 = require("../commands/ListStudiosCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListStudiosCommand_1.ListStudiosCommand(input), ...args);
};
async function* paginateListStudios(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListStudios = paginateListStudios;
exports.paginateListStudios = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListStudiosCommand_1.ListStudiosCommand, "Marker", "Marker", "");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListSupportedInstanceTypes = void 0;
const core_1 = require("@smithy/core");
const ListSupportedInstanceTypesCommand_1 = require("../commands/ListSupportedInstanceTypesCommand");
const EMRClient_1 = require("../EMRClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListSupportedInstanceTypesCommand_1.ListSupportedInstanceTypesCommand(input), ...args);
};
async function* paginateListSupportedInstanceTypes(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient_1.EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListSupportedInstanceTypes = paginateListSupportedInstanceTypes;
exports.paginateListSupportedInstanceTypes = (0, core_1.createPaginator)(EMRClient_1.EMRClient, ListSupportedInstanceTypesCommand_1.ListSupportedInstanceTypesCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListBootstrapActionsCommand, } from "../commands/ListBootstrapActionsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListBootstrapActionsCommand(input), ...args);
};
export async function* paginateListBootstrapActions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListBootstrapActions = createPaginator(EMRClient, ListBootstrapActionsCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListClustersCommand, } from "../commands/ListClustersCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListClustersCommand(input), ...args);
};
export async function* paginateListClusters(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListClusters = createPaginator(EMRClient, ListClustersCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListInstanceFleetsCommand, } from "../commands/ListInstanceFleetsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListInstanceFleetsCommand(input), ...args);
};
export async function* paginateListInstanceFleets(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListInstanceFleets = createPaginator(EMRClient, ListInstanceFleetsCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListInstanceGroupsCommand, } from "../commands/ListInstanceGroupsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListInstanceGroupsCommand(input), ...args);
};
export async function* paginateListInstanceGroups(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListInstanceGroups = createPaginator(EMRClient, ListInstanceGroupsCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListInstancesCommand, } from "../commands/ListInstancesCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListInstancesCommand(input), ...args);
};
export async function* paginateListInstances(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListInstances = createPaginator(EMRClient, ListInstancesCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListNotebookExecutionsCommand, } from "../commands/ListNotebookExecutionsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListNotebookExecutionsCommand(input), ...args);
};
export async function* paginateListNotebookExecutions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListNotebookExecutions = createPaginator(EMRClient, ListNotebookExecutionsCommand, "Marker", "Marker", "");

@@ -0,25 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListReleaseLabelsCommand, } from "../commands/ListReleaseLabelsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListReleaseLabelsCommand(input), ...args);
};
export async function* paginateListReleaseLabels(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 EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.NextToken;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListReleaseLabels = createPaginator(EMRClient, ListReleaseLabelsCommand, "NextToken", "NextToken", "MaxResults");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListSecurityConfigurationsCommand, } from "../commands/ListSecurityConfigurationsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListSecurityConfigurationsCommand(input), ...args);
};
export async function* paginateListSecurityConfigurations(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListSecurityConfigurations = createPaginator(EMRClient, ListSecurityConfigurationsCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListStepsCommand } from "../commands/ListStepsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListStepsCommand(input), ...args);
};
export async function* paginateListSteps(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListSteps = createPaginator(EMRClient, ListStepsCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListStudioSessionMappingsCommand, } from "../commands/ListStudioSessionMappingsCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListStudioSessionMappingsCommand(input), ...args);
};
export async function* paginateListStudioSessionMappings(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListStudioSessionMappings = createPaginator(EMRClient, ListStudioSessionMappingsCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListStudiosCommand } from "../commands/ListStudiosCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListStudiosCommand(input), ...args);
};
export async function* paginateListStudios(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListStudios = createPaginator(EMRClient, ListStudiosCommand, "Marker", "Marker", "");

@@ -0,24 +1,4 @@

import { createPaginator } from "@smithy/core";
import { ListSupportedInstanceTypesCommand, } from "../commands/ListSupportedInstanceTypesCommand";
import { EMRClient } from "../EMRClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListSupportedInstanceTypesCommand(input), ...args);
};
export async function* paginateListSupportedInstanceTypes(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
if (config.client instanceof EMRClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected EMR | EMRClient");
}
yield page;
const prevToken = token;
token = page.Marker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
export const paginateListSupportedInstanceTypes = createPaginator(EMRClient, ListSupportedInstanceTypesCommand, "Marker", "Marker", "");

2

dist-types/pagination/ListBootstrapActionsPaginator.d.ts

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListBootstrapActions(config: EMRPaginationConfiguration, input: ListBootstrapActionsCommandInput, ...additionalArguments: any): Paginator<ListBootstrapActionsCommandOutput>;
export declare const paginateListBootstrapActions: (config: EMRPaginationConfiguration, input: ListBootstrapActionsCommandInput, ...rest: any[]) => Paginator<ListBootstrapActionsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListClusters(config: EMRPaginationConfiguration, input: ListClustersCommandInput, ...additionalArguments: any): Paginator<ListClustersCommandOutput>;
export declare const paginateListClusters: (config: EMRPaginationConfiguration, input: ListClustersCommandInput, ...rest: any[]) => Paginator<ListClustersCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListInstanceFleets(config: EMRPaginationConfiguration, input: ListInstanceFleetsCommandInput, ...additionalArguments: any): Paginator<ListInstanceFleetsCommandOutput>;
export declare const paginateListInstanceFleets: (config: EMRPaginationConfiguration, input: ListInstanceFleetsCommandInput, ...rest: any[]) => Paginator<ListInstanceFleetsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListInstanceGroups(config: EMRPaginationConfiguration, input: ListInstanceGroupsCommandInput, ...additionalArguments: any): Paginator<ListInstanceGroupsCommandOutput>;
export declare const paginateListInstanceGroups: (config: EMRPaginationConfiguration, input: ListInstanceGroupsCommandInput, ...rest: any[]) => Paginator<ListInstanceGroupsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListInstances(config: EMRPaginationConfiguration, input: ListInstancesCommandInput, ...additionalArguments: any): Paginator<ListInstancesCommandOutput>;
export declare const paginateListInstances: (config: EMRPaginationConfiguration, input: ListInstancesCommandInput, ...rest: any[]) => Paginator<ListInstancesCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListNotebookExecutions(config: EMRPaginationConfiguration, input: ListNotebookExecutionsCommandInput, ...additionalArguments: any): Paginator<ListNotebookExecutionsCommandOutput>;
export declare const paginateListNotebookExecutions: (config: EMRPaginationConfiguration, input: ListNotebookExecutionsCommandInput, ...rest: any[]) => Paginator<ListNotebookExecutionsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListReleaseLabels(config: EMRPaginationConfiguration, input: ListReleaseLabelsCommandInput, ...additionalArguments: any): Paginator<ListReleaseLabelsCommandOutput>;
export declare const paginateListReleaseLabels: (config: EMRPaginationConfiguration, input: ListReleaseLabelsCommandInput, ...rest: any[]) => Paginator<ListReleaseLabelsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListSecurityConfigurations(config: EMRPaginationConfiguration, input: ListSecurityConfigurationsCommandInput, ...additionalArguments: any): Paginator<ListSecurityConfigurationsCommandOutput>;
export declare const paginateListSecurityConfigurations: (config: EMRPaginationConfiguration, input: ListSecurityConfigurationsCommandInput, ...rest: any[]) => Paginator<ListSecurityConfigurationsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListSteps(config: EMRPaginationConfiguration, input: ListStepsCommandInput, ...additionalArguments: any): Paginator<ListStepsCommandOutput>;
export declare const paginateListSteps: (config: EMRPaginationConfiguration, input: ListStepsCommandInput, ...rest: any[]) => Paginator<ListStepsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListStudioSessionMappings(config: EMRPaginationConfiguration, input: ListStudioSessionMappingsCommandInput, ...additionalArguments: any): Paginator<ListStudioSessionMappingsCommandOutput>;
export declare const paginateListStudioSessionMappings: (config: EMRPaginationConfiguration, input: ListStudioSessionMappingsCommandInput, ...rest: any[]) => Paginator<ListStudioSessionMappingsCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListStudios(config: EMRPaginationConfiguration, input: ListStudiosCommandInput, ...additionalArguments: any): Paginator<ListStudiosCommandOutput>;
export declare const paginateListStudios: (config: EMRPaginationConfiguration, input: ListStudiosCommandInput, ...rest: any[]) => Paginator<ListStudiosCommandOutput>;

@@ -7,2 +7,2 @@ import { Paginator } from "@smithy/types";

*/
export declare function paginateListSupportedInstanceTypes(config: EMRPaginationConfiguration, input: ListSupportedInstanceTypesCommandInput, ...additionalArguments: any): Paginator<ListSupportedInstanceTypesCommandOutput>;
export declare const paginateListSupportedInstanceTypes: (config: EMRPaginationConfiguration, input: ListSupportedInstanceTypesCommandInput, ...rest: any[]) => Paginator<ListSupportedInstanceTypesCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListBootstrapActions(
export declare const paginateListBootstrapActions: (
config: EMRPaginationConfiguration,
input: ListBootstrapActionsCommandInput,
...additionalArguments: any
): Paginator<ListBootstrapActionsCommandOutput>;
...rest: any[]
) => Paginator<ListBootstrapActionsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListClusters(
export declare const paginateListClusters: (
config: EMRPaginationConfiguration,
input: ListClustersCommandInput,
...additionalArguments: any
): Paginator<ListClustersCommandOutput>;
...rest: any[]
) => Paginator<ListClustersCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListInstanceFleets(
export declare const paginateListInstanceFleets: (
config: EMRPaginationConfiguration,
input: ListInstanceFleetsCommandInput,
...additionalArguments: any
): Paginator<ListInstanceFleetsCommandOutput>;
...rest: any[]
) => Paginator<ListInstanceFleetsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListInstanceGroups(
export declare const paginateListInstanceGroups: (
config: EMRPaginationConfiguration,
input: ListInstanceGroupsCommandInput,
...additionalArguments: any
): Paginator<ListInstanceGroupsCommandOutput>;
...rest: any[]
) => Paginator<ListInstanceGroupsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListInstances(
export declare const paginateListInstances: (
config: EMRPaginationConfiguration,
input: ListInstancesCommandInput,
...additionalArguments: any
): Paginator<ListInstancesCommandOutput>;
...rest: any[]
) => Paginator<ListInstancesCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListNotebookExecutions(
export declare const paginateListNotebookExecutions: (
config: EMRPaginationConfiguration,
input: ListNotebookExecutionsCommandInput,
...additionalArguments: any
): Paginator<ListNotebookExecutionsCommandOutput>;
...rest: any[]
) => Paginator<ListNotebookExecutionsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListReleaseLabels(
export declare const paginateListReleaseLabels: (
config: EMRPaginationConfiguration,
input: ListReleaseLabelsCommandInput,
...additionalArguments: any
): Paginator<ListReleaseLabelsCommandOutput>;
...rest: any[]
) => Paginator<ListReleaseLabelsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListSecurityConfigurations(
export declare const paginateListSecurityConfigurations: (
config: EMRPaginationConfiguration,
input: ListSecurityConfigurationsCommandInput,
...additionalArguments: any
): Paginator<ListSecurityConfigurationsCommandOutput>;
...rest: any[]
) => Paginator<ListSecurityConfigurationsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListSteps(
export declare const paginateListSteps: (
config: EMRPaginationConfiguration,
input: ListStepsCommandInput,
...additionalArguments: any
): Paginator<ListStepsCommandOutput>;
...rest: any[]
) => Paginator<ListStepsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListStudioSessionMappings(
export declare const paginateListStudioSessionMappings: (
config: EMRPaginationConfiguration,
input: ListStudioSessionMappingsCommandInput,
...additionalArguments: any
): Paginator<ListStudioSessionMappingsCommandOutput>;
...rest: any[]
) => Paginator<ListStudioSessionMappingsCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListStudios(
export declare const paginateListStudios: (
config: EMRPaginationConfiguration,
input: ListStudiosCommandInput,
...additionalArguments: any
): Paginator<ListStudiosCommandOutput>;
...rest: any[]
) => Paginator<ListStudiosCommandOutput>;

@@ -7,6 +7,6 @@ import { Paginator } from "@smithy/types";

import { EMRPaginationConfiguration } from "./Interfaces";
export declare function paginateListSupportedInstanceTypes(
export declare const paginateListSupportedInstanceTypes: (
config: EMRPaginationConfiguration,
input: ListSupportedInstanceTypesCommandInput,
...additionalArguments: any
): Paginator<ListSupportedInstanceTypesCommandOutput>;
...rest: any[]
) => Paginator<ListSupportedInstanceTypesCommandOutput>;
{
"name": "@aws-sdk/client-emr",
"description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native",
"version": "3.477.0",
"version": "3.478.0",
"scripts": {

@@ -23,5 +23,5 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.477.0",
"@aws-sdk/client-sts": "3.478.0",
"@aws-sdk/core": "3.477.0",
"@aws-sdk/credential-provider-node": "3.477.0",
"@aws-sdk/credential-provider-node": "3.478.0",
"@aws-sdk/middleware-host-header": "3.468.0",

@@ -31,9 +31,10 @@ "@aws-sdk/middleware-logger": "3.468.0",

"@aws-sdk/middleware-signing": "3.468.0",
"@aws-sdk/middleware-user-agent": "3.470.0",
"@aws-sdk/middleware-user-agent": "3.478.0",
"@aws-sdk/region-config-resolver": "3.470.0",
"@aws-sdk/types": "3.468.0",
"@aws-sdk/util-endpoints": "3.470.0",
"@aws-sdk/util-endpoints": "3.478.0",
"@aws-sdk/util-user-agent-browser": "3.468.0",
"@aws-sdk/util-user-agent-node": "3.470.0",
"@smithy/config-resolver": "^2.0.21",
"@smithy/core": "^1.2.0",
"@smithy/fetch-http-handler": "^2.3.1",

@@ -40,0 +41,0 @@ "@smithy/hash-node": "^2.0.17",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc