@cdk8s/awscdk-resolver 0.0.403 → 0.0.405
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/index.js +2902 -9273
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackRefactorCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackRefactorCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteStackRefactorCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListHookResultsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorActionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +3027 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +10 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/schemas/schemas_0.d.ts +450 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +455 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -35
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +277 -270
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +0 -26
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +265 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +10 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -24
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- 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-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +246 -310
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +0 -13
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +211 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +10 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +8 -24
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +28 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +0 -8938
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +0 -794
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1061
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +0 -210
- package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +0 -257
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -17
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const core_2 = require("@smithy/core");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -31,6 +32,12 @@ const getRuntimeConfig = (config) => {
|
|
|
31
32
|
},
|
|
32
33
|
],
|
|
33
34
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
35
|
+
protocol: config?.protocol ??
|
|
36
|
+
new protocols_1.AwsQueryProtocol({
|
|
37
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
38
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
39
|
+
version: "2011-06-15",
|
|
40
|
+
}),
|
|
34
41
|
serviceId: config?.serviceId ?? "STS",
|
|
35
42
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
36
43
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class SSOOIDCClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateTokenCommand, se_CreateTokenCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateToken } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateTokenCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSSSOOIDCService", "CreateToken", {})
|
|
18
13
|
.n("SSOOIDCClient", "CreateTokenCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateTokenCommand)
|
|
21
|
-
.de(de_CreateTokenCommand)
|
|
14
|
+
.sc(CreateToken)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
3
2
|
export const AccessDeniedExceptionReason = {
|
|
4
3
|
KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
|
|
@@ -37,18 +36,6 @@ export class AuthorizationPendingException extends __BaseException {
|
|
|
37
36
|
this.error_description = opts.error_description;
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
|
-
export const CreateTokenRequestFilterSensitiveLog = (obj) => ({
|
|
41
|
-
...obj,
|
|
42
|
-
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
43
|
-
...(obj.refreshToken && { refreshToken: SENSITIVE_STRING }),
|
|
44
|
-
...(obj.codeVerifier && { codeVerifier: SENSITIVE_STRING }),
|
|
45
|
-
});
|
|
46
|
-
export const CreateTokenResponseFilterSensitiveLog = (obj) => ({
|
|
47
|
-
...obj,
|
|
48
|
-
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
49
|
-
...(obj.refreshToken && { refreshToken: SENSITIVE_STRING }),
|
|
50
|
-
...(obj.idToken && { idToken: SENSITIVE_STRING }),
|
|
51
|
-
});
|
|
52
39
|
export class ExpiredTokenException extends __BaseException {
|
|
53
40
|
name = "ExpiredTokenException";
|
|
54
41
|
$fault = "client";
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
4
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
5
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -28,6 +29,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
logger: config?.logger ?? new NoOpLogger(),
|
|
32
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssooidc" }),
|
|
31
33
|
serviceId: config?.serviceId ?? "SSO OIDC",
|
|
32
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
33
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _APE = "AuthorizationPendingException";
|
|
3
|
+
const _AT = "AccessToken";
|
|
4
|
+
const _CS = "ClientSecret";
|
|
5
|
+
const _CT = "CreateToken";
|
|
6
|
+
const _CTR = "CreateTokenRequest";
|
|
7
|
+
const _CTRr = "CreateTokenResponse";
|
|
8
|
+
const _CV = "CodeVerifier";
|
|
9
|
+
const _ETE = "ExpiredTokenException";
|
|
10
|
+
const _ICE = "InvalidClientException";
|
|
11
|
+
const _IGE = "InvalidGrantException";
|
|
12
|
+
const _IRE = "InvalidRequestException";
|
|
13
|
+
const _ISE = "InternalServerException";
|
|
14
|
+
const _ISEn = "InvalidScopeException";
|
|
15
|
+
const _IT = "IdToken";
|
|
16
|
+
const _RT = "RefreshToken";
|
|
17
|
+
const _SDE = "SlowDownException";
|
|
18
|
+
const _UCE = "UnauthorizedClientException";
|
|
19
|
+
const _UGTE = "UnsupportedGrantTypeException";
|
|
20
|
+
const _aT = "accessToken";
|
|
21
|
+
const _c = "client";
|
|
22
|
+
const _cI = "clientId";
|
|
23
|
+
const _cS = "clientSecret";
|
|
24
|
+
const _cV = "codeVerifier";
|
|
25
|
+
const _co = "code";
|
|
26
|
+
const _dC = "deviceCode";
|
|
27
|
+
const _e = "error";
|
|
28
|
+
const _eI = "expiresIn";
|
|
29
|
+
const _ed = "error_description";
|
|
30
|
+
const _gT = "grantType";
|
|
31
|
+
const _h = "http";
|
|
32
|
+
const _hE = "httpError";
|
|
33
|
+
const _iT = "idToken";
|
|
34
|
+
const _r = "reason";
|
|
35
|
+
const _rT = "refreshToken";
|
|
36
|
+
const _rU = "redirectUri";
|
|
37
|
+
const _s = "scope";
|
|
38
|
+
const _se = "server";
|
|
39
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
|
|
40
|
+
const _tT = "tokenType";
|
|
41
|
+
const n0 = "com.amazonaws.ssooidc";
|
|
42
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
43
|
+
import { AccessDeniedException as __AccessDeniedException, AuthorizationPendingException as __AuthorizationPendingException, ExpiredTokenException as __ExpiredTokenException, InternalServerException as __InternalServerException, InvalidClientException as __InvalidClientException, InvalidGrantException as __InvalidGrantException, InvalidRequestException as __InvalidRequestException, InvalidScopeException as __InvalidScopeException, SlowDownException as __SlowDownException, UnauthorizedClientException as __UnauthorizedClientException, UnsupportedGrantTypeException as __UnsupportedGrantTypeException, } from "../models/index";
|
|
44
|
+
import { SSOOIDCServiceException as __SSOOIDCServiceException } from "../models/SSOOIDCServiceException";
|
|
45
|
+
export var AccessToken = [0, n0, _AT, 8, 0];
|
|
46
|
+
export var ClientSecret = [0, n0, _CS, 8, 0];
|
|
47
|
+
export var CodeVerifier = [0, n0, _CV, 8, 0];
|
|
48
|
+
export var IdToken = [0, n0, _IT, 8, 0];
|
|
49
|
+
export var RefreshToken = [0, n0, _RT, 8, 0];
|
|
50
|
+
export var AccessDeniedException = [
|
|
51
|
+
-3,
|
|
52
|
+
n0,
|
|
53
|
+
_ADE,
|
|
54
|
+
{
|
|
55
|
+
[_e]: _c,
|
|
56
|
+
[_hE]: 400,
|
|
57
|
+
},
|
|
58
|
+
[_e, _r, _ed],
|
|
59
|
+
[0, 0, 0],
|
|
60
|
+
];
|
|
61
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
62
|
+
export var AuthorizationPendingException = [
|
|
63
|
+
-3,
|
|
64
|
+
n0,
|
|
65
|
+
_APE,
|
|
66
|
+
{
|
|
67
|
+
[_e]: _c,
|
|
68
|
+
[_hE]: 400,
|
|
69
|
+
},
|
|
70
|
+
[_e, _ed],
|
|
71
|
+
[0, 0],
|
|
72
|
+
];
|
|
73
|
+
TypeRegistry.for(n0).registerError(AuthorizationPendingException, __AuthorizationPendingException);
|
|
74
|
+
export var CreateTokenRequest = [
|
|
75
|
+
3,
|
|
76
|
+
n0,
|
|
77
|
+
_CTR,
|
|
78
|
+
0,
|
|
79
|
+
[_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
|
|
80
|
+
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
|
|
81
|
+
];
|
|
82
|
+
export var CreateTokenResponse = [
|
|
83
|
+
3,
|
|
84
|
+
n0,
|
|
85
|
+
_CTRr,
|
|
86
|
+
0,
|
|
87
|
+
[_aT, _tT, _eI, _rT, _iT],
|
|
88
|
+
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
|
|
89
|
+
];
|
|
90
|
+
export var ExpiredTokenException = [
|
|
91
|
+
-3,
|
|
92
|
+
n0,
|
|
93
|
+
_ETE,
|
|
94
|
+
{
|
|
95
|
+
[_e]: _c,
|
|
96
|
+
[_hE]: 400,
|
|
97
|
+
},
|
|
98
|
+
[_e, _ed],
|
|
99
|
+
[0, 0],
|
|
100
|
+
];
|
|
101
|
+
TypeRegistry.for(n0).registerError(ExpiredTokenException, __ExpiredTokenException);
|
|
102
|
+
export var InternalServerException = [
|
|
103
|
+
-3,
|
|
104
|
+
n0,
|
|
105
|
+
_ISE,
|
|
106
|
+
{
|
|
107
|
+
[_e]: _se,
|
|
108
|
+
[_hE]: 500,
|
|
109
|
+
},
|
|
110
|
+
[_e, _ed],
|
|
111
|
+
[0, 0],
|
|
112
|
+
];
|
|
113
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
114
|
+
export var InvalidClientException = [
|
|
115
|
+
-3,
|
|
116
|
+
n0,
|
|
117
|
+
_ICE,
|
|
118
|
+
{
|
|
119
|
+
[_e]: _c,
|
|
120
|
+
[_hE]: 401,
|
|
121
|
+
},
|
|
122
|
+
[_e, _ed],
|
|
123
|
+
[0, 0],
|
|
124
|
+
];
|
|
125
|
+
TypeRegistry.for(n0).registerError(InvalidClientException, __InvalidClientException);
|
|
126
|
+
export var InvalidGrantException = [
|
|
127
|
+
-3,
|
|
128
|
+
n0,
|
|
129
|
+
_IGE,
|
|
130
|
+
{
|
|
131
|
+
[_e]: _c,
|
|
132
|
+
[_hE]: 400,
|
|
133
|
+
},
|
|
134
|
+
[_e, _ed],
|
|
135
|
+
[0, 0],
|
|
136
|
+
];
|
|
137
|
+
TypeRegistry.for(n0).registerError(InvalidGrantException, __InvalidGrantException);
|
|
138
|
+
export var InvalidRequestException = [
|
|
139
|
+
-3,
|
|
140
|
+
n0,
|
|
141
|
+
_IRE,
|
|
142
|
+
{
|
|
143
|
+
[_e]: _c,
|
|
144
|
+
[_hE]: 400,
|
|
145
|
+
},
|
|
146
|
+
[_e, _r, _ed],
|
|
147
|
+
[0, 0, 0],
|
|
148
|
+
];
|
|
149
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException, __InvalidRequestException);
|
|
150
|
+
export var InvalidScopeException = [
|
|
151
|
+
-3,
|
|
152
|
+
n0,
|
|
153
|
+
_ISEn,
|
|
154
|
+
{
|
|
155
|
+
[_e]: _c,
|
|
156
|
+
[_hE]: 400,
|
|
157
|
+
},
|
|
158
|
+
[_e, _ed],
|
|
159
|
+
[0, 0],
|
|
160
|
+
];
|
|
161
|
+
TypeRegistry.for(n0).registerError(InvalidScopeException, __InvalidScopeException);
|
|
162
|
+
export var SlowDownException = [
|
|
163
|
+
-3,
|
|
164
|
+
n0,
|
|
165
|
+
_SDE,
|
|
166
|
+
{
|
|
167
|
+
[_e]: _c,
|
|
168
|
+
[_hE]: 400,
|
|
169
|
+
},
|
|
170
|
+
[_e, _ed],
|
|
171
|
+
[0, 0],
|
|
172
|
+
];
|
|
173
|
+
TypeRegistry.for(n0).registerError(SlowDownException, __SlowDownException);
|
|
174
|
+
export var UnauthorizedClientException = [
|
|
175
|
+
-3,
|
|
176
|
+
n0,
|
|
177
|
+
_UCE,
|
|
178
|
+
{
|
|
179
|
+
[_e]: _c,
|
|
180
|
+
[_hE]: 400,
|
|
181
|
+
},
|
|
182
|
+
[_e, _ed],
|
|
183
|
+
[0, 0],
|
|
184
|
+
];
|
|
185
|
+
TypeRegistry.for(n0).registerError(UnauthorizedClientException, __UnauthorizedClientException);
|
|
186
|
+
export var UnsupportedGrantTypeException = [
|
|
187
|
+
-3,
|
|
188
|
+
n0,
|
|
189
|
+
_UGTE,
|
|
190
|
+
{
|
|
191
|
+
[_e]: _c,
|
|
192
|
+
[_hE]: 400,
|
|
193
|
+
},
|
|
194
|
+
[_e, _ed],
|
|
195
|
+
[0, 0],
|
|
196
|
+
];
|
|
197
|
+
TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, __UnsupportedGrantTypeException);
|
|
198
|
+
export var __Unit = "unit";
|
|
199
|
+
export var SSOOIDCServiceException = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
|
|
200
|
+
TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, __SSOOIDCServiceException);
|
|
201
|
+
export var Scopes = 64 | 0;
|
|
202
|
+
export var CreateToken = [
|
|
203
|
+
9,
|
|
204
|
+
n0,
|
|
205
|
+
_CT,
|
|
206
|
+
{
|
|
207
|
+
[_h]: ["POST", "/token", 200],
|
|
208
|
+
},
|
|
209
|
+
() => CreateTokenRequest,
|
|
210
|
+
() => CreateTokenResponse,
|
|
211
|
+
];
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class STSClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
CHANGED
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
|
|
4
|
+
import { AssumeRole } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class AssumeRoleCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
|
|
18
13
|
.n("STSClient", "AssumeRoleCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_AssumeRoleCommand)
|
|
21
|
-
.de(de_AssumeRoleCommand)
|
|
14
|
+
.sc(AssumeRole)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
|
|
4
|
+
import { AssumeRoleWithWebIdentity } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class AssumeRoleWithWebIdentityCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
|
|
18
13
|
.n("STSClient", "AssumeRoleWithWebIdentityCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_AssumeRoleWithWebIdentityCommand)
|
|
21
|
-
.de(de_AssumeRoleWithWebIdentityCommand)
|
|
14
|
+
.sc(AssumeRoleWithWebIdentity)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { STSServiceException as __BaseException } from "./STSServiceException";
|
|
3
|
-
export const CredentialsFilterSensitiveLog = (obj) => ({
|
|
4
|
-
...obj,
|
|
5
|
-
...(obj.SecretAccessKey && { SecretAccessKey: SENSITIVE_STRING }),
|
|
6
|
-
});
|
|
7
|
-
export const AssumeRoleResponseFilterSensitiveLog = (obj) => ({
|
|
8
|
-
...obj,
|
|
9
|
-
...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
|
|
10
|
-
});
|
|
11
2
|
export class ExpiredTokenException extends __BaseException {
|
|
12
3
|
name = "ExpiredTokenException";
|
|
13
4
|
$fault = "client";
|
|
@@ -80,14 +71,6 @@ export class InvalidIdentityTokenException extends __BaseException {
|
|
|
80
71
|
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
81
72
|
}
|
|
82
73
|
}
|
|
83
|
-
export const AssumeRoleWithWebIdentityRequestFilterSensitiveLog = (obj) => ({
|
|
84
|
-
...obj,
|
|
85
|
-
...(obj.WebIdentityToken && { WebIdentityToken: SENSITIVE_STRING }),
|
|
86
|
-
});
|
|
87
|
-
export const AssumeRoleWithWebIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
|
|
90
|
-
});
|
|
91
74
|
export class IDPCommunicationErrorException extends __BaseException {
|
|
92
75
|
name = "IDPCommunicationErrorException";
|
|
93
76
|
$fault = "client";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
4
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
5
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -28,6 +29,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
logger: config?.logger ?? new NoOpLogger(),
|
|
32
|
+
protocol: config?.protocol ??
|
|
33
|
+
new AwsQueryProtocol({
|
|
34
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
35
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
36
|
+
version: "2011-06-15",
|
|
37
|
+
}),
|
|
31
38
|
serviceId: config?.serviceId ?? "STS",
|
|
32
39
|
urlParser: config?.urlParser ?? parseUrl,
|
|
33
40
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
const _A = "Arn";
|
|
2
|
+
const _AKI = "AccessKeyId";
|
|
3
|
+
const _AR = "AssumeRole";
|
|
4
|
+
const _ARI = "AssumedRoleId";
|
|
5
|
+
const _ARR = "AssumeRoleRequest";
|
|
6
|
+
const _ARRs = "AssumeRoleResponse";
|
|
7
|
+
const _ARU = "AssumedRoleUser";
|
|
8
|
+
const _ARWWI = "AssumeRoleWithWebIdentity";
|
|
9
|
+
const _ARWWIR = "AssumeRoleWithWebIdentityRequest";
|
|
10
|
+
const _ARWWIRs = "AssumeRoleWithWebIdentityResponse";
|
|
11
|
+
const _Au = "Audience";
|
|
12
|
+
const _C = "Credentials";
|
|
13
|
+
const _CA = "ContextAssertion";
|
|
14
|
+
const _DS = "DurationSeconds";
|
|
15
|
+
const _E = "Expiration";
|
|
16
|
+
const _EI = "ExternalId";
|
|
17
|
+
const _ETE = "ExpiredTokenException";
|
|
18
|
+
const _IDPCEE = "IDPCommunicationErrorException";
|
|
19
|
+
const _IDPRCE = "IDPRejectedClaimException";
|
|
20
|
+
const _IITE = "InvalidIdentityTokenException";
|
|
21
|
+
const _K = "Key";
|
|
22
|
+
const _MPDE = "MalformedPolicyDocumentException";
|
|
23
|
+
const _P = "Policy";
|
|
24
|
+
const _PA = "PolicyArns";
|
|
25
|
+
const _PAr = "ProviderArn";
|
|
26
|
+
const _PC = "ProvidedContexts";
|
|
27
|
+
const _PCLT = "ProvidedContextsListType";
|
|
28
|
+
const _PCr = "ProvidedContext";
|
|
29
|
+
const _PDT = "PolicyDescriptorType";
|
|
30
|
+
const _PI = "ProviderId";
|
|
31
|
+
const _PPS = "PackedPolicySize";
|
|
32
|
+
const _PPTLE = "PackedPolicyTooLargeException";
|
|
33
|
+
const _Pr = "Provider";
|
|
34
|
+
const _RA = "RoleArn";
|
|
35
|
+
const _RDE = "RegionDisabledException";
|
|
36
|
+
const _RSN = "RoleSessionName";
|
|
37
|
+
const _SAK = "SecretAccessKey";
|
|
38
|
+
const _SFWIT = "SubjectFromWebIdentityToken";
|
|
39
|
+
const _SI = "SourceIdentity";
|
|
40
|
+
const _SN = "SerialNumber";
|
|
41
|
+
const _ST = "SessionToken";
|
|
42
|
+
const _T = "Tags";
|
|
43
|
+
const _TC = "TokenCode";
|
|
44
|
+
const _TTK = "TransitiveTagKeys";
|
|
45
|
+
const _Ta = "Tag";
|
|
46
|
+
const _V = "Value";
|
|
47
|
+
const _WIT = "WebIdentityToken";
|
|
48
|
+
const _a = "arn";
|
|
49
|
+
const _aKST = "accessKeySecretType";
|
|
50
|
+
const _aQE = "awsQueryError";
|
|
51
|
+
const _c = "client";
|
|
52
|
+
const _cTT = "clientTokenType";
|
|
53
|
+
const _e = "error";
|
|
54
|
+
const _hE = "httpError";
|
|
55
|
+
const _m = "message";
|
|
56
|
+
const _pDLT = "policyDescriptorListType";
|
|
57
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
58
|
+
const _tLT = "tagListType";
|
|
59
|
+
const n0 = "com.amazonaws.sts";
|
|
60
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
61
|
+
import { ExpiredTokenException as __ExpiredTokenException, IDPCommunicationErrorException as __IDPCommunicationErrorException, IDPRejectedClaimException as __IDPRejectedClaimException, InvalidIdentityTokenException as __InvalidIdentityTokenException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PackedPolicyTooLargeException as __PackedPolicyTooLargeException, RegionDisabledException as __RegionDisabledException, } from "../models/index";
|
|
62
|
+
import { STSServiceException as __STSServiceException } from "../models/STSServiceException";
|
|
63
|
+
export var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
64
|
+
export var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
65
|
+
export var AssumedRoleUser = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
|
|
66
|
+
export var AssumeRoleRequest = [
|
|
67
|
+
3,
|
|
68
|
+
n0,
|
|
69
|
+
_ARR,
|
|
70
|
+
0,
|
|
71
|
+
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
72
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
73
|
+
];
|
|
74
|
+
export var AssumeRoleResponse = [
|
|
75
|
+
3,
|
|
76
|
+
n0,
|
|
77
|
+
_ARRs,
|
|
78
|
+
0,
|
|
79
|
+
[_C, _ARU, _PPS, _SI],
|
|
80
|
+
[[() => Credentials, 0], () => AssumedRoleUser, 1, 0],
|
|
81
|
+
];
|
|
82
|
+
export var AssumeRoleWithWebIdentityRequest = [
|
|
83
|
+
3,
|
|
84
|
+
n0,
|
|
85
|
+
_ARWWIR,
|
|
86
|
+
0,
|
|
87
|
+
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
88
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
89
|
+
];
|
|
90
|
+
export var AssumeRoleWithWebIdentityResponse = [
|
|
91
|
+
3,
|
|
92
|
+
n0,
|
|
93
|
+
_ARWWIRs,
|
|
94
|
+
0,
|
|
95
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
96
|
+
[[() => Credentials, 0], 0, () => AssumedRoleUser, 1, 0, 0, 0],
|
|
97
|
+
];
|
|
98
|
+
export var Credentials = [
|
|
99
|
+
3,
|
|
100
|
+
n0,
|
|
101
|
+
_C,
|
|
102
|
+
0,
|
|
103
|
+
[_AKI, _SAK, _ST, _E],
|
|
104
|
+
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
105
|
+
];
|
|
106
|
+
export var ExpiredTokenException = [
|
|
107
|
+
-3,
|
|
108
|
+
n0,
|
|
109
|
+
_ETE,
|
|
110
|
+
{
|
|
111
|
+
[_e]: _c,
|
|
112
|
+
[_hE]: 400,
|
|
113
|
+
[_aQE]: [`ExpiredTokenException`, 400],
|
|
114
|
+
},
|
|
115
|
+
[_m],
|
|
116
|
+
[0],
|
|
117
|
+
];
|
|
118
|
+
TypeRegistry.for(n0).registerError(ExpiredTokenException, __ExpiredTokenException);
|
|
119
|
+
export var IDPCommunicationErrorException = [
|
|
120
|
+
-3,
|
|
121
|
+
n0,
|
|
122
|
+
_IDPCEE,
|
|
123
|
+
{
|
|
124
|
+
[_e]: _c,
|
|
125
|
+
[_hE]: 400,
|
|
126
|
+
[_aQE]: [`IDPCommunicationError`, 400],
|
|
127
|
+
},
|
|
128
|
+
[_m],
|
|
129
|
+
[0],
|
|
130
|
+
];
|
|
131
|
+
TypeRegistry.for(n0).registerError(IDPCommunicationErrorException, __IDPCommunicationErrorException);
|
|
132
|
+
export var IDPRejectedClaimException = [
|
|
133
|
+
-3,
|
|
134
|
+
n0,
|
|
135
|
+
_IDPRCE,
|
|
136
|
+
{
|
|
137
|
+
[_e]: _c,
|
|
138
|
+
[_hE]: 403,
|
|
139
|
+
[_aQE]: [`IDPRejectedClaim`, 403],
|
|
140
|
+
},
|
|
141
|
+
[_m],
|
|
142
|
+
[0],
|
|
143
|
+
];
|
|
144
|
+
TypeRegistry.for(n0).registerError(IDPRejectedClaimException, __IDPRejectedClaimException);
|
|
145
|
+
export var InvalidIdentityTokenException = [
|
|
146
|
+
-3,
|
|
147
|
+
n0,
|
|
148
|
+
_IITE,
|
|
149
|
+
{
|
|
150
|
+
[_e]: _c,
|
|
151
|
+
[_hE]: 400,
|
|
152
|
+
[_aQE]: [`InvalidIdentityToken`, 400],
|
|
153
|
+
},
|
|
154
|
+
[_m],
|
|
155
|
+
[0],
|
|
156
|
+
];
|
|
157
|
+
TypeRegistry.for(n0).registerError(InvalidIdentityTokenException, __InvalidIdentityTokenException);
|
|
158
|
+
export var MalformedPolicyDocumentException = [
|
|
159
|
+
-3,
|
|
160
|
+
n0,
|
|
161
|
+
_MPDE,
|
|
162
|
+
{
|
|
163
|
+
[_e]: _c,
|
|
164
|
+
[_hE]: 400,
|
|
165
|
+
[_aQE]: [`MalformedPolicyDocument`, 400],
|
|
166
|
+
},
|
|
167
|
+
[_m],
|
|
168
|
+
[0],
|
|
169
|
+
];
|
|
170
|
+
TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException, __MalformedPolicyDocumentException);
|
|
171
|
+
export var PackedPolicyTooLargeException = [
|
|
172
|
+
-3,
|
|
173
|
+
n0,
|
|
174
|
+
_PPTLE,
|
|
175
|
+
{
|
|
176
|
+
[_e]: _c,
|
|
177
|
+
[_hE]: 400,
|
|
178
|
+
[_aQE]: [`PackedPolicyTooLarge`, 400],
|
|
179
|
+
},
|
|
180
|
+
[_m],
|
|
181
|
+
[0],
|
|
182
|
+
];
|
|
183
|
+
TypeRegistry.for(n0).registerError(PackedPolicyTooLargeException, __PackedPolicyTooLargeException);
|
|
184
|
+
export var PolicyDescriptorType = [3, n0, _PDT, 0, [_a], [0]];
|
|
185
|
+
export var ProvidedContext = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
186
|
+
export var RegionDisabledException = [
|
|
187
|
+
-3,
|
|
188
|
+
n0,
|
|
189
|
+
_RDE,
|
|
190
|
+
{
|
|
191
|
+
[_e]: _c,
|
|
192
|
+
[_hE]: 403,
|
|
193
|
+
[_aQE]: [`RegionDisabledException`, 403],
|
|
194
|
+
},
|
|
195
|
+
[_m],
|
|
196
|
+
[0],
|
|
197
|
+
];
|
|
198
|
+
TypeRegistry.for(n0).registerError(RegionDisabledException, __RegionDisabledException);
|
|
199
|
+
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
200
|
+
export var STSServiceException = [-3, _s, "STSServiceException", 0, [], []];
|
|
201
|
+
TypeRegistry.for(_s).registerError(STSServiceException, __STSServiceException);
|
|
202
|
+
export var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType];
|
|
203
|
+
export var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext];
|
|
204
|
+
export var tagKeyListType = 64 | 0;
|
|
205
|
+
export var tagListType = [1, n0, _tLT, 0, () => Tag];
|
|
206
|
+
export var AssumeRole = [9, n0, _AR, 0, () => AssumeRoleRequest, () => AssumeRoleResponse];
|
|
207
|
+
export var AssumeRoleWithWebIdentity = [
|
|
208
|
+
9,
|
|
209
|
+
n0,
|
|
210
|
+
_ARWWI,
|
|
211
|
+
0,
|
|
212
|
+
() => AssumeRoleWithWebIdentityRequest,
|
|
213
|
+
() => AssumeRoleWithWebIdentityResponse,
|
|
214
|
+
];
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
11
11
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -136,6 +136,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
136
136
|
* Optional extensions
|
|
137
137
|
*/
|
|
138
138
|
extensions?: RuntimeExtension[];
|
|
139
|
+
/**
|
|
140
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
141
|
+
* may be overridden. A default will always be set by the client.
|
|
142
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
143
|
+
* the client.
|
|
144
|
+
* @alpha
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
139
148
|
/**
|
|
140
149
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
141
150
|
*/
|