@cdklabs/cdk-ecs-codedeploy 0.0.448 → 0.0.449
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.
- package/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeploy.d.ts +150 -173
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +6 -18
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/enums.d.ts +19 -38
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/errors.d.ts +110 -487
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/models_0.d.ts +5 -15
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/package.json +39 -39
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +8 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +4 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +5 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +3 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +3 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +4 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +8 -17
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -19
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +4 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +65 -62
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +32 -32
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +34 -34
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +4 -8
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +40 -40
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +1 -6
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-login/package.json +35 -35
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +4 -11
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +39 -39
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +32 -32
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +2 -8
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +34 -34
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +3 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +5 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +40 -40
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +11 -9
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +121 -76
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +6 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +6 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +12 -8
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +80 -70
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +8 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +41 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +7 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +7 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -28
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +13 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +12 -26
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +13 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +6 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +20 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +25 -27
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +13 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +9 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +13 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +12 -26
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +13 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +13 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +12 -27
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +11 -23
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +12 -27
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +4 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +16 -29
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -34
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +12 -27
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +11 -23
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +12 -27
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +16 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -24
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +14 -34
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +14 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +14 -34
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +6 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/package.json +53 -50
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +5 -13
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4SignWithCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +2 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts +1 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +29 -29
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +1 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +2 -6
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +2 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +1 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +1 -5
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +1 -4
- package/node_modules/@aws-sdk/token-providers/package.json +35 -35
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +1 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +2 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +1 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +7 -39
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +1 -9
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +1 -4
- package/node_modules/@aws-sdk/types/package.json +30 -30
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +2 -12
- package/node_modules/@aws-sdk/xml-builder/package.json +34 -34
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +5 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +30 -12
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +20 -20
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +20 -20
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +16 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js +8 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +11 -9
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js +8 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +20 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +11 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
- package/node_modules/@smithy/core/package.json +91 -89
- package/node_modules/@smithy/credential-provider-imds/package.json +35 -37
- package/node_modules/@smithy/fetch-http-handler/package.json +31 -33
- package/node_modules/@smithy/node-http-handler/package.json +34 -36
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -11
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +10 -10
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +1 -1
- package/node_modules/@smithy/signature-v4/package.json +30 -32
- package/package.json +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/getEndpointUrlConfig.js +0 -21
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +0 -12
|
@@ -70,27 +70,27 @@ class HeaderMarshaller {
|
|
|
70
70
|
formatHeaderValue(header) {
|
|
71
71
|
switch (header.type) {
|
|
72
72
|
case "boolean":
|
|
73
|
-
return Uint8Array.from([header.value ?
|
|
73
|
+
return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
|
|
74
74
|
case "byte":
|
|
75
|
-
return Uint8Array.from([
|
|
75
|
+
return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
|
|
76
76
|
case "short":
|
|
77
77
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
78
|
-
shortView.setUint8(0,
|
|
78
|
+
shortView.setUint8(0, HEADER_VALUE_TYPE.short);
|
|
79
79
|
shortView.setInt16(1, header.value, false);
|
|
80
80
|
return new Uint8Array(shortView.buffer);
|
|
81
81
|
case "integer":
|
|
82
82
|
const intView = new DataView(new ArrayBuffer(5));
|
|
83
|
-
intView.setUint8(0,
|
|
83
|
+
intView.setUint8(0, HEADER_VALUE_TYPE.integer);
|
|
84
84
|
intView.setInt32(1, header.value, false);
|
|
85
85
|
return new Uint8Array(intView.buffer);
|
|
86
86
|
case "long":
|
|
87
87
|
const longBytes = new Uint8Array(9);
|
|
88
|
-
longBytes[0] =
|
|
88
|
+
longBytes[0] = HEADER_VALUE_TYPE.long;
|
|
89
89
|
longBytes.set(header.value.bytes, 1);
|
|
90
90
|
return longBytes;
|
|
91
91
|
case "binary":
|
|
92
92
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
93
|
-
binView.setUint8(0,
|
|
93
|
+
binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
|
|
94
94
|
binView.setUint16(1, header.value.byteLength, false);
|
|
95
95
|
const binBytes = new Uint8Array(binView.buffer);
|
|
96
96
|
binBytes.set(header.value, 3);
|
|
@@ -98,14 +98,14 @@ class HeaderMarshaller {
|
|
|
98
98
|
case "string":
|
|
99
99
|
const utf8Bytes = this.fromUtf8(header.value);
|
|
100
100
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
101
|
-
strView.setUint8(0,
|
|
101
|
+
strView.setUint8(0, HEADER_VALUE_TYPE.string);
|
|
102
102
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
103
103
|
const strBytes = new Uint8Array(strView.buffer);
|
|
104
104
|
strBytes.set(utf8Bytes, 3);
|
|
105
105
|
return strBytes;
|
|
106
106
|
case "timestamp":
|
|
107
107
|
const tsBytes = new Uint8Array(9);
|
|
108
|
-
tsBytes[0] =
|
|
108
|
+
tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
|
|
109
109
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
110
110
|
return tsBytes;
|
|
111
111
|
case "uuid":
|
|
@@ -113,8 +113,8 @@ class HeaderMarshaller {
|
|
|
113
113
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
114
114
|
}
|
|
115
115
|
const uuidBytes = new Uint8Array(17);
|
|
116
|
-
uuidBytes[0] =
|
|
117
|
-
uuidBytes.set(fromHex(header.value.replace(
|
|
116
|
+
uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
|
|
117
|
+
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
118
118
|
return uuidBytes;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -126,46 +126,46 @@ class HeaderMarshaller {
|
|
|
126
126
|
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
127
127
|
position += nameLength;
|
|
128
128
|
switch (headers.getUint8(position++)) {
|
|
129
|
-
case
|
|
129
|
+
case HEADER_VALUE_TYPE.boolTrue:
|
|
130
130
|
out[name] = {
|
|
131
131
|
type: BOOLEAN_TAG,
|
|
132
132
|
value: true,
|
|
133
133
|
};
|
|
134
134
|
break;
|
|
135
|
-
case
|
|
135
|
+
case HEADER_VALUE_TYPE.boolFalse:
|
|
136
136
|
out[name] = {
|
|
137
137
|
type: BOOLEAN_TAG,
|
|
138
138
|
value: false,
|
|
139
139
|
};
|
|
140
140
|
break;
|
|
141
|
-
case
|
|
141
|
+
case HEADER_VALUE_TYPE.byte:
|
|
142
142
|
out[name] = {
|
|
143
143
|
type: BYTE_TAG,
|
|
144
144
|
value: headers.getInt8(position++),
|
|
145
145
|
};
|
|
146
146
|
break;
|
|
147
|
-
case
|
|
147
|
+
case HEADER_VALUE_TYPE.short:
|
|
148
148
|
out[name] = {
|
|
149
149
|
type: SHORT_TAG,
|
|
150
150
|
value: headers.getInt16(position, false),
|
|
151
151
|
};
|
|
152
152
|
position += 2;
|
|
153
153
|
break;
|
|
154
|
-
case
|
|
154
|
+
case HEADER_VALUE_TYPE.integer:
|
|
155
155
|
out[name] = {
|
|
156
156
|
type: INT_TAG,
|
|
157
157
|
value: headers.getInt32(position, false),
|
|
158
158
|
};
|
|
159
159
|
position += 4;
|
|
160
160
|
break;
|
|
161
|
-
case
|
|
161
|
+
case HEADER_VALUE_TYPE.long:
|
|
162
162
|
out[name] = {
|
|
163
163
|
type: LONG_TAG,
|
|
164
164
|
value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),
|
|
165
165
|
};
|
|
166
166
|
position += 8;
|
|
167
167
|
break;
|
|
168
|
-
case
|
|
168
|
+
case HEADER_VALUE_TYPE.byteArray:
|
|
169
169
|
const binaryLength = headers.getUint16(position, false);
|
|
170
170
|
position += 2;
|
|
171
171
|
out[name] = {
|
|
@@ -174,7 +174,7 @@ class HeaderMarshaller {
|
|
|
174
174
|
};
|
|
175
175
|
position += binaryLength;
|
|
176
176
|
break;
|
|
177
|
-
case
|
|
177
|
+
case HEADER_VALUE_TYPE.string:
|
|
178
178
|
const stringLength = headers.getUint16(position, false);
|
|
179
179
|
position += 2;
|
|
180
180
|
out[name] = {
|
|
@@ -183,14 +183,14 @@ class HeaderMarshaller {
|
|
|
183
183
|
};
|
|
184
184
|
position += stringLength;
|
|
185
185
|
break;
|
|
186
|
-
case
|
|
186
|
+
case HEADER_VALUE_TYPE.timestamp:
|
|
187
187
|
out[name] = {
|
|
188
188
|
type: TIMESTAMP_TAG,
|
|
189
189
|
value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),
|
|
190
190
|
};
|
|
191
191
|
position += 8;
|
|
192
192
|
break;
|
|
193
|
-
case
|
|
193
|
+
case HEADER_VALUE_TYPE.uuid:
|
|
194
194
|
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
195
195
|
position += 16;
|
|
196
196
|
out[name] = {
|
|
@@ -181,7 +181,7 @@ function bindRetryMiddleware(isStreamingPayload) {
|
|
|
181
181
|
try {
|
|
182
182
|
retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
|
|
183
183
|
}
|
|
184
|
-
catch (
|
|
184
|
+
catch (ignoredRefreshError) {
|
|
185
185
|
if (!lastError.$metadata) {
|
|
186
186
|
lastError.$metadata = {};
|
|
187
187
|
}
|
|
@@ -499,7 +499,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
|
|
|
499
499
|
try {
|
|
500
500
|
return await this.maxAttemptsProvider();
|
|
501
501
|
}
|
|
502
|
-
catch (
|
|
502
|
+
catch (ignored) {
|
|
503
503
|
console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`);
|
|
504
504
|
return DEFAULT_MAX_ATTEMPTS;
|
|
505
505
|
}
|
|
@@ -626,7 +626,7 @@ class StandardRetryStrategy {
|
|
|
626
626
|
try {
|
|
627
627
|
maxAttempts = await this.maxAttemptsProvider();
|
|
628
628
|
}
|
|
629
|
-
catch (
|
|
629
|
+
catch (ignored) {
|
|
630
630
|
maxAttempts = DEFAULT_MAX_ATTEMPTS;
|
|
631
631
|
}
|
|
632
632
|
return maxAttempts;
|
|
@@ -183,7 +183,7 @@ function bindRetryMiddleware(isStreamingPayload) {
|
|
|
183
183
|
try {
|
|
184
184
|
retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
|
|
185
185
|
}
|
|
186
|
-
catch (
|
|
186
|
+
catch (ignoredRefreshError) {
|
|
187
187
|
if (!lastError.$metadata) {
|
|
188
188
|
lastError.$metadata = {};
|
|
189
189
|
}
|
|
@@ -501,7 +501,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
|
|
|
501
501
|
try {
|
|
502
502
|
return await this.maxAttemptsProvider();
|
|
503
503
|
}
|
|
504
|
-
catch (
|
|
504
|
+
catch (ignored) {
|
|
505
505
|
console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`);
|
|
506
506
|
return DEFAULT_MAX_ATTEMPTS;
|
|
507
507
|
}
|
|
@@ -628,7 +628,7 @@ class StandardRetryStrategy {
|
|
|
628
628
|
try {
|
|
629
629
|
maxAttempts = await this.maxAttemptsProvider();
|
|
630
630
|
}
|
|
631
|
-
catch (
|
|
631
|
+
catch (ignored) {
|
|
632
632
|
maxAttempts = DEFAULT_MAX_ATTEMPTS;
|
|
633
633
|
}
|
|
634
634
|
return maxAttempts;
|
|
@@ -41,7 +41,7 @@ const schemaDeserializationMiddleware = (config) => (next, context) => async (ar
|
|
|
41
41
|
try {
|
|
42
42
|
error.message += "\n " + hint;
|
|
43
43
|
}
|
|
44
|
-
catch (
|
|
44
|
+
catch (ignored) {
|
|
45
45
|
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
46
46
|
console.warn(hint);
|
|
47
47
|
}
|
|
@@ -66,7 +66,7 @@ const schemaDeserializationMiddleware = (config) => (next, context) => async (ar
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
catch (
|
|
69
|
+
catch (ignored) {
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
throw error;
|
|
@@ -205,7 +205,7 @@ class ErrorSchema extends StructureSchema {
|
|
|
205
205
|
ctor;
|
|
206
206
|
symbol = ErrorSchema.symbol;
|
|
207
207
|
}
|
|
208
|
-
const error = (namespace, name, traits, memberNames, memberList,
|
|
208
|
+
const error = (namespace, name, traits, memberNames, memberList, _ctor) => Schema.assign(new ErrorSchema(), {
|
|
209
209
|
name,
|
|
210
210
|
namespace,
|
|
211
211
|
traits,
|
|
@@ -457,7 +457,7 @@ class NormalizedSchema {
|
|
|
457
457
|
const schema = this.getSchema();
|
|
458
458
|
const memberSchema = isDoc
|
|
459
459
|
? 15
|
|
460
|
-
: schema[4] ?? 0;
|
|
460
|
+
: (schema[4] ?? 0);
|
|
461
461
|
return member([memberSchema, 0], "key");
|
|
462
462
|
}
|
|
463
463
|
getValueSchema() {
|
|
@@ -150,7 +150,7 @@ function bindV4(getRandomValues) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
const copyDocumentWithTransform = (source,
|
|
153
|
+
const copyDocumentWithTransform = (source, _schemaRef, _transform = (_) => _) => source;
|
|
154
154
|
|
|
155
155
|
const parseBoolean = (value) => {
|
|
156
156
|
switch (value) {
|
|
@@ -420,7 +420,7 @@ const parseRfc3339DateTime = (value) => {
|
|
|
420
420
|
const day = parseDateValue(dayStr, "day", 1, 31);
|
|
421
421
|
return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
|
|
422
422
|
};
|
|
423
|
-
const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}
|
|
423
|
+
const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}:\d{2})|[zZ])$/);
|
|
424
424
|
const parseRfc3339DateTimeWithOffset = (value) => {
|
|
425
425
|
if (value === null || value === undefined) {
|
|
426
426
|
return undefined;
|
|
@@ -915,7 +915,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
915
915
|
try {
|
|
916
916
|
error.message += "\n " + hint;
|
|
917
917
|
}
|
|
918
|
-
catch (
|
|
918
|
+
catch (ignored) {
|
|
919
919
|
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
920
920
|
console.warn(hint);
|
|
921
921
|
}
|
|
@@ -940,7 +940,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
940
940
|
};
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
catch (
|
|
943
|
+
catch (ignored) {
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
946
|
throw error;
|
|
@@ -118,7 +118,7 @@ function bindV4(getRandomValues) {
|
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
const copyDocumentWithTransform = (source,
|
|
121
|
+
const copyDocumentWithTransform = (source, _schemaRef, _transform = (_) => _) => source;
|
|
122
122
|
|
|
123
123
|
const parseBoolean = (value) => {
|
|
124
124
|
switch (value) {
|
|
@@ -388,7 +388,7 @@ const parseRfc3339DateTime = (value) => {
|
|
|
388
388
|
const day = parseDateValue(dayStr, "day", 1, 31);
|
|
389
389
|
return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
|
|
390
390
|
};
|
|
391
|
-
const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}
|
|
391
|
+
const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}:\d{2})|[zZ])$/);
|
|
392
392
|
const parseRfc3339DateTimeWithOffset = (value) => {
|
|
393
393
|
if (value === null || value === undefined) {
|
|
394
394
|
return undefined;
|
|
@@ -880,7 +880,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
880
880
|
try {
|
|
881
881
|
error.message += "\n " + hint;
|
|
882
882
|
}
|
|
883
|
-
catch (
|
|
883
|
+
catch (ignored) {
|
|
884
884
|
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
885
885
|
console.warn(hint);
|
|
886
886
|
}
|
|
@@ -905,7 +905,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
905
905
|
};
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
|
-
catch (
|
|
908
|
+
catch (ignored) {
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
throw error;
|
|
@@ -1006,6 +1006,7 @@ let ChecksumStream$1 = class ChecksumStream extends Readable {
|
|
|
1006
1006
|
this.source.on("data", this.onSourceData);
|
|
1007
1007
|
this.source.on("end", this.onSourceEnd);
|
|
1008
1008
|
this.source.on("error", this.onSourceError);
|
|
1009
|
+
this.source.on("close", this.onSourceClose);
|
|
1009
1010
|
this.source.pause();
|
|
1010
1011
|
}
|
|
1011
1012
|
onSourceData = (chunk) => {
|
|
@@ -1045,10 +1046,19 @@ let ChecksumStream$1 = class ChecksumStream extends Readable {
|
|
|
1045
1046
|
onSourceError = (error) => {
|
|
1046
1047
|
this.destroy(error);
|
|
1047
1048
|
};
|
|
1048
|
-
|
|
1049
|
+
onSourceClose = () => {
|
|
1050
|
+
if (!this.destroyed && !this.source.readableEnded) {
|
|
1051
|
+
this.destroy(new Error("Connection lost or stream closed before all data was received."));
|
|
1052
|
+
}
|
|
1053
|
+
};
|
|
1054
|
+
_read(_size) {
|
|
1049
1055
|
this.source.resume();
|
|
1050
1056
|
}
|
|
1051
1057
|
_destroy(error, callback) {
|
|
1058
|
+
this.source?.removeListener("data", this.onSourceData);
|
|
1059
|
+
this.source?.removeListener("end", this.onSourceEnd);
|
|
1060
|
+
this.source?.removeListener("error", this.onSourceError);
|
|
1061
|
+
this.source?.removeListener("close", this.onSourceClose);
|
|
1052
1062
|
this.source?.destroy();
|
|
1053
1063
|
callback(error);
|
|
1054
1064
|
}
|
|
@@ -1595,7 +1605,7 @@ const sdkStreamMixin = (stream) => {
|
|
|
1595
1605
|
try {
|
|
1596
1606
|
return sdkStreamMixin$1(stream);
|
|
1597
1607
|
}
|
|
1598
|
-
catch (
|
|
1608
|
+
catch (ignored) {
|
|
1599
1609
|
const name = stream?.__proto__?.constructor?.name || stream;
|
|
1600
1610
|
throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`);
|
|
1601
1611
|
}
|
|
@@ -150,7 +150,7 @@ function bindV4(getRandomValues) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
const copyDocumentWithTransform = (source,
|
|
153
|
+
const copyDocumentWithTransform = (source, _schemaRef, _transform = (_) => _) => source;
|
|
154
154
|
|
|
155
155
|
const parseBoolean = (value) => {
|
|
156
156
|
switch (value) {
|
|
@@ -420,7 +420,7 @@ const parseRfc3339DateTime = (value) => {
|
|
|
420
420
|
const day = parseDateValue(dayStr, "day", 1, 31);
|
|
421
421
|
return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
|
|
422
422
|
};
|
|
423
|
-
const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}
|
|
423
|
+
const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}:\d{2})|[zZ])$/);
|
|
424
424
|
const parseRfc3339DateTimeWithOffset = (value) => {
|
|
425
425
|
if (value === null || value === undefined) {
|
|
426
426
|
return undefined;
|
|
@@ -915,7 +915,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
915
915
|
try {
|
|
916
916
|
error.message += "\n " + hint;
|
|
917
917
|
}
|
|
918
|
-
catch (
|
|
918
|
+
catch (ignored) {
|
|
919
919
|
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
920
920
|
console.warn(hint);
|
|
921
921
|
}
|
|
@@ -940,7 +940,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
940
940
|
};
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
catch (
|
|
943
|
+
catch (ignored) {
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
946
|
throw error;
|
|
@@ -101,7 +101,7 @@ const isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
function isValidHostname(hostname) {
|
|
104
|
-
const hostPattern = /^[a-z0-9][a-z0-9
|
|
104
|
+
const hostPattern = /^[a-z0-9][a-z0-9.-]*[a-z0-9]$/;
|
|
105
105
|
return hostPattern.test(hostname);
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -35,7 +35,7 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
35
35
|
try {
|
|
36
36
|
request.headers["content-length"] = String(request.body.byteLength);
|
|
37
37
|
}
|
|
38
|
-
catch (
|
|
38
|
+
catch (ignored) { }
|
|
39
39
|
}
|
|
40
40
|
const { service, operation } = getSmithyContext(context);
|
|
41
41
|
const path = `/service/${service}/operation/${operation}`;
|
|
@@ -67,7 +67,7 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
67
67
|
try {
|
|
68
68
|
errorSchema = registry.getSchema(errorName);
|
|
69
69
|
}
|
|
70
|
-
catch (
|
|
70
|
+
catch (ignored) {
|
|
71
71
|
if (dataObject.Message) {
|
|
72
72
|
dataObject.message = dataObject.Message;
|
|
73
73
|
}
|
|
@@ -4,7 +4,7 @@ import { getResolvedPartition } from "./getResolvedPartition";
|
|
|
4
4
|
import { getResolvedSigningRegion } from "./getResolvedSigningRegion";
|
|
5
5
|
export const getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint = false, signingService, regionHash, partitionHash, }) => {
|
|
6
6
|
const partition = getResolvedPartition(region, { partitionHash });
|
|
7
|
-
const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region;
|
|
7
|
+
const resolvedRegion = region in regionHash ? region : (partitionHash[partition]?.endpoint ?? region);
|
|
8
8
|
const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint };
|
|
9
9
|
const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions);
|
|
10
10
|
const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions);
|
|
@@ -20,7 +20,7 @@ export const resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => memoize(asy
|
|
|
20
20
|
const useMobileConfiguration = () => {
|
|
21
21
|
const navigator = window?.navigator;
|
|
22
22
|
if (navigator?.connection) {
|
|
23
|
-
const { effectiveType, rtt, downlink } = navigator
|
|
23
|
+
const { effectiveType, rtt, downlink } = navigator.connection;
|
|
24
24
|
const slow = (typeof effectiveType === "string" && effectiveType !== "4g") || Number(rtt) > 100 || Number(downlink) < 10;
|
|
25
25
|
if (slow) {
|
|
26
26
|
return true;
|
package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IniSectionType } from "@smithy/types";
|
|
2
2
|
import { CONFIG_PREFIX_SEPARATOR } from "./constants";
|
|
3
|
-
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w
|
|
3
|
+
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@+.%:/]+)\2$/;
|
|
4
4
|
const profileNameBlockList = ["__proto__", "profile __proto__"];
|
|
5
5
|
export const parseIni = (iniData) => {
|
|
6
6
|
const map = {};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { loadConfig } from "@smithy/core/config";
|
|
2
2
|
import { getEndpointUrlConfig } from "./getEndpointUrlConfig";
|
|
3
|
-
|
|
3
|
+
import { ignoreConfiguredEndpointUrlsConfigSelectors } from "./getIgnoreConfiguredEndpointUrls";
|
|
4
|
+
export const getEndpointFromConfig = async (serviceId) => {
|
|
5
|
+
const ignore = await loadConfig(ignoreConfiguredEndpointUrlsConfigSelectors)();
|
|
6
|
+
if (ignore) {
|
|
7
|
+
return undefined;
|
|
8
|
+
}
|
|
9
|
+
return loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
|
|
10
|
+
};
|
|
@@ -3,7 +3,7 @@ import { createConfigValueProvider } from "./createConfigValueProvider";
|
|
|
3
3
|
import { toEndpointV1 } from "./toEndpointV1";
|
|
4
4
|
export function bindGetEndpointFromInstructions(getEndpointFromConfig) {
|
|
5
5
|
return async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
6
|
-
if (!clientConfig.isCustomEndpoint) {
|
|
6
|
+
if (!clientConfig.isCustomEndpoint && !clientConfig.ignoreConfiguredEndpointUrls) {
|
|
7
7
|
let endpointFromConfig;
|
|
8
8
|
if (clientConfig.serviceConfiguredEndpoint) {
|
|
9
9
|
endpointFromConfig = await clientConfig.serviceConfiguredEndpoint();
|
|
@@ -14,6 +14,7 @@ export function bindGetEndpointFromInstructions(getEndpointFromConfig) {
|
|
|
14
14
|
if (endpointFromConfig) {
|
|
15
15
|
clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig));
|
|
16
16
|
clientConfig.isCustomEndpoint = true;
|
|
17
|
+
context?.logger?.debug?.(`@smithy/core/endpoints - resolved endpoint from config: ${endpointFromConfig}`);
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CONFIG_PREFIX_SEPARATOR } from "@smithy/core/config";
|
|
2
|
-
const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
3
|
-
const CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
2
|
+
export const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
3
|
+
export const CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
4
4
|
export const getEndpointUrlConfig = (serviceId) => ({
|
|
5
5
|
environmentVariableSelector: (env) => {
|
|
6
6
|
const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
|
|
@@ -13,14 +13,16 @@ export const getEndpointUrlConfig = (serviceId) => ({
|
|
|
13
13
|
return undefined;
|
|
14
14
|
},
|
|
15
15
|
configFileSelector: (profile, config) => {
|
|
16
|
-
if (
|
|
17
|
-
const
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
|
|
21
|
-
if (endpointUrl)
|
|
22
|
-
return endpointUrl;
|
|
16
|
+
if (profile.services) {
|
|
17
|
+
const servicesSectionKey = ["services", profile.services].join(CONFIG_PREFIX_SEPARATOR);
|
|
18
|
+
if (!config || !config[servicesSectionKey]) {
|
|
19
|
+
throw new Error(`The services section "${profile.services}" specified in the profile is not present in the shared configuration file.`);
|
|
23
20
|
}
|
|
21
|
+
const servicesSection = config[servicesSectionKey];
|
|
22
|
+
const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
|
|
23
|
+
const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
|
|
24
|
+
if (endpointUrl)
|
|
25
|
+
return endpointUrl;
|
|
24
26
|
}
|
|
25
27
|
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
|
26
28
|
if (endpointUrl)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { booleanSelector, SelectorType } from "@smithy/core/config";
|
|
2
|
+
export const ENV_IGNORE_CONFIGURED_ENDPOINT_URLS = "AWS_IGNORE_CONFIGURED_ENDPOINT_URLS";
|
|
3
|
+
export const CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS = "ignore_configured_endpoint_urls";
|
|
4
|
+
export const ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
5
|
+
environmentVariableSelector: (env) => booleanSelector(env, ENV_IGNORE_CONFIGURED_ENDPOINT_URLS, SelectorType.ENV),
|
|
6
|
+
configFileSelector: (profile) => booleanSelector(profile, CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS, SelectorType.CONFIG),
|
|
7
|
+
default: false,
|
|
8
|
+
};
|
|
@@ -12,6 +12,7 @@ export function bindResolveEndpointConfig(getEndpointFromConfig) {
|
|
|
12
12
|
isCustomEndpoint,
|
|
13
13
|
useDualstackEndpoint: normalizeProvider(useDualstackEndpoint ?? false),
|
|
14
14
|
useFipsEndpoint: normalizeProvider(useFipsEndpoint ?? false),
|
|
15
|
+
ignoreConfiguredEndpointUrls: !!input.ignoreConfiguredEndpointUrls,
|
|
15
16
|
});
|
|
16
17
|
let configuredEndpointPromise = undefined;
|
|
17
18
|
resolvedConfig.serviceConfiguredEndpoint = async () => {
|
|
@@ -20,7 +20,7 @@ export const resolveParamsForS3 = async (endpointParams) => {
|
|
|
20
20
|
}
|
|
21
21
|
return endpointParams;
|
|
22
22
|
};
|
|
23
|
-
const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9
|
|
23
|
+
const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$/;
|
|
24
24
|
const IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/;
|
|
25
25
|
const DOTS_PATTERN = /\.\./;
|
|
26
26
|
export const DOT_PATTERN = /\./;
|