@cdklabs/cdk-ecs-codedeploy 0.0.150 → 0.0.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/README.md +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/package.json +30 -30
- package/node_modules/@aws-sdk/client-sso/README.md +0 -3
- package/node_modules/@aws-sdk/client-sso/package.json +26 -26
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +26 -26
- package/node_modules/@aws-sdk/client-sts/README.md +1 -5
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +8 -11
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +15 -17
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/package.json +29 -29
- package/node_modules/@aws-sdk/config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -1
- package/node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js +1 -1
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/hash-node/package.json +2 -2
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/dist-cjs/retryMiddleware.js +2 -2
- package/node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js +2 -2
- package/node_modules/@aws-sdk/middleware-retry/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-serde/package.json +4 -3
- package/node_modules/@aws-sdk/middleware-signing/package.json +8 -7
- package/node_modules/@aws-sdk/middleware-stack/package.json +4 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -5
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
- package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-retry/README.md +54 -3
- package/node_modules/@aws-sdk/util-retry/dist-cjs/ConfiguredRetryStrategy.js +22 -0
- package/node_modules/@aws-sdk/util-retry/dist-cjs/StandardRetryStrategy.js +3 -3
- package/node_modules/@aws-sdk/util-retry/dist-cjs/config.js +1 -1
- package/node_modules/@aws-sdk/util-retry/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js +18 -0
- package/node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js +3 -3
- package/node_modules/@aws-sdk/util-retry/dist-es/config.js +1 -1
- package/node_modules/@aws-sdk/util-retry/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
- package/node_modules/@aws-sdk/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +32 -0
- package/node_modules/@aws-sdk/util-retry/dist-types/DefaultRateLimiter.d.ts +2 -2
- package/node_modules/@aws-sdk/util-retry/dist-types/StandardRetryStrategy.d.ts +5 -3
- package/node_modules/@aws-sdk/util-retry/dist-types/config.d.ts +4 -4
- package/node_modules/@aws-sdk/util-retry/dist-types/constants.d.ts +9 -9
- package/node_modules/@aws-sdk/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@aws-sdk/util-retry/dist-types/index.d.ts +1 -18
- package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +24 -0
- package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +4 -2
- package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/config.d.ts +1 -1
- package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@aws-sdk/util-waiter/package.json +3 -3
- package/package.json +4 -4
|
@@ -5,11 +5,11 @@ const config_1 = require("./config");
|
|
|
5
5
|
const constants_1 = require("./constants");
|
|
6
6
|
const defaultRetryToken_1 = require("./defaultRetryToken");
|
|
7
7
|
class StandardRetryStrategy {
|
|
8
|
-
constructor(
|
|
9
|
-
this.
|
|
8
|
+
constructor(maxAttempts) {
|
|
9
|
+
this.maxAttempts = maxAttempts;
|
|
10
10
|
this.mode = config_1.RETRY_MODES.STANDARD;
|
|
11
11
|
this.retryToken = (0, defaultRetryToken_1.getDefaultRetryToken)(constants_1.INITIAL_RETRY_TOKENS, constants_1.DEFAULT_RETRY_DELAY_BASE);
|
|
12
|
-
this.maxAttemptsProvider =
|
|
12
|
+
this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts;
|
|
13
13
|
}
|
|
14
14
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
15
15
|
return this.retryToken;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AdaptiveRetryStrategy"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ConfiguredRetryStrategy"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./DefaultRateLimiter"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./StandardRetryStrategy"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./config"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DEFAULT_RETRY_DELAY_BASE } from "./constants";
|
|
2
|
+
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
3
|
+
export class ConfiguredRetryStrategy extends StandardRetryStrategy {
|
|
4
|
+
constructor(maxAttempts, computeNextBackoffDelay = DEFAULT_RETRY_DELAY_BASE) {
|
|
5
|
+
super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts);
|
|
6
|
+
if (typeof computeNextBackoffDelay === "number") {
|
|
7
|
+
this.computeNextBackoffDelay = () => computeNextBackoffDelay;
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
this.computeNextBackoffDelay = computeNextBackoffDelay;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {
|
|
14
|
+
const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo);
|
|
15
|
+
token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount());
|
|
16
|
+
return token;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -2,11 +2,11 @@ import { DEFAULT_MAX_ATTEMPTS, RETRY_MODES } from "./config";
|
|
|
2
2
|
import { DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS } from "./constants";
|
|
3
3
|
import { getDefaultRetryToken } from "./defaultRetryToken";
|
|
4
4
|
export class StandardRetryStrategy {
|
|
5
|
-
constructor(
|
|
6
|
-
this.
|
|
5
|
+
constructor(maxAttempts) {
|
|
6
|
+
this.maxAttempts = maxAttempts;
|
|
7
7
|
this.mode = RETRY_MODES.STANDARD;
|
|
8
8
|
this.retryToken = getDefaultRetryToken(INITIAL_RETRY_TOKENS, DEFAULT_RETRY_DELAY_BASE);
|
|
9
|
-
this.maxAttemptsProvider =
|
|
9
|
+
this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts;
|
|
10
10
|
}
|
|
11
11
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
12
12
|
return this.retryToken;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Provider, RetryErrorInfo, RetryStrategyV2, RetryToken, StandardRetryToken } from "@aws-sdk/types";
|
|
2
2
|
import { RateLimiter } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* @public
|
|
5
5
|
*
|
|
6
6
|
* Strategy options to be passed to AdaptiveRetryStrategy
|
|
7
7
|
*/
|
|
@@ -9,7 +9,7 @@ export interface AdaptiveRetryStrategyOptions {
|
|
|
9
9
|
rateLimiter?: RateLimiter;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* @
|
|
12
|
+
* @public
|
|
13
13
|
*
|
|
14
14
|
* The AdaptiveRetryStrategy is a retry strategy for executing against a very
|
|
15
15
|
* resource constrained set of resources. Care should be taken when using this
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Provider, RetryBackoffStrategy, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@aws-sdk/types";
|
|
2
|
+
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* This extension of the StandardRetryStrategy allows customizing the
|
|
7
|
+
* backoff computation.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ConfiguredRetryStrategy extends StandardRetryStrategy implements RetryStrategyV2 {
|
|
10
|
+
private readonly computeNextBackoffDelay;
|
|
11
|
+
/**
|
|
12
|
+
* @param maxAttempts - the maximum number of retry attempts allowed.
|
|
13
|
+
* e.g., if set to 3, then 4 total requests are possible.
|
|
14
|
+
* @param computeNextBackoffDelay - a millisecond delay for each retry or a function that takes the retry attempt
|
|
15
|
+
* and returns the delay.
|
|
16
|
+
*
|
|
17
|
+
* @example exponential backoff.
|
|
18
|
+
* ```js
|
|
19
|
+
* new Client({
|
|
20
|
+
* retryStrategy: new ConfiguredRetryStrategy(3, (attempt) => attempt ** 2)
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
* @example constant delay.
|
|
24
|
+
* ```js
|
|
25
|
+
* new Client({
|
|
26
|
+
* retryStrategy: new ConfiguredRetryStrategy(3, 2000)
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
constructor(maxAttempts: number | Provider<number>, computeNextBackoffDelay?: number | RetryBackoffStrategy["computeNextBackoffDelay"]);
|
|
31
|
+
refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<StandardRetryToken>;
|
|
32
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RateLimiter } from "./types";
|
|
2
2
|
/**
|
|
3
|
-
* @
|
|
3
|
+
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface DefaultRateLimiterOptions {
|
|
6
6
|
beta?: number;
|
|
@@ -10,7 +10,7 @@ export interface DefaultRateLimiterOptions {
|
|
|
10
10
|
smooth?: number;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* @
|
|
13
|
+
* @public
|
|
14
14
|
*/
|
|
15
15
|
export declare class DefaultRateLimiter implements RateLimiter {
|
|
16
16
|
private beta;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Provider, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@aws-sdk/types";
|
|
2
2
|
/**
|
|
3
|
-
* @
|
|
3
|
+
* @public
|
|
4
4
|
*/
|
|
5
5
|
export declare class StandardRetryStrategy implements RetryStrategyV2 {
|
|
6
|
-
private readonly
|
|
7
|
-
private retryToken;
|
|
6
|
+
private readonly maxAttempts;
|
|
8
7
|
readonly mode: string;
|
|
8
|
+
private retryToken;
|
|
9
|
+
private readonly maxAttemptsProvider;
|
|
10
|
+
constructor(maxAttempts: number);
|
|
9
11
|
constructor(maxAttemptsProvider: Provider<number>);
|
|
10
12
|
acquireInitialRetryToken(retryTokenScope: string): Promise<StandardRetryToken>;
|
|
11
13
|
refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<StandardRetryToken>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
2
|
+
* @public
|
|
3
3
|
*/
|
|
4
4
|
export declare enum RETRY_MODES {
|
|
5
5
|
STANDARD = "standard",
|
|
6
6
|
ADAPTIVE = "adaptive"
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* @
|
|
9
|
+
* @public
|
|
10
10
|
*
|
|
11
11
|
* The default value for how many HTTP requests an SDK should make for a
|
|
12
12
|
* single SDK operation invocation before giving up
|
|
13
13
|
*/
|
|
14
14
|
export declare const DEFAULT_MAX_ATTEMPTS = 3;
|
|
15
15
|
/**
|
|
16
|
-
* @
|
|
16
|
+
* @public
|
|
17
17
|
*
|
|
18
18
|
* The default retry algorithm to use.
|
|
19
19
|
*/
|
|
20
|
-
export declare const DEFAULT_RETRY_MODE
|
|
20
|
+
export declare const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
2
|
+
* @public
|
|
3
3
|
*
|
|
4
4
|
* The base number of milliseconds to use in calculating a suitable cool-down
|
|
5
5
|
* time when a retryable error is encountered.
|
|
6
6
|
*/
|
|
7
7
|
export declare const DEFAULT_RETRY_DELAY_BASE = 100;
|
|
8
8
|
/**
|
|
9
|
-
* @
|
|
9
|
+
* @public
|
|
10
10
|
*
|
|
11
11
|
* The maximum amount of time (in milliseconds) that will be used as a delay
|
|
12
12
|
* between retry attempts.
|
|
13
13
|
*/
|
|
14
14
|
export declare const MAXIMUM_RETRY_DELAY: number;
|
|
15
15
|
/**
|
|
16
|
-
* @
|
|
16
|
+
* @public
|
|
17
17
|
*
|
|
18
18
|
* The retry delay base (in milliseconds) to use when a throttling error is
|
|
19
19
|
* encountered.
|
|
20
20
|
*/
|
|
21
21
|
export declare const THROTTLING_RETRY_DELAY_BASE = 500;
|
|
22
22
|
/**
|
|
23
|
-
* @
|
|
23
|
+
* @public
|
|
24
24
|
*
|
|
25
25
|
* Initial number of retry tokens in Retry Quota
|
|
26
26
|
*/
|
|
27
27
|
export declare const INITIAL_RETRY_TOKENS = 500;
|
|
28
28
|
/**
|
|
29
|
-
* @
|
|
29
|
+
* @public
|
|
30
30
|
*
|
|
31
31
|
* The total amount of retry tokens to be decremented from retry token balance.
|
|
32
32
|
*/
|
|
33
33
|
export declare const RETRY_COST = 5;
|
|
34
34
|
/**
|
|
35
|
-
* @
|
|
35
|
+
* @public
|
|
36
36
|
*
|
|
37
37
|
* The total amount of retry tokens to be decremented from retry token balance
|
|
38
38
|
* when a throttling error is encountered.
|
|
39
39
|
*/
|
|
40
40
|
export declare const TIMEOUT_RETRY_COST = 10;
|
|
41
41
|
/**
|
|
42
|
-
* @
|
|
42
|
+
* @public
|
|
43
43
|
*
|
|
44
44
|
* The total amount of retry token to be incremented from retry token balance
|
|
45
45
|
* if an SDK operation invocation succeeds without requiring a retry request.
|
|
46
46
|
*/
|
|
47
47
|
export declare const NO_RETRY_INCREMENT = 1;
|
|
48
48
|
/**
|
|
49
|
-
* @
|
|
49
|
+
* @public
|
|
50
50
|
*
|
|
51
51
|
* Header name for SDK invocation ID
|
|
52
52
|
*/
|
|
53
53
|
export declare const INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
54
54
|
/**
|
|
55
|
-
* @
|
|
55
|
+
* @public
|
|
56
56
|
*
|
|
57
57
|
* Header name for request retry information.
|
|
58
58
|
*/
|
|
@@ -1,24 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal
|
|
3
|
-
*/
|
|
4
1
|
export * from "./AdaptiveRetryStrategy";
|
|
5
|
-
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
2
|
+
export * from "./ConfiguredRetryStrategy";
|
|
8
3
|
export * from "./DefaultRateLimiter";
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
4
|
export * from "./StandardRetryStrategy";
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
5
|
export * from "./config";
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
6
|
export * from "./constants";
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
7
|
export * from "./types";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Provider,
|
|
3
|
+
RetryBackoffStrategy,
|
|
4
|
+
RetryErrorInfo,
|
|
5
|
+
RetryStrategyV2,
|
|
6
|
+
StandardRetryToken,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
9
|
+
export declare class ConfiguredRetryStrategy
|
|
10
|
+
extends StandardRetryStrategy
|
|
11
|
+
implements RetryStrategyV2
|
|
12
|
+
{
|
|
13
|
+
private readonly computeNextBackoffDelay;
|
|
14
|
+
constructor(
|
|
15
|
+
maxAttempts: number | Provider<number>,
|
|
16
|
+
computeNextBackoffDelay?:
|
|
17
|
+
| number
|
|
18
|
+
| RetryBackoffStrategy["computeNextBackoffDelay"]
|
|
19
|
+
);
|
|
20
|
+
refreshRetryTokenForRetry(
|
|
21
|
+
tokenToRenew: StandardRetryToken,
|
|
22
|
+
errorInfo: RetryErrorInfo
|
|
23
|
+
): Promise<StandardRetryToken>;
|
|
24
|
+
}
|
|
@@ -5,9 +5,11 @@ import {
|
|
|
5
5
|
StandardRetryToken,
|
|
6
6
|
} from "@aws-sdk/types";
|
|
7
7
|
export declare class StandardRetryStrategy implements RetryStrategyV2 {
|
|
8
|
-
private readonly
|
|
9
|
-
private retryToken;
|
|
8
|
+
private readonly maxAttempts;
|
|
10
9
|
readonly mode: string;
|
|
10
|
+
private retryToken;
|
|
11
|
+
private readonly maxAttemptsProvider;
|
|
12
|
+
constructor(maxAttempts: number);
|
|
11
13
|
constructor(maxAttemptsProvider: Provider<number>);
|
|
12
14
|
acquireInitialRetryToken(
|
|
13
15
|
retryTokenScope: string
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-retry",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.329.0",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/service-error-classification": "3.
|
|
27
|
+
"@aws-sdk/service-error-classification": "3.329.0",
|
|
28
28
|
"tslib": "^2.5.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
31
|
+
"@aws-sdk/types": "3.329.0",
|
|
32
32
|
"@tsconfig/recommended": "1.0.1",
|
|
33
33
|
"@types/node": "^14.14.31",
|
|
34
34
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.329.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"react-native": "dist-es/index.native.js",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/types": "3.329.0",
|
|
25
25
|
"bowser": "^2.11.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.329.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/node-config-provider": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/node-config-provider": "3.329.0",
|
|
24
|
+
"@aws-sdk/types": "3.329.0",
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-waiter",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.329.0",
|
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@aws-sdk/abort-controller": "3.
|
|
7
|
-
"@aws-sdk/types": "3.
|
|
6
|
+
"@aws-sdk/abort-controller": "3.329.0",
|
|
7
|
+
"@aws-sdk/types": "3.329.0",
|
|
8
8
|
"tslib": "^2.5.0"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
package/package.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"aws-cdk-lib": "2.71.0",
|
|
74
74
|
"aws-sdk-client-mock": "^2.1.1",
|
|
75
75
|
"aws-sdk-client-mock-jest": "^2.1.1",
|
|
76
|
-
"cdk-nag": "^2.26.
|
|
76
|
+
"cdk-nag": "^2.26.19",
|
|
77
77
|
"constructs": "10.0.5",
|
|
78
78
|
"esbuild": "^0.17.18",
|
|
79
79
|
"eslint": "^8",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"jsii-pacmak": "^1.80.0",
|
|
89
89
|
"lambda-tester": "^4.0.1",
|
|
90
90
|
"npm-check-updates": "^16",
|
|
91
|
-
"projen": "0.71.
|
|
91
|
+
"projen": "0.71.48",
|
|
92
92
|
"standard-version": "^9",
|
|
93
93
|
"ts-jest": "^27",
|
|
94
94
|
"ts-node": "^10.9.1",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"constructs": "^10.0.5"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
103
|
+
"@aws-sdk/client-codedeploy": "^3.329.0",
|
|
104
104
|
"jmespath": "^0.16.0"
|
|
105
105
|
},
|
|
106
106
|
"bundledDependencies": [
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"publishConfig": {
|
|
123
123
|
"access": "public"
|
|
124
124
|
},
|
|
125
|
-
"version": "0.0.
|
|
125
|
+
"version": "0.0.152",
|
|
126
126
|
"jest": {
|
|
127
127
|
"testMatch": [
|
|
128
128
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|