@cdk8s/awscdk-resolver 0.0.723 → 0.0.725

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 (139) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
  6. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +51 -1
  7. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
  10. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
  11. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
  12. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
  13. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  14. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
  15. package/node_modules/@aws-sdk/core/package.json +3 -3
  16. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  17. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  18. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  19. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  20. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  21. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  22. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  23. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  24. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  25. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
  26. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  27. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  28. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  29. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  30. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
  31. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -2
  32. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
  33. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
  39. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  40. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  41. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  42. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  43. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -16
  44. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +36 -17
  45. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  46. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  47. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  48. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  49. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
  50. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
  51. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
  52. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -24
  53. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +20 -10
  54. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +24 -12
  55. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
  56. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
  57. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
  58. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  59. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  60. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  61. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  62. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  63. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  64. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  65. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
  66. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  67. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  68. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
  69. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  70. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  71. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  72. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  73. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  74. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  75. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  76. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  77. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  78. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  79. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  80. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
  81. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  82. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  83. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  84. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  85. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  86. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
  87. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -1
  88. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
  89. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
  90. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
  91. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
  92. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  93. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  94. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  95. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  96. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -3
  97. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  98. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  99. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  100. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  101. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  102. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  103. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  104. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  105. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  106. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  107. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  108. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  109. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  110. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  111. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  112. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  113. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  114. package/node_modules/@smithy/core/package.json +1 -1
  115. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +22 -9
  116. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
  117. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +14 -8
  118. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -0
  119. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  120. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
  121. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
  122. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  123. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
  124. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
  125. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
  126. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
  127. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  128. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
  129. package/node_modules/@smithy/signature-v4/package.json +2 -2
  130. package/node_modules/tslib/README.md +3 -8
  131. package/node_modules/tslib/package.json +1 -1
  132. package/node_modules/tslib/tslib.d.ts +4 -2
  133. package/node_modules/tslib/tslib.es6.js +10 -1
  134. package/node_modules/tslib/tslib.es6.mjs +10 -1
  135. package/node_modules/tslib/tslib.js +10 -1
  136. package/package.json +5 -5
  137. /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
  138. /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
  139. /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.1159.0"
10
+ "@aws-sdk/client-cloudformation": "^3.1161.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -4083,6 +4083,6 @@
4083
4083
  "symbolId": "src/resolve:AwsCdkResolver"
4084
4084
  }
4085
4085
  },
4086
- "version": "0.0.723",
4087
- "fingerprint": "k6BIQTPLCZCylvAs8S1aGKV4lSuaWWbuE/pgnDqYnlY="
4086
+ "version": "0.0.725",
4087
+ "fingerprint": "uhhBfhVtBc/bXQm2AxJlBPm6AFY7cZ0YuhYjAqJwbdg="
4088
4088
  }
package/lib/resolve.js CHANGED
@@ -39,7 +39,7 @@ const child_process_1 = require("child_process");
39
39
  const path = __importStar(require("path"));
40
40
  const aws_cdk_lib_1 = require("aws-cdk-lib");
41
41
  class AwsCdkResolver {
42
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.723" };
42
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.725" };
43
43
  resolve(context) {
44
44
  if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
45
45
  return;
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1158.0";
72
+ var version = "3.1160.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
- "version": "3.1159.0",
3
+ "version": "3.1161.0",
4
4
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudformation",
6
6
  "license": "Apache-2.0",
@@ -48,12 +48,12 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.7",
52
- "@aws-sdk/credential-provider-node": "^3.972.90",
51
+ "@aws-sdk/core": "^3.979.1",
52
+ "@aws-sdk/credential-provider-node": "^3.972.92",
53
53
  "@aws-sdk/types": "^3.975.0",
54
- "@smithy/core": "^3.37.0",
54
+ "@smithy/core": "^3.38.0",
55
55
  "@smithy/fetch-http-handler": "^5.8.0",
56
- "@smithy/node-http-handler": "^4.13.0",
56
+ "@smithy/node-http-handler": "^4.14.0",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -19,10 +19,7 @@ const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset, timeRe
19
19
  if (timeRequestSent !== undefined && timeResponseReceived - timeRequestSent > 900_000) {
20
20
  return currentSystemClockOffset;
21
21
  }
22
- const candidateSkew = timeRequestSent !== undefined
23
- ? serverTime - (timeRequestSent + timeResponseReceived) / 2
24
- : serverTime - timeResponseReceived;
25
- return candidateSkew;
22
+ return serverTime - timeResponseReceived;
26
23
  };
27
24
 
28
25
  const throwSigningPropertyError = (name, property) => {
@@ -1,7 +1,7 @@
1
1
  const { SmithyRpcV2CborProtocol, loadSmithyRpcV2CborErrorCode } = require("@smithy/core/cbor");
2
2
  const { TypeRegistry, NormalizedSchema, deref } = require("@smithy/core/schema");
3
3
  const { decorateServiceException, getValueFromTextNode } = require("@smithy/core/client");
4
- const { RpcProtocol, JsonCodec2, loadJsonRpcErrorCode, HttpBindingProtocol, HttpInterceptingShapeSerializer, HttpInterceptingShapeDeserializer, loadRestJsonErrorCode, FromStringShapeDeserializer, determineTimestampFormat, extendedEncodeURIComponent, collectBody } = require("@smithy/core/protocols");
4
+ const { RpcProtocol, JsonCodec2, loadJsonRpcErrorCode, HttpBindingProtocol, HttpInterceptingShapeSerializer, HttpInterceptingShapeDeserializer, loadRestJsonErrorCode, SmithyRpcV2JsonProtocol, loadSmithyRpcV2JsonErrorCode, FromStringShapeDeserializer, determineTimestampFormat, extendedEncodeURIComponent, collectBody } = require("@smithy/core/protocols");
5
5
  const { JsonCodec, JsonShapeDeserializer, JsonShapeDeserializer2, JsonShapeSerializer, JsonShapeSerializer2, parseJsonBody, parseJsonErrorBody } = require("@smithy/core/protocols");
6
6
  exports.JsonCodec = JsonCodec;
7
7
  exports.JsonCodec2 = JsonCodec2;
@@ -401,6 +401,55 @@ class AwsRestJsonProtocol extends HttpBindingProtocol {
401
401
  }
402
402
  }
403
403
 
404
+ class AwsSmithyRpcV2JsonProtocol extends SmithyRpcV2JsonProtocol {
405
+ awsQueryCompatible;
406
+ mixin;
407
+ constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) {
408
+ super({ defaultNamespace, errorTypeRegistries });
409
+ this.awsQueryCompatible = !!awsQueryCompatible;
410
+ this.mixin = new ProtocolLib(this.awsQueryCompatible);
411
+ }
412
+ async serializeRequest(operationSchema, input, context) {
413
+ const request = await super.serializeRequest(operationSchema, input, context);
414
+ if (this.awsQueryCompatible) {
415
+ request.headers["x-amzn-query-mode"] = "true";
416
+ }
417
+ return request;
418
+ }
419
+ async handleError(operationSchema, context, response, dataObject, metadata) {
420
+ if (this.awsQueryCompatible) {
421
+ this.mixin.setQueryCompatError(dataObject, response);
422
+ }
423
+ const errorName = (() => {
424
+ const compatHeader = response.headers["x-amzn-query-error"];
425
+ if (compatHeader && this.awsQueryCompatible) {
426
+ return compatHeader.split(";")[0];
427
+ }
428
+ return loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? "Unknown";
429
+ })();
430
+ this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);
431
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
432
+ const ns = NormalizedSchema.of(errorSchema);
433
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
434
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
435
+ const exception = new ErrorCtor({});
436
+ const output = {};
437
+ const errorDeserializer = this.getPayloadCodec().createDeserializer();
438
+ for (const [name, member] of ns.structIterator()) {
439
+ if (dataObject[name] != null) {
440
+ output[name] = errorDeserializer.readObject(member, dataObject[name]);
441
+ }
442
+ }
443
+ if (this.awsQueryCompatible) {
444
+ this.mixin.queryCompatOutput(dataObject, output);
445
+ }
446
+ throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
447
+ $fault: ns.getMergedTraits().error,
448
+ message,
449
+ }, output), dataObject);
450
+ }
451
+ }
452
+
404
453
  class SerdeContextConfig {
405
454
  serdeContext;
406
455
  setSerdeContext(serdeContext) {
@@ -1441,6 +1490,7 @@ exports.AwsQueryProtocol = AwsQueryProtocol;
1441
1490
  exports.AwsRestJsonProtocol = AwsRestJsonProtocol;
1442
1491
  exports.AwsRestXmlProtocol = AwsRestXmlProtocol;
1443
1492
  exports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol;
1493
+ exports.AwsSmithyRpcV2JsonProtocol = AwsSmithyRpcV2JsonProtocol;
1444
1494
  exports.QueryShapeSerializer = QueryShapeSerializer;
1445
1495
  exports.XmlCodec = XmlCodec;
1446
1496
  exports.XmlShapeDeserializer = XmlShapeDeserializer;
@@ -7,8 +7,5 @@ export const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset,
7
7
  if (timeRequestSent !== undefined && timeResponseReceived - timeRequestSent > 900_000) {
8
8
  return currentSystemClockOffset;
9
9
  }
10
- const candidateSkew = timeRequestSent !== undefined
11
- ? serverTime - (timeRequestSent + timeResponseReceived) / 2
12
- : serverTime - timeResponseReceived;
13
- return candidateSkew;
10
+ return serverTime - timeResponseReceived;
14
11
  };
@@ -3,6 +3,7 @@ export { AwsJson1_0Protocol } from "./json/AwsJson1_0Protocol";
3
3
  export { AwsJson1_1Protocol } from "./json/AwsJson1_1Protocol";
4
4
  export { AwsJsonRpcProtocol } from "./json/AwsJsonRpcProtocol";
5
5
  export { AwsRestJsonProtocol } from "./json/AwsRestJsonProtocol";
6
+ export { AwsSmithyRpcV2JsonProtocol } from "./json/AwsSmithyRpcV2JsonProtocol";
6
7
  export { JsonCodec, JsonCodec2, JsonShapeDeserializer, JsonShapeDeserializer2, JsonShapeSerializer, JsonShapeSerializer2, loadJsonRpcErrorCode, loadRestJsonErrorCode, parseJsonBody, parseJsonErrorBody, } from "@smithy/core/protocols";
7
8
  export { AwsEc2QueryProtocol } from "./query/AwsEc2QueryProtocol";
8
9
  export { AwsQueryProtocol } from "./query/AwsQueryProtocol";
@@ -0,0 +1,51 @@
1
+ import { loadSmithyRpcV2JsonErrorCode, SmithyRpcV2JsonProtocol } from "@smithy/core/protocols";
2
+ import { NormalizedSchema } from "@smithy/core/schema";
3
+ import { ProtocolLib } from "../ProtocolLib";
4
+ export class AwsSmithyRpcV2JsonProtocol extends SmithyRpcV2JsonProtocol {
5
+ awsQueryCompatible;
6
+ mixin;
7
+ constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) {
8
+ super({ defaultNamespace, errorTypeRegistries });
9
+ this.awsQueryCompatible = !!awsQueryCompatible;
10
+ this.mixin = new ProtocolLib(this.awsQueryCompatible);
11
+ }
12
+ async serializeRequest(operationSchema, input, context) {
13
+ const request = await super.serializeRequest(operationSchema, input, context);
14
+ if (this.awsQueryCompatible) {
15
+ request.headers["x-amzn-query-mode"] = "true";
16
+ }
17
+ return request;
18
+ }
19
+ async handleError(operationSchema, context, response, dataObject, metadata) {
20
+ if (this.awsQueryCompatible) {
21
+ this.mixin.setQueryCompatError(dataObject, response);
22
+ }
23
+ const errorName = (() => {
24
+ const compatHeader = response.headers["x-amzn-query-error"];
25
+ if (compatHeader && this.awsQueryCompatible) {
26
+ return compatHeader.split(";")[0];
27
+ }
28
+ return loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? "Unknown";
29
+ })();
30
+ this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);
31
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
32
+ const ns = NormalizedSchema.of(errorSchema);
33
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
34
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
35
+ const exception = new ErrorCtor({});
36
+ const output = {};
37
+ const errorDeserializer = this.getPayloadCodec().createDeserializer();
38
+ for (const [name, member] of ns.structIterator()) {
39
+ if (dataObject[name] != null) {
40
+ output[name] = errorDeserializer.readObject(member, dataObject[name]);
41
+ }
42
+ }
43
+ if (this.awsQueryCompatible) {
44
+ this.mixin.queryCompatOutput(dataObject, output);
45
+ }
46
+ throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
47
+ $fault: ns.getMergedTraits().error,
48
+ message,
49
+ }, output), dataObject);
50
+ }
51
+ }
@@ -1,13 +1,9 @@
1
1
  /**
2
2
  * Computes an updated system clock offset from a server Date header.
3
3
  *
4
- * When `timeRequestSent` is provided, uses the midpoint formula:
5
- * elapsed = timeResponseReceived - timeRequestSent
6
- * midpoint = (timeRequestSent + timeResponseReceived) / 2
7
- * candidateSkew = serverTime - midpoint
8
- *
9
- * When `timeRequestSent` is absent (legacy callers), falls back to:
10
- * candidateSkew = serverTime - timeResponseReceived
4
+ * The candidate skew is the difference between the server time and the client
5
+ * time when the response is received:
6
+ * candidateSkew = serverTime - timeResponseReceived
11
7
  *
12
8
  * The candidate is discarded if:
13
9
  * - An Age header is present
@@ -3,6 +3,7 @@ export { AwsJson1_0Protocol } from "./json/AwsJson1_0Protocol";
3
3
  export { AwsJson1_1Protocol } from "./json/AwsJson1_1Protocol";
4
4
  export { AwsJsonRpcProtocol } from "./json/AwsJsonRpcProtocol";
5
5
  export { AwsRestJsonProtocol } from "./json/AwsRestJsonProtocol";
6
+ export { AwsSmithyRpcV2JsonProtocol } from "./json/AwsSmithyRpcV2JsonProtocol";
6
7
  export { JsonCodec, JsonCodec2, JsonShapeDeserializer, JsonShapeDeserializer2, JsonShapeSerializer, JsonShapeSerializer2, loadJsonRpcErrorCode, loadRestJsonErrorCode, parseJsonBody, parseJsonErrorBody, } from "@smithy/core/protocols";
7
8
  export type { JsonSettings } from "@smithy/core/protocols";
8
9
  export { AwsEc2QueryProtocol } from "./query/AwsEc2QueryProtocol";
@@ -0,0 +1,25 @@
1
+ import { SmithyRpcV2JsonProtocol } from "@smithy/core/protocols";
2
+ import type { TypeRegistry } from "@smithy/core/schema";
3
+ import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
4
+ /**
5
+ * Extends the Smithy implementation to add AwsQueryCompatibility support.
6
+ *
7
+ * @public
8
+ */
9
+ export declare class AwsSmithyRpcV2JsonProtocol extends SmithyRpcV2JsonProtocol {
10
+ private readonly awsQueryCompatible;
11
+ private readonly mixin;
12
+ constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }: {
13
+ defaultNamespace: string;
14
+ errorTypeRegistries?: TypeRegistry[];
15
+ awsQueryCompatible?: boolean;
16
+ });
17
+ /**
18
+ * @override
19
+ */
20
+ serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
21
+ /**
22
+ * @override
23
+ */
24
+ protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
25
+ }
@@ -3,6 +3,7 @@ export { AwsJson1_0Protocol } from "./json/AwsJson1_0Protocol";
3
3
  export { AwsJson1_1Protocol } from "./json/AwsJson1_1Protocol";
4
4
  export { AwsJsonRpcProtocol } from "./json/AwsJsonRpcProtocol";
5
5
  export { AwsRestJsonProtocol } from "./json/AwsRestJsonProtocol";
6
+ export { AwsSmithyRpcV2JsonProtocol } from "./json/AwsSmithyRpcV2JsonProtocol";
6
7
  export {
7
8
  JsonCodec,
8
9
  JsonCodec2,
@@ -0,0 +1,36 @@
1
+ import { SmithyRpcV2JsonProtocol } from "@smithy/core/protocols";
2
+ import { TypeRegistry } from "@smithy/core/schema";
3
+ import {
4
+ EndpointBearer,
5
+ HandlerExecutionContext,
6
+ HttpRequest,
7
+ HttpResponse,
8
+ OperationSchema,
9
+ ResponseMetadata,
10
+ SerdeFunctions,
11
+ } from "@smithy/types";
12
+ export declare class AwsSmithyRpcV2JsonProtocol extends SmithyRpcV2JsonProtocol {
13
+ private readonly awsQueryCompatible;
14
+ private readonly mixin;
15
+ constructor({
16
+ defaultNamespace,
17
+ errorTypeRegistries,
18
+ awsQueryCompatible,
19
+ }: {
20
+ defaultNamespace: string;
21
+ errorTypeRegistries?: TypeRegistry[];
22
+ awsQueryCompatible?: boolean;
23
+ });
24
+ serializeRequest<Input extends object>(
25
+ operationSchema: OperationSchema,
26
+ input: Input,
27
+ context: HandlerExecutionContext & SerdeFunctions & EndpointBearer,
28
+ ): Promise<HttpRequest>;
29
+ protected handleError(
30
+ operationSchema: OperationSchema,
31
+ context: HandlerExecutionContext & SerdeFunctions,
32
+ response: HttpResponse,
33
+ dataObject: any,
34
+ metadata: ResponseMetadata,
35
+ ): Promise<never>;
36
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.978.7",
3
+ "version": "3.979.1",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
6
6
  "license": "Apache-2.0",
@@ -127,8 +127,8 @@
127
127
  "@aws-sdk/types": "^3.975.0",
128
128
  "@aws-sdk/xml-builder": "^3.972.42",
129
129
  "@aws/lambda-invoke-store": "^0.3.0",
130
- "@smithy/core": "^3.37.0",
131
- "@smithy/signature-v4": "^5.7.4",
130
+ "@smithy/core": "^3.38.0",
131
+ "@smithy/signature-v4": "^5.7.5",
132
132
  "@smithy/types": "^4.19.0",
133
133
  "bowser": "^2.11.0",
134
134
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.78",
3
+ "version": "3.972.80",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.978.7",
46
+ "@aws-sdk/core": "^3.979.1",
47
47
  "@aws-sdk/types": "^3.975.0",
48
- "@smithy/core": "^3.37.0",
48
+ "@smithy/core": "^3.38.0",
49
49
  "@smithy/types": "^4.19.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.80",
3
+ "version": "3.972.82",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "keywords": [
6
6
  "aws",
@@ -53,11 +53,11 @@
53
53
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
54
54
  },
55
55
  "dependencies": {
56
- "@aws-sdk/core": "^3.978.7",
56
+ "@aws-sdk/core": "^3.979.1",
57
57
  "@aws-sdk/types": "^3.975.0",
58
- "@smithy/core": "^3.37.0",
58
+ "@smithy/core": "^3.38.0",
59
59
  "@smithy/fetch-http-handler": "^5.8.0",
60
- "@smithy/node-http-handler": "^4.13.0",
60
+ "@smithy/node-http-handler": "^4.14.0",
61
61
  "@smithy/types": "^4.19.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.973.23",
3
+ "version": "3.973.25",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,16 +45,16 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.978.7",
49
- "@aws-sdk/credential-provider-env": "^3.972.78",
50
- "@aws-sdk/credential-provider-http": "^3.972.80",
51
- "@aws-sdk/credential-provider-login": "^3.972.85",
52
- "@aws-sdk/credential-provider-process": "^3.972.78",
53
- "@aws-sdk/credential-provider-sso": "^3.973.22",
54
- "@aws-sdk/credential-provider-web-identity": "^3.972.84",
55
- "@aws-sdk/nested-clients": "^3.997.52",
48
+ "@aws-sdk/core": "^3.979.1",
49
+ "@aws-sdk/credential-provider-env": "^3.972.80",
50
+ "@aws-sdk/credential-provider-http": "^3.972.82",
51
+ "@aws-sdk/credential-provider-login": "^3.972.87",
52
+ "@aws-sdk/credential-provider-process": "^3.972.80",
53
+ "@aws-sdk/credential-provider-sso": "^3.973.24",
54
+ "@aws-sdk/credential-provider-web-identity": "^3.972.86",
55
+ "@aws-sdk/nested-clients": "^3.997.54",
56
56
  "@aws-sdk/types": "^3.975.0",
57
- "@smithy/core": "^3.37.0",
57
+ "@smithy/core": "^3.38.0",
58
58
  "@smithy/credential-provider-imds": "^4.5.2",
59
59
  "@smithy/types": "^4.19.0",
60
60
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.85",
3
+ "version": "3.972.87",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,10 +45,10 @@
45
45
  "test:watch": "yarn g:vitest watch"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.978.7",
49
- "@aws-sdk/nested-clients": "^3.997.52",
48
+ "@aws-sdk/core": "^3.979.1",
49
+ "@aws-sdk/nested-clients": "^3.997.54",
50
50
  "@aws-sdk/types": "^3.975.0",
51
- "@smithy/core": "^3.37.0",
51
+ "@smithy/core": "^3.38.0",
52
52
  "@smithy/types": "^4.19.0",
53
53
  "tslib": "^2.6.2"
54
54
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.90",
3
+ "version": "3.972.92",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,14 +45,14 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/credential-provider-env": "^3.972.78",
49
- "@aws-sdk/credential-provider-http": "^3.972.80",
50
- "@aws-sdk/credential-provider-ini": "^3.973.23",
51
- "@aws-sdk/credential-provider-process": "^3.972.78",
52
- "@aws-sdk/credential-provider-sso": "^3.973.22",
53
- "@aws-sdk/credential-provider-web-identity": "^3.972.84",
48
+ "@aws-sdk/credential-provider-env": "^3.972.80",
49
+ "@aws-sdk/credential-provider-http": "^3.972.82",
50
+ "@aws-sdk/credential-provider-ini": "^3.973.25",
51
+ "@aws-sdk/credential-provider-process": "^3.972.80",
52
+ "@aws-sdk/credential-provider-sso": "^3.973.24",
53
+ "@aws-sdk/credential-provider-web-identity": "^3.972.86",
54
54
  "@aws-sdk/types": "^3.975.0",
55
- "@smithy/core": "^3.37.0",
55
+ "@smithy/core": "^3.38.0",
56
56
  "@smithy/credential-provider-imds": "^4.5.2",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.78",
3
+ "version": "3.972.80",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.978.7",
46
+ "@aws-sdk/core": "^3.979.1",
47
47
  "@aws-sdk/types": "^3.975.0",
48
- "@smithy/core": "^3.37.0",
48
+ "@smithy/core": "^3.38.0",
49
49
  "@smithy/types": "^4.19.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.973.22",
3
+ "version": "3.973.24",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,11 +45,11 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.978.7",
49
- "@aws-sdk/nested-clients": "^3.997.52",
50
- "@aws-sdk/token-providers": "3.1159.0",
48
+ "@aws-sdk/core": "^3.979.1",
49
+ "@aws-sdk/nested-clients": "^3.997.54",
50
+ "@aws-sdk/token-providers": "3.1161.0",
51
51
  "@aws-sdk/types": "^3.975.0",
52
- "@smithy/core": "^3.37.0",
52
+ "@smithy/core": "^3.38.0",
53
53
  "@smithy/types": "^4.19.0",
54
54
  "tslib": "^2.6.2"
55
55
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.84",
3
+ "version": "3.972.86",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -50,10 +50,10 @@
50
50
  "test:watch": "yarn g:vitest watch"
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/core": "^3.978.7",
54
- "@aws-sdk/nested-clients": "^3.997.52",
53
+ "@aws-sdk/core": "^3.979.1",
54
+ "@aws-sdk/nested-clients": "^3.997.54",
55
55
  "@aws-sdk/types": "^3.975.0",
56
- "@smithy/core": "^3.37.0",
56
+ "@smithy/core": "^3.38.0",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -83,7 +83,7 @@ const commonParams = {
83
83
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
84
84
  };
85
85
 
86
- var version = "3.997.51";
86
+ var version = "3.997.53";
87
87
  var packageInfo = {
88
88
  version: version};
89
89
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.51";
81
+ var version = "3.997.53";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -561,6 +561,13 @@ const OAuth2ErrorCode = {
561
561
  CONFLICT: "CONFLICT",
562
562
  INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
563
563
  INVALID_REQUEST: "INVALID_REQUEST",
564
+ OAUTH_INVALID_GRANT: "invalid_grant",
565
+ OAUTH_INVALID_REQUEST: "invalid_request",
566
+ OAUTH_INVALID_SCOPE: "invalid_scope",
567
+ OAUTH_INVALID_TARGET: "invalid_target",
568
+ OAUTH_RATE_EXCEEDED: "rate_exceeded",
569
+ OAUTH_SERVICE_UNAVAILABLE: "service_unavailable",
570
+ OAUTH_UNSUPPORTED_GRANT_TYPE: "unsupported_grant_type",
564
571
  RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
565
572
  SERVER_ERROR: "server_error",
566
573
  SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.51";
81
+ var version = "3.997.53";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.51";
81
+ var version = "3.997.53";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -258,7 +258,7 @@ const commonParams = {
258
258
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
259
259
  };
260
260
 
261
- var version = "3.997.51";
261
+ var version = "3.997.53";
262
262
  var packageInfo = {
263
263
  version: version};
264
264
 
@@ -3,6 +3,13 @@ export const OAuth2ErrorCode = {
3
3
  CONFLICT: "CONFLICT",
4
4
  INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
5
5
  INVALID_REQUEST: "INVALID_REQUEST",
6
+ OAUTH_INVALID_GRANT: "invalid_grant",
7
+ OAUTH_INVALID_REQUEST: "invalid_request",
8
+ OAUTH_INVALID_SCOPE: "invalid_scope",
9
+ OAUTH_INVALID_TARGET: "invalid_target",
10
+ OAUTH_RATE_EXCEEDED: "rate_exceeded",
11
+ OAUTH_SERVICE_UNAVAILABLE: "service_unavailable",
12
+ OAUTH_UNSUPPORTED_GRANT_TYPE: "unsupported_grant_type",
6
13
  RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
7
14
  SERVER_ERROR: "server_error",
8
15
  SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
@@ -23,8 +23,7 @@ export interface Signin {
23
23
  createOAuth2TokenWithIAM(args: CreateOAuth2TokenWithIAMCommandInput, options: SigninRequestOptions, cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void): void;
24
24
  }
25
25
  /**
26
- * AWS Sign-In manages authentication for AWS services. This service provides
27
- * secure authentication flows for accessing AWS resources from the console and developer tools.
26
+ * AWS Sign-In manages authentication for AWS services. It implements OAuth 2.0, providing secure token exchange and refresh capabilities.
28
27
  * @public
29
28
  */
30
29
  export declare class Signin extends SigninClient implements Signin {