@cdklabs/cdk-ecs-codedeploy 0.0.91 → 0.0.93

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.
Files changed (94) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
  7. package/node_modules/@aws-sdk/client-codedeploy/package.json +30 -30
  8. package/node_modules/@aws-sdk/client-sso/package.json +26 -26
  9. package/node_modules/@aws-sdk/client-sso-oidc/package.json +26 -26
  10. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +47 -0
  11. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +34 -0
  12. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +34 -0
  13. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +16 -0
  14. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +48 -0
  15. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +38 -0
  16. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +23 -0
  17. package/node_modules/@aws-sdk/client-sts/package.json +29 -29
  18. package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
  19. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  20. package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
  21. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  22. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  23. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  26. package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
  27. package/node_modules/@aws-sdk/hash-node/package.json +2 -2
  28. package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
  29. package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
  30. package/node_modules/@aws-sdk/middleware-endpoint/package.json +7 -7
  31. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
  32. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  33. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
  34. package/node_modules/@aws-sdk/middleware-retry/package.json +7 -7
  35. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
  36. package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
  37. package/node_modules/@aws-sdk/middleware-signing/package.json +6 -6
  38. package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
  39. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  40. package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
  41. package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
  42. package/node_modules/@aws-sdk/property-provider/package.json +2 -2
  43. package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
  44. package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
  45. package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
  46. package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
  47. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
  48. package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
  49. package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
  50. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  51. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
  52. package/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
  53. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +7 -0
  54. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +8 -0
  55. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +4 -0
  56. package/node_modules/@aws-sdk/types/dist-types/client.d.ts +2 -0
  57. package/node_modules/@aws-sdk/types/dist-types/command.d.ts +3 -0
  58. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +4 -0
  59. package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +11 -0
  60. package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +10 -0
  61. package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +21 -0
  62. package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +61 -0
  63. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +18 -0
  64. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +3 -0
  65. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +6 -0
  66. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +6 -0
  67. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +6 -0
  68. package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +6 -0
  69. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +6 -0
  70. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +108 -0
  71. package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +4 -0
  72. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +11 -0
  73. package/node_modules/@aws-sdk/types/dist-types/request.d.ts +3 -0
  74. package/node_modules/@aws-sdk/types/dist-types/response.d.ts +9 -0
  75. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +30 -0
  76. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +25 -0
  77. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +8 -0
  78. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +28 -0
  79. package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +5 -0
  80. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +4 -0
  81. package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +9 -0
  82. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +24 -0
  83. package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +3 -0
  84. package/node_modules/@aws-sdk/types/package.json +1 -1
  85. package/node_modules/@aws-sdk/url-parser/package.json +3 -3
  86. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
  87. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
  88. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  89. package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
  90. package/node_modules/@aws-sdk/util-retry/package.json +3 -3
  91. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  92. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  93. package/node_modules/@aws-sdk/util-waiter/package.json +3 -3
  94. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-stack",
3
- "version": "3.272.0",
3
+ "version": "3.289.0",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -25,7 +25,7 @@
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@aws-sdk/types": "3.272.0",
28
+ "@aws-sdk/types": "3.289.0",
29
29
  "@tsconfig/recommended": "1.0.1",
30
30
  "concurrently": "7.0.0",
31
31
  "downlevel-dts": "0.10.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.282.0",
3
+ "version": "3.289.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,12 +20,12 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/protocol-http": "3.282.0",
24
- "@aws-sdk/types": "3.272.0",
23
+ "@aws-sdk/protocol-http": "3.289.0",
24
+ "@aws-sdk/types": "3.289.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@aws-sdk/middleware-stack": "3.272.0",
28
+ "@aws-sdk/middleware-stack": "3.289.0",
29
29
  "@tsconfig/recommended": "1.0.1",
30
30
  "concurrently": "7.0.0",
31
31
  "downlevel-dts": "0.10.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/node-config-provider",
3
- "version": "3.287.0",
3
+ "version": "3.289.0",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -22,9 +22,9 @@
22
22
  "module": "./dist-es/index.js",
23
23
  "types": "./dist-types/index.d.ts",
24
24
  "dependencies": {
25
- "@aws-sdk/property-provider": "3.272.0",
26
- "@aws-sdk/shared-ini-file-loader": "3.287.0",
27
- "@aws-sdk/types": "3.272.0",
25
+ "@aws-sdk/property-provider": "3.289.0",
26
+ "@aws-sdk/shared-ini-file-loader": "3.289.0",
27
+ "@aws-sdk/types": "3.289.0",
28
28
  "tslib": "^2.3.1"
29
29
  },
30
30
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/node-http-handler",
3
- "version": "3.282.0",
3
+ "version": "3.289.0",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -22,10 +22,10 @@
22
22
  "module": "./dist-es/index.js",
23
23
  "types": "./dist-types/index.d.ts",
24
24
  "dependencies": {
25
- "@aws-sdk/abort-controller": "3.272.0",
26
- "@aws-sdk/protocol-http": "3.282.0",
27
- "@aws-sdk/querystring-builder": "3.272.0",
28
- "@aws-sdk/types": "3.272.0",
25
+ "@aws-sdk/abort-controller": "3.289.0",
26
+ "@aws-sdk/protocol-http": "3.289.0",
27
+ "@aws-sdk/querystring-builder": "3.289.0",
28
+ "@aws-sdk/types": "3.289.0",
29
29
  "tslib": "^2.3.1"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/property-provider",
3
- "version": "3.272.0",
3
+ "version": "3.289.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,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/types": "3.272.0",
23
+ "@aws-sdk/types": "3.289.0",
24
24
  "tslib": "^2.3.1"
25
25
  },
26
26
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/protocol-http",
3
- "version": "3.282.0",
3
+ "version": "3.289.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
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.272.0",
24
+ "@aws-sdk/types": "3.289.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/querystring-builder",
3
- "version": "3.272.0",
3
+ "version": "3.289.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,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/types": "3.272.0",
23
+ "@aws-sdk/types": "3.289.0",
24
24
  "@aws-sdk/util-uri-escape": "3.201.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/querystring-parser",
3
- "version": "3.272.0",
3
+ "version": "3.289.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,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/types": "3.272.0",
23
+ "@aws-sdk/types": "3.289.0",
24
24
  "tslib": "^2.3.1"
25
25
  },
26
26
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/service-error-classification",
3
- "version": "3.272.0",
3
+ "version": "3.289.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,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "devDependencies": {
23
- "@aws-sdk/types": "3.272.0",
23
+ "@aws-sdk/types": "3.289.0",
24
24
  "@tsconfig/recommended": "1.0.1",
25
25
  "concurrently": "7.0.0",
26
26
  "downlevel-dts": "0.10.1",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@aws-sdk/shared-ini-file-loader",
3
- "version": "3.287.0",
3
+ "version": "3.289.0",
4
4
  "dependencies": {
5
- "@aws-sdk/types": "3.272.0",
5
+ "@aws-sdk/types": "3.289.0",
6
6
  "tslib": "^2.3.1"
7
7
  },
8
8
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4",
3
- "version": "3.282.0",
3
+ "version": "3.289.0",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -22,16 +22,16 @@
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
24
  "@aws-sdk/is-array-buffer": "3.201.0",
25
- "@aws-sdk/types": "3.272.0",
25
+ "@aws-sdk/types": "3.289.0",
26
26
  "@aws-sdk/util-hex-encoding": "3.201.0",
27
- "@aws-sdk/util-middleware": "3.272.0",
27
+ "@aws-sdk/util-middleware": "3.289.0",
28
28
  "@aws-sdk/util-uri-escape": "3.201.0",
29
29
  "@aws-sdk/util-utf8": "3.254.0",
30
30
  "tslib": "^2.3.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@aws-crypto/sha256-js": "3.0.0",
34
- "@aws-sdk/protocol-http": "3.282.0",
34
+ "@aws-sdk/protocol-http": "3.289.0",
35
35
  "@aws-sdk/util-buffer-from": "3.208.0",
36
36
  "@tsconfig/recommended": "1.0.1",
37
37
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/smithy-client",
3
- "version": "3.279.0",
3
+ "version": "3.289.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.272.0",
24
- "@aws-sdk/types": "3.272.0",
23
+ "@aws-sdk/middleware-stack": "3.289.0",
24
+ "@aws-sdk/types": "3.289.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.288.0",
3
+ "version": "3.289.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/client-sso-oidc": "3.288.0",
29
- "@aws-sdk/property-provider": "3.272.0",
30
- "@aws-sdk/shared-ini-file-loader": "3.287.0",
31
- "@aws-sdk/types": "3.272.0",
28
+ "@aws-sdk/client-sso-oidc": "3.289.0",
29
+ "@aws-sdk/property-provider": "3.289.0",
30
+ "@aws-sdk/shared-ini-file-loader": "3.289.0",
31
+ "@aws-sdk/types": "3.289.0",
32
32
  "tslib": "^2.3.1"
33
33
  },
34
34
  "devDependencies": {
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- ;
@@ -1,7 +1,12 @@
1
+ /**
2
+ * @public
3
+ */
1
4
  export interface AbortHandler {
2
5
  (this: AbortSignal, ev: any): any;
3
6
  }
4
7
  /**
8
+ * @public
9
+ *
5
10
  * Holders of an AbortSignal object may query if the associated operation has
6
11
  * been aborted and register an onabort handler.
7
12
  *
@@ -19,6 +24,8 @@ export interface AbortSignal {
19
24
  onabort: AbortHandler | null;
20
25
  }
21
26
  /**
27
+ * @public
28
+ *
22
29
  * The AWS SDK uses a Controller/Signal model to allow for cooperative
23
30
  * cancellation of asynchronous operations. When initiating such an operation,
24
31
  * the caller can create an AbortController and then provide linked signal to
@@ -1,4 +1,6 @@
1
1
  /**
2
+ * @internal
3
+ *
2
4
  * Authentication schemes represent a way that the service will authenticate the customer’s identity.
3
5
  */
4
6
  export interface AuthScheme {
@@ -25,6 +27,9 @@ export interface AuthScheme {
25
27
  signingScope?: never;
26
28
  properties: Record<string, unknown>;
27
29
  }
30
+ /**
31
+ * @internal
32
+ */
28
33
  export interface HttpAuthDefinition {
29
34
  /**
30
35
  * Defines the location of where the Auth is serialized.
@@ -41,6 +46,9 @@ export interface HttpAuthDefinition {
41
46
  */
42
47
  scheme?: string;
43
48
  }
49
+ /**
50
+ * @internal
51
+ */
44
52
  export declare enum HttpAuthLocation {
45
53
  HEADER = "header",
46
54
  QUERY = "query"
@@ -1,5 +1,7 @@
1
1
  import { SourceData } from "./crypto";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * An object that provides a checksum of data provided in chunks to `update`.
4
6
  * The checksum may be performed incrementally as chunks are received or all
5
7
  * at once when the checksum is finalized, depending on the underlying
@@ -50,6 +52,8 @@ export interface Checksum {
50
52
  update(chunk: Uint8Array): void;
51
53
  }
52
54
  /**
55
+ * @public
56
+ *
53
57
  * A constructor for a Checksum that may be used to calculate an HMAC. Implementing
54
58
  * classes should not directly hold the provided key in memory beyond the
55
59
  * lexical scope of the constructor.
@@ -2,6 +2,8 @@ import { Command } from "./command";
2
2
  import { MiddlewareStack } from "./middleware";
3
3
  import { MetadataBearer } from "./response";
4
4
  /**
5
+ * @public
6
+ *
5
7
  * function definition for different overrides of client's 'send' function.
6
8
  */
7
9
  interface InvokeFunction<InputTypes extends object, OutputTypes extends MetadataBearer, ResolvedClientConfiguration> {
@@ -1,5 +1,8 @@
1
1
  import { Handler, MiddlewareStack } from "./middleware";
2
2
  import { MetadataBearer } from "./response";
3
+ /**
4
+ * @public
5
+ */
3
6
  export interface Command<ClientInput extends object, InputType extends ClientInput, ClientOutput extends MetadataBearer, OutputType extends ClientOutput, ResolvedConfiguration> {
4
7
  readonly input: InputType;
5
8
  readonly middlewareStack: MiddlewareStack<InputType, OutputType>;
@@ -1,6 +1,8 @@
1
1
  import { AwsCredentialIdentity } from "./identity";
2
2
  import { Provider } from "./util";
3
3
  /**
4
+ * @public
5
+ *
4
6
  * An object representing temporary or permanent AWS credentials.
5
7
  *
6
8
  * @deprecated Use {@AwsCredentialIdentity}
@@ -8,6 +10,8 @@ import { Provider } from "./util";
8
10
  export interface Credentials extends AwsCredentialIdentity {
9
11
  }
10
12
  /**
13
+ * @public
14
+ *
11
15
  * @deprecated Use {@AwsCredentialIdentityProvider}
12
16
  */
13
17
  export declare type CredentialProvider = Provider<Credentials>;
@@ -1,5 +1,10 @@
1
+ /**
2
+ * @public
3
+ */
1
4
  export declare type SourceData = string | ArrayBuffer | ArrayBufferView;
2
5
  /**
6
+ * @public
7
+ *
3
8
  * An object that provides a hash of data provided in chunks to `update`. The
4
9
  * hash may be performed incrementally as chunks are received or all at once
5
10
  * when the hash is finalized, depending on the underlying implementation.
@@ -23,6 +28,8 @@ export interface Hash {
23
28
  digest(): Promise<Uint8Array>;
24
29
  }
25
30
  /**
31
+ * @public
32
+ *
26
33
  * A constructor for a hash that may be used to calculate an HMAC. Implementing
27
34
  * classes should not directly hold the provided key in memory beyond the
28
35
  * lexical scope of the constructor.
@@ -33,6 +40,8 @@ export interface HashConstructor {
33
40
  new (secret?: SourceData): Hash;
34
41
  }
35
42
  /**
43
+ * @public
44
+ *
36
45
  * A function that calculates the hash of a data stream. Determining the hash
37
46
  * will consume the stream, so only replayable streams should be provided to an
38
47
  * implementation of this interface.
@@ -41,6 +50,8 @@ export interface StreamHasher<StreamType = any> {
41
50
  (hashCtor: HashConstructor, stream: StreamType): Promise<Uint8Array>;
42
51
  }
43
52
  /**
53
+ * @public
54
+ *
44
55
  * A function that returns a promise fulfilled with bytes from a
45
56
  * cryptographically secure pseudorandom number generator.
46
57
  */
@@ -1,4 +1,6 @@
1
1
  /**
2
+ * @public
3
+ *
2
4
  * DNS record types
3
5
  */
4
6
  export declare enum HostAddressType {
@@ -11,6 +13,9 @@ export declare enum HostAddressType {
11
13
  */
12
14
  A = "A"
13
15
  }
16
+ /**
17
+ * @public
18
+ */
14
19
  export interface HostAddress {
15
20
  /**
16
21
  * The {@link HostAddressType} of the host address.
@@ -30,6 +35,9 @@ export interface HostAddress {
30
35
  */
31
36
  service?: string;
32
37
  }
38
+ /**
39
+ * @public
40
+ */
33
41
  export interface HostResolverArguments {
34
42
  /**
35
43
  * The host name to resolve.
@@ -41,6 +49,8 @@ export interface HostResolverArguments {
41
49
  service?: string;
42
50
  }
43
51
  /**
52
+ * @public
53
+ *
44
54
  * Host Resolver interface for DNS queries
45
55
  */
46
56
  export interface HostResolver {
@@ -1,4 +1,7 @@
1
1
  import { AuthScheme } from "./auth";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface EndpointPartition {
3
6
  name: string;
4
7
  dnsSuffix: string;
@@ -6,6 +9,9 @@ export interface EndpointPartition {
6
9
  supportsFIPS: boolean;
7
10
  supportsDualStack: boolean;
8
11
  }
12
+ /**
13
+ * @public
14
+ */
9
15
  export interface EndpointARN {
10
16
  partition: string;
11
17
  service: string;
@@ -13,10 +19,16 @@ export interface EndpointARN {
13
19
  accountId: string;
14
20
  resourceId: Array<string>;
15
21
  }
22
+ /**
23
+ * @public
24
+ */
16
25
  export declare enum EndpointURLScheme {
17
26
  HTTP = "http",
18
27
  HTTPS = "https"
19
28
  }
29
+ /**
30
+ * @public
31
+ */
20
32
  export interface EndpointURL {
21
33
  /**
22
34
  * The URL scheme such as http or https.
@@ -41,9 +53,15 @@ export interface EndpointURL {
41
53
  */
42
54
  isIp: boolean;
43
55
  }
56
+ /**
57
+ * @public
58
+ */
44
59
  export declare type EndpointObjectProperty = string | boolean | {
45
60
  [key: string]: EndpointObjectProperty;
46
61
  } | EndpointObjectProperty[];
62
+ /**
63
+ * @public
64
+ */
47
65
  export interface EndpointV2 {
48
66
  url: URL;
49
67
  properties?: {
@@ -51,6 +69,9 @@ export interface EndpointV2 {
51
69
  } & Record<string, EndpointObjectProperty>;
52
70
  headers?: Record<string, string[]>;
53
71
  }
72
+ /**
73
+ * @public
74
+ */
54
75
  export declare type EndpointParameters = {
55
76
  [name: string]: undefined | string | boolean;
56
77
  };
@@ -2,6 +2,8 @@ import { HttpRequest } from "./http";
2
2
  import { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, HandlerExecutionContext } from "./middleware";
3
3
  import { MetadataBearer } from "./response";
4
4
  /**
5
+ * @public
6
+ *
5
7
  * An event stream message. The headers and body properties will always be
6
8
  * defined, with empty headers represented as an object with no keys and an
7
9
  * empty body represented as a zero-length Uint8Array.
@@ -10,68 +12,112 @@ export interface Message {
10
12
  headers: MessageHeaders;
11
13
  body: Uint8Array;
12
14
  }
15
+ /**
16
+ * @public
17
+ */
13
18
  export declare type MessageHeaders = Record<string, MessageHeaderValue>;
19
+ /**
20
+ * @public
21
+ */
14
22
  export interface BooleanHeaderValue {
15
23
  type: "boolean";
16
24
  value: boolean;
17
25
  }
26
+ /**
27
+ * @public
28
+ */
18
29
  export interface ByteHeaderValue {
19
30
  type: "byte";
20
31
  value: number;
21
32
  }
33
+ /**
34
+ * @public
35
+ */
22
36
  export interface ShortHeaderValue {
23
37
  type: "short";
24
38
  value: number;
25
39
  }
40
+ /**
41
+ * @public
42
+ */
26
43
  export interface IntegerHeaderValue {
27
44
  type: "integer";
28
45
  value: number;
29
46
  }
47
+ /**
48
+ * @public
49
+ */
30
50
  export interface LongHeaderValue {
31
51
  type: "long";
32
52
  value: Int64;
33
53
  }
54
+ /**
55
+ * @public
56
+ */
34
57
  export interface BinaryHeaderValue {
35
58
  type: "binary";
36
59
  value: Uint8Array;
37
60
  }
61
+ /**
62
+ * @public
63
+ */
38
64
  export interface StringHeaderValue {
39
65
  type: "string";
40
66
  value: string;
41
67
  }
68
+ /**
69
+ * @public
70
+ */
42
71
  export interface TimestampHeaderValue {
43
72
  type: "timestamp";
44
73
  value: Date;
45
74
  }
75
+ /**
76
+ * @public
77
+ */
46
78
  export interface UuidHeaderValue {
47
79
  type: "uuid";
48
80
  value: string;
49
81
  }
82
+ /**
83
+ * @public
84
+ */
50
85
  export declare type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue;
86
+ /**
87
+ * @public
88
+ */
51
89
  export interface Int64 {
52
90
  readonly bytes: Uint8Array;
53
91
  valueOf: () => number;
54
92
  toString: () => string;
55
93
  }
56
94
  /**
95
+ * @public
96
+ *
57
97
  * Util functions for serializing or deserializing event stream
58
98
  */
59
99
  export interface EventStreamSerdeContext {
60
100
  eventStreamMarshaller: EventStreamMarshaller;
61
101
  }
62
102
  /**
103
+ * @public
104
+ *
63
105
  * A function which deserializes binary event stream message into modeled shape.
64
106
  */
65
107
  export interface EventStreamMarshallerDeserFn<StreamType> {
66
108
  <T>(body: StreamType, deserializer: (input: Record<string, Message>) => Promise<T>): AsyncIterable<T>;
67
109
  }
68
110
  /**
111
+ * @public
112
+ *
69
113
  * A function that serializes modeled shape into binary stream message.
70
114
  */
71
115
  export interface EventStreamMarshallerSerFn<StreamType> {
72
116
  <T>(input: AsyncIterable<T>, serializer: (event: T) => Message): StreamType;
73
117
  }
74
118
  /**
119
+ * @public
120
+ *
75
121
  * An interface which provides functions for serializing and deserializing binary event stream
76
122
  * to/from corresponsing modeled shape.
77
123
  */
@@ -79,18 +125,33 @@ export interface EventStreamMarshaller<StreamType = any> {
79
125
  deserialize: EventStreamMarshallerDeserFn<StreamType>;
80
126
  serialize: EventStreamMarshallerSerFn<StreamType>;
81
127
  }
128
+ /**
129
+ * @public
130
+ */
82
131
  export interface EventStreamRequestSigner {
83
132
  sign(request: HttpRequest): Promise<HttpRequest>;
84
133
  }
134
+ /**
135
+ * @public
136
+ */
85
137
  export interface EventStreamPayloadHandler {
86
138
  handle: <Input extends object, Output extends MetadataBearer>(next: FinalizeHandler<Input, Output>, args: FinalizeHandlerArguments<Input>, context?: HandlerExecutionContext) => Promise<FinalizeHandlerOutput<Output>>;
87
139
  }
140
+ /**
141
+ * @public
142
+ */
88
143
  export interface EventStreamPayloadHandlerProvider {
89
144
  (options: any): EventStreamPayloadHandler;
90
145
  }
146
+ /**
147
+ * @public
148
+ */
91
149
  export interface EventStreamSerdeProvider {
92
150
  (options: any): EventStreamMarshaller;
93
151
  }
152
+ /**
153
+ * @public
154
+ */
94
155
  export interface EventStreamSignerProvider {
95
156
  (options: any): EventStreamRequestSigner;
96
157
  }