@cdk8s/awscdk-resolver 0.0.50 → 0.0.52
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/CloudFormation.js +1 -151
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/CloudFormationClient.js +1 -43
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateOrganizationsAccessCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateTypeCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/BatchDescribeTypeConfigurationsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CancelUpdateStackCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ContinueUpdateRollbackCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateChangeSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateOrganizationsAccessCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateTypeCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteChangeSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeregisterTypeCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeAccountLimitsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetHooksCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeOrganizationsAccessCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribePublisherCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackDriftDetectionStatusCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackEventsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackInstanceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceDriftsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourcesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetOperationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStacksCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeRegistrationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackDriftCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackResourceDriftCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackSetDriftCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/EstimateTemplateCostCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ExecuteChangeSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetStackPolicyCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateSummaryCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ImportStacksToStackSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListChangeSetsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListExportsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListImportsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstanceResourceDriftsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackResourcesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationResultsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStacksCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeRegistrationsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeVersionsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/PublishTypeCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RecordHandlerProgressCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterPublisherCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterTypeCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RollbackStackCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetStackPolicyCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeConfigurationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeDefaultVersionCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SignalResourceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StopStackSetOperationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/TestTypeCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackSetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateTerminationProtectionCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ValidateTemplateCommand.js +1 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/index.js +1 -73
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/extensionConfiguration.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +11649 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +1 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/index.js +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/models_0.js +1 -662
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeAccountLimitsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStackEventsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStackResourceDriftsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStacksPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/Interfaces.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListChangeSetsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListExportsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListImportsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackInstancesPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackResourcesPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetOperationResultsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetOperationsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStacksPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypeRegistrationsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypeVersionsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypesPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/index.js +1 -20
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/protocols/Aws_query.js +1 -8546
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeExtensions.js +1 -22
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/index.js +1 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForChangeSetCreateComplete.js +1 -48
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackCreateComplete.js +1 -258
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackDeleteComplete.js +1 -152
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackExists.js +1 -31
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackImportComplete.js +1 -122
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackRollbackComplete.js +1 -92
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackUpdateComplete.js +1 -92
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForTypeRegistrationComplete.js +1 -45
- package/node_modules/@aws-sdk/client-cloudformation/package.json +41 -41
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +1 -19
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +1 -40
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js +1 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +691 -11
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +1 -12
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js +1 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js +1 -88
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js +1 -6
- package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +1 -346
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +1 -22
- package/node_modules/@aws-sdk/client-sso/package.json +37 -37
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +1 -27
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js +1 -11
- package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +1 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +276 -11
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js +1 -4
- package/node_modules/@aws-sdk/client-sts/package.json +39 -39
- package/node_modules/@aws-sdk/core/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -17
- package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -61
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -5
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -82
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -6
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -5
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -12
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -6
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -6
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +316 -6
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -59
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -5
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -14
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +1 -27
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +66 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js +1 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +175 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -52
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js +1 -21
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js +1 -11
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js +1 -32
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js +1 -17
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js +1 -16
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js +1 -17
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js +1 -15
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +73 -4
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js +1 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +1 -10
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +1 -26
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +96 -4
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +1 -37
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +1 -61
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +177 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +1 -10
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -56
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +1 -13
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +65 -34
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +79 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +1 -48
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +64 -36
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +1 -108
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +1 -62
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +227 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js +1 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js +1 -12
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/isClockSkewed.js +1 -6
- package/node_modules/@aws-sdk/middleware-signing/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +1 -10
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +1 -10
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +122 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +1 -79
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +1 -30
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +115 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +1 -15
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +1 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
- package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +1 -5
- package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +1 -82
- package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +1 -11
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +1 -15
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +1 -14
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +211 -7
- package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +1 -9
- package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +1 -11
- package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +1 -11
- package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +1 -12
- package/node_modules/@aws-sdk/token-providers/package.json +36 -36
- package/node_modules/@aws-sdk/types/dist-cjs/abort.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/auth.js +1 -5
- package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/client.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/command.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/connection.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/dns.js +1 -8
- package/node_modules/@aws-sdk/types/dist-cjs/encode.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +1 -5
- package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/http.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +1 -8
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +466 -35
- package/node_modules/@aws-sdk/types/dist-cjs/logger.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/profile.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/request.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/response.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/retry.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/serde.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/signature.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/stream.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/token.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +1 -5
- package/node_modules/@aws-sdk/types/dist-cjs/uri.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/util.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +1 -2
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +1 -12
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +424 -8
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +1 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +1 -29
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +1 -19
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +1 -49
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +1 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +1 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +1 -9
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +37 -11
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +1 -6
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +93 -43
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +1 -11
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -13
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -24
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +85 -5
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +1 -12
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +1 -12
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +1 -7
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +1 -16
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -20
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +1 -20
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +235 -6
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +1 -15
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +1 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +1 -8
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +1 -34
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +1 -9
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +1 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +1 -16
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +1 -6
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +482 -12
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -22
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -22
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -45
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +1 -20
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +1 -28
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +1 -5
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +1 -10
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +1 -32
- package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +1 -72
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -17
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +1 -37
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +1 -14
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +1 -9
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +1 -59
- package/node_modules/@smithy/core/package.json +9 -9
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +1 -8
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +1 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +1 -8
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +1 -11
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +1 -13
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +1 -70
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +1 -137
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +427 -12
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +1 -17
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +1 -7
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +1 -41
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +1 -5
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +1 -11
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +1 -22
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +1 -23
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +1 -29
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +1 -66
- package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +1 -186
- package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +1 -47
- package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +1 -2
- package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +1 -18
- package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +1 -21
- package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +1 -20
- package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +1 -18
- package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +1 -693
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +468 -11
- package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +1 -34
- package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +1 -2
- package/node_modules/@smithy/eventstream-codec/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -117
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +220 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -15
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -50
- package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +64 -36
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +41 -5
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +1 -7
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +1 -5
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -6
- package/node_modules/@smithy/is-array-buffer/package.json +7 -9
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +66 -39
- package/node_modules/@smithy/middleware-content-length/package.json +5 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/createConfigValueProvider.js +1 -38
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +1 -51
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +1 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +1 -14
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +1 -37
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +1 -22
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +254 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +1 -21
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/index.js +1 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/s3.js +1 -43
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -24
- package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +1 -95
- package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +1 -57
- package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +1 -32
- package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +1 -6
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +424 -10
- package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +1 -27
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +1 -11
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +1 -118
- package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +1 -13
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +1 -24
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +97 -6
- package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +1 -26
- package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +1 -18
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +1 -287
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +318 -4
- package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +1 -9
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +1 -17
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +1 -26
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +1 -7
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +87 -4
- package/node_modules/@smithy/node-config-provider/package.json +5 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +1 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +1 -12
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +626 -6
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +1 -153
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +1 -92
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +1 -36
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +1 -165
- package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +1 -23
- package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +1 -60
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +1 -25
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +1 -12
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +1 -10
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +1 -15
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +1 -18
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -23
- package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +1 -45
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -13
- package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -15
- package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -13
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -25
- package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -5
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +150 -9
- package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -49
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -27
- package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -23
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -27
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -4
- package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -52
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -18
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +237 -11
- package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -8
- package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +49 -22
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +50 -24
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +1 -30
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +88 -30
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -22
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +190 -11
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -31
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -16
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -18
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -56
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -10
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +13 -3
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +1 -194
- package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +1 -17
- package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +1 -46
- package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +1 -39
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +1 -24
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -31
- package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +1 -24
- package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +1 -32
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +467 -16
- package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +1 -21
- package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +1 -15
- package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +1 -402
- package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +1 -20
- package/node_modules/@smithy/signature-v4/package.json +10 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +1 -11
- package/node_modules/@smithy/smithy-client/dist-cjs/client.js +1 -28
- package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +1 -15
- package/node_modules/@smithy/smithy-client/dist-cjs/command.js +1 -118
- package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +1 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +1 -25
- package/node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +1 -195
- package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +1 -30
- package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +1 -30
- package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +1 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +1 -27
- package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +1 -9
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +1 -36
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -20
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +1 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +1 -21
- package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +1 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +1 -16
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1256 -25
- package/node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +1 -38
- package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +1 -98
- package/node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +1 -253
- package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +1 -23
- package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +1 -17
- package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +1 -23
- package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +1 -31
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/abort.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -9
- package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/checksum.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/client.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/command.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -6
- package/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/crypto.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/encode.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -44
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -16
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/http.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -7
- package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/index.js +149 -39
- package/node_modules/@smithy/types/dist-cjs/logger.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/middleware.js +1 -4
- package/node_modules/@smithy/types/dist-cjs/pagination.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/profile.js +1 -9
- package/node_modules/@smithy/types/dist-cjs/response.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/retry.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/serde.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/shapes.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/signature.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/stream.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transfer.js +1 -9
- package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/uri.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/util.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -2
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +48 -21
- package/node_modules/@smithy/url-parser/package.json +4 -4
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -5
- package/node_modules/@smithy/util-base64/package.json +4 -4
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +1 -30
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +57 -4
- package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +1 -29
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +53 -4
- package/node_modules/@smithy/util-body-length-node/package.json +7 -9
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +45 -17
- package/node_modules/@smithy/util-buffer-from/package.json +8 -10
- package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +1 -13
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +64 -6
- package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +1 -13
- package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +1 -8
- package/node_modules/@smithy/util-config-provider/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +25 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +1 -9
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +1 -14
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +109 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +1 -57
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +1 -4
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +1 -16
- package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +1 -25
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +484 -8
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +1 -15
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +1 -29
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +1 -12
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -6
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +1 -17
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +1 -55
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +1 -13
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +1 -42
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +1 -10
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +1 -10
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +1 -15
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +1 -4
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +1 -15
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +1 -19
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +1 -27
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +1 -32
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +1 -18
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +1 -20
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +1 -31
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +1 -40
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +1 -17
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +1 -16
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +1 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +1 -25
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +1 -19
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +1 -11
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +1 -5
- package/node_modules/@smithy/util-endpoints/package.json +4 -4
- package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +60 -31
- package/node_modules/@smithy/util-hex-encoding/package.json +7 -9
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +1 -6
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +45 -5
- package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +1 -10
- package/node_modules/@smithy/util-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -28
- package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +1 -22
- package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +1 -104
- package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +1 -70
- package/node_modules/@smithy/util-retry/dist-cjs/config.js +1 -10
- package/node_modules/@smithy/util-retry/dist-cjs/constants.js +1 -12
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +1 -18
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +1 -15
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +347 -10
- package/node_modules/@smithy/util-retry/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +1 -22
- package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +1 -20
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +89 -6
- package/node_modules/@smithy/util-stream/package.json +10 -10
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -6
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -6
- package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -5
- package/node_modules/@smithy/util-uri-escape/package.json +7 -9
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -5
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -9
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +57 -6
- package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -14
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -5
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -6
- package/node_modules/@smithy/util-utf8/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/createWaiter.js +1 -27
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +155 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +1 -38
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +1 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +1 -7
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +1 -21
- package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +1 -38
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/package.json +5 -5
- package/.gitattributes +0 -38
- package/.projenrc.ts +0 -49
@@ -3,6 +3,28 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* get full list of exports for esm compat in dist-cjs ([#5694](https://github.com/aws/aws-sdk-js-v3/issues/5694)) ([5d26da6](https://github.com/aws/aws-sdk-js-v3/commit/5d26da6d07b593ae286ca674fb3cbff7c833cbb0))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
# [3.495.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.494.0...v3.495.0) (2024-01-18)
|
18
|
+
|
19
|
+
|
20
|
+
### Features
|
21
|
+
|
22
|
+
* use bundled dist-cjs build ([#5687](https://github.com/aws/aws-sdk-js-v3/issues/5687)) ([5f79e22](https://github.com/aws/aws-sdk-js-v3/commit/5f79e225e32f0b2ed5b432ae4e4108663eb0acfb))
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
6
28
|
# [3.490.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.489.0...v3.490.0) (2024-01-11)
|
7
29
|
|
8
30
|
|
@@ -1,17 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.emitWarningIfUnsupportedVersion = void 0;
|
4
|
-
let warningEmitted = false;
|
5
|
-
const emitWarningIfUnsupportedVersion = (version) => {
|
6
|
-
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
7
|
-
warningEmitted = true;
|
8
|
-
process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
9
|
-
no longer support Node.js 14.x on May 1, 2024.
|
10
|
-
|
11
|
-
To continue receiving updates to AWS services, bug fixes, and security
|
12
|
-
updates please upgrade to an active Node.js LTS version.
|
13
|
-
|
14
|
-
More information can be found at: https://a.co/dzr2AJd`);
|
15
|
-
}
|
16
|
-
};
|
17
|
-
exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
|
1
|
+
module.exports = require("../index.js");
|
@@ -1,61 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AWSSDKSigV4Signer = exports.AwsSdkSigV4Signer = void 0;
|
4
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
5
|
-
const utils_1 = require("../utils");
|
6
|
-
const throwSigningPropertyError = (name, property) => {
|
7
|
-
if (!property) {
|
8
|
-
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
9
|
-
}
|
10
|
-
return property;
|
11
|
-
};
|
12
|
-
const validateSigningProperties = async (signingProperties) => {
|
13
|
-
var _a, _b, _c;
|
14
|
-
const context = throwSigningPropertyError("context", signingProperties.context);
|
15
|
-
const config = throwSigningPropertyError("config", signingProperties.config);
|
16
|
-
const authScheme = (_c = (_b = (_a = context.endpointV2) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.authSchemes) === null || _c === void 0 ? void 0 : _c[0];
|
17
|
-
const signerFunction = throwSigningPropertyError("signer", config.signer);
|
18
|
-
const signer = await signerFunction(authScheme);
|
19
|
-
const signingRegion = signingProperties === null || signingProperties === void 0 ? void 0 : signingProperties.signingRegion;
|
20
|
-
const signingName = signingProperties === null || signingProperties === void 0 ? void 0 : signingProperties.signingName;
|
21
|
-
return {
|
22
|
-
config,
|
23
|
-
signer,
|
24
|
-
signingRegion,
|
25
|
-
signingName,
|
26
|
-
};
|
27
|
-
};
|
28
|
-
class AwsSdkSigV4Signer {
|
29
|
-
async sign(httpRequest, identity, signingProperties) {
|
30
|
-
if (!protocol_http_1.HttpRequest.isInstance(httpRequest)) {
|
31
|
-
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
32
|
-
}
|
33
|
-
const { config, signer, signingRegion, signingName } = await validateSigningProperties(signingProperties);
|
34
|
-
const signedRequest = await signer.sign(httpRequest, {
|
35
|
-
signingDate: (0, utils_1.getSkewCorrectedDate)(config.systemClockOffset),
|
36
|
-
signingRegion: signingRegion,
|
37
|
-
signingService: signingName,
|
38
|
-
});
|
39
|
-
return signedRequest;
|
40
|
-
}
|
41
|
-
errorHandler(signingProperties) {
|
42
|
-
return (error) => {
|
43
|
-
var _a;
|
44
|
-
const serverTime = (_a = error.ServerTime) !== null && _a !== void 0 ? _a : (0, utils_1.getDateHeader)(error.$response);
|
45
|
-
if (serverTime) {
|
46
|
-
const config = throwSigningPropertyError("config", signingProperties.config);
|
47
|
-
config.systemClockOffset = (0, utils_1.getUpdatedSystemClockOffset)(serverTime, config.systemClockOffset);
|
48
|
-
}
|
49
|
-
throw error;
|
50
|
-
};
|
51
|
-
}
|
52
|
-
successHandler(httpResponse, signingProperties) {
|
53
|
-
const dateHeader = (0, utils_1.getDateHeader)(httpResponse);
|
54
|
-
if (dateHeader) {
|
55
|
-
const config = throwSigningPropertyError("config", signingProperties.config);
|
56
|
-
config.systemClockOffset = (0, utils_1.getUpdatedSystemClockOffset)(dateHeader, config.systemClockOffset);
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
exports.AwsSdkSigV4Signer = AwsSdkSigV4Signer;
|
61
|
-
exports.AWSSDKSigV4Signer = AwsSdkSigV4Signer;
|
1
|
+
module.exports = require("../../index.js");
|
@@ -1,5 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./AwsSdkSigV4Signer"), exports);
|
5
|
-
tslib_1.__exportStar(require("./resolveAwsSdkSigV4Config"), exports);
|
1
|
+
module.exports = require("../../index.js");
|
package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
CHANGED
@@ -1,82 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.resolveAWSSDKSigV4Config = exports.resolveAwsSdkSigV4Config = void 0;
|
4
|
-
const core_1 = require("@smithy/core");
|
5
|
-
const signature_v4_1 = require("@smithy/signature-v4");
|
6
|
-
const resolveAwsSdkSigV4Config = (config) => {
|
7
|
-
let normalizedCreds;
|
8
|
-
if (config.credentials) {
|
9
|
-
normalizedCreds = (0, core_1.memoizeIdentityProvider)(config.credentials, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
|
10
|
-
}
|
11
|
-
if (!normalizedCreds) {
|
12
|
-
if (config.credentialDefaultProvider) {
|
13
|
-
normalizedCreds = (0, core_1.normalizeProvider)(config.credentialDefaultProvider(config));
|
14
|
-
}
|
15
|
-
else {
|
16
|
-
normalizedCreds = async () => { throw new Error("`credentials` is missing"); };
|
17
|
-
}
|
18
|
-
}
|
19
|
-
const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;
|
20
|
-
let signer;
|
21
|
-
if (config.signer) {
|
22
|
-
signer = (0, core_1.normalizeProvider)(config.signer);
|
23
|
-
}
|
24
|
-
else if (config.regionInfoProvider) {
|
25
|
-
signer = () => (0, core_1.normalizeProvider)(config.region)()
|
26
|
-
.then(async (region) => [
|
27
|
-
(await config.regionInfoProvider(region, {
|
28
|
-
useFipsEndpoint: await config.useFipsEndpoint(),
|
29
|
-
useDualstackEndpoint: await config.useDualstackEndpoint(),
|
30
|
-
})) || {},
|
31
|
-
region,
|
32
|
-
])
|
33
|
-
.then(([regionInfo, region]) => {
|
34
|
-
const { signingRegion, signingService } = regionInfo;
|
35
|
-
config.signingRegion = config.signingRegion || signingRegion || region;
|
36
|
-
config.signingName = config.signingName || signingService || config.serviceId;
|
37
|
-
const params = {
|
38
|
-
...config,
|
39
|
-
credentials: normalizedCreds,
|
40
|
-
region: config.signingRegion,
|
41
|
-
service: config.signingName,
|
42
|
-
sha256,
|
43
|
-
uriEscapePath: signingEscapePath,
|
44
|
-
};
|
45
|
-
const SignerCtor = config.signerConstructor || signature_v4_1.SignatureV4;
|
46
|
-
return new SignerCtor(params);
|
47
|
-
});
|
48
|
-
}
|
49
|
-
else {
|
50
|
-
signer = async (authScheme) => {
|
51
|
-
authScheme = Object.assign({}, {
|
52
|
-
name: "sigv4",
|
53
|
-
signingName: config.signingName || config.defaultSigningName,
|
54
|
-
signingRegion: await (0, core_1.normalizeProvider)(config.region)(),
|
55
|
-
properties: {},
|
56
|
-
}, authScheme);
|
57
|
-
const signingRegion = authScheme.signingRegion;
|
58
|
-
const signingService = authScheme.signingName;
|
59
|
-
config.signingRegion = config.signingRegion || signingRegion;
|
60
|
-
config.signingName = config.signingName || signingService || config.serviceId;
|
61
|
-
const params = {
|
62
|
-
...config,
|
63
|
-
credentials: normalizedCreds,
|
64
|
-
region: config.signingRegion,
|
65
|
-
service: config.signingName,
|
66
|
-
sha256,
|
67
|
-
uriEscapePath: signingEscapePath,
|
68
|
-
};
|
69
|
-
const SignerCtor = config.signerConstructor || signature_v4_1.SignatureV4;
|
70
|
-
return new SignerCtor(params);
|
71
|
-
};
|
72
|
-
}
|
73
|
-
return {
|
74
|
-
...config,
|
75
|
-
systemClockOffset,
|
76
|
-
signingEscapePath,
|
77
|
-
credentials: normalizedCreds,
|
78
|
-
signer,
|
79
|
-
};
|
80
|
-
};
|
81
|
-
exports.resolveAwsSdkSigV4Config = resolveAwsSdkSigV4Config;
|
82
|
-
exports.resolveAWSSDKSigV4Config = exports.resolveAwsSdkSigV4Config;
|
1
|
+
module.exports = require("../../index.js");
|
@@ -1,6 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getDateHeader = void 0;
|
4
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
5
|
-
const getDateHeader = (response) => { var _a, _b, _c; return protocol_http_1.HttpResponse.isInstance(response) ? (_b = (_a = response.headers) === null || _a === void 0 ? void 0 : _a.date) !== null && _b !== void 0 ? _b : (_c = response.headers) === null || _c === void 0 ? void 0 : _c.Date : undefined; };
|
6
|
-
exports.getDateHeader = getDateHeader;
|
1
|
+
module.exports = require("../../index.js");
|
@@ -1,5 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getSkewCorrectedDate = void 0;
|
4
|
-
const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
|
5
|
-
exports.getSkewCorrectedDate = getSkewCorrectedDate;
|
1
|
+
module.exports = require("../../index.js");
|
package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js
CHANGED
@@ -1,12 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getUpdatedSystemClockOffset = void 0;
|
4
|
-
const isClockSkewed_1 = require("./isClockSkewed");
|
5
|
-
const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
6
|
-
const clockTimeInMs = Date.parse(clockTime);
|
7
|
-
if ((0, isClockSkewed_1.isClockSkewed)(clockTimeInMs, currentSystemClockOffset)) {
|
8
|
-
return clockTimeInMs - Date.now();
|
9
|
-
}
|
10
|
-
return currentSystemClockOffset;
|
11
|
-
};
|
12
|
-
exports.getUpdatedSystemClockOffset = getUpdatedSystemClockOffset;
|
1
|
+
module.exports = require("../../index.js");
|
@@ -1,6 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./getDateHeader"), exports);
|
5
|
-
tslib_1.__exportStar(require("./getSkewCorrectedDate"), exports);
|
6
|
-
tslib_1.__exportStar(require("./getUpdatedSystemClockOffset"), exports);
|
1
|
+
module.exports = require("../../index.js");
|
@@ -1,6 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isClockSkewed = void 0;
|
4
|
-
const getSkewCorrectedDate_1 = require("./getSkewCorrectedDate");
|
5
|
-
const isClockSkewed = (clockTime, systemClockOffset) => Math.abs((0, getSkewCorrectedDate_1.getSkewCorrectedDate)(systemClockOffset).getTime() - clockTime) >= 300000;
|
6
|
-
exports.isClockSkewed = isClockSkewed;
|
1
|
+
module.exports = require("../../index.js");
|
@@ -1,6 +1,316 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
|
20
|
+
// src/index.ts
|
21
|
+
var src_exports = {};
|
22
|
+
__export(src_exports, {
|
23
|
+
AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
|
24
|
+
AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
|
25
|
+
_toBool: () => _toBool,
|
26
|
+
_toNum: () => _toNum,
|
27
|
+
_toStr: () => _toStr,
|
28
|
+
awsExpectUnion: () => awsExpectUnion,
|
29
|
+
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,
|
30
|
+
resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,
|
31
|
+
resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config
|
32
|
+
});
|
33
|
+
module.exports = __toCommonJS(src_exports);
|
34
|
+
|
35
|
+
// src/client/emitWarningIfUnsupportedVersion.ts
|
36
|
+
var warningEmitted = false;
|
37
|
+
var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {
|
38
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
39
|
+
warningEmitted = true;
|
40
|
+
process.emitWarning(
|
41
|
+
`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
42
|
+
no longer support Node.js 14.x on May 1, 2024.
|
43
|
+
|
44
|
+
To continue receiving updates to AWS services, bug fixes, and security
|
45
|
+
updates please upgrade to an active Node.js LTS version.
|
46
|
+
|
47
|
+
More information can be found at: https://a.co/dzr2AJd`
|
48
|
+
);
|
49
|
+
}
|
50
|
+
}, "emitWarningIfUnsupportedVersion");
|
51
|
+
|
52
|
+
// src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts
|
53
|
+
|
54
|
+
|
55
|
+
// src/httpAuthSchemes/utils/getDateHeader.ts
|
56
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
57
|
+
var getDateHeader = /* @__PURE__ */ __name((response) => {
|
58
|
+
var _a, _b;
|
59
|
+
return import_protocol_http.HttpResponse.isInstance(response) ? ((_a = response.headers) == null ? void 0 : _a.date) ?? ((_b = response.headers) == null ? void 0 : _b.Date) : void 0;
|
60
|
+
}, "getDateHeader");
|
61
|
+
|
62
|
+
// src/httpAuthSchemes/utils/getSkewCorrectedDate.ts
|
63
|
+
var getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), "getSkewCorrectedDate");
|
64
|
+
|
65
|
+
// src/httpAuthSchemes/utils/isClockSkewed.ts
|
66
|
+
var isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, "isClockSkewed");
|
67
|
+
|
68
|
+
// src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts
|
69
|
+
var getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {
|
70
|
+
const clockTimeInMs = Date.parse(clockTime);
|
71
|
+
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
72
|
+
return clockTimeInMs - Date.now();
|
73
|
+
}
|
74
|
+
return currentSystemClockOffset;
|
75
|
+
}, "getUpdatedSystemClockOffset");
|
76
|
+
|
77
|
+
// src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts
|
78
|
+
var throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {
|
79
|
+
if (!property) {
|
80
|
+
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
81
|
+
}
|
82
|
+
return property;
|
83
|
+
}, "throwSigningPropertyError");
|
84
|
+
var validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {
|
85
|
+
var _a, _b, _c;
|
86
|
+
const context = throwSigningPropertyError(
|
87
|
+
"context",
|
88
|
+
signingProperties.context
|
89
|
+
);
|
90
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
91
|
+
const authScheme = (_c = (_b = (_a = context.endpointV2) == null ? void 0 : _a.properties) == null ? void 0 : _b.authSchemes) == null ? void 0 : _c[0];
|
92
|
+
const signerFunction = throwSigningPropertyError(
|
93
|
+
"signer",
|
94
|
+
config.signer
|
95
|
+
);
|
96
|
+
const signer = await signerFunction(authScheme);
|
97
|
+
const signingRegion = signingProperties == null ? void 0 : signingProperties.signingRegion;
|
98
|
+
const signingName = signingProperties == null ? void 0 : signingProperties.signingName;
|
99
|
+
return {
|
100
|
+
config,
|
101
|
+
signer,
|
102
|
+
signingRegion,
|
103
|
+
signingName
|
104
|
+
};
|
105
|
+
}, "validateSigningProperties");
|
106
|
+
var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer {
|
107
|
+
async sign(httpRequest, identity, signingProperties) {
|
108
|
+
if (!import_protocol_http.HttpRequest.isInstance(httpRequest)) {
|
109
|
+
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
110
|
+
}
|
111
|
+
const { config, signer, signingRegion, signingName } = await validateSigningProperties(signingProperties);
|
112
|
+
const signedRequest = await signer.sign(httpRequest, {
|
113
|
+
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
114
|
+
signingRegion,
|
115
|
+
signingService: signingName
|
116
|
+
});
|
117
|
+
return signedRequest;
|
118
|
+
}
|
119
|
+
errorHandler(signingProperties) {
|
120
|
+
return (error) => {
|
121
|
+
const serverTime = error.ServerTime ?? getDateHeader(error.$response);
|
122
|
+
if (serverTime) {
|
123
|
+
const config = throwSigningPropertyError(
|
124
|
+
"config",
|
125
|
+
signingProperties.config
|
126
|
+
);
|
127
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
128
|
+
}
|
129
|
+
throw error;
|
130
|
+
};
|
131
|
+
}
|
132
|
+
successHandler(httpResponse, signingProperties) {
|
133
|
+
const dateHeader = getDateHeader(httpResponse);
|
134
|
+
if (dateHeader) {
|
135
|
+
const config = throwSigningPropertyError(
|
136
|
+
"config",
|
137
|
+
signingProperties.config
|
138
|
+
);
|
139
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);
|
140
|
+
}
|
141
|
+
}
|
142
|
+
};
|
143
|
+
__name(_AwsSdkSigV4Signer, "AwsSdkSigV4Signer");
|
144
|
+
var AwsSdkSigV4Signer = _AwsSdkSigV4Signer;
|
145
|
+
var AWSSDKSigV4Signer = AwsSdkSigV4Signer;
|
146
|
+
|
147
|
+
// src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts
|
148
|
+
var import_core = require("@smithy/core");
|
149
|
+
var import_signature_v4 = require("@smithy/signature-v4");
|
150
|
+
var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
151
|
+
let normalizedCreds;
|
152
|
+
if (config.credentials) {
|
153
|
+
normalizedCreds = (0, import_core.memoizeIdentityProvider)(config.credentials, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
|
154
|
+
}
|
155
|
+
if (!normalizedCreds) {
|
156
|
+
if (config.credentialDefaultProvider) {
|
157
|
+
normalizedCreds = (0, import_core.normalizeProvider)(config.credentialDefaultProvider(config));
|
158
|
+
} else {
|
159
|
+
normalizedCreds = /* @__PURE__ */ __name(async () => {
|
160
|
+
throw new Error("`credentials` is missing");
|
161
|
+
}, "normalizedCreds");
|
162
|
+
}
|
163
|
+
}
|
164
|
+
const {
|
165
|
+
// Default for signingEscapePath
|
166
|
+
signingEscapePath = true,
|
167
|
+
// Default for systemClockOffset
|
168
|
+
systemClockOffset = config.systemClockOffset || 0,
|
169
|
+
// No default for sha256 since it is platform dependent
|
170
|
+
sha256
|
171
|
+
} = config;
|
172
|
+
let signer;
|
173
|
+
if (config.signer) {
|
174
|
+
signer = (0, import_core.normalizeProvider)(config.signer);
|
175
|
+
} else if (config.regionInfoProvider) {
|
176
|
+
signer = /* @__PURE__ */ __name(() => (0, import_core.normalizeProvider)(config.region)().then(
|
177
|
+
async (region) => [
|
178
|
+
await config.regionInfoProvider(region, {
|
179
|
+
useFipsEndpoint: await config.useFipsEndpoint(),
|
180
|
+
useDualstackEndpoint: await config.useDualstackEndpoint()
|
181
|
+
}) || {},
|
182
|
+
region
|
183
|
+
]
|
184
|
+
).then(([regionInfo, region]) => {
|
185
|
+
const { signingRegion, signingService } = regionInfo;
|
186
|
+
config.signingRegion = config.signingRegion || signingRegion || region;
|
187
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
188
|
+
const params = {
|
189
|
+
...config,
|
190
|
+
credentials: normalizedCreds,
|
191
|
+
region: config.signingRegion,
|
192
|
+
service: config.signingName,
|
193
|
+
sha256,
|
194
|
+
uriEscapePath: signingEscapePath
|
195
|
+
};
|
196
|
+
const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;
|
197
|
+
return new SignerCtor(params);
|
198
|
+
}), "signer");
|
199
|
+
} else {
|
200
|
+
signer = /* @__PURE__ */ __name(async (authScheme) => {
|
201
|
+
authScheme = Object.assign(
|
202
|
+
{},
|
203
|
+
{
|
204
|
+
name: "sigv4",
|
205
|
+
signingName: config.signingName || config.defaultSigningName,
|
206
|
+
signingRegion: await (0, import_core.normalizeProvider)(config.region)(),
|
207
|
+
properties: {}
|
208
|
+
},
|
209
|
+
authScheme
|
210
|
+
);
|
211
|
+
const signingRegion = authScheme.signingRegion;
|
212
|
+
const signingService = authScheme.signingName;
|
213
|
+
config.signingRegion = config.signingRegion || signingRegion;
|
214
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
215
|
+
const params = {
|
216
|
+
...config,
|
217
|
+
credentials: normalizedCreds,
|
218
|
+
region: config.signingRegion,
|
219
|
+
service: config.signingName,
|
220
|
+
sha256,
|
221
|
+
uriEscapePath: signingEscapePath
|
222
|
+
};
|
223
|
+
const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;
|
224
|
+
return new SignerCtor(params);
|
225
|
+
}, "signer");
|
226
|
+
}
|
227
|
+
return {
|
228
|
+
...config,
|
229
|
+
systemClockOffset,
|
230
|
+
signingEscapePath,
|
231
|
+
credentials: normalizedCreds,
|
232
|
+
signer
|
233
|
+
};
|
234
|
+
}, "resolveAwsSdkSigV4Config");
|
235
|
+
var resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
|
236
|
+
|
237
|
+
// src/protocols/coercing-serializers.ts
|
238
|
+
var _toStr = /* @__PURE__ */ __name((val) => {
|
239
|
+
if (val == null) {
|
240
|
+
return val;
|
241
|
+
}
|
242
|
+
if (typeof val === "number" || typeof val === "bigint") {
|
243
|
+
const warning = new Error(`Received number ${val} where a string was expected.`);
|
244
|
+
warning.name = "Warning";
|
245
|
+
console.warn(warning);
|
246
|
+
return String(val);
|
247
|
+
}
|
248
|
+
if (typeof val === "boolean") {
|
249
|
+
const warning = new Error(`Received boolean ${val} where a string was expected.`);
|
250
|
+
warning.name = "Warning";
|
251
|
+
console.warn(warning);
|
252
|
+
return String(val);
|
253
|
+
}
|
254
|
+
return val;
|
255
|
+
}, "_toStr");
|
256
|
+
var _toBool = /* @__PURE__ */ __name((val) => {
|
257
|
+
if (val == null) {
|
258
|
+
return val;
|
259
|
+
}
|
260
|
+
if (typeof val === "number") {
|
261
|
+
}
|
262
|
+
if (typeof val === "string") {
|
263
|
+
const lowercase = val.toLowerCase();
|
264
|
+
if (val !== "" && lowercase !== "false" && lowercase !== "true") {
|
265
|
+
const warning = new Error(`Received string "${val}" where a boolean was expected.`);
|
266
|
+
warning.name = "Warning";
|
267
|
+
console.warn(warning);
|
268
|
+
}
|
269
|
+
return val !== "" && lowercase !== "false";
|
270
|
+
}
|
271
|
+
return val;
|
272
|
+
}, "_toBool");
|
273
|
+
var _toNum = /* @__PURE__ */ __name((val) => {
|
274
|
+
if (val == null) {
|
275
|
+
return val;
|
276
|
+
}
|
277
|
+
if (typeof val === "boolean") {
|
278
|
+
}
|
279
|
+
if (typeof val === "string") {
|
280
|
+
const num = Number(val);
|
281
|
+
if (num.toString() !== val) {
|
282
|
+
const warning = new Error(`Received string "${val}" where a number was expected.`);
|
283
|
+
warning.name = "Warning";
|
284
|
+
console.warn(warning);
|
285
|
+
return val;
|
286
|
+
}
|
287
|
+
return num;
|
288
|
+
}
|
289
|
+
return val;
|
290
|
+
}, "_toNum");
|
291
|
+
|
292
|
+
// src/protocols/json/awsExpectUnion.ts
|
293
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
294
|
+
var awsExpectUnion = /* @__PURE__ */ __name((value) => {
|
295
|
+
if (value == null) {
|
296
|
+
return void 0;
|
297
|
+
}
|
298
|
+
if (typeof value === "object" && "__type" in value) {
|
299
|
+
delete value.__type;
|
300
|
+
}
|
301
|
+
return (0, import_smithy_client.expectUnion)(value);
|
302
|
+
}, "awsExpectUnion");
|
303
|
+
// Annotate the CommonJS export names for ESM import in node:
|
304
|
+
|
305
|
+
0 && (module.exports = {
|
306
|
+
AWSSDKSigV4Signer,
|
307
|
+
AwsSdkSigV4Signer,
|
308
|
+
_toBool,
|
309
|
+
_toNum,
|
310
|
+
_toStr,
|
311
|
+
awsExpectUnion,
|
312
|
+
emitWarningIfUnsupportedVersion,
|
313
|
+
resolveAWSSDKSigV4Config,
|
314
|
+
resolveAwsSdkSigV4Config
|
315
|
+
});
|
316
|
+
|
@@ -1,59 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports._toNum = exports._toBool = exports._toStr = void 0;
|
4
|
-
const _toStr = (val) => {
|
5
|
-
if (val == null) {
|
6
|
-
return val;
|
7
|
-
}
|
8
|
-
if (typeof val === "number" || typeof val === "bigint") {
|
9
|
-
const warning = new Error(`Received number ${val} where a string was expected.`);
|
10
|
-
warning.name = "Warning";
|
11
|
-
console.warn(warning);
|
12
|
-
return String(val);
|
13
|
-
}
|
14
|
-
if (typeof val === "boolean") {
|
15
|
-
const warning = new Error(`Received boolean ${val} where a string was expected.`);
|
16
|
-
warning.name = "Warning";
|
17
|
-
console.warn(warning);
|
18
|
-
return String(val);
|
19
|
-
}
|
20
|
-
return val;
|
21
|
-
};
|
22
|
-
exports._toStr = _toStr;
|
23
|
-
const _toBool = (val) => {
|
24
|
-
if (val == null) {
|
25
|
-
return val;
|
26
|
-
}
|
27
|
-
if (typeof val === "number") {
|
28
|
-
}
|
29
|
-
if (typeof val === "string") {
|
30
|
-
const lowercase = val.toLowerCase();
|
31
|
-
if (val !== "" && lowercase !== "false" && lowercase !== "true") {
|
32
|
-
const warning = new Error(`Received string "${val}" where a boolean was expected.`);
|
33
|
-
warning.name = "Warning";
|
34
|
-
console.warn(warning);
|
35
|
-
}
|
36
|
-
return val !== "" && lowercase !== "false";
|
37
|
-
}
|
38
|
-
return val;
|
39
|
-
};
|
40
|
-
exports._toBool = _toBool;
|
41
|
-
const _toNum = (val) => {
|
42
|
-
if (val == null) {
|
43
|
-
return val;
|
44
|
-
}
|
45
|
-
if (typeof val === "boolean") {
|
46
|
-
}
|
47
|
-
if (typeof val === "string") {
|
48
|
-
const num = Number(val);
|
49
|
-
if (num.toString() !== val) {
|
50
|
-
const warning = new Error(`Received string "${val}" where a number was expected.`);
|
51
|
-
warning.name = "Warning";
|
52
|
-
console.warn(warning);
|
53
|
-
return val;
|
54
|
-
}
|
55
|
-
return num;
|
56
|
-
}
|
57
|
-
return val;
|
58
|
-
};
|
59
|
-
exports._toNum = _toNum;
|
1
|
+
module.exports = require("../index.js");
|
@@ -1,5 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./coercing-serializers"), exports);
|
5
|
-
tslib_1.__exportStar(require("./json/awsExpectUnion"), exports);
|
1
|
+
module.exports = require("../index.js");
|
@@ -1,14 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.awsExpectUnion = void 0;
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
5
|
-
const awsExpectUnion = (value) => {
|
6
|
-
if (value == null) {
|
7
|
-
return undefined;
|
8
|
-
}
|
9
|
-
if (typeof value === "object" && "__type" in value) {
|
10
|
-
delete value.__type;
|
11
|
-
}
|
12
|
-
return (0, smithy_client_1.expectUnion)(value);
|
13
|
-
};
|
14
|
-
exports.awsExpectUnion = awsExpectUnion;
|
1
|
+
module.exports = require("../../index.js");
|