@aws-sdk/client-codedeploy 3.1037.0 → 3.1039.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetDeploymentCommand } from "../commands/GetDeploymentCommand";
2
+ import { GetDeploymentCommand, } from "../commands/GetDeploymentCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -389,7 +389,7 @@ export interface CodeDeploy {
389
389
  * @param args - command input.
390
390
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
391
391
  */
392
- waitUntilDeploymentSuccessful(args: GetDeploymentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeDeploy>, "client">): Promise<WaiterResult>;
392
+ waitUntilDeploymentSuccessful(args: GetDeploymentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeDeploy>, "client">): Promise<WaiterResult<GetDeploymentCommandOutput>>;
393
393
  }
394
394
  /**
395
395
  * <p>CodeDeploy is a deployment service that automates application deployments
@@ -885,7 +885,7 @@ export interface CodeDeploy {
885
885
  WaiterConfiguration<CodeDeploy>,
886
886
  Exclude<keyof WaiterConfiguration<CodeDeploy>, "client">
887
887
  >
888
- ): Promise<WaiterResult>;
888
+ ): Promise<WaiterResult<GetDeploymentCommandOutput>>;
889
889
  }
890
890
  export declare class CodeDeploy
891
891
  extends CodeDeployClient
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
2
  import { CodeDeployClient } from "../CodeDeployClient";
3
- import { GetDeploymentCommandInput } from "../commands/GetDeploymentCommand";
3
+ import {
4
+ GetDeploymentCommandInput,
5
+ GetDeploymentCommandOutput,
6
+ } from "../commands/GetDeploymentCommand";
7
+ import { CodeDeployServiceException } from "../models/CodeDeployServiceException";
4
8
  export declare const waitForDeploymentSuccessful: (
5
9
  params: WaiterConfiguration<CodeDeployClient>,
6
10
  input: GetDeploymentCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetDeploymentCommandOutput | CodeDeployServiceException>
13
+ >;
8
14
  export declare const waitUntilDeploymentSuccessful: (
9
15
  params: WaiterConfiguration<CodeDeployClient>,
10
16
  input: GetDeploymentCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetDeploymentCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
2
  import type { CodeDeployClient } from "../CodeDeployClient";
3
- import { type GetDeploymentCommandInput } from "../commands/GetDeploymentCommand";
3
+ import { type GetDeploymentCommandInput, type GetDeploymentCommandOutput } from "../commands/GetDeploymentCommand";
4
+ import type { CodeDeployServiceException } from "../models/CodeDeployServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilDeploymentSuccessful instead. waitForDeploymentSuccessful does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForDeploymentSuccessful: (params: WaiterConfiguration<CodeDeployClient>, input: GetDeploymentCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForDeploymentSuccessful: (params: WaiterConfiguration<CodeDeployClient>, input: GetDeploymentCommandInput) => Promise<WaiterResult<GetDeploymentCommandOutput | CodeDeployServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetDeploymentCommand for polling.
13
14
  */
14
- export declare const waitUntilDeploymentSuccessful: (params: WaiterConfiguration<CodeDeployClient>, input: GetDeploymentCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilDeploymentSuccessful: (params: WaiterConfiguration<CodeDeployClient>, input: GetDeploymentCommandInput) => Promise<WaiterResult<GetDeploymentCommandOutput>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codedeploy",
3
3
  "description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
4
- "version": "3.1037.0",
4
+ "version": "3.1039.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codedeploy",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.974.5",
27
- "@aws-sdk/credential-provider-node": "^3.972.36",
26
+ "@aws-sdk/core": "^3.974.7",
27
+ "@aws-sdk/credential-provider-node": "^3.972.38",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.10",
29
29
  "@aws-sdk/middleware-logger": "^3.972.10",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
31
- "@aws-sdk/middleware-user-agent": "^3.972.35",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.37",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.13",
33
33
  "@aws-sdk/types": "^3.973.8",
34
34
  "@aws-sdk/util-endpoints": "^3.996.8",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
36
- "@aws-sdk/util-user-agent-node": "^3.973.21",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.23",
37
37
  "@smithy/config-resolver": "^4.4.17",
38
38
  "@smithy/core": "^3.23.17",
39
39
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -41,7 +41,7 @@
41
41
  "@smithy/invalid-dependency": "^4.2.14",
42
42
  "@smithy/middleware-content-length": "^4.2.14",
43
43
  "@smithy/middleware-endpoint": "^4.4.32",
44
- "@smithy/middleware-retry": "^4.5.5",
44
+ "@smithy/middleware-retry": "^4.5.7",
45
45
  "@smithy/middleware-serde": "^4.2.20",
46
46
  "@smithy/middleware-stack": "^4.2.14",
47
47
  "@smithy/node-config-provider": "^4.3.14",
@@ -57,9 +57,9 @@
57
57
  "@smithy/util-defaults-mode-node": "^4.2.54",
58
58
  "@smithy/util-endpoints": "^3.4.2",
59
59
  "@smithy/util-middleware": "^4.2.14",
60
- "@smithy/util-retry": "^4.3.4",
60
+ "@smithy/util-retry": "^4.3.6",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
- "@smithy/util-waiter": "^4.2.16",
62
+ "@smithy/util-waiter": "^4.3.0",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {