@cdk8s/awscdk-resolver 0.0.528 → 0.0.529

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 (149) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +8 -8
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForChangeSetCreateComplete.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackCreateComplete.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackDeleteComplete.js +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackExists.js +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackImportComplete.js +1 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorCreateComplete.js +1 -1
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorExecuteComplete.js +1 -1
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRollbackComplete.js +1 -1
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackUpdateComplete.js +1 -1
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForTypeRegistrationComplete.js +1 -1
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +90 -90
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +93 -93
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeAccountLimitsPaginator.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeChangeSetPaginator.d.ts +1 -1
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackEventsPaginator.d.ts +1 -1
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackResourceDriftsPaginator.d.ts +1 -1
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStacksPaginator.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListChangeSetsPaginator.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListGeneratedTemplatesPaginator.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanResourcesPaginator.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScansPaginator.d.ts +1 -1
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackInstancesPaginator.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorActionsPaginator.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorsPaginator.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackResourcesPaginator.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationResultsPaginator.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationsPaginator.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetsPaginator.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStacksPaginator.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeRegistrationsPaginator.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeVersionsPaginator.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypesPaginator.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +2 -3
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForChangeSetCreateComplete.d.ts +3 -3
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackCreateComplete.d.ts +3 -3
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackDeleteComplete.d.ts +3 -3
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackExists.d.ts +3 -3
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackImportComplete.d.ts +3 -3
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorCreateComplete.d.ts +3 -3
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorExecuteComplete.d.ts +3 -3
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRollbackComplete.d.ts +3 -3
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackUpdateComplete.d.ts +3 -3
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForTypeRegistrationComplete.d.ts +3 -3
  55. package/node_modules/@aws-sdk/client-cloudformation/package.json +14 -14
  56. package/node_modules/@aws-sdk/core/package.json +3 -3
  57. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  58. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  59. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  60. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  61. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  62. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  63. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  64. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  65. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +10 -10
  66. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +1 -1
  67. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  68. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
  69. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +1 -1
  70. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  71. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  72. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
  73. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +1 -1
  74. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
  75. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  76. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +2 -2
  77. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  78. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +2 -2
  79. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +3 -4
  80. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  81. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -1
  82. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  83. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -4
  84. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  85. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -1
  86. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +1 -1
  87. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +3 -4
  88. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  89. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -1
  90. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  91. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +3 -4
  92. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  93. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -1
  94. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  95. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +3 -4
  96. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  97. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -2
  98. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -1
  99. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -2
  100. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  101. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +2 -5
  102. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  103. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +2 -2
  104. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  105. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -2
  106. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  107. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +2 -5
  108. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  109. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  110. package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
  111. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  112. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  113. package/node_modules/@smithy/core/README.md +12 -1
  114. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -17
  115. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -8
  116. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +7 -9
  117. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  118. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
  119. package/node_modules/@smithy/core/package.json +2 -2
  120. package/node_modules/@smithy/middleware-endpoint/README.md +10 -3
  121. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  122. package/node_modules/@smithy/middleware-retry/README.md +13 -0
  123. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  124. package/node_modules/@smithy/middleware-serde/README.md +13 -0
  125. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  126. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  127. package/node_modules/@smithy/smithy-client/README.md +10 -3
  128. package/node_modules/@smithy/smithy-client/package.json +4 -4
  129. package/node_modules/@smithy/util-defaults-mode-browser/README.md +10 -3
  130. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  131. package/node_modules/@smithy/util-defaults-mode-node/README.md +10 -3
  132. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  133. package/node_modules/@smithy/util-stream/package.json +2 -2
  134. package/node_modules/@smithy/util-waiter/README.md +10 -3
  135. package/node_modules/@smithy/util-waiter/package.json +2 -2
  136. package/package.json +3 -3
  137. package/node_modules/@smithy/abort-controller/LICENSE +0 -201
  138. package/node_modules/@smithy/abort-controller/README.md +0 -4
  139. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -32
  140. package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -7
  141. package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
  142. package/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
  143. package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
  144. package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
  145. package/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
  146. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
  147. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
  148. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
  149. package/node_modules/@smithy/abort-controller/package.json +0 -63
@@ -1,5 +1,5 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
- import type { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
2
+ import { type GetRoleCredentialsCommandInput, type GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
3
3
  import { SSOClient } from "./SSOClient";
4
4
  export interface SSO {
5
5
  /**
@@ -5,11 +5,10 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import type { Provider, UserAgent as __UserAgent } from "@smithy/types";
9
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser } from "@smithy/types";
8
+ import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
10
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
10
  import type { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
12
- import type { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
11
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
13
12
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
14
13
  export { __Client };
15
14
  /**
@@ -118,7 +117,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
118
117
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
119
118
  * @internal
120
119
  */
121
- defaultUserAgentProvider?: Provider<__UserAgent>;
120
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
122
121
  /**
123
122
  * Value for how many times a request will be made at most in case of retry.
124
123
  */
@@ -1,5 +1,4 @@
1
- import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
- import { type HttpAuthScheme } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
3
2
  import type { SSOHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
4
3
  /**
5
4
  * @internal
@@ -20,7 +20,7 @@
20
20
  */
21
21
  export * from "./SSOClient";
22
22
  export * from "./SSO";
23
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
23
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
24
24
  export type { RuntimeExtension } from "./runtimeExtensions";
25
25
  export type { SSOExtensionConfiguration } from "./extensionConfiguration";
26
26
  export * from "./commands";
@@ -1,5 +1,5 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
- import type { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
2
+ import { type CreateTokenCommandInput, type CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
3
3
  import { SSOOIDCClient } from "./SSOOIDCClient";
4
4
  export interface SSOOIDC {
5
5
  /**
@@ -5,11 +5,10 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import type { Provider, UserAgent as __UserAgent } from "@smithy/types";
9
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser } from "@smithy/types";
8
+ import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
10
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
10
  import type { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
12
- import type { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
11
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
13
12
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
14
13
  export { __Client };
15
14
  /**
@@ -118,7 +117,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
118
117
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
119
118
  * @internal
120
119
  */
121
- defaultUserAgentProvider?: Provider<__UserAgent>;
120
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
122
121
  /**
123
122
  * Value for how many times a request will be made at most in case of retry.
124
123
  */
@@ -1,5 +1,4 @@
1
- import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
- import { type HttpAuthScheme } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
3
2
  import type { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
4
3
  /**
5
4
  * @internal
@@ -43,7 +43,7 @@
43
43
  */
44
44
  export * from "./SSOOIDCClient";
45
45
  export * from "./SSOOIDC";
46
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
46
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
47
47
  export type { RuntimeExtension } from "./runtimeExtensions";
48
48
  export type { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
49
49
  export * from "./commands";
@@ -1,6 +1,6 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
- import type { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
3
- import type { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
2
+ import { type AssumeRoleCommandInput, type AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
3
+ import { type AssumeRoleWithWebIdentityCommandInput, type AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
4
4
  import { STSClient } from "./STSClient";
5
5
  export interface STS {
6
6
  /**
@@ -5,12 +5,11 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import type { AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser } from "@smithy/types";
8
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
10
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
10
  import type { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
12
11
  import type { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
13
- import type { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
12
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
14
13
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
15
14
  export { __Client };
16
15
  /**
@@ -119,7 +118,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
119
118
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
120
119
  * @internal
121
120
  */
122
- defaultUserAgentProvider?: Provider<__UserAgent>;
121
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
123
122
  /**
124
123
  * Default credentials provider; Not available in browser runtime.
125
124
  * @deprecated
@@ -1,5 +1,4 @@
1
- import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
- import { type HttpAuthScheme } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
3
2
  import type { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
4
3
  /**
5
4
  * @internal
@@ -1,6 +1,5 @@
1
1
  import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
- import type { Client } from "@smithy/types";
3
- import { type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider } from "@smithy/types";
2
+ import type { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
4
3
  import { type STSClientResolvedConfig } from "../STSClient";
5
4
  /**
6
5
  * @internal
@@ -8,7 +8,7 @@
8
8
  */
9
9
  export * from "./STSClient";
10
10
  export * from "./STS";
11
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
11
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
12
12
  export type { RuntimeExtension } from "./runtimeExtensions";
13
13
  export type { STSExtensionConfiguration } from "./extensionConfiguration";
14
14
  export * from "./commands";
@@ -25,7 +25,6 @@ import {
25
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
- import { Provider, UserAgent as __UserAgent } from "@smithy/types";
29
28
  import {
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
@@ -38,6 +37,7 @@ import {
38
37
  Provider as __Provider,
39
38
  StreamCollector as __StreamCollector,
40
39
  UrlParser as __UrlParser,
40
+ UserAgent as __UserAgent,
41
41
  } from "@smithy/types";
42
42
  import {
43
43
  HttpAuthSchemeInputConfig,
@@ -79,7 +79,7 @@ export interface ClientDefaults
79
79
  useFipsEndpoint?: boolean | __Provider<boolean>;
80
80
  region?: string | __Provider<string>;
81
81
  profile?: string;
82
- defaultUserAgentProvider?: Provider<__UserAgent>;
82
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
83
83
  maxAttempts?: number | __Provider<number>;
84
84
  retryMode?: string | __Provider<string>;
85
85
  logger?: __Logger;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AwsCredentialIdentity,
3
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
4
5
  } from "@smithy/types";
5
- import { HttpAuthScheme } from "@smithy/types";
6
6
  import { CognitoIdentityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
@@ -27,10 +27,6 @@ import {
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
29
  AwsCredentialIdentityProvider,
30
- Provider,
31
- UserAgent as __UserAgent,
32
- } from "@smithy/types";
33
- import {
34
30
  BodyLengthCalculator as __BodyLengthCalculator,
35
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -42,6 +38,7 @@ import {
42
38
  Provider as __Provider,
43
39
  StreamCollector as __StreamCollector,
44
40
  UrlParser as __UrlParser,
41
+ UserAgent as __UserAgent,
45
42
  } from "@smithy/types";
46
43
  import {
47
44
  HttpAuthSchemeInputConfig,
@@ -78,7 +75,7 @@ export interface ClientDefaults
78
75
  useFipsEndpoint?: boolean | __Provider<boolean>;
79
76
  region?: string | __Provider<string>;
80
77
  profile?: string;
81
- defaultUserAgentProvider?: Provider<__UserAgent>;
78
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
82
79
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
83
80
  maxAttempts?: number | __Provider<number>;
84
81
  retryMode?: string | __Provider<string>;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AwsCredentialIdentity,
3
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
4
5
  } from "@smithy/types";
5
- import { HttpAuthScheme } from "@smithy/types";
6
6
  import { SigninHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
@@ -25,7 +25,6 @@ import {
25
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
- import { Provider, UserAgent as __UserAgent } from "@smithy/types";
29
28
  import {
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
@@ -38,6 +37,7 @@ import {
38
37
  Provider as __Provider,
39
38
  StreamCollector as __StreamCollector,
40
39
  UrlParser as __UrlParser,
40
+ UserAgent as __UserAgent,
41
41
  } from "@smithy/types";
42
42
  import {
43
43
  HttpAuthSchemeInputConfig,
@@ -74,7 +74,7 @@ export interface ClientDefaults
74
74
  useFipsEndpoint?: boolean | __Provider<boolean>;
75
75
  region?: string | __Provider<string>;
76
76
  profile?: string;
77
- defaultUserAgentProvider?: Provider<__UserAgent>;
77
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
78
78
  maxAttempts?: number | __Provider<number>;
79
79
  retryMode?: string | __Provider<string>;
80
80
  logger?: __Logger;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AwsCredentialIdentity,
3
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
4
5
  } from "@smithy/types";
5
- import { HttpAuthScheme } from "@smithy/types";
6
6
  import { SSOHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
@@ -25,7 +25,6 @@ import {
25
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
- import { Provider, UserAgent as __UserAgent } from "@smithy/types";
29
28
  import {
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
@@ -38,6 +37,7 @@ import {
38
37
  Provider as __Provider,
39
38
  StreamCollector as __StreamCollector,
40
39
  UrlParser as __UrlParser,
40
+ UserAgent as __UserAgent,
41
41
  } from "@smithy/types";
42
42
  import {
43
43
  HttpAuthSchemeInputConfig,
@@ -74,7 +74,7 @@ export interface ClientDefaults
74
74
  useFipsEndpoint?: boolean | __Provider<boolean>;
75
75
  region?: string | __Provider<string>;
76
76
  profile?: string;
77
- defaultUserAgentProvider?: Provider<__UserAgent>;
77
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
78
78
  maxAttempts?: number | __Provider<number>;
79
79
  retryMode?: string | __Provider<string>;
80
80
  logger?: __Logger;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AwsCredentialIdentity,
3
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
4
5
  } from "@smithy/types";
5
- import { HttpAuthScheme } from "@smithy/types";
6
6
  import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
@@ -27,10 +27,6 @@ import {
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
29
  AwsCredentialIdentityProvider,
30
- Provider,
31
- UserAgent as __UserAgent,
32
- } from "@smithy/types";
33
- import {
34
30
  BodyLengthCalculator as __BodyLengthCalculator,
35
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -42,6 +38,7 @@ import {
42
38
  Provider as __Provider,
43
39
  StreamCollector as __StreamCollector,
44
40
  UrlParser as __UrlParser,
41
+ UserAgent as __UserAgent,
45
42
  } from "@smithy/types";
46
43
  import {
47
44
  HttpAuthSchemeInputConfig,
@@ -86,7 +83,7 @@ export interface ClientDefaults
86
83
  useFipsEndpoint?: boolean | __Provider<boolean>;
87
84
  region?: string | __Provider<string>;
88
85
  profile?: string;
89
- defaultUserAgentProvider?: Provider<__UserAgent>;
86
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
90
87
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
91
88
  maxAttempts?: number | __Provider<number>;
92
89
  retryMode?: string | __Provider<string>;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AwsCredentialIdentity,
3
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
4
5
  } from "@smithy/types";
5
- import { HttpAuthScheme } from "@smithy/types";
6
6
  import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
@@ -3,8 +3,8 @@ import {
3
3
  AwsSdkSigV4AuthResolvedConfig,
4
4
  AwsSdkSigV4PreviouslyResolved,
5
5
  } from "@aws-sdk/core/httpAuthSchemes";
6
- import { Client } from "@smithy/types";
7
6
  import {
7
+ Client,
8
8
  HandlerExecutionContext,
9
9
  HttpAuthScheme,
10
10
  HttpAuthSchemeParameters,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.996.16",
3
+ "version": "3.996.17",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,37 +29,37 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "^3.973.25",
32
+ "@aws-sdk/core": "^3.973.26",
33
33
  "@aws-sdk/middleware-host-header": "^3.972.8",
34
34
  "@aws-sdk/middleware-logger": "^3.972.8",
35
35
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
36
- "@aws-sdk/middleware-user-agent": "^3.972.26",
36
+ "@aws-sdk/middleware-user-agent": "^3.972.27",
37
37
  "@aws-sdk/region-config-resolver": "^3.972.10",
38
38
  "@aws-sdk/types": "^3.973.6",
39
39
  "@aws-sdk/util-endpoints": "^3.996.5",
40
40
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
41
- "@aws-sdk/util-user-agent-node": "^3.973.12",
41
+ "@aws-sdk/util-user-agent-node": "^3.973.13",
42
42
  "@smithy/config-resolver": "^4.4.13",
43
- "@smithy/core": "^3.23.12",
43
+ "@smithy/core": "^3.23.13",
44
44
  "@smithy/fetch-http-handler": "^5.3.15",
45
45
  "@smithy/hash-node": "^4.2.12",
46
46
  "@smithy/invalid-dependency": "^4.2.12",
47
47
  "@smithy/middleware-content-length": "^4.2.12",
48
- "@smithy/middleware-endpoint": "^4.4.27",
49
- "@smithy/middleware-retry": "^4.4.44",
50
- "@smithy/middleware-serde": "^4.2.15",
48
+ "@smithy/middleware-endpoint": "^4.4.28",
49
+ "@smithy/middleware-retry": "^4.4.45",
50
+ "@smithy/middleware-serde": "^4.2.16",
51
51
  "@smithy/middleware-stack": "^4.2.12",
52
52
  "@smithy/node-config-provider": "^4.3.12",
53
- "@smithy/node-http-handler": "^4.5.0",
53
+ "@smithy/node-http-handler": "^4.5.1",
54
54
  "@smithy/protocol-http": "^5.3.12",
55
- "@smithy/smithy-client": "^4.12.7",
55
+ "@smithy/smithy-client": "^4.12.8",
56
56
  "@smithy/types": "^4.13.1",
57
57
  "@smithy/url-parser": "^4.2.12",
58
58
  "@smithy/util-base64": "^4.3.2",
59
59
  "@smithy/util-body-length-browser": "^4.2.2",
60
60
  "@smithy/util-body-length-node": "^4.2.3",
61
- "@smithy/util-defaults-mode-browser": "^4.3.43",
62
- "@smithy/util-defaults-mode-node": "^4.2.47",
61
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
62
+ "@smithy/util-defaults-mode-node": "^4.2.48",
63
63
  "@smithy/util-endpoints": "^3.3.3",
64
64
  "@smithy/util-middleware": "^4.2.12",
65
65
  "@smithy/util-retry": "^4.2.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1019.0",
3
+ "version": "3.1020.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.973.25",
33
- "@aws-sdk/nested-clients": "^3.996.16",
32
+ "@aws-sdk/core": "^3.973.26",
33
+ "@aws-sdk/nested-clients": "^3.996.17",
34
34
  "@aws-sdk/types": "^3.973.6",
35
35
  "@smithy/property-provider": "^4.2.12",
36
36
  "@smithy/shared-ini-file-loader": "^4.4.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.973.12",
3
+ "version": "3.973.13",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/middleware-user-agent": "^3.972.26",
27
+ "@aws-sdk/middleware-user-agent": "^3.972.27",
28
28
  "@aws-sdk/types": "^3.973.6",
29
29
  "@smithy/node-config-provider": "^4.3.12",
30
30
  "@smithy/types": "^4.13.1",
@@ -3,7 +3,18 @@
3
3
  [![NPM version](https://img.shields.io/npm/v/@smithy/core/latest.svg)](https://www.npmjs.com/package/@smithy/core)
4
4
  [![NPM downloads](https://img.shields.io/npm/dm/@smithy/core.svg)](https://www.npmjs.com/package/@smithy/core)
5
5
 
6
- > An internal package. You probably shouldn't use this package, at least directly.
6
+ ### :warning: Internal API :warning:
7
+
8
+ > This is an internal package.
9
+ > That means this is used as a dependency for other, public packages, but
10
+ > should not be taken directly as a dependency in your application's `package.json`.
11
+
12
+ > If you are updating the version of this package, for example to bring in a
13
+ > bug-fix, you should do so by updating your application lockfile with
14
+ > e.g. `npm up @scope/package` or equivalent command in another
15
+ > package manager, rather than taking a direct dependency.
16
+
17
+ ---
7
18
 
8
19
  This package provides common or core functionality for generic Smithy clients.
9
20
 
@@ -166,9 +166,7 @@ class HttpProtocol extends SerdeContext {
166
166
 
167
167
  class HttpBindingProtocol extends HttpProtocol {
168
168
  async serializeRequest(operationSchema, _input, context) {
169
- const input = {
170
- ...(_input ?? {}),
171
- };
169
+ const input = _input && typeof _input === "object" ? _input : {};
172
170
  const serializer = this.serializer;
173
171
  const query = {};
174
172
  const headers = {};
@@ -236,7 +234,6 @@ class HttpBindingProtocol extends HttpProtocol {
236
234
  serializer.write(memberNs, inputMemberValue);
237
235
  payload = serializer.flush();
238
236
  }
239
- delete input[memberName];
240
237
  }
241
238
  else if (memberTraits.httpLabel) {
242
239
  serializer.write(memberNs, inputMemberValue);
@@ -247,12 +244,10 @@ class HttpBindingProtocol extends HttpProtocol {
247
244
  else if (request.path.includes(`{${memberName}}`)) {
248
245
  request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
249
246
  }
250
- delete input[memberName];
251
247
  }
252
248
  else if (memberTraits.httpHeader) {
253
249
  serializer.write(memberNs, inputMemberValue);
254
250
  headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
255
- delete input[memberName];
256
251
  }
257
252
  else if (typeof memberTraits.httpPrefixHeaders === "string") {
258
253
  for (const [key, val] of Object.entries(inputMemberValue)) {
@@ -260,11 +255,9 @@ class HttpBindingProtocol extends HttpProtocol {
260
255
  serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
261
256
  headers[amalgam.toLowerCase()] = serializer.flush();
262
257
  }
263
- delete input[memberName];
264
258
  }
265
259
  else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
266
260
  this.serializeQuery(memberNs, inputMemberValue, query);
267
- delete input[memberName];
268
261
  }
269
262
  else {
270
263
  hasNonHttpBindingMember = true;
@@ -452,7 +445,7 @@ class HttpBindingProtocol extends HttpProtocol {
452
445
  }
453
446
 
454
447
  class RpcProtocol extends HttpProtocol {
455
- async serializeRequest(operationSchema, input, context) {
448
+ async serializeRequest(operationSchema, _input, context) {
456
449
  const serializer = this.serializer;
457
450
  const query = {};
458
451
  const headers = {};
@@ -460,6 +453,7 @@ class RpcProtocol extends HttpProtocol {
460
453
  const ns = schema.NormalizedSchema.of(operationSchema?.input);
461
454
  const schema$1 = ns.getSchema();
462
455
  let payload;
456
+ const input = _input && typeof _input === "object" ? _input : {};
463
457
  const request = new protocolHttp.HttpRequest({
464
458
  protocol: "",
465
459
  hostname: "",
@@ -474,29 +468,26 @@ class RpcProtocol extends HttpProtocol {
474
468
  this.updateServiceEndpoint(request, endpoint);
475
469
  this.setHostPrefix(request, operationSchema, input);
476
470
  }
477
- const _input = {
478
- ...input,
479
- };
480
471
  if (input) {
481
472
  const eventStreamMember = ns.getEventStreamMember();
482
473
  if (eventStreamMember) {
483
- if (_input[eventStreamMember]) {
474
+ if (input[eventStreamMember]) {
484
475
  const initialRequest = {};
485
476
  for (const [memberName, memberSchema] of ns.structIterator()) {
486
- if (memberName !== eventStreamMember && _input[memberName]) {
487
- serializer.write(memberSchema, _input[memberName]);
477
+ if (memberName !== eventStreamMember && input[memberName]) {
478
+ serializer.write(memberSchema, input[memberName]);
488
479
  initialRequest[memberName] = serializer.flush();
489
480
  }
490
481
  }
491
482
  payload = await this.serializeEventStream({
492
- eventStream: _input[eventStreamMember],
483
+ eventStream: input[eventStreamMember],
493
484
  requestSchema: ns,
494
485
  initialRequest,
495
486
  });
496
487
  }
497
488
  }
498
489
  else {
499
- serializer.write(schema$1, _input);
490
+ serializer.write(schema$1, input);
500
491
  payload = serializer.flush();
501
492
  }
502
493
  }
@@ -7,9 +7,7 @@ import { extendedEncodeURIComponent } from "./extended-encode-uri-component";
7
7
  import { HttpProtocol } from "./HttpProtocol";
8
8
  export class HttpBindingProtocol extends HttpProtocol {
9
9
  async serializeRequest(operationSchema, _input, context) {
10
- const input = {
11
- ...(_input ?? {}),
12
- };
10
+ const input = _input && typeof _input === "object" ? _input : {};
13
11
  const serializer = this.serializer;
14
12
  const query = {};
15
13
  const headers = {};
@@ -77,7 +75,6 @@ export class HttpBindingProtocol extends HttpProtocol {
77
75
  serializer.write(memberNs, inputMemberValue);
78
76
  payload = serializer.flush();
79
77
  }
80
- delete input[memberName];
81
78
  }
82
79
  else if (memberTraits.httpLabel) {
83
80
  serializer.write(memberNs, inputMemberValue);
@@ -88,12 +85,10 @@ export class HttpBindingProtocol extends HttpProtocol {
88
85
  else if (request.path.includes(`{${memberName}}`)) {
89
86
  request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
90
87
  }
91
- delete input[memberName];
92
88
  }
93
89
  else if (memberTraits.httpHeader) {
94
90
  serializer.write(memberNs, inputMemberValue);
95
91
  headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
96
- delete input[memberName];
97
92
  }
98
93
  else if (typeof memberTraits.httpPrefixHeaders === "string") {
99
94
  for (const [key, val] of Object.entries(inputMemberValue)) {
@@ -101,11 +96,9 @@ export class HttpBindingProtocol extends HttpProtocol {
101
96
  serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
102
97
  headers[amalgam.toLowerCase()] = serializer.flush();
103
98
  }
104
- delete input[memberName];
105
99
  }
106
100
  else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
107
101
  this.serializeQuery(memberNs, inputMemberValue, query);
108
- delete input[memberName];
109
102
  }
110
103
  else {
111
104
  hasNonHttpBindingMember = true;