@aws-sdk/client-codedeploy
Advanced tools
@@ -50,2 +50,9 @@ import { createAggregatedClient } from "@smithy/smithy-client"; | ||
| import { UpdateDeploymentGroupCommand, } from "./commands/UpdateDeploymentGroupCommand"; | ||
| import { paginateListApplicationRevisions } from "./pagination/ListApplicationRevisionsPaginator"; | ||
| import { paginateListApplications } from "./pagination/ListApplicationsPaginator"; | ||
| import { paginateListDeploymentConfigs } from "./pagination/ListDeploymentConfigsPaginator"; | ||
| import { paginateListDeploymentGroups } from "./pagination/ListDeploymentGroupsPaginator"; | ||
| import { paginateListDeploymentInstances } from "./pagination/ListDeploymentInstancesPaginator"; | ||
| import { paginateListDeployments } from "./pagination/ListDeploymentsPaginator"; | ||
| import { waitUntilDeploymentSuccessful } from "./waiters/waitForDeploymentSuccessful"; | ||
| const commands = { | ||
@@ -100,4 +107,15 @@ AddTagsToOnPremisesInstancesCommand, | ||
| }; | ||
| const paginators = { | ||
| paginateListApplicationRevisions, | ||
| paginateListApplications, | ||
| paginateListDeploymentConfigs, | ||
| paginateListDeploymentGroups, | ||
| paginateListDeploymentInstances, | ||
| paginateListDeployments, | ||
| }; | ||
| const waiters = { | ||
| waitUntilDeploymentSuccessful, | ||
| }; | ||
| export class CodeDeploy extends CodeDeployClient { | ||
| } | ||
| createAggregatedClient(commands, CodeDeploy); | ||
| createAggregatedClient(commands, CodeDeploy, { paginators, waiters }); |
@@ -1,2 +0,3 @@ | ||
| import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
| import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types"; | ||
| import type { WaiterResult } from "@smithy/util-waiter"; | ||
| import { CodeDeployClient } from "./CodeDeployClient"; | ||
@@ -344,2 +345,50 @@ import { AddTagsToOnPremisesInstancesCommandInput, AddTagsToOnPremisesInstancesCommandOutput } from "./commands/AddTagsToOnPremisesInstancesCommand"; | ||
| updateDeploymentGroup(args: UpdateDeploymentGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void): void; | ||
| /** | ||
| * @see {@link ListApplicationRevisionsCommand} | ||
| * @param args - command input. | ||
| * @param paginationConfig - optional pagination config. | ||
| * @returns AsyncIterable of {@link ListApplicationRevisionsCommandOutput}. | ||
| */ | ||
| paginateListApplicationRevisions(args: ListApplicationRevisionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationRevisionsCommandOutput>; | ||
| /** | ||
| * @see {@link ListApplicationsCommand} | ||
| * @param args - command input. | ||
| * @param paginationConfig - optional pagination config. | ||
| * @returns AsyncIterable of {@link ListApplicationsCommandOutput}. | ||
| */ | ||
| paginateListApplications(args?: ListApplicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationsCommandOutput>; | ||
| /** | ||
| * @see {@link ListDeploymentConfigsCommand} | ||
| * @param args - command input. | ||
| * @param paginationConfig - optional pagination config. | ||
| * @returns AsyncIterable of {@link ListDeploymentConfigsCommandOutput}. | ||
| */ | ||
| paginateListDeploymentConfigs(args?: ListDeploymentConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentConfigsCommandOutput>; | ||
| /** | ||
| * @see {@link ListDeploymentGroupsCommand} | ||
| * @param args - command input. | ||
| * @param paginationConfig - optional pagination config. | ||
| * @returns AsyncIterable of {@link ListDeploymentGroupsCommandOutput}. | ||
| */ | ||
| paginateListDeploymentGroups(args: ListDeploymentGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentGroupsCommandOutput>; | ||
| /** | ||
| * @see {@link ListDeploymentInstancesCommand} | ||
| * @param args - command input. | ||
| * @param paginationConfig - optional pagination config. | ||
| * @returns AsyncIterable of {@link ListDeploymentInstancesCommandOutput}. | ||
| */ | ||
| paginateListDeploymentInstances(args: ListDeploymentInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentInstancesCommandOutput>; | ||
| /** | ||
| * @see {@link ListDeploymentsCommand} | ||
| * @param args - command input. | ||
| * @param paginationConfig - optional pagination config. | ||
| * @returns AsyncIterable of {@link ListDeploymentsCommandOutput}. | ||
| */ | ||
| paginateListDeployments(args?: ListDeploymentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentsCommandOutput>; | ||
| /** | ||
| * @see {@link GetDeploymentCommand} | ||
| * @param args - command input. | ||
| * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. | ||
| */ | ||
| waitUntilDeploymentSuccessful(args: GetDeploymentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeDeploy>, "client">): Promise<WaiterResult>; | ||
| } | ||
@@ -346,0 +395,0 @@ /** |
@@ -1,2 +0,8 @@ | ||
| import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
| import { | ||
| HttpHandlerOptions as __HttpHandlerOptions, | ||
| PaginationConfiguration, | ||
| Paginator, | ||
| WaiterConfiguration, | ||
| } from "@smithy/types"; | ||
| import { WaiterResult } from "@smithy/util-waiter"; | ||
| import { CodeDeployClient } from "./CodeDeployClient"; | ||
@@ -832,2 +838,53 @@ import { | ||
| ): void; | ||
| paginateListApplicationRevisions( | ||
| args: ListApplicationRevisionsCommandInput, | ||
| paginationConfig?: Pick< | ||
| PaginationConfiguration, | ||
| Exclude<keyof PaginationConfiguration, "client"> | ||
| > | ||
| ): Paginator<ListApplicationRevisionsCommandOutput>; | ||
| paginateListApplications( | ||
| args?: ListApplicationsCommandInput, | ||
| paginationConfig?: Pick< | ||
| PaginationConfiguration, | ||
| Exclude<keyof PaginationConfiguration, "client"> | ||
| > | ||
| ): Paginator<ListApplicationsCommandOutput>; | ||
| paginateListDeploymentConfigs( | ||
| args?: ListDeploymentConfigsCommandInput, | ||
| paginationConfig?: Pick< | ||
| PaginationConfiguration, | ||
| Exclude<keyof PaginationConfiguration, "client"> | ||
| > | ||
| ): Paginator<ListDeploymentConfigsCommandOutput>; | ||
| paginateListDeploymentGroups( | ||
| args: ListDeploymentGroupsCommandInput, | ||
| paginationConfig?: Pick< | ||
| PaginationConfiguration, | ||
| Exclude<keyof PaginationConfiguration, "client"> | ||
| > | ||
| ): Paginator<ListDeploymentGroupsCommandOutput>; | ||
| paginateListDeploymentInstances( | ||
| args: ListDeploymentInstancesCommandInput, | ||
| paginationConfig?: Pick< | ||
| PaginationConfiguration, | ||
| Exclude<keyof PaginationConfiguration, "client"> | ||
| > | ||
| ): Paginator<ListDeploymentInstancesCommandOutput>; | ||
| paginateListDeployments( | ||
| args?: ListDeploymentsCommandInput, | ||
| paginationConfig?: Pick< | ||
| PaginationConfiguration, | ||
| Exclude<keyof PaginationConfiguration, "client"> | ||
| > | ||
| ): Paginator<ListDeploymentsCommandOutput>; | ||
| waitUntilDeploymentSuccessful( | ||
| args: GetDeploymentCommandInput, | ||
| waiterConfig: | ||
| | number | ||
| | Pick< | ||
| WaiterConfiguration<CodeDeploy>, | ||
| Exclude<keyof WaiterConfiguration<CodeDeploy>, "client"> | ||
| > | ||
| ): Promise<WaiterResult>; | ||
| } | ||
@@ -834,0 +891,0 @@ export declare class CodeDeploy |
+17
-17
| { | ||
| "name": "@aws-sdk/client-codedeploy", | ||
| "description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native", | ||
| "version": "3.975.0", | ||
| "version": "3.978.0", | ||
| "scripts": { | ||
@@ -26,15 +26,15 @@ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "@aws-crypto/sha256-js": "5.2.0", | ||
| "@aws-sdk/core": "^3.973.1", | ||
| "@aws-sdk/credential-provider-node": "^3.972.1", | ||
| "@aws-sdk/middleware-host-header": "^3.972.1", | ||
| "@aws-sdk/middleware-logger": "^3.972.1", | ||
| "@aws-sdk/middleware-recursion-detection": "^3.972.1", | ||
| "@aws-sdk/middleware-user-agent": "^3.972.2", | ||
| "@aws-sdk/region-config-resolver": "^3.972.1", | ||
| "@aws-sdk/types": "^3.973.0", | ||
| "@aws-sdk/core": "^3.973.4", | ||
| "@aws-sdk/credential-provider-node": "^3.972.2", | ||
| "@aws-sdk/middleware-host-header": "^3.972.2", | ||
| "@aws-sdk/middleware-logger": "^3.972.2", | ||
| "@aws-sdk/middleware-recursion-detection": "^3.972.2", | ||
| "@aws-sdk/middleware-user-agent": "^3.972.4", | ||
| "@aws-sdk/region-config-resolver": "^3.972.2", | ||
| "@aws-sdk/types": "^3.973.1", | ||
| "@aws-sdk/util-endpoints": "3.972.0", | ||
| "@aws-sdk/util-user-agent-browser": "^3.972.1", | ||
| "@aws-sdk/util-user-agent-node": "^3.972.1", | ||
| "@aws-sdk/util-user-agent-browser": "^3.972.2", | ||
| "@aws-sdk/util-user-agent-node": "^3.972.2", | ||
| "@smithy/config-resolver": "^4.4.6", | ||
| "@smithy/core": "^3.21.1", | ||
| "@smithy/core": "^3.22.0", | ||
| "@smithy/fetch-http-handler": "^5.3.9", | ||
@@ -44,4 +44,4 @@ "@smithy/hash-node": "^4.2.8", | ||
| "@smithy/middleware-content-length": "^4.2.8", | ||
| "@smithy/middleware-endpoint": "^4.4.11", | ||
| "@smithy/middleware-retry": "^4.4.27", | ||
| "@smithy/middleware-endpoint": "^4.4.12", | ||
| "@smithy/middleware-retry": "^4.4.29", | ||
| "@smithy/middleware-serde": "^4.2.9", | ||
@@ -52,3 +52,3 @@ "@smithy/middleware-stack": "^4.2.8", | ||
| "@smithy/protocol-http": "^5.3.8", | ||
| "@smithy/smithy-client": "^4.10.12", | ||
| "@smithy/smithy-client": "^4.11.1", | ||
| "@smithy/types": "^4.12.0", | ||
@@ -59,4 +59,4 @@ "@smithy/url-parser": "^4.2.8", | ||
| "@smithy/util-body-length-node": "^4.2.1", | ||
| "@smithy/util-defaults-mode-browser": "^4.3.26", | ||
| "@smithy/util-defaults-mode-node": "^4.2.29", | ||
| "@smithy/util-defaults-mode-browser": "^4.3.28", | ||
| "@smithy/util-defaults-mode-node": "^4.2.31", | ||
| "@smithy/util-endpoints": "^3.2.8", | ||
@@ -63,0 +63,0 @@ "@smithy/util-middleware": "^4.2.8", |
Sorry, the diff of this file is too big to display
1284703
0.47%30805
0.44%Updated
Updated
Updated