@cdk8s/awscdk-resolver 0.0.1 → 0.0.3
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 +69 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +7 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/CloudFormationClient.js +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/BatchDescribeTypeConfigurationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CancelUpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ContinueUpdateRollbackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeregisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeAccountLimitsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetHooksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribePublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackDriftDetectionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackEventsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeRegistrationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackResourceDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackSetDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/EstimateTemplateCostCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ExecuteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateSummaryCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ImportStacksToStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListChangeSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListExportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListImportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstanceResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationResultsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeRegistrationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeVersionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/PublishTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RecordHandlerProgressCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterPublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RollbackStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeConfigurationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeDefaultVersionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SignalResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StopStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/TestTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateTerminationProtectionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ValidateTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +6 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +32 -36
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +33 -32
- package/node_modules/@aws-sdk/client-sso/README.md +7 -10
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +6 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/package.json +29 -28
- package/node_modules/@aws-sdk/client-sts/README.md +7 -7
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +6 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/package.json +32 -31
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/README.md +6 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-signing/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/LICENSE +201 -0
- package/node_modules/@aws-sdk/region-config-resolver/README.md +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +30 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +15 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +10 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +29 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +16 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +17 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +37 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +61 -0
- package/node_modules/@aws-sdk/token-providers/package.json +29 -29
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +2 -0
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +7 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +7 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +7 -9
- package/node_modules/@smithy/config-resolver/package.json +9 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +10 -12
- package/node_modules/@smithy/eventstream-codec/package.json +7 -9
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +23 -9
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -5
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -11
- package/node_modules/@smithy/hash-node/package.json +7 -9
- package/node_modules/@smithy/invalid-dependency/package.json +7 -9
- package/node_modules/@smithy/middleware-content-length/package.json +10 -10
- package/node_modules/@smithy/middleware-endpoint/package.json +10 -12
- package/node_modules/@smithy/middleware-retry/README.md +7 -0
- package/node_modules/@smithy/middleware-retry/package.json +14 -14
- package/node_modules/@smithy/middleware-serde/package.json +9 -9
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +97 -35
- package/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js +95 -35
- package/node_modules/@smithy/middleware-stack/package.json +7 -9
- package/node_modules/@smithy/node-config-provider/package.json +9 -11
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/package.json +10 -12
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-es/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/package.json +7 -9
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +27 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/package.json +7 -9
- package/node_modules/@smithy/querystring-builder/package.json +6 -8
- package/node_modules/@smithy/querystring-parser/package.json +7 -9
- package/node_modules/@smithy/service-error-classification/package.json +9 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -9
- package/node_modules/@smithy/signature-v4/package.json +10 -12
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +36 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +20 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +21 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
- package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/package.json +9 -11
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/middleware.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +2 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/index.js +2 -0
- package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/types/dist-es/middleware.js +1 -1
- package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +19 -2
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +19 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/package.json +7 -9
- package/node_modules/@smithy/url-parser/package.json +8 -10
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -11
- package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -14
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js +2 -0
- package/node_modules/@smithy/util-middleware/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/package.json +7 -9
- package/node_modules/@smithy/util-retry/README.md +2 -1
- package/node_modules/@smithy/util-retry/package.json +8 -10
- package/node_modules/@smithy/util-stream/README.md +0 -6
- package/node_modules/@smithy/util-stream/package.json +11 -10
- package/node_modules/@smithy/util-waiter/package.json +8 -10
- package/node_modules/tslib/package.json +2 -2
- package/package.json +12 -12
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sso",
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.423.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
@@ -21,35 +21,36 @@
|
|
21
21
|
"dependencies": {
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
28
|
-
"@aws-sdk/
|
29
|
-
"@aws-sdk/
|
30
|
-
"@aws-sdk/util-
|
31
|
-
"@aws-sdk/util-user-agent-
|
32
|
-
"@
|
33
|
-
"@smithy/
|
34
|
-
"@smithy/
|
35
|
-
"@smithy/
|
36
|
-
"@smithy/
|
37
|
-
"@smithy/middleware-
|
38
|
-
"@smithy/middleware-
|
39
|
-
"@smithy/middleware-
|
40
|
-
"@smithy/middleware-
|
41
|
-
"@smithy/
|
42
|
-
"@smithy/node-
|
43
|
-
"@smithy/
|
44
|
-
"@smithy/
|
45
|
-
"@smithy/
|
46
|
-
"@smithy/
|
24
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
25
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
28
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
29
|
+
"@aws-sdk/types": "3.418.0",
|
30
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
33
|
+
"@smithy/config-resolver": "^2.0.10",
|
34
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
35
|
+
"@smithy/hash-node": "^2.0.9",
|
36
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
37
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
38
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
39
|
+
"@smithy/middleware-retry": "^2.0.12",
|
40
|
+
"@smithy/middleware-serde": "^2.0.9",
|
41
|
+
"@smithy/middleware-stack": "^2.0.2",
|
42
|
+
"@smithy/node-config-provider": "^2.0.12",
|
43
|
+
"@smithy/node-http-handler": "^2.1.5",
|
44
|
+
"@smithy/protocol-http": "^3.0.5",
|
45
|
+
"@smithy/smithy-client": "^2.1.6",
|
46
|
+
"@smithy/types": "^2.3.3",
|
47
|
+
"@smithy/url-parser": "^2.0.9",
|
47
48
|
"@smithy/util-base64": "^2.0.0",
|
48
49
|
"@smithy/util-body-length-browser": "^2.0.0",
|
49
|
-
"@smithy/util-body-length-node": "^2.
|
50
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
51
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
52
|
-
"@smithy/util-retry": "^2.0.
|
50
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
51
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
52
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
53
|
+
"@smithy/util-retry": "^2.0.2",
|
53
54
|
"@smithy/util-utf8": "^2.0.0",
|
54
55
|
"tslib": "^2.5.0"
|
55
56
|
},
|
@@ -27,16 +27,16 @@ using your favorite package manager:
|
|
27
27
|
|
28
28
|
The AWS SDK is modulized by clients and commands.
|
29
29
|
To send a request, you only need to import the `STSClient` and
|
30
|
-
the commands you need, for example `
|
30
|
+
the commands you need, for example `GetCallerIdentityCommand`:
|
31
31
|
|
32
32
|
```js
|
33
33
|
// ES5 example
|
34
|
-
const { STSClient,
|
34
|
+
const { STSClient, GetCallerIdentityCommand } = require("@aws-sdk/client-sts");
|
35
35
|
```
|
36
36
|
|
37
37
|
```ts
|
38
38
|
// ES6+ example
|
39
|
-
import { STSClient,
|
39
|
+
import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts";
|
40
40
|
```
|
41
41
|
|
42
42
|
### Usage
|
@@ -55,7 +55,7 @@ const client = new STSClient({ region: "REGION" });
|
|
55
55
|
const params = {
|
56
56
|
/** input parameters */
|
57
57
|
};
|
58
|
-
const command = new
|
58
|
+
const command = new GetCallerIdentityCommand(params);
|
59
59
|
```
|
60
60
|
|
61
61
|
#### Async/await
|
@@ -134,7 +134,7 @@ const client = new AWS.STS({ region: "REGION" });
|
|
134
134
|
|
135
135
|
// async/await.
|
136
136
|
try {
|
137
|
-
const data = await client.
|
137
|
+
const data = await client.getCallerIdentity(params);
|
138
138
|
// process data.
|
139
139
|
} catch (error) {
|
140
140
|
// error handling.
|
@@ -142,7 +142,7 @@ try {
|
|
142
142
|
|
143
143
|
// Promises.
|
144
144
|
client
|
145
|
-
.
|
145
|
+
.getCallerIdentity(params)
|
146
146
|
.then((data) => {
|
147
147
|
// process data.
|
148
148
|
})
|
@@ -151,7 +151,7 @@ client
|
|
151
151
|
});
|
152
152
|
|
153
153
|
// callbacks.
|
154
|
-
client.
|
154
|
+
client.getCallerIdentity(params, (err, data) => {
|
155
155
|
// process err and data.
|
156
156
|
});
|
157
157
|
```
|
@@ -14,6 +14,7 @@ const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
14
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
15
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
16
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
17
|
+
const runtimeExtensions_1 = require("./runtimeExtensions");
|
17
18
|
class STSClient extends smithy_client_1.Client {
|
18
19
|
constructor(...[configuration]) {
|
19
20
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
@@ -24,8 +25,9 @@ class STSClient extends smithy_client_1.Client {
|
|
24
25
|
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
25
26
|
const _config_6 = (0, middleware_sdk_sts_1.resolveStsAuthConfig)(_config_5, { stsClientCtor: STSClient });
|
26
27
|
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
27
|
-
|
28
|
-
|
28
|
+
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
29
|
+
super(_config_8);
|
30
|
+
this.config = _config_8;
|
29
31
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
30
32
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
31
33
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
9
|
+
const types_1 = require("@smithy/types");
|
9
10
|
const models_0_1 = require("../models/models_0");
|
10
11
|
const Aws_query_1 = require("../protocols/Aws_query");
|
11
12
|
class AssumeRoleCommand extends smithy_client_1.Command {
|
@@ -36,6 +37,10 @@ class AssumeRoleCommand extends smithy_client_1.Command {
|
|
36
37
|
commandName,
|
37
38
|
inputFilterSensitiveLog: (_) => _,
|
38
39
|
outputFilterSensitiveLog: models_0_1.AssumeRoleResponseFilterSensitiveLog,
|
40
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
41
|
+
service: "AWSSecurityTokenServiceV20110615",
|
42
|
+
operation: "AssumeRole",
|
43
|
+
},
|
39
44
|
};
|
40
45
|
const { requestHandler } = configuration;
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
8
|
+
const types_1 = require("@smithy/types");
|
8
9
|
const models_0_1 = require("../models/models_0");
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
10
11
|
class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
|
@@ -34,6 +35,10 @@ class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
|
|
34
35
|
commandName,
|
35
36
|
inputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLRequestFilterSensitiveLog,
|
36
37
|
outputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLResponseFilterSensitiveLog,
|
38
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
39
|
+
service: "AWSSecurityTokenServiceV20110615",
|
40
|
+
operation: "AssumeRoleWithSAML",
|
41
|
+
},
|
37
42
|
};
|
38
43
|
const { requestHandler } = configuration;
|
39
44
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js
CHANGED
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
8
|
+
const types_1 = require("@smithy/types");
|
8
9
|
const models_0_1 = require("../models/models_0");
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
10
11
|
class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
|
@@ -34,6 +35,10 @@ class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
|
|
34
35
|
commandName,
|
35
36
|
inputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
36
37
|
outputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
38
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
39
|
+
service: "AWSSecurityTokenServiceV20110615",
|
40
|
+
operation: "AssumeRoleWithWebIdentity",
|
41
|
+
},
|
37
42
|
};
|
38
43
|
const { requestHandler } = configuration;
|
39
44
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js
CHANGED
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
9
|
+
const types_1 = require("@smithy/types");
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
10
11
|
class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
|
11
12
|
static getEndpointParameterInstructions() {
|
@@ -35,6 +36,10 @@ class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
|
|
35
36
|
commandName,
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
39
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
40
|
+
service: "AWSSecurityTokenServiceV20110615",
|
41
|
+
operation: "DecodeAuthorizationMessage",
|
42
|
+
},
|
38
43
|
};
|
39
44
|
const { requestHandler } = configuration;
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
9
|
+
const types_1 = require("@smithy/types");
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
10
11
|
class GetAccessKeyInfoCommand extends smithy_client_1.Command {
|
11
12
|
static getEndpointParameterInstructions() {
|
@@ -35,6 +36,10 @@ class GetAccessKeyInfoCommand extends smithy_client_1.Command {
|
|
35
36
|
commandName,
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
39
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
40
|
+
service: "AWSSecurityTokenServiceV20110615",
|
41
|
+
operation: "GetAccessKeyInfo",
|
42
|
+
},
|
38
43
|
};
|
39
44
|
const { requestHandler } = configuration;
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
9
|
+
const types_1 = require("@smithy/types");
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
10
11
|
class GetCallerIdentityCommand extends smithy_client_1.Command {
|
11
12
|
static getEndpointParameterInstructions() {
|
@@ -35,6 +36,10 @@ class GetCallerIdentityCommand extends smithy_client_1.Command {
|
|
35
36
|
commandName,
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
39
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
40
|
+
service: "AWSSecurityTokenServiceV20110615",
|
41
|
+
operation: "GetCallerIdentity",
|
42
|
+
},
|
38
43
|
};
|
39
44
|
const { requestHandler } = configuration;
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
9
|
+
const types_1 = require("@smithy/types");
|
9
10
|
const models_0_1 = require("../models/models_0");
|
10
11
|
const Aws_query_1 = require("../protocols/Aws_query");
|
11
12
|
class GetFederationTokenCommand extends smithy_client_1.Command {
|
@@ -36,6 +37,10 @@ class GetFederationTokenCommand extends smithy_client_1.Command {
|
|
36
37
|
commandName,
|
37
38
|
inputFilterSensitiveLog: (_) => _,
|
38
39
|
outputFilterSensitiveLog: models_0_1.GetFederationTokenResponseFilterSensitiveLog,
|
40
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
41
|
+
service: "AWSSecurityTokenServiceV20110615",
|
42
|
+
operation: "GetFederationToken",
|
43
|
+
},
|
39
44
|
};
|
40
45
|
const { requestHandler } = configuration;
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
9
|
+
const types_1 = require("@smithy/types");
|
9
10
|
const models_0_1 = require("../models/models_0");
|
10
11
|
const Aws_query_1 = require("../protocols/Aws_query");
|
11
12
|
class GetSessionTokenCommand extends smithy_client_1.Command {
|
@@ -36,6 +37,10 @@ class GetSessionTokenCommand extends smithy_client_1.Command {
|
|
36
37
|
commandName,
|
37
38
|
inputFilterSensitiveLog: (_) => _,
|
38
39
|
outputFilterSensitiveLog: models_0_1.GetSessionTokenResponseFilterSensitiveLog,
|
40
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
41
|
+
service: "AWSSecurityTokenServiceV20110615",
|
42
|
+
operation: "GetSessionToken",
|
43
|
+
},
|
39
44
|
};
|
40
45
|
const { requestHandler } = configuration;
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
4
4
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
5
5
|
const a = false, b = true, c = "booleanEquals", d = "tree", e = "stringEquals", f = "sigv4", g = "sts", h = "us-east-1", i = "endpoint", j = "https://sts.{Region}.{PartitionResult#dnsSuffix}", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": f, "signingName": g, "signingRegion": h }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: e, [I]: [q, "aws-global"] }], [i]: u, [G]: i }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: c, [I]: [true, { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
6
|
-
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, {
|
6
|
+
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }, { conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
7
7
|
exports.ruleSet = _data;
|
@@ -12,6 +12,7 @@ const getRuntimeConfig = (config) => ({
|
|
12
12
|
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
13
13
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
14
14
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
15
|
+
extensions: config?.extensions ?? [],
|
15
16
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
16
17
|
serviceId: config?.serviceId ?? "STS",
|
17
18
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.resolveRuntimeExtensions = void 0;
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
7
|
+
const asPartial = (t) => t;
|
8
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
9
|
+
const extensionConfiguration = {
|
10
|
+
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
11
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
12
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
13
|
+
};
|
14
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
15
|
+
return {
|
16
|
+
...runtimeConfig,
|
17
|
+
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
18
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
19
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
20
|
+
};
|
21
|
+
};
|
22
|
+
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
@@ -10,6 +10,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
10
10
|
import { Client as __Client, } from "@smithy/smithy-client";
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
13
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
13
14
|
export { __Client };
|
14
15
|
export class STSClient extends __Client {
|
15
16
|
constructor(...[configuration]) {
|
@@ -21,8 +22,9 @@ export class STSClient extends __Client {
|
|
21
22
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
22
23
|
const _config_6 = resolveStsAuthConfig(_config_5, { stsClientCtor: STSClient });
|
23
24
|
const _config_7 = resolveUserAgentConfig(_config_6);
|
24
|
-
|
25
|
-
|
25
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
26
|
+
super(_config_8);
|
27
|
+
this.config = _config_8;
|
26
28
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
27
29
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
28
30
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
5
6
|
import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0";
|
6
7
|
import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
|
7
8
|
export { $Command };
|
@@ -33,6 +34,10 @@ export class AssumeRoleCommand extends $Command {
|
|
33
34
|
commandName,
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
35
36
|
outputFilterSensitiveLog: AssumeRoleResponseFilterSensitiveLog,
|
37
|
+
[SMITHY_CONTEXT_KEY]: {
|
38
|
+
service: "AWSSecurityTokenServiceV20110615",
|
39
|
+
operation: "AssumeRole",
|
40
|
+
},
|
36
41
|
};
|
37
42
|
const { requestHandler } = configuration;
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
4
5
|
import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
|
5
6
|
import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query";
|
6
7
|
export { $Command };
|
@@ -31,6 +32,10 @@ export class AssumeRoleWithSAMLCommand extends $Command {
|
|
31
32
|
commandName,
|
32
33
|
inputFilterSensitiveLog: AssumeRoleWithSAMLRequestFilterSensitiveLog,
|
33
34
|
outputFilterSensitiveLog: AssumeRoleWithSAMLResponseFilterSensitiveLog,
|
35
|
+
[SMITHY_CONTEXT_KEY]: {
|
36
|
+
service: "AWSSecurityTokenServiceV20110615",
|
37
|
+
operation: "AssumeRoleWithSAML",
|
38
|
+
},
|
34
39
|
};
|
35
40
|
const { requestHandler } = configuration;
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
4
5
|
import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
5
6
|
import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
|
6
7
|
export { $Command };
|
@@ -31,6 +32,10 @@ export class AssumeRoleWithWebIdentityCommand extends $Command {
|
|
31
32
|
commandName,
|
32
33
|
inputFilterSensitiveLog: AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
33
34
|
outputFilterSensitiveLog: AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
35
|
+
[SMITHY_CONTEXT_KEY]: {
|
36
|
+
service: "AWSSecurityTokenServiceV20110615",
|
37
|
+
operation: "AssumeRoleWithWebIdentity",
|
38
|
+
},
|
34
39
|
};
|
35
40
|
const { requestHandler } = configuration;
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js
CHANGED
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
5
6
|
import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query";
|
6
7
|
export { $Command };
|
7
8
|
export class DecodeAuthorizationMessageCommand extends $Command {
|
@@ -32,6 +33,10 @@ export class DecodeAuthorizationMessageCommand extends $Command {
|
|
32
33
|
commandName,
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
36
|
+
[SMITHY_CONTEXT_KEY]: {
|
37
|
+
service: "AWSSecurityTokenServiceV20110615",
|
38
|
+
operation: "DecodeAuthorizationMessage",
|
39
|
+
},
|
35
40
|
};
|
36
41
|
const { requestHandler } = configuration;
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
5
6
|
import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query";
|
6
7
|
export { $Command };
|
7
8
|
export class GetAccessKeyInfoCommand extends $Command {
|
@@ -32,6 +33,10 @@ export class GetAccessKeyInfoCommand extends $Command {
|
|
32
33
|
commandName,
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
36
|
+
[SMITHY_CONTEXT_KEY]: {
|
37
|
+
service: "AWSSecurityTokenServiceV20110615",
|
38
|
+
operation: "GetAccessKeyInfo",
|
39
|
+
},
|
35
40
|
};
|
36
41
|
const { requestHandler } = configuration;
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
5
6
|
import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query";
|
6
7
|
export { $Command };
|
7
8
|
export class GetCallerIdentityCommand extends $Command {
|
@@ -32,6 +33,10 @@ export class GetCallerIdentityCommand extends $Command {
|
|
32
33
|
commandName,
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
36
|
+
[SMITHY_CONTEXT_KEY]: {
|
37
|
+
service: "AWSSecurityTokenServiceV20110615",
|
38
|
+
operation: "GetCallerIdentity",
|
39
|
+
},
|
35
40
|
};
|
36
41
|
const { requestHandler } = configuration;
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
5
6
|
import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
6
7
|
import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query";
|
7
8
|
export { $Command };
|
@@ -33,6 +34,10 @@ export class GetFederationTokenCommand extends $Command {
|
|
33
34
|
commandName,
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
35
36
|
outputFilterSensitiveLog: GetFederationTokenResponseFilterSensitiveLog,
|
37
|
+
[SMITHY_CONTEXT_KEY]: {
|
38
|
+
service: "AWSSecurityTokenServiceV20110615",
|
39
|
+
operation: "GetFederationToken",
|
40
|
+
},
|
36
41
|
};
|
37
42
|
const { requestHandler } = configuration;
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
5
6
|
import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
6
7
|
import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query";
|
7
8
|
export { $Command };
|
@@ -33,6 +34,10 @@ export class GetSessionTokenCommand extends $Command {
|
|
33
34
|
commandName,
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
35
36
|
outputFilterSensitiveLog: GetSessionTokenResponseFilterSensitiveLog,
|
37
|
+
[SMITHY_CONTEXT_KEY]: {
|
38
|
+
service: "AWSSecurityTokenServiceV20110615",
|
39
|
+
operation: "GetSessionToken",
|
40
|
+
},
|
36
41
|
};
|
37
42
|
const { requestHandler } = configuration;
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
@@ -1,4 +1,4 @@
|
|
1
1
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
2
2
|
const a = false, b = true, c = "booleanEquals", d = "tree", e = "stringEquals", f = "sigv4", g = "sts", h = "us-east-1", i = "endpoint", j = "https://sts.{Region}.{PartitionResult#dnsSuffix}", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": f, "signingName": g, "signingRegion": h }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: e, [I]: [q, "aws-global"] }], [i]: u, [G]: i }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: c, [I]: [true, { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
3
|
-
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, {
|
3
|
+
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }, { conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
4
4
|
export const ruleSet = _data;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -9,6 +9,7 @@ export const getRuntimeConfig = (config) => ({
|
|
9
9
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
10
10
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
11
11
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
12
|
+
extensions: config?.extensions ?? [],
|
12
13
|
logger: config?.logger ?? new NoOpLogger(),
|
13
14
|
serviceId: config?.serviceId ?? "STS",
|
14
15
|
urlParser: config?.urlParser ?? parseUrl,
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
3
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
4
|
+
const asPartial = (t) => t;
|
5
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
6
|
+
const extensionConfiguration = {
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
8
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
9
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
10
|
+
};
|
11
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
12
|
+
return {
|
13
|
+
...runtimeConfig,
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
15
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
16
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
17
|
+
};
|
18
|
+
};
|