diff --git a/THIRD-PARTY b/THIRD-PARTY index 4624ac01..a83f1e4c 100644 --- a/THIRD-PARTY +++ b/THIRD-PARTY @@ -222,7 +222,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The following npm package may be included in this product: - - @aws-sdk/client-sts@3.1146.0 + - @aws-sdk/client-sts@3.1149.0 This package contains the following license: @@ -432,8 +432,8 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/signature-v4-multi-region@3.996.47 - - @smithy/core@3.35.0 + - @aws-sdk/signature-v4-multi-region@3.996.48 + - @smithy/core@3.35.2 - @smithy/types@4.19.0 These packages each contain the following license: @@ -832,7 +832,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The following npm package may be included in this product: - - @aws-sdk/core@3.978.1 + - @aws-sdk/core@3.978.2 This package contains the following license: @@ -1042,10 +1042,10 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/credential-provider-env@3.972.72 - - @aws-sdk/credential-provider-ini@3.973.17 - - @aws-sdk/credential-provider-node@3.972.84 - - @aws-sdk/token-providers@3.1138.0 + - @aws-sdk/credential-provider-env@3.972.73 + - @aws-sdk/credential-provider-ini@3.973.18 + - @aws-sdk/credential-provider-node@3.972.85 + - @aws-sdk/token-providers@3.1149.0 - @aws-sdk/types@3.974.6 - @aws-sdk/xml-builder@3.972.41 - @smithy/credential-provider-imds@4.5.2 @@ -1261,9 +1261,9 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/credential-provider-process@3.972.72 - - @aws-sdk/credential-provider-sso@3.973.16 - - @aws-sdk/credential-provider-web-identity@3.972.78 + - @aws-sdk/credential-provider-process@3.972.73 + - @aws-sdk/credential-provider-sso@3.973.17 + - @aws-sdk/credential-provider-web-identity@3.972.79 These packages each contain the following license: @@ -1473,9 +1473,9 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/credential-provider-http@3.972.74 - - @aws-sdk/credential-provider-login@3.972.79 - - @aws-sdk/nested-clients@3.997.46 + - @aws-sdk/credential-provider-http@3.972.75 + - @aws-sdk/credential-provider-login@3.972.80 + - @aws-sdk/nested-clients@3.997.47 These packages each contain the following license: diff --git a/dist/index.js b/dist/index.js index bfa4e5c0..7ba90063 100644 --- a/dist/index.js +++ b/dist/index.js @@ -20770,6 +20770,9 @@ var init_TypeRegistry = __esm({ const $error = es; const ns = $error[1]; const qualifiedName = ns + "#" + $error[2]; + if (!ctor.hasOwnProperty?.("shapeId")) { + ctor.shapeId = qualifiedName; + } for (const r5 of [this, _TypeRegistry.for(ns)]) { if (!r5.schemas.has(qualifiedName) && !r5.exceptions.has($error)) { r5.schemas.set(qualifiedName, $error); @@ -21119,6 +21122,7 @@ var ServiceException, decorateServiceException; var init_exceptions = __esm({ "node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js"() { ServiceException = class _ServiceException extends Error { + static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException"; $fault; $response; $retryable; @@ -21147,22 +21151,39 @@ var init_exceptions = __esm({ if (this.prototype.isPrototypeOf(instance)) { return true; } - const targetName = this.name; - if (!targetName || !candidate.name) { + const targetId = Object.prototype.hasOwnProperty.call(this, "shapeId") ? this.shapeId : void 0; + let candidateHasShapeId = false; + if (targetId) { + let proto = Object.getPrototypeOf(candidate); + while (proto && proto !== Object.prototype) { + const ctor = proto.constructor; + const candidateId = ctor !== _ServiceException && Object.prototype.hasOwnProperty.call(ctor, "shapeId") ? ctor?.shapeId : void 0; + if (candidateId) { + candidateHasShapeId = true; + if (candidateId === targetId) { + return true; + } + } + proto = Object.getPrototypeOf(proto); + } + } + if (targetId && candidateHasShapeId) { return false; } - if (candidate.name === targetName) { - return true; - } - let proto = Object.getPrototypeOf(candidate); - while (proto && proto !== Object.prototype) { - const ctorName = proto.constructor?.name; - if (ctorName && ctorName !== "Error" && ctorName === targetName) { + const targetName = this.name; + if (targetName && targetName.length >= 6) { + if (candidate.name === targetName) { return true; } - proto = Object.getPrototypeOf(proto); + let proto = Object.getPrototypeOf(candidate); + while (proto && proto !== Object.prototype) { + const ctorName = proto.constructor?.name; + if (ctorName && ctorName !== "Error" && ctorName === targetName) { + return true; + } + proto = Object.getPrototypeOf(proto); + } } - return false; } return false; } @@ -24227,7 +24248,8 @@ var init_EndpointCache = __esm({ return false; } for (const param of parameters) { - const val = String(endpointParams[param] ?? ""); + const raw = endpointParams[param]; + const val = raw == null ? "\0" : String(raw); if (val.includes("|;")) { return false; } @@ -35243,7 +35265,7 @@ var init_package = __esm({ "node_modules/@aws-sdk/nested-clients/package.json"() { package_default = { name: "@aws-sdk/nested-clients", - version: "3.997.46", + version: "3.997.47", description: "Nested clients for AWS SDK packages.", homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients", license: "Apache-2.0", @@ -35343,10 +35365,10 @@ var init_package = __esm({ "test:watch": "yarn g:vitest watch" }, dependencies: { - "@aws-sdk/core": "^3.978.1", - "@aws-sdk/signature-v4-multi-region": "^3.996.47", + "@aws-sdk/core": "^3.978.2", + "@aws-sdk/signature-v4-multi-region": "^3.996.48", "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.0", + "@smithy/core": "^3.35.2", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", @@ -40427,6 +40449,7 @@ var init_SSOOIDCServiceException = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js"() { init_client2(); SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException { + static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc#SSOOIDCServiceException"; constructor(options) { super(options); Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype); @@ -40441,6 +40464,7 @@ var init_errors = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js"() { init_SSOOIDCServiceException(); AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#AccessDeniedException"; name = "AccessDeniedException"; $fault = "client"; error; @@ -40459,6 +40483,7 @@ var init_errors = __esm({ } }; AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#AuthorizationPendingException"; name = "AuthorizationPendingException"; $fault = "client"; error; @@ -40475,6 +40500,7 @@ var init_errors = __esm({ } }; ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#ExpiredTokenException"; name = "ExpiredTokenException"; $fault = "client"; error; @@ -40491,6 +40517,7 @@ var init_errors = __esm({ } }; InternalServerException = class _InternalServerException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#InternalServerException"; name = "InternalServerException"; $fault = "server"; error; @@ -40507,6 +40534,7 @@ var init_errors = __esm({ } }; InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#InvalidClientException"; name = "InvalidClientException"; $fault = "client"; error; @@ -40523,6 +40551,7 @@ var init_errors = __esm({ } }; InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#InvalidGrantException"; name = "InvalidGrantException"; $fault = "client"; error; @@ -40539,6 +40568,7 @@ var init_errors = __esm({ } }; InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#InvalidRequestException"; name = "InvalidRequestException"; $fault = "client"; error; @@ -40557,6 +40587,7 @@ var init_errors = __esm({ } }; InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#InvalidScopeException"; name = "InvalidScopeException"; $fault = "client"; error; @@ -40573,6 +40604,7 @@ var init_errors = __esm({ } }; SlowDownException = class _SlowDownException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#SlowDownException"; name = "SlowDownException"; $fault = "client"; error; @@ -40589,6 +40621,7 @@ var init_errors = __esm({ } }; UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#UnauthorizedClientException"; name = "UnauthorizedClientException"; $fault = "client"; error; @@ -40605,6 +40638,7 @@ var init_errors = __esm({ } }; UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException { + static shapeId = "com.amazonaws.ssooidc#UnsupportedGrantTypeException"; name = "UnsupportedGrantTypeException"; $fault = "client"; error; @@ -41494,6 +41528,7 @@ var init_SSOServiceException = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js"() { init_client2(); SSOServiceException = class _SSOServiceException extends ServiceException { + static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sso#SSOServiceException"; constructor(options) { super(options); Object.setPrototypeOf(this, _SSOServiceException.prototype); @@ -41508,6 +41543,7 @@ var init_errors2 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js"() { init_SSOServiceException(); InvalidRequestException2 = class _InvalidRequestException extends SSOServiceException { + static shapeId = "com.amazonaws.sso#InvalidRequestException"; name = "InvalidRequestException"; $fault = "client"; constructor(opts) { @@ -41520,6 +41556,7 @@ var init_errors2 = __esm({ } }; ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException { + static shapeId = "com.amazonaws.sso#ResourceNotFoundException"; name = "ResourceNotFoundException"; $fault = "client"; constructor(opts) { @@ -41532,6 +41569,7 @@ var init_errors2 = __esm({ } }; TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException { + static shapeId = "com.amazonaws.sso#TooManyRequestsException"; name = "TooManyRequestsException"; $fault = "client"; constructor(opts) { @@ -41544,6 +41582,7 @@ var init_errors2 = __esm({ } }; UnauthorizedException = class _UnauthorizedException extends SSOServiceException { + static shapeId = "com.amazonaws.sso#UnauthorizedException"; name = "UnauthorizedException"; $fault = "client"; constructor(opts) { @@ -42525,6 +42564,7 @@ var init_STSServiceException = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js"() { init_client2(); STSServiceException = class _STSServiceException extends ServiceException { + static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException"; constructor(options) { super(options); Object.setPrototypeOf(this, _STSServiceException.prototype); @@ -42539,6 +42579,7 @@ var init_errors3 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js"() { init_STSServiceException(); ExpiredTokenException2 = class _ExpiredTokenException extends STSServiceException { + static shapeId = "com.amazonaws.sts#ExpiredTokenException"; name = "ExpiredTokenException"; $fault = "client"; constructor(opts) { @@ -42551,6 +42592,7 @@ var init_errors3 = __esm({ } }; MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException { + static shapeId = "com.amazonaws.sts#MalformedPolicyDocumentException"; name = "MalformedPolicyDocumentException"; $fault = "client"; constructor(opts) { @@ -42563,6 +42605,7 @@ var init_errors3 = __esm({ } }; PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException { + static shapeId = "com.amazonaws.sts#PackedPolicyTooLargeException"; name = "PackedPolicyTooLargeException"; $fault = "client"; constructor(opts) { @@ -42575,6 +42618,7 @@ var init_errors3 = __esm({ } }; RegionDisabledException = class _RegionDisabledException extends STSServiceException { + static shapeId = "com.amazonaws.sts#RegionDisabledException"; name = "RegionDisabledException"; $fault = "client"; constructor(opts) { @@ -42587,6 +42631,7 @@ var init_errors3 = __esm({ } }; IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException { + static shapeId = "com.amazonaws.sts#IDPRejectedClaimException"; name = "IDPRejectedClaimException"; $fault = "client"; constructor(opts) { @@ -42599,6 +42644,7 @@ var init_errors3 = __esm({ } }; InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException { + static shapeId = "com.amazonaws.sts#InvalidIdentityTokenException"; name = "InvalidIdentityTokenException"; $fault = "client"; constructor(opts) { @@ -42611,6 +42657,7 @@ var init_errors3 = __esm({ } }; IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException { + static shapeId = "com.amazonaws.sts#IDPCommunicationErrorException"; name = "IDPCommunicationErrorException"; $fault = "client"; $retryable = {}; @@ -43694,6 +43741,7 @@ var init_SigninServiceException = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js"() { init_client2(); SigninServiceException = class _SigninServiceException extends ServiceException { + static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.signin#SigninServiceException"; constructor(options) { super(options); Object.setPrototypeOf(this, _SigninServiceException.prototype); @@ -43708,6 +43756,7 @@ var init_errors4 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js"() { init_SigninServiceException(); AccessDeniedException2 = class _AccessDeniedException extends SigninServiceException { + static shapeId = "com.amazonaws.signin#AccessDeniedException"; name = "AccessDeniedException"; $fault = "client"; error; @@ -43722,6 +43771,7 @@ var init_errors4 = __esm({ } }; InternalServerException2 = class _InternalServerException extends SigninServiceException { + static shapeId = "com.amazonaws.signin#InternalServerException"; name = "InternalServerException"; $fault = "server"; error; @@ -43736,6 +43786,7 @@ var init_errors4 = __esm({ } }; TooManyRequestsError = class _TooManyRequestsError extends SigninServiceException { + static shapeId = "com.amazonaws.signin#TooManyRequestsError"; name = "TooManyRequestsError"; $fault = "client"; error; @@ -43750,6 +43801,7 @@ var init_errors4 = __esm({ } }; ValidationException = class _ValidationException extends SigninServiceException { + static shapeId = "com.amazonaws.signin#ValidationException"; name = "ValidationException"; $fault = "client"; error; @@ -45407,17 +45459,19 @@ var require_dist_cjs16 = __commonJS({ Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } }; - var version = "3.1145.0"; + var version = "3.1148.0"; var packageInfo = { version }; var STSServiceException2 = class _STSServiceException extends ServiceException2 { + static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException"; constructor(options) { super(options); Object.setPrototypeOf(this, _STSServiceException.prototype); } }; var ExpiredTokenException3 = class _ExpiredTokenException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#ExpiredTokenException"; name = "ExpiredTokenException"; $fault = "client"; constructor(opts) { @@ -45430,6 +45484,7 @@ var require_dist_cjs16 = __commonJS({ } }; var MalformedPolicyDocumentException2 = class _MalformedPolicyDocumentException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#MalformedPolicyDocumentException"; name = "MalformedPolicyDocumentException"; $fault = "client"; constructor(opts) { @@ -45442,6 +45497,7 @@ var require_dist_cjs16 = __commonJS({ } }; var PackedPolicyTooLargeException2 = class _PackedPolicyTooLargeException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#PackedPolicyTooLargeException"; name = "PackedPolicyTooLargeException"; $fault = "client"; constructor(opts) { @@ -45454,6 +45510,7 @@ var require_dist_cjs16 = __commonJS({ } }; var RegionDisabledException2 = class _RegionDisabledException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#RegionDisabledException"; name = "RegionDisabledException"; $fault = "client"; constructor(opts) { @@ -45466,6 +45523,7 @@ var require_dist_cjs16 = __commonJS({ } }; var IDPRejectedClaimException2 = class _IDPRejectedClaimException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#IDPRejectedClaimException"; name = "IDPRejectedClaimException"; $fault = "client"; constructor(opts) { @@ -45478,6 +45536,7 @@ var require_dist_cjs16 = __commonJS({ } }; var InvalidIdentityTokenException2 = class _InvalidIdentityTokenException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#InvalidIdentityTokenException"; name = "InvalidIdentityTokenException"; $fault = "client"; constructor(opts) { @@ -45490,6 +45549,7 @@ var require_dist_cjs16 = __commonJS({ } }; var IDPCommunicationErrorException2 = class _IDPCommunicationErrorException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#IDPCommunicationErrorException"; name = "IDPCommunicationErrorException"; $fault = "client"; $retryable = {}; @@ -45503,6 +45563,7 @@ var require_dist_cjs16 = __commonJS({ } }; var InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#InvalidAuthorizationMessageException"; name = "InvalidAuthorizationMessageException"; $fault = "client"; constructor(opts) { @@ -45515,6 +45576,7 @@ var require_dist_cjs16 = __commonJS({ } }; var ExpiredTradeInTokenException = class _ExpiredTradeInTokenException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#ExpiredTradeInTokenException"; name = "ExpiredTradeInTokenException"; $fault = "client"; constructor(opts) { @@ -45527,6 +45589,7 @@ var require_dist_cjs16 = __commonJS({ } }; var JWTPayloadSizeExceededException = class _JWTPayloadSizeExceededException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#JWTPayloadSizeExceededException"; name = "JWTPayloadSizeExceededException"; $fault = "client"; constructor(opts) { @@ -45539,6 +45602,7 @@ var require_dist_cjs16 = __commonJS({ } }; var OutboundWebIdentityFederationDisabledException = class _OutboundWebIdentityFederationDisabledException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#OutboundWebIdentityFederationDisabledException"; name = "OutboundWebIdentityFederationDisabledException"; $fault = "client"; constructor(opts) { @@ -45551,6 +45615,7 @@ var require_dist_cjs16 = __commonJS({ } }; var SessionDurationEscalationException = class _SessionDurationEscalationException extends STSServiceException2 { + static shapeId = "com.amazonaws.sts#SessionDurationEscalationException"; name = "SessionDurationEscalationException"; $fault = "client"; constructor(opts) {