@cdklabs/cdk-ecs-codedeploy 0.0.319 → 0.0.321

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 (120) 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/client-codedeploy/dist-cjs/index.js +47 -141
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +1 -3
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +1 -3
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +1 -3
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +1 -3
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +1 -3
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +1 -3
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +1 -3
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +1 -3
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +1 -3
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +1 -3
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +1 -3
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +1 -3
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +1 -3
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +1 -3
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +1 -3
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +1 -3
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +1 -3
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +1 -3
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +1 -3
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +1 -3
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +1 -3
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +1 -3
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +1 -3
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +1 -3
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +1 -3
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +1 -3
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +1 -3
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +1 -3
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +1 -3
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +1 -3
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +1 -3
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +1 -3
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +1 -3
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +1 -3
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +1 -3
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +1 -3
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +1 -3
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +1 -3
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +1 -3
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +1 -3
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +1 -3
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +1 -3
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +1 -3
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +1 -3
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +1 -3
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +1 -3
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/endpointResolver.js +7 -3
  55. package/node_modules/@aws-sdk/client-codedeploy/package.json +4 -4
  56. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +4 -12
  57. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -3
  58. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -3
  59. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -3
  60. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -3
  61. package/node_modules/@aws-sdk/client-sso/package.json +1 -1
  62. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +4 -12
  63. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -3
  64. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
  65. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -3
  66. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
  67. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +7 -3
  68. package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -3
  69. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +8 -24
  70. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -3
  71. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -3
  72. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -3
  73. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -3
  74. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -3
  75. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -3
  76. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -3
  77. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -3
  78. package/node_modules/@aws-sdk/client-sts/package.json +3 -3
  79. package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
  80. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  81. package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
  82. package/node_modules/@smithy/abort-controller/package.json +2 -2
  83. package/node_modules/@smithy/config-resolver/package.json +4 -4
  84. package/node_modules/@smithy/core/package.json +8 -8
  85. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  86. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +5 -1
  87. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -0
  88. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  89. package/node_modules/@smithy/hash-node/package.json +2 -2
  90. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  91. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  92. package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
  93. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  94. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  95. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  96. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  97. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  98. package/node_modules/@smithy/property-provider/package.json +2 -2
  99. package/node_modules/@smithy/protocol-http/package.json +2 -2
  100. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  101. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  102. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  103. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  104. package/node_modules/@smithy/signature-v4/package.json +4 -4
  105. package/node_modules/@smithy/smithy-client/package.json +6 -6
  106. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +25 -0
  107. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +25 -0
  108. package/node_modules/@smithy/types/package.json +1 -1
  109. package/node_modules/@smithy/url-parser/package.json +3 -3
  110. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  111. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  112. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  113. package/node_modules/@smithy/util-middleware/package.json +2 -2
  114. package/node_modules/@smithy/util-retry/package.json +3 -3
  115. package/node_modules/@smithy/util-stream/package.json +5 -5
  116. package/node_modules/@smithy/util-waiter/package.json +3 -3
  117. package/package.json +2 -2
  118. package/node_modules/@aws-sdk/client-codedeploy/dist-types/tsdoc-metadata.json +0 -11
  119. package/node_modules/@aws-sdk/client-sso/dist-types/tsdoc-metadata.json +0 -11
  120. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/tsdoc-metadata.json +0 -11
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-serde",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^3.4.0",
26
+ "@smithy/types": "^3.4.1",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
@@ -46,7 +46,7 @@
46
46
  "directory": "packages/middleware-serde"
47
47
  },
48
48
  "devDependencies": {
49
- "@smithy/util-test": "^0.2.7",
49
+ "@smithy/util-test": "^0.2.8",
50
50
  "concurrently": "7.0.0",
51
51
  "downlevel-dts": "0.10.1",
52
52
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
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 && yarn build:types:downlevel'",
@@ -25,7 +25,7 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/types": "^3.4.0",
28
+ "@smithy/types": "^3.4.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
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 && yarn build:types:downlevel'",
@@ -24,9 +24,9 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@smithy/property-provider": "^3.1.4",
28
- "@smithy/shared-ini-file-loader": "^3.1.5",
29
- "@smithy/types": "^3.4.0",
27
+ "@smithy/property-provider": "^3.1.5",
28
+ "@smithy/shared-ini-file-loader": "^3.1.6",
29
+ "@smithy/types": "^3.4.1",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
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 && yarn build:types:downlevel'",
@@ -25,10 +25,10 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/abort-controller": "^3.1.2",
29
- "@smithy/protocol-http": "^4.1.1",
30
- "@smithy/querystring-builder": "^3.0.4",
31
- "@smithy/types": "^3.4.0",
28
+ "@smithy/abort-controller": "^3.1.3",
29
+ "@smithy/protocol-http": "^4.1.2",
30
+ "@smithy/querystring-builder": "^3.0.5",
31
+ "@smithy/types": "^3.4.1",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/property-provider",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline property-provider",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.4.0",
25
+ "@smithy/types": "^3.4.1",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/protocol-http",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline protocol-http",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^3.4.0",
26
+ "@smithy/types": "^3.4.1",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline querystring-builder",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.4.0",
25
+ "@smithy/types": "^3.4.1",
26
26
  "@smithy/util-uri-escape": "^3.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-parser",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline querystring-parser",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.4.0",
25
+ "@smithy/types": "^3.4.1",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline service-error-classification",
@@ -53,6 +53,6 @@
53
53
  "directory": ".release/package"
54
54
  },
55
55
  "dependencies": {
56
- "@smithy/types": "^3.4.0"
56
+ "@smithy/types": "^3.4.1"
57
57
  }
58
58
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "dependencies": {
5
- "@smithy/types": "^3.4.0",
5
+ "@smithy/types": "^3.4.1",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
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",
@@ -25,10 +25,10 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@smithy/is-array-buffer": "^3.0.0",
28
- "@smithy/protocol-http": "^4.1.1",
29
- "@smithy/types": "^3.4.0",
28
+ "@smithy/protocol-http": "^4.1.2",
29
+ "@smithy/types": "^3.4.1",
30
30
  "@smithy/util-hex-encoding": "^3.0.0",
31
- "@smithy/util-middleware": "^3.0.4",
31
+ "@smithy/util-middleware": "^3.0.5",
32
32
  "@smithy/util-uri-escape": "^3.0.0",
33
33
  "@smithy/util-utf8": "^3.0.0",
34
34
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline smithy-client",
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/middleware-endpoint": "^3.1.1",
27
- "@smithy/middleware-stack": "^3.0.4",
28
- "@smithy/protocol-http": "^4.1.1",
29
- "@smithy/types": "^3.4.0",
30
- "@smithy/util-stream": "^3.1.4",
26
+ "@smithy/middleware-endpoint": "^3.1.2",
27
+ "@smithy/middleware-stack": "^3.0.5",
28
+ "@smithy/protocol-http": "^4.1.2",
29
+ "@smithy/types": "^3.4.1",
30
+ "@smithy/util-stream": "^3.1.5",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
@@ -2,6 +2,7 @@
2
2
  /// <reference types="node" />
3
3
  import type { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
4
4
  import type { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
5
+ import { HttpRequest as IHttpRequest } from "../http";
5
6
  import { Logger } from "../logger";
6
7
  /**
7
8
  *
@@ -87,4 +88,28 @@ export interface FetchHttpHandlerOptions {
87
88
  * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials
88
89
  */
89
90
  credentials?: "include" | "omit" | "same-origin" | undefined | string;
91
+ /**
92
+ * Cache settings for fetch.
93
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/cache
94
+ */
95
+ cache?: "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
96
+ /**
97
+ * An optional function that produces additional RequestInit
98
+ * parameters for each httpRequest.
99
+ *
100
+ * This is applied last via merging with Object.assign() and overwrites other values
101
+ * set from other sources.
102
+ *
103
+ * @example
104
+ * ```js
105
+ * new Client({
106
+ * requestHandler: {
107
+ * requestInit(httpRequest) {
108
+ * return { cache: "no-store" };
109
+ * }
110
+ * }
111
+ * });
112
+ * ```
113
+ */
114
+ requestInit?: (httpRequest: IHttpRequest) => RequestInit;
90
115
  }
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
3
3
  import { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
4
+ import { HttpRequest as IHttpRequest } from "../http";
4
5
  import { Logger } from "../logger";
5
6
  /**
6
7
  *
@@ -86,4 +87,28 @@ export interface FetchHttpHandlerOptions {
86
87
  * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials
87
88
  */
88
89
  credentials?: "include" | "omit" | "same-origin" | undefined | string;
90
+ /**
91
+ * Cache settings for fetch.
92
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/cache
93
+ */
94
+ cache?: "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
95
+ /**
96
+ * An optional function that produces additional RequestInit
97
+ * parameters for each httpRequest.
98
+ *
99
+ * This is applied last via merging with Object.assign() and overwrites other values
100
+ * set from other sources.
101
+ *
102
+ * @example
103
+ * ```js
104
+ * new Client({
105
+ * requestHandler: {
106
+ * requestInit(httpRequest) {
107
+ * return { cache: "no-store" };
108
+ * }
109
+ * }
110
+ * });
111
+ * ```
112
+ */
113
+ requestInit?: (httpRequest: IHttpRequest) => RequestInit;
89
114
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline types",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/url-parser",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline url-parser",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/querystring-parser": "^3.0.4",
26
- "@smithy/types": "^3.4.0",
25
+ "@smithy/querystring-parser": "^3.0.5",
26
+ "@smithy/types": "^3.4.1",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/property-provider": "^3.1.4",
26
- "@smithy/smithy-client": "^3.3.0",
27
- "@smithy/types": "^3.4.0",
25
+ "@smithy/property-provider": "^3.1.5",
26
+ "@smithy/smithy-client": "^3.3.1",
27
+ "@smithy/types": "^3.4.1",
28
28
  "bowser": "^2.11.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/config-resolver": "^3.0.6",
26
- "@smithy/credential-provider-imds": "^3.2.1",
27
- "@smithy/node-config-provider": "^3.1.5",
28
- "@smithy/property-provider": "^3.1.4",
29
- "@smithy/smithy-client": "^3.3.0",
30
- "@smithy/types": "^3.4.0",
25
+ "@smithy/config-resolver": "^3.0.7",
26
+ "@smithy/credential-provider-imds": "^3.2.2",
27
+ "@smithy/node-config-provider": "^3.1.6",
28
+ "@smithy/property-provider": "^3.1.5",
29
+ "@smithy/smithy-client": "^3.3.1",
30
+ "@smithy/types": "^3.4.1",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-endpoints",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Utilities to help with endpoint resolution.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@smithy/node-config-provider": "^3.1.5",
30
- "@smithy/types": "^3.4.0",
29
+ "@smithy/node-config-provider": "^3.1.6",
30
+ "@smithy/types": "^3.4.1",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-middleware",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "Shared utilities for to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@smithy/types": "^3.4.0",
29
+ "@smithy/types": "^3.4.1",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
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",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@smithy/service-error-classification": "^3.0.4",
31
- "@smithy/types": "^3.4.0",
30
+ "@smithy/service-error-classification": "^3.0.5",
31
+ "@smithy/types": "^3.4.1",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-stream",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/fetch-http-handler": "^3.2.5",
28
- "@smithy/node-http-handler": "^3.2.0",
29
- "@smithy/types": "^3.4.0",
27
+ "@smithy/fetch-http-handler": "^3.2.6",
28
+ "@smithy/node-http-handler": "^3.2.1",
29
+ "@smithy/types": "^3.4.1",
30
30
  "@smithy/util-base64": "^3.0.0",
31
31
  "@smithy/util-buffer-from": "^3.0.0",
32
32
  "@smithy/util-hex-encoding": "^3.0.0",
@@ -34,7 +34,7 @@
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@smithy/util-test": "^0.2.7",
37
+ "@smithy/util-test": "^0.2.8",
38
38
  "@types/node": "^16.18.96",
39
39
  "concurrently": "7.0.0",
40
40
  "downlevel-dts": "0.10.1",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@smithy/util-waiter",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "Shared utilities for client waiters for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/abort-controller": "^3.1.2",
7
- "@smithy/types": "^3.4.0",
6
+ "@smithy/abort-controller": "^3.1.3",
7
+ "@smithy/types": "^3.4.1",
8
8
  "tslib": "^2.6.2"
9
9
  },
10
10
  "scripts": {
package/package.json CHANGED
@@ -109,7 +109,7 @@
109
109
  "constructs": "^10.0.5"
110
110
  },
111
111
  "dependencies": {
112
- "@aws-sdk/client-codedeploy": "^3.649.0",
112
+ "@aws-sdk/client-codedeploy": "^3.650.0",
113
113
  "jmespath": "^0.16.0"
114
114
  },
115
115
  "bundledDependencies": [
@@ -127,7 +127,7 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.319",
130
+ "version": "0.0.321",
131
131
  "jest": {
132
132
  "coverageProvider": "v8",
133
133
  "testMatch": [
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }