@cdklabs/cdk-ecs-codedeploy 0.0.94 → 0.0.96
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 +6 -6
- package/.projenrc.ts +1 -1
- 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 +6 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +32 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +124 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +24 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +131 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +14 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +32 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +35 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +125 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -41
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso/package.json +32 -37
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +22 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +32 -37
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +44 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/package.json +35 -40
- package/node_modules/@aws-sdk/config-resolver/package.json +10 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -4
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +9 -6
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -10
- package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -4
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +10 -7
- package/node_modules/@aws-sdk/hash-node/package.json +8 -5
- package/node_modules/@aws-sdk/invalid-dependency/package.json +6 -3
- package/node_modules/@aws-sdk/is-array-buffer/package.json +5 -2
- package/node_modules/@aws-sdk/middleware-content-length/package.json +7 -4
- package/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -4
- package/node_modules/@aws-sdk/middleware-retry/package.json +11 -8
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +10 -7
- package/node_modules/@aws-sdk/middleware-serde/package.json +6 -3
- package/node_modules/@aws-sdk/middleware-signing/package.json +10 -7
- package/node_modules/@aws-sdk/middleware-stack/package.json +6 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -5
- package/node_modules/@aws-sdk/node-config-provider/package.json +8 -5
- package/node_modules/@aws-sdk/node-http-handler/package.json +9 -6
- package/node_modules/@aws-sdk/property-provider/package.json +6 -3
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -3
- package/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -3
- package/node_modules/@aws-sdk/protocol-http/package.json +6 -3
- package/node_modules/@aws-sdk/querystring-builder/package.json +7 -4
- package/node_modules/@aws-sdk/querystring-parser/package.json +6 -3
- package/node_modules/@aws-sdk/service-error-classification/package.json +6 -3
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +6 -3
- package/node_modules/@aws-sdk/signature-v4/package.json +13 -10
- package/node_modules/@aws-sdk/smithy-client/dist-types/NoOpLogger.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/client.d.ts +9 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/command.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/constants.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +26 -16
- package/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +2 -2
- package/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +3 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +5 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/get-array-if-single-item.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/get-value-from-text-node.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/lazy-json.d.ts +5 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +36 -4
- package/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +73 -23
- package/node_modules/@aws-sdk/smithy-client/dist-types/resolve-path.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +3 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +5 -3
- package/node_modules/@aws-sdk/smithy-client/package.json +7 -4
- package/node_modules/@aws-sdk/token-providers/package.json +9 -6
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +3 -3
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +6 -4
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +15 -15
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +7 -7
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -2
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +4 -4
- package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +4 -4
- package/node_modules/@aws-sdk/types/package.json +5 -2
- package/node_modules/@aws-sdk/url-parser/package.json +7 -4
- package/node_modules/@aws-sdk/util-base64/package.json +6 -3
- package/node_modules/@aws-sdk/util-body-length-browser/package.json +5 -2
- package/node_modules/@aws-sdk/util-body-length-node/package.json +5 -2
- package/node_modules/@aws-sdk/util-buffer-from/package.json +6 -3
- package/node_modules/@aws-sdk/util-config-provider/package.json +5 -2
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +8 -5
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +11 -8
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -3
- package/node_modules/@aws-sdk/util-hex-encoding/package.json +5 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +5 -2
- package/node_modules/@aws-sdk/util-middleware/package.json +6 -3
- package/node_modules/@aws-sdk/util-retry/package.json +7 -4
- package/node_modules/@aws-sdk/util-uri-escape/package.json +5 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +7 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -5
- package/node_modules/@aws-sdk/util-utf8/package.json +6 -3
- package/node_modules/@aws-sdk/util-waiter/dist-types/poller.d.ts +4 -4
- package/node_modules/@aws-sdk/util-waiter/dist-types/utils/sleep.d.ts +3 -0
- package/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +3 -1
- package/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +14 -3
- package/node_modules/@aws-sdk/util-waiter/package.json +7 -4
- package/package.json +14 -14
- package/node_modules/@aws-sdk/is-array-buffer/CHANGELOG.md +0 -663
- package/node_modules/@aws-sdk/util-body-length-browser/CHANGELOG.md +0 -681
- package/node_modules/@aws-sdk/util-hex-encoding/CHANGELOG.md +0 -676
- package/node_modules/@aws-sdk/util-uri-escape/CHANGELOG.md +0 -768
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Client as IClient, Command, MetadataBearer, MiddlewareStack, RequestHandler } from "@aws-sdk/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
2
5
|
export interface SmithyConfiguration<HandlerOptions> {
|
|
3
6
|
requestHandler: RequestHandler<any, any, HandlerOptions>;
|
|
4
7
|
/**
|
|
@@ -8,7 +11,13 @@ export interface SmithyConfiguration<HandlerOptions> {
|
|
|
8
11
|
*/
|
|
9
12
|
readonly apiVersion: string;
|
|
10
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
11
17
|
export declare type SmithyResolvedConfiguration<HandlerOptions> = SmithyConfiguration<HandlerOptions>;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
12
21
|
export declare class Client<HandlerOptions, ClientInput extends object, ClientOutput extends MetadataBearer, ResolvedClientConfiguration extends SmithyResolvedConfiguration<HandlerOptions>> implements IClient<ClientInput, ClientOutput, ResolvedClientConfiguration> {
|
|
13
22
|
middlewareStack: MiddlewareStack<ClientInput, ClientOutput>;
|
|
14
23
|
readonly config: ResolvedClientConfiguration;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Command as ICommand, Handler, MetadataBearer, MiddlewareStack as IMiddlewareStack } from "@aws-sdk/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
2
5
|
export declare abstract class Command<Input extends ClientInput, Output extends ClientOutput, ResolvedClientConfiguration, ClientInput extends object = any, ClientOutput extends MetadataBearer = any> implements ICommand<ClientInput, Input, ClientOutput, Output, ResolvedClientConfiguration> {
|
|
3
6
|
abstract input: Input;
|
|
4
7
|
readonly middlewareStack: IMiddlewareStack<Input, Output>;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
2
4
|
* Builds a proper UTC HttpDate timestamp from a Date object
|
|
3
5
|
* since not all environments will have this as the expected
|
|
4
6
|
* format.
|
|
5
7
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString}
|
|
9
|
+
* - Prior to ECMAScript 2018, the format of the return value
|
|
10
|
+
* - varied according to the platform. The most common return
|
|
11
|
+
* - value was an RFC-1123 formatted date stamp, which is a
|
|
12
|
+
* - slightly updated version of RFC-822 date stamps.
|
|
11
13
|
*/
|
|
12
14
|
export declare function dateToUtcString(date: Date): string;
|
|
13
15
|
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*
|
|
14
18
|
* Parses a value into a Date. Returns undefined if the input is null or
|
|
15
19
|
* undefined, throws an error if the input is not a string that can be parsed
|
|
16
20
|
* as an RFC 3339 date.
|
|
@@ -18,13 +22,15 @@ export declare function dateToUtcString(date: Date): string;
|
|
|
18
22
|
* Input strings must conform to RFC3339 section 5.6, and cannot have a UTC
|
|
19
23
|
* offset. Fractional precision is supported.
|
|
20
24
|
*
|
|
21
|
-
*
|
|
25
|
+
* @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14}
|
|
22
26
|
*
|
|
23
|
-
* @param value the value to parse
|
|
24
|
-
* @
|
|
27
|
+
* @param value - the value to parse
|
|
28
|
+
* @returns a Date or undefined
|
|
25
29
|
*/
|
|
26
30
|
export declare const parseRfc3339DateTime: (value: unknown) => Date | undefined;
|
|
27
31
|
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*
|
|
28
34
|
* Parses a value into a Date. Returns undefined if the input is null or
|
|
29
35
|
* undefined, throws an error if the input is not a string that can be parsed
|
|
30
36
|
* as an RFC 3339 date.
|
|
@@ -32,32 +38,36 @@ export declare const parseRfc3339DateTime: (value: unknown) => Date | undefined;
|
|
|
32
38
|
* Input strings must conform to RFC3339 section 5.6, and can have a UTC
|
|
33
39
|
* offset. Fractional precision is supported.
|
|
34
40
|
*
|
|
35
|
-
*
|
|
41
|
+
* @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14}
|
|
36
42
|
*
|
|
37
|
-
* @param value the value to parse
|
|
38
|
-
* @
|
|
43
|
+
* @param value - the value to parse
|
|
44
|
+
* @returns a Date or undefined
|
|
39
45
|
*/
|
|
40
46
|
export declare const parseRfc3339DateTimeWithOffset: (value: unknown) => Date | undefined;
|
|
41
47
|
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*
|
|
42
50
|
* Parses a value into a Date. Returns undefined if the input is null or
|
|
43
51
|
* undefined, throws an error if the input is not a string that can be parsed
|
|
44
52
|
* as an RFC 7231 IMF-fixdate or obs-date.
|
|
45
53
|
*
|
|
46
54
|
* Input strings must conform to RFC7231 section 7.1.1.1. Fractional seconds are supported.
|
|
47
55
|
*
|
|
48
|
-
*
|
|
56
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc7231.html#section-7.1.1.1}
|
|
49
57
|
*
|
|
50
|
-
* @param value the value to parse
|
|
51
|
-
* @
|
|
58
|
+
* @param value - the value to parse
|
|
59
|
+
* @returns a Date or undefined
|
|
52
60
|
*/
|
|
53
61
|
export declare const parseRfc7231DateTime: (value: unknown) => Date | undefined;
|
|
54
62
|
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*
|
|
55
65
|
* Parses a value into a Date. Returns undefined if the input is null or
|
|
56
66
|
* undefined, throws an error if the input is not a number or a parseable string.
|
|
57
67
|
*
|
|
58
68
|
* Input strings must be an integer or floating point number. Fractional seconds are supported.
|
|
59
69
|
*
|
|
60
|
-
* @param value the value to parse
|
|
61
|
-
* @
|
|
70
|
+
* @param value - the value to parse
|
|
71
|
+
* @returns a Date or undefined
|
|
62
72
|
*/
|
|
63
73
|
export declare const parseEpochTimestamp: (value: unknown) => Date | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Always throws an error with the given
|
|
2
|
+
* Always throws an error with the given `exceptionCtor` and other arguments.
|
|
3
3
|
* This is only called from an error handling code path.
|
|
4
|
-
*
|
|
4
|
+
*
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
export declare const throwDefaultError: ({ output, parsedBody, exceptionCtor, errorCode }: any) => never;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
2
4
|
* Emits warning if the provided Node.js version string is pending deprecation.
|
|
3
5
|
*
|
|
4
|
-
* @param
|
|
6
|
+
* @param version - The Node.js version string.
|
|
5
7
|
*/
|
|
6
8
|
export declare const emitWarningIfUnsupportedVersion: (version: string) => void;
|
|
@@ -6,10 +6,15 @@ import { HttpResponse, MetadataBearer, ResponseMetadata, RetryableTrait, SmithyE
|
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
8
|
export declare type ExceptionOptionType<ExceptionType extends Error, BaseExceptionType extends Error> = Omit<ExceptionType, Exclude<keyof BaseExceptionType, "$metadata" | "message">>;
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
9
12
|
export interface ServiceExceptionOptions extends SmithyException, MetadataBearer {
|
|
10
13
|
message?: string;
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*
|
|
13
18
|
* Base exception class for the exceptions from the server-side.
|
|
14
19
|
*/
|
|
15
20
|
export declare class ServiceException extends Error implements SmithyException, MetadataBearer {
|
|
@@ -9,8 +9,13 @@ interface StringWrapper {
|
|
|
9
9
|
* TS 'extends' shim doesn't support extending native types like String.
|
|
10
10
|
* So here we create StringWrapper that duplicate everything from String
|
|
11
11
|
* class including its prototype chain. So we can extend from here.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
12
14
|
*/
|
|
13
15
|
export declare const StringWrapper: StringWrapper;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
14
19
|
export declare class LazyJsonString extends StringWrapper {
|
|
15
20
|
deserializeJSON(): any;
|
|
16
21
|
toJSON(): string;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
2
4
|
* A set of instructions for multiple keys.
|
|
3
5
|
* The aim is to provide a concise yet readable way to map and filter values
|
|
4
6
|
* onto a target object.
|
|
@@ -44,18 +46,36 @@
|
|
|
44
46
|
*/
|
|
45
47
|
export declare type ObjectMappingInstructions = Record<string, ObjectMappingInstruction>;
|
|
46
48
|
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*
|
|
47
51
|
* An instruction set for assigning a value to a target object.
|
|
48
52
|
*/
|
|
49
53
|
export declare type ObjectMappingInstruction = LazyValueInstruction | ConditionalLazyValueInstruction | SimpleValueInstruction | ConditionalValueInstruction | UnfilteredValue;
|
|
50
54
|
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*
|
|
51
57
|
* non-array
|
|
52
58
|
*/
|
|
53
59
|
export declare type UnfilteredValue = any;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
54
63
|
export declare type LazyValueInstruction = [FilterStatus, ValueSupplier];
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
55
67
|
export declare type ConditionalLazyValueInstruction = [FilterStatusSupplier, ValueSupplier];
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
56
71
|
export declare type SimpleValueInstruction = [FilterStatus, Value];
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
57
75
|
export declare type ConditionalValueInstruction = [ValueFilteringFunction, Value];
|
|
58
76
|
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*
|
|
59
79
|
* Filter is considered passed if
|
|
60
80
|
* 1. It is a boolean true.
|
|
61
81
|
* 2. It is not undefined and is itself truthy.
|
|
@@ -63,22 +83,31 @@ export declare type ConditionalValueInstruction = [ValueFilteringFunction, Value
|
|
|
63
83
|
*/
|
|
64
84
|
export declare type FilterStatus = boolean | unknown | void;
|
|
65
85
|
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*
|
|
66
88
|
* Supplies the filter check but not against any value as input.
|
|
67
89
|
*/
|
|
68
90
|
export declare type FilterStatusSupplier = () => boolean;
|
|
69
91
|
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*
|
|
70
94
|
* Filter check with the given value.
|
|
71
95
|
*/
|
|
72
96
|
export declare type ValueFilteringFunction = (value: any) => boolean;
|
|
73
97
|
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*
|
|
74
100
|
* Supplies the value for lazy evaluation.
|
|
75
101
|
*/
|
|
76
102
|
export declare type ValueSupplier = () => any;
|
|
77
103
|
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*
|
|
78
106
|
* A non-function value.
|
|
79
107
|
*/
|
|
80
108
|
export declare type Value = any;
|
|
81
109
|
/**
|
|
110
|
+
* @internal
|
|
82
111
|
* Internal/Private, for codegen use only.
|
|
83
112
|
*
|
|
84
113
|
* Transfer a set of keys from [instructions] to [target].
|
|
@@ -88,17 +117,20 @@ export declare type Value = any;
|
|
|
88
117
|
* The target assigned value will be supplied by the instructions as an evaluable function or non-function value.
|
|
89
118
|
*
|
|
90
119
|
* @see ObjectMappingInstructions for an example.
|
|
91
|
-
* @private
|
|
92
|
-
* @internal
|
|
93
120
|
*/
|
|
94
121
|
export declare function map(target: any, filter: (value: any) => boolean, instructions: Record<string, ValueSupplier | Value>): typeof target;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
95
125
|
export declare function map(instructions: Record<string, ObjectMappingInstruction>): any;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
96
129
|
export declare function map(target: any, instructions: Record<string, ObjectMappingInstruction>): typeof target;
|
|
97
130
|
/**
|
|
98
|
-
* Convert a regular object { k: v } to { k: [, v] } mapping instruction set with default
|
|
131
|
+
* Convert a regular object `{ k: v }` to `{ k: [, v] }` mapping instruction set with default
|
|
99
132
|
* filter.
|
|
100
133
|
*
|
|
101
|
-
* @private
|
|
102
134
|
* @internal
|
|
103
135
|
*/
|
|
104
136
|
export declare const convertMap: (target: any) => Record<string, any>;
|
|
@@ -1,216 +1,266 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
2
4
|
* Give an input string, strictly parses a boolean value.
|
|
3
5
|
*
|
|
4
|
-
* @param value The boolean string to parse.
|
|
6
|
+
* @param value - The boolean string to parse.
|
|
5
7
|
* @returns true for "true", false for "false", otherwise an error is thrown.
|
|
6
8
|
*/
|
|
7
9
|
export declare const parseBoolean: (value: string) => boolean;
|
|
8
10
|
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
9
13
|
* Asserts a value is a boolean and returns it.
|
|
10
14
|
* Casts strings and numbers with a warning if there is evidence that they were
|
|
11
15
|
* intended to be booleans.
|
|
12
16
|
*
|
|
13
|
-
* @param value A value that is expected to be a boolean.
|
|
17
|
+
* @param value - A value that is expected to be a boolean.
|
|
14
18
|
* @returns The value if it's a boolean, undefined if it's null/undefined,
|
|
15
19
|
* otherwise an error is thrown.
|
|
16
20
|
*/
|
|
17
21
|
export declare const expectBoolean: (value: any) => boolean | undefined;
|
|
18
22
|
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*
|
|
19
25
|
* Asserts a value is a number and returns it.
|
|
20
26
|
* Casts strings with a warning if the string is a parseable number.
|
|
21
27
|
* This is to unblock slight API definition/implementation inconsistencies.
|
|
22
28
|
*
|
|
23
|
-
* @param value A value that is expected to be a number.
|
|
29
|
+
* @param value - A value that is expected to be a number.
|
|
24
30
|
* @returns The value if it's a number, undefined if it's null/undefined,
|
|
25
31
|
* otherwise an error is thrown.
|
|
26
32
|
*/
|
|
27
33
|
export declare const expectNumber: (value: any) => number | undefined;
|
|
28
34
|
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*
|
|
29
37
|
* Asserts a value is a 32-bit float and returns it.
|
|
30
38
|
*
|
|
31
|
-
* @param value A value that is expected to be a 32-bit float.
|
|
39
|
+
* @param value - A value that is expected to be a 32-bit float.
|
|
32
40
|
* @returns The value if it's a float, undefined if it's null/undefined,
|
|
33
41
|
* otherwise an error is thrown.
|
|
34
42
|
*/
|
|
35
43
|
export declare const expectFloat32: (value: any) => number | undefined;
|
|
36
44
|
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*
|
|
37
47
|
* Asserts a value is an integer and returns it.
|
|
38
48
|
*
|
|
39
|
-
* @param value A value that is expected to be an integer.
|
|
49
|
+
* @param value - A value that is expected to be an integer.
|
|
40
50
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
41
51
|
* otherwise an error is thrown.
|
|
42
52
|
*/
|
|
43
53
|
export declare const expectLong: (value: any) => number | undefined;
|
|
44
54
|
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*
|
|
45
57
|
* @deprecated Use expectLong
|
|
46
58
|
*/
|
|
47
59
|
export declare const expectInt: (value: any) => number | undefined;
|
|
48
60
|
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*
|
|
49
63
|
* Asserts a value is a 32-bit integer and returns it.
|
|
50
64
|
*
|
|
51
|
-
* @param value A value that is expected to be an integer.
|
|
65
|
+
* @param value - A value that is expected to be an integer.
|
|
52
66
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
53
67
|
* otherwise an error is thrown.
|
|
54
68
|
*/
|
|
55
69
|
export declare const expectInt32: (value: any) => number | undefined;
|
|
56
70
|
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*
|
|
57
73
|
* Asserts a value is a 16-bit integer and returns it.
|
|
58
74
|
*
|
|
59
|
-
* @param value A value that is expected to be an integer.
|
|
75
|
+
* @param value - A value that is expected to be an integer.
|
|
60
76
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
61
77
|
* otherwise an error is thrown.
|
|
62
78
|
*/
|
|
63
79
|
export declare const expectShort: (value: any) => number | undefined;
|
|
64
80
|
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*
|
|
65
83
|
* Asserts a value is an 8-bit integer and returns it.
|
|
66
84
|
*
|
|
67
|
-
* @param value A value that is expected to be an integer.
|
|
85
|
+
* @param value - A value that is expected to be an integer.
|
|
68
86
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
69
87
|
* otherwise an error is thrown.
|
|
70
88
|
*/
|
|
71
89
|
export declare const expectByte: (value: any) => number | undefined;
|
|
72
90
|
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*
|
|
73
93
|
* Asserts a value is not null or undefined and returns it, or throws an error.
|
|
74
94
|
*
|
|
75
|
-
* @param value A value that is expected to be defined
|
|
76
|
-
* @param location The location where we're expecting to find a defined object (optional)
|
|
95
|
+
* @param value - A value that is expected to be defined
|
|
96
|
+
* @param location - The location where we're expecting to find a defined object (optional)
|
|
77
97
|
* @returns The value if it's not undefined, otherwise throws an error
|
|
78
98
|
*/
|
|
79
99
|
export declare const expectNonNull: <T>(value: T | null | undefined, location?: string | undefined) => T;
|
|
80
100
|
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*
|
|
81
103
|
* Asserts a value is an JSON-like object and returns it. This is expected to be used
|
|
82
104
|
* with values parsed from JSON (arrays, objects, numbers, strings, booleans).
|
|
83
105
|
*
|
|
84
|
-
* @param value A value that is expected to be an object
|
|
106
|
+
* @param value - A value that is expected to be an object
|
|
85
107
|
* @returns The value if it's an object, undefined if it's null/undefined,
|
|
86
108
|
* otherwise an error is thrown.
|
|
87
109
|
*/
|
|
88
110
|
export declare const expectObject: (value: any) => Record<string, any> | undefined;
|
|
89
111
|
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*
|
|
90
114
|
* Asserts a value is a string and returns it.
|
|
91
115
|
* Numbers and boolean will be cast to strings with a warning.
|
|
92
116
|
*
|
|
93
|
-
* @param value A value that is expected to be a string.
|
|
117
|
+
* @param value - A value that is expected to be a string.
|
|
94
118
|
* @returns The value if it's a string, undefined if it's null/undefined,
|
|
95
119
|
* otherwise an error is thrown.
|
|
96
120
|
*/
|
|
97
121
|
export declare const expectString: (value: any) => string | undefined;
|
|
98
122
|
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*
|
|
99
125
|
* Asserts a value is a JSON-like object with only one non-null/non-undefined key and
|
|
100
126
|
* returns it.
|
|
101
127
|
*
|
|
102
|
-
* @param value A value that is expected to be an object with exactly one non-null,
|
|
128
|
+
* @param value - A value that is expected to be an object with exactly one non-null,
|
|
103
129
|
* non-undefined key.
|
|
104
|
-
* @
|
|
130
|
+
* @returns the value if it's a union, undefined if it's null/undefined, otherwise
|
|
105
131
|
* an error is thrown.
|
|
106
132
|
*/
|
|
107
133
|
export declare const expectUnion: (value: unknown) => Record<string, any> | undefined;
|
|
108
134
|
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*
|
|
109
137
|
* Parses a value into a double. If the value is null or undefined, undefined
|
|
110
138
|
* will be returned. If the value is a string, it will be parsed by the standard
|
|
111
139
|
* parseFloat with one exception: NaN may only be explicitly set as the string
|
|
112
140
|
* "NaN", any implicit Nan values will result in an error being thrown. If any
|
|
113
141
|
* other type is provided, an exception will be thrown.
|
|
114
142
|
*
|
|
115
|
-
* @param value A number or string representation of a double.
|
|
143
|
+
* @param value - A number or string representation of a double.
|
|
116
144
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
117
145
|
*/
|
|
118
146
|
export declare const strictParseDouble: (value: string | number) => number | undefined;
|
|
119
147
|
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*
|
|
120
150
|
* @deprecated Use strictParseDouble
|
|
121
151
|
*/
|
|
122
152
|
export declare const strictParseFloat: (value: string | number) => number | undefined;
|
|
123
153
|
/**
|
|
154
|
+
* @internal
|
|
155
|
+
*
|
|
124
156
|
* Parses a value into a float. If the value is null or undefined, undefined
|
|
125
157
|
* will be returned. If the value is a string, it will be parsed by the standard
|
|
126
158
|
* parseFloat with one exception: NaN may only be explicitly set as the string
|
|
127
159
|
* "NaN", any implicit Nan values will result in an error being thrown. If any
|
|
128
160
|
* other type is provided, an exception will be thrown.
|
|
129
161
|
*
|
|
130
|
-
* @param value A number or string representation of a float.
|
|
162
|
+
* @param value - A number or string representation of a float.
|
|
131
163
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
132
164
|
*/
|
|
133
165
|
export declare const strictParseFloat32: (value: string | number) => number | undefined;
|
|
134
166
|
/**
|
|
167
|
+
* @internal
|
|
168
|
+
*
|
|
135
169
|
* Asserts a value is a number and returns it. If the value is a string
|
|
136
170
|
* representation of a non-numeric number type (NaN, Infinity, -Infinity),
|
|
137
171
|
* the value will be parsed. Any other string value will result in an exception
|
|
138
172
|
* being thrown. Null or undefined will be returned as undefined. Any other
|
|
139
173
|
* type will result in an exception being thrown.
|
|
140
174
|
*
|
|
141
|
-
* @param value A number or string representation of a non-numeric float.
|
|
175
|
+
* @param value - A number or string representation of a non-numeric float.
|
|
142
176
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
143
177
|
*/
|
|
144
178
|
export declare const limitedParseDouble: (value: string | number) => number | undefined;
|
|
145
179
|
/**
|
|
180
|
+
* @internal
|
|
181
|
+
*
|
|
146
182
|
* @deprecated Use limitedParseDouble
|
|
147
183
|
*/
|
|
148
184
|
export declare const handleFloat: (value: string | number) => number | undefined;
|
|
149
185
|
/**
|
|
186
|
+
* @internal
|
|
187
|
+
*
|
|
150
188
|
* @deprecated Use limitedParseDouble
|
|
151
189
|
*/
|
|
152
190
|
export declare const limitedParseFloat: (value: string | number) => number | undefined;
|
|
153
191
|
/**
|
|
192
|
+
* @internal
|
|
193
|
+
*
|
|
154
194
|
* Asserts a value is a 32-bit float and returns it. If the value is a string
|
|
155
195
|
* representation of a non-numeric number type (NaN, Infinity, -Infinity),
|
|
156
196
|
* the value will be parsed. Any other string value will result in an exception
|
|
157
197
|
* being thrown. Null or undefined will be returned as undefined. Any other
|
|
158
198
|
* type will result in an exception being thrown.
|
|
159
199
|
*
|
|
160
|
-
* @param value A number or string representation of a non-numeric float.
|
|
200
|
+
* @param value - A number or string representation of a non-numeric float.
|
|
161
201
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
162
202
|
*/
|
|
163
203
|
export declare const limitedParseFloat32: (value: string | number) => number | undefined;
|
|
164
204
|
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*
|
|
165
207
|
* Parses a value into an integer. If the value is null or undefined, undefined
|
|
166
208
|
* will be returned. If the value is a string, it will be parsed by parseFloat
|
|
167
209
|
* and the result will be asserted to be an integer. If the parsed value is not
|
|
168
210
|
* an integer, or the raw value is any type other than a string or number, an
|
|
169
211
|
* exception will be thrown.
|
|
170
212
|
*
|
|
171
|
-
* @param value A number or string representation of an integer.
|
|
213
|
+
* @param value - A number or string representation of an integer.
|
|
172
214
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
173
215
|
*/
|
|
174
216
|
export declare const strictParseLong: (value: string | number) => number | undefined;
|
|
175
217
|
/**
|
|
218
|
+
* @internal
|
|
219
|
+
*
|
|
176
220
|
* @deprecated Use strictParseLong
|
|
177
221
|
*/
|
|
178
222
|
export declare const strictParseInt: (value: string | number) => number | undefined;
|
|
179
223
|
/**
|
|
224
|
+
* @internal
|
|
225
|
+
*
|
|
180
226
|
* Parses a value into a 32-bit integer. If the value is null or undefined, undefined
|
|
181
227
|
* will be returned. If the value is a string, it will be parsed by parseFloat
|
|
182
228
|
* and the result will be asserted to be an integer. If the parsed value is not
|
|
183
229
|
* an integer, or the raw value is any type other than a string or number, an
|
|
184
230
|
* exception will be thrown.
|
|
185
231
|
*
|
|
186
|
-
* @param value A number or string representation of a 32-bit integer.
|
|
232
|
+
* @param value - A number or string representation of a 32-bit integer.
|
|
187
233
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
188
234
|
*/
|
|
189
235
|
export declare const strictParseInt32: (value: string | number) => number | undefined;
|
|
190
236
|
/**
|
|
237
|
+
* @internal
|
|
238
|
+
*
|
|
191
239
|
* Parses a value into a 16-bit integer. If the value is null or undefined, undefined
|
|
192
240
|
* will be returned. If the value is a string, it will be parsed by parseFloat
|
|
193
241
|
* and the result will be asserted to be an integer. If the parsed value is not
|
|
194
242
|
* an integer, or the raw value is any type other than a string or number, an
|
|
195
243
|
* exception will be thrown.
|
|
196
244
|
*
|
|
197
|
-
* @param value A number or string representation of a 16-bit integer.
|
|
245
|
+
* @param value - A number or string representation of a 16-bit integer.
|
|
198
246
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
199
247
|
*/
|
|
200
248
|
export declare const strictParseShort: (value: string | number) => number | undefined;
|
|
201
249
|
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*
|
|
202
252
|
* Parses a value into an 8-bit integer. If the value is null or undefined, undefined
|
|
203
253
|
* will be returned. If the value is a string, it will be parsed by parseFloat
|
|
204
254
|
* and the result will be asserted to be an integer. If the parsed value is not
|
|
205
255
|
* an integer, or the raw value is any type other than a string or number, an
|
|
206
256
|
* exception will be thrown.
|
|
207
257
|
*
|
|
208
|
-
* @param value A number or string representation of an 8-bit integer.
|
|
258
|
+
* @param value - A number or string representation of an 8-bit integer.
|
|
209
259
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
210
260
|
*/
|
|
211
261
|
export declare const strictParseByte: (value: string | number) => number | undefined;
|
|
212
262
|
/**
|
|
213
|
-
* @
|
|
263
|
+
* @internal
|
|
214
264
|
*/
|
|
215
265
|
export declare const logger: {
|
|
216
266
|
warn: {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
2
4
|
* Serializes a number, turning non-numeric values into strings.
|
|
3
5
|
*
|
|
4
|
-
* @param value The number to serialize.
|
|
6
|
+
* @param value - The number to serialize.
|
|
5
7
|
* @returns A number, or a string if the given number was non-numeric.
|
|
6
8
|
*/
|
|
7
9
|
export declare const serializeFloat: (value: number) => string | number;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
2
4
|
* Given an input string, splits based on the delimiter after a given
|
|
3
5
|
* number of delimiters has been encountered.
|
|
4
6
|
*
|
|
5
|
-
* @param value The input string to split.
|
|
6
|
-
* @param delimiter The delimiter to split on.
|
|
7
|
-
* @param numDelimiters The number of delimiters to have encountered to split.
|
|
7
|
+
* @param value - The input string to split.
|
|
8
|
+
* @param delimiter - The delimiter to split on.
|
|
9
|
+
* @param numDelimiters - The number of delimiters to have encountered to split.
|
|
8
10
|
*/
|
|
9
11
|
export declare function splitEvery(value: string, delimiter: string, numDelimiters: number): Array<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/smithy-client",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.292.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/middleware-stack": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/middleware-stack": "3.292.0",
|
|
24
|
+
"@aws-sdk/types": "3.292.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
@@ -49,7 +49,10 @@
|
|
|
49
49
|
"concurrently": "7.0.0",
|
|
50
50
|
"downlevel-dts": "0.10.1",
|
|
51
51
|
"rimraf": "3.0.2",
|
|
52
|
-
"typedoc": "0.
|
|
52
|
+
"typedoc": "0.23.23",
|
|
53
53
|
"typescript": "~4.6.2"
|
|
54
|
+
},
|
|
55
|
+
"typedoc": {
|
|
56
|
+
"entryPoint": "src/index.ts"
|
|
54
57
|
}
|
|
55
58
|
}
|