@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
|
@@ -1,528 +0,0 @@
|
|
|
1
|
-
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { ExpiredTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidIdentityTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, } from "../models/models_0";
|
|
5
|
-
import { STSServiceException as __BaseException } from "../models/STSServiceException";
|
|
6
|
-
export const se_AssumeRoleCommand = async (input, context) => {
|
|
7
|
-
const headers = SHARED_HEADERS;
|
|
8
|
-
let body;
|
|
9
|
-
body = buildFormUrlencodedString({
|
|
10
|
-
...se_AssumeRoleRequest(input, context),
|
|
11
|
-
[_A]: _AR,
|
|
12
|
-
[_V]: _,
|
|
13
|
-
});
|
|
14
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
15
|
-
};
|
|
16
|
-
export const se_AssumeRoleWithWebIdentityCommand = async (input, context) => {
|
|
17
|
-
const headers = SHARED_HEADERS;
|
|
18
|
-
let body;
|
|
19
|
-
body = buildFormUrlencodedString({
|
|
20
|
-
...se_AssumeRoleWithWebIdentityRequest(input, context),
|
|
21
|
-
[_A]: _ARWWI,
|
|
22
|
-
[_V]: _,
|
|
23
|
-
});
|
|
24
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
25
|
-
};
|
|
26
|
-
export const de_AssumeRoleCommand = async (output, context) => {
|
|
27
|
-
if (output.statusCode >= 300) {
|
|
28
|
-
return de_CommandError(output, context);
|
|
29
|
-
}
|
|
30
|
-
const data = await parseBody(output.body, context);
|
|
31
|
-
let contents = {};
|
|
32
|
-
contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);
|
|
33
|
-
const response = {
|
|
34
|
-
$metadata: deserializeMetadata(output),
|
|
35
|
-
...contents,
|
|
36
|
-
};
|
|
37
|
-
return response;
|
|
38
|
-
};
|
|
39
|
-
export const de_AssumeRoleWithWebIdentityCommand = async (output, context) => {
|
|
40
|
-
if (output.statusCode >= 300) {
|
|
41
|
-
return de_CommandError(output, context);
|
|
42
|
-
}
|
|
43
|
-
const data = await parseBody(output.body, context);
|
|
44
|
-
let contents = {};
|
|
45
|
-
contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);
|
|
46
|
-
const response = {
|
|
47
|
-
$metadata: deserializeMetadata(output),
|
|
48
|
-
...contents,
|
|
49
|
-
};
|
|
50
|
-
return response;
|
|
51
|
-
};
|
|
52
|
-
const de_CommandError = async (output, context) => {
|
|
53
|
-
const parsedOutput = {
|
|
54
|
-
...output,
|
|
55
|
-
body: await parseErrorBody(output.body, context),
|
|
56
|
-
};
|
|
57
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
58
|
-
switch (errorCode) {
|
|
59
|
-
case "ExpiredTokenException":
|
|
60
|
-
case "com.amazonaws.sts#ExpiredTokenException":
|
|
61
|
-
throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
|
|
62
|
-
case "MalformedPolicyDocument":
|
|
63
|
-
case "com.amazonaws.sts#MalformedPolicyDocumentException":
|
|
64
|
-
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
|
|
65
|
-
case "PackedPolicyTooLarge":
|
|
66
|
-
case "com.amazonaws.sts#PackedPolicyTooLargeException":
|
|
67
|
-
throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);
|
|
68
|
-
case "RegionDisabledException":
|
|
69
|
-
case "com.amazonaws.sts#RegionDisabledException":
|
|
70
|
-
throw await de_RegionDisabledExceptionRes(parsedOutput, context);
|
|
71
|
-
case "IDPCommunicationError":
|
|
72
|
-
case "com.amazonaws.sts#IDPCommunicationErrorException":
|
|
73
|
-
throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);
|
|
74
|
-
case "IDPRejectedClaim":
|
|
75
|
-
case "com.amazonaws.sts#IDPRejectedClaimException":
|
|
76
|
-
throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);
|
|
77
|
-
case "InvalidIdentityToken":
|
|
78
|
-
case "com.amazonaws.sts#InvalidIdentityTokenException":
|
|
79
|
-
throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);
|
|
80
|
-
default:
|
|
81
|
-
const parsedBody = parsedOutput.body;
|
|
82
|
-
return throwDefaultError({
|
|
83
|
-
output,
|
|
84
|
-
parsedBody: parsedBody.Error,
|
|
85
|
-
errorCode,
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
|
|
90
|
-
const body = parsedOutput.body;
|
|
91
|
-
const deserialized = de_ExpiredTokenException(body.Error, context);
|
|
92
|
-
const exception = new ExpiredTokenException({
|
|
93
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
94
|
-
...deserialized,
|
|
95
|
-
});
|
|
96
|
-
return __decorateServiceException(exception, body);
|
|
97
|
-
};
|
|
98
|
-
const de_IDPCommunicationErrorExceptionRes = async (parsedOutput, context) => {
|
|
99
|
-
const body = parsedOutput.body;
|
|
100
|
-
const deserialized = de_IDPCommunicationErrorException(body.Error, context);
|
|
101
|
-
const exception = new IDPCommunicationErrorException({
|
|
102
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
103
|
-
...deserialized,
|
|
104
|
-
});
|
|
105
|
-
return __decorateServiceException(exception, body);
|
|
106
|
-
};
|
|
107
|
-
const de_IDPRejectedClaimExceptionRes = async (parsedOutput, context) => {
|
|
108
|
-
const body = parsedOutput.body;
|
|
109
|
-
const deserialized = de_IDPRejectedClaimException(body.Error, context);
|
|
110
|
-
const exception = new IDPRejectedClaimException({
|
|
111
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
112
|
-
...deserialized,
|
|
113
|
-
});
|
|
114
|
-
return __decorateServiceException(exception, body);
|
|
115
|
-
};
|
|
116
|
-
const de_InvalidIdentityTokenExceptionRes = async (parsedOutput, context) => {
|
|
117
|
-
const body = parsedOutput.body;
|
|
118
|
-
const deserialized = de_InvalidIdentityTokenException(body.Error, context);
|
|
119
|
-
const exception = new InvalidIdentityTokenException({
|
|
120
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
121
|
-
...deserialized,
|
|
122
|
-
});
|
|
123
|
-
return __decorateServiceException(exception, body);
|
|
124
|
-
};
|
|
125
|
-
const de_MalformedPolicyDocumentExceptionRes = async (parsedOutput, context) => {
|
|
126
|
-
const body = parsedOutput.body;
|
|
127
|
-
const deserialized = de_MalformedPolicyDocumentException(body.Error, context);
|
|
128
|
-
const exception = new MalformedPolicyDocumentException({
|
|
129
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
130
|
-
...deserialized,
|
|
131
|
-
});
|
|
132
|
-
return __decorateServiceException(exception, body);
|
|
133
|
-
};
|
|
134
|
-
const de_PackedPolicyTooLargeExceptionRes = async (parsedOutput, context) => {
|
|
135
|
-
const body = parsedOutput.body;
|
|
136
|
-
const deserialized = de_PackedPolicyTooLargeException(body.Error, context);
|
|
137
|
-
const exception = new PackedPolicyTooLargeException({
|
|
138
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
139
|
-
...deserialized,
|
|
140
|
-
});
|
|
141
|
-
return __decorateServiceException(exception, body);
|
|
142
|
-
};
|
|
143
|
-
const de_RegionDisabledExceptionRes = async (parsedOutput, context) => {
|
|
144
|
-
const body = parsedOutput.body;
|
|
145
|
-
const deserialized = de_RegionDisabledException(body.Error, context);
|
|
146
|
-
const exception = new RegionDisabledException({
|
|
147
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
148
|
-
...deserialized,
|
|
149
|
-
});
|
|
150
|
-
return __decorateServiceException(exception, body);
|
|
151
|
-
};
|
|
152
|
-
const se_AssumeRoleRequest = (input, context) => {
|
|
153
|
-
const entries = {};
|
|
154
|
-
if (input[_RA] != null) {
|
|
155
|
-
entries[_RA] = input[_RA];
|
|
156
|
-
}
|
|
157
|
-
if (input[_RSN] != null) {
|
|
158
|
-
entries[_RSN] = input[_RSN];
|
|
159
|
-
}
|
|
160
|
-
if (input[_PA] != null) {
|
|
161
|
-
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
|
162
|
-
if (input[_PA]?.length === 0) {
|
|
163
|
-
entries.PolicyArns = [];
|
|
164
|
-
}
|
|
165
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
166
|
-
const loc = `PolicyArns.${key}`;
|
|
167
|
-
entries[loc] = value;
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
if (input[_P] != null) {
|
|
171
|
-
entries[_P] = input[_P];
|
|
172
|
-
}
|
|
173
|
-
if (input[_DS] != null) {
|
|
174
|
-
entries[_DS] = input[_DS];
|
|
175
|
-
}
|
|
176
|
-
if (input[_T] != null) {
|
|
177
|
-
const memberEntries = se_tagListType(input[_T], context);
|
|
178
|
-
if (input[_T]?.length === 0) {
|
|
179
|
-
entries.Tags = [];
|
|
180
|
-
}
|
|
181
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
182
|
-
const loc = `Tags.${key}`;
|
|
183
|
-
entries[loc] = value;
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
if (input[_TTK] != null) {
|
|
187
|
-
const memberEntries = se_tagKeyListType(input[_TTK], context);
|
|
188
|
-
if (input[_TTK]?.length === 0) {
|
|
189
|
-
entries.TransitiveTagKeys = [];
|
|
190
|
-
}
|
|
191
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
192
|
-
const loc = `TransitiveTagKeys.${key}`;
|
|
193
|
-
entries[loc] = value;
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
if (input[_EI] != null) {
|
|
197
|
-
entries[_EI] = input[_EI];
|
|
198
|
-
}
|
|
199
|
-
if (input[_SN] != null) {
|
|
200
|
-
entries[_SN] = input[_SN];
|
|
201
|
-
}
|
|
202
|
-
if (input[_TC] != null) {
|
|
203
|
-
entries[_TC] = input[_TC];
|
|
204
|
-
}
|
|
205
|
-
if (input[_SI] != null) {
|
|
206
|
-
entries[_SI] = input[_SI];
|
|
207
|
-
}
|
|
208
|
-
if (input[_PC] != null) {
|
|
209
|
-
const memberEntries = se_ProvidedContextsListType(input[_PC], context);
|
|
210
|
-
if (input[_PC]?.length === 0) {
|
|
211
|
-
entries.ProvidedContexts = [];
|
|
212
|
-
}
|
|
213
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
214
|
-
const loc = `ProvidedContexts.${key}`;
|
|
215
|
-
entries[loc] = value;
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
return entries;
|
|
219
|
-
};
|
|
220
|
-
const se_AssumeRoleWithWebIdentityRequest = (input, context) => {
|
|
221
|
-
const entries = {};
|
|
222
|
-
if (input[_RA] != null) {
|
|
223
|
-
entries[_RA] = input[_RA];
|
|
224
|
-
}
|
|
225
|
-
if (input[_RSN] != null) {
|
|
226
|
-
entries[_RSN] = input[_RSN];
|
|
227
|
-
}
|
|
228
|
-
if (input[_WIT] != null) {
|
|
229
|
-
entries[_WIT] = input[_WIT];
|
|
230
|
-
}
|
|
231
|
-
if (input[_PI] != null) {
|
|
232
|
-
entries[_PI] = input[_PI];
|
|
233
|
-
}
|
|
234
|
-
if (input[_PA] != null) {
|
|
235
|
-
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
|
236
|
-
if (input[_PA]?.length === 0) {
|
|
237
|
-
entries.PolicyArns = [];
|
|
238
|
-
}
|
|
239
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
240
|
-
const loc = `PolicyArns.${key}`;
|
|
241
|
-
entries[loc] = value;
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
if (input[_P] != null) {
|
|
245
|
-
entries[_P] = input[_P];
|
|
246
|
-
}
|
|
247
|
-
if (input[_DS] != null) {
|
|
248
|
-
entries[_DS] = input[_DS];
|
|
249
|
-
}
|
|
250
|
-
return entries;
|
|
251
|
-
};
|
|
252
|
-
const se_policyDescriptorListType = (input, context) => {
|
|
253
|
-
const entries = {};
|
|
254
|
-
let counter = 1;
|
|
255
|
-
for (const entry of input) {
|
|
256
|
-
if (entry === null) {
|
|
257
|
-
continue;
|
|
258
|
-
}
|
|
259
|
-
const memberEntries = se_PolicyDescriptorType(entry, context);
|
|
260
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
261
|
-
entries[`member.${counter}.${key}`] = value;
|
|
262
|
-
});
|
|
263
|
-
counter++;
|
|
264
|
-
}
|
|
265
|
-
return entries;
|
|
266
|
-
};
|
|
267
|
-
const se_PolicyDescriptorType = (input, context) => {
|
|
268
|
-
const entries = {};
|
|
269
|
-
if (input[_a] != null) {
|
|
270
|
-
entries[_a] = input[_a];
|
|
271
|
-
}
|
|
272
|
-
return entries;
|
|
273
|
-
};
|
|
274
|
-
const se_ProvidedContext = (input, context) => {
|
|
275
|
-
const entries = {};
|
|
276
|
-
if (input[_PAr] != null) {
|
|
277
|
-
entries[_PAr] = input[_PAr];
|
|
278
|
-
}
|
|
279
|
-
if (input[_CA] != null) {
|
|
280
|
-
entries[_CA] = input[_CA];
|
|
281
|
-
}
|
|
282
|
-
return entries;
|
|
283
|
-
};
|
|
284
|
-
const se_ProvidedContextsListType = (input, context) => {
|
|
285
|
-
const entries = {};
|
|
286
|
-
let counter = 1;
|
|
287
|
-
for (const entry of input) {
|
|
288
|
-
if (entry === null) {
|
|
289
|
-
continue;
|
|
290
|
-
}
|
|
291
|
-
const memberEntries = se_ProvidedContext(entry, context);
|
|
292
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
293
|
-
entries[`member.${counter}.${key}`] = value;
|
|
294
|
-
});
|
|
295
|
-
counter++;
|
|
296
|
-
}
|
|
297
|
-
return entries;
|
|
298
|
-
};
|
|
299
|
-
const se_Tag = (input, context) => {
|
|
300
|
-
const entries = {};
|
|
301
|
-
if (input[_K] != null) {
|
|
302
|
-
entries[_K] = input[_K];
|
|
303
|
-
}
|
|
304
|
-
if (input[_Va] != null) {
|
|
305
|
-
entries[_Va] = input[_Va];
|
|
306
|
-
}
|
|
307
|
-
return entries;
|
|
308
|
-
};
|
|
309
|
-
const se_tagKeyListType = (input, context) => {
|
|
310
|
-
const entries = {};
|
|
311
|
-
let counter = 1;
|
|
312
|
-
for (const entry of input) {
|
|
313
|
-
if (entry === null) {
|
|
314
|
-
continue;
|
|
315
|
-
}
|
|
316
|
-
entries[`member.${counter}`] = entry;
|
|
317
|
-
counter++;
|
|
318
|
-
}
|
|
319
|
-
return entries;
|
|
320
|
-
};
|
|
321
|
-
const se_tagListType = (input, context) => {
|
|
322
|
-
const entries = {};
|
|
323
|
-
let counter = 1;
|
|
324
|
-
for (const entry of input) {
|
|
325
|
-
if (entry === null) {
|
|
326
|
-
continue;
|
|
327
|
-
}
|
|
328
|
-
const memberEntries = se_Tag(entry, context);
|
|
329
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
330
|
-
entries[`member.${counter}.${key}`] = value;
|
|
331
|
-
});
|
|
332
|
-
counter++;
|
|
333
|
-
}
|
|
334
|
-
return entries;
|
|
335
|
-
};
|
|
336
|
-
const de_AssumedRoleUser = (output, context) => {
|
|
337
|
-
const contents = {};
|
|
338
|
-
if (output[_ARI] != null) {
|
|
339
|
-
contents[_ARI] = __expectString(output[_ARI]);
|
|
340
|
-
}
|
|
341
|
-
if (output[_Ar] != null) {
|
|
342
|
-
contents[_Ar] = __expectString(output[_Ar]);
|
|
343
|
-
}
|
|
344
|
-
return contents;
|
|
345
|
-
};
|
|
346
|
-
const de_AssumeRoleResponse = (output, context) => {
|
|
347
|
-
const contents = {};
|
|
348
|
-
if (output[_C] != null) {
|
|
349
|
-
contents[_C] = de_Credentials(output[_C], context);
|
|
350
|
-
}
|
|
351
|
-
if (output[_ARU] != null) {
|
|
352
|
-
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
|
353
|
-
}
|
|
354
|
-
if (output[_PPS] != null) {
|
|
355
|
-
contents[_PPS] = __strictParseInt32(output[_PPS]);
|
|
356
|
-
}
|
|
357
|
-
if (output[_SI] != null) {
|
|
358
|
-
contents[_SI] = __expectString(output[_SI]);
|
|
359
|
-
}
|
|
360
|
-
return contents;
|
|
361
|
-
};
|
|
362
|
-
const de_AssumeRoleWithWebIdentityResponse = (output, context) => {
|
|
363
|
-
const contents = {};
|
|
364
|
-
if (output[_C] != null) {
|
|
365
|
-
contents[_C] = de_Credentials(output[_C], context);
|
|
366
|
-
}
|
|
367
|
-
if (output[_SFWIT] != null) {
|
|
368
|
-
contents[_SFWIT] = __expectString(output[_SFWIT]);
|
|
369
|
-
}
|
|
370
|
-
if (output[_ARU] != null) {
|
|
371
|
-
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
|
372
|
-
}
|
|
373
|
-
if (output[_PPS] != null) {
|
|
374
|
-
contents[_PPS] = __strictParseInt32(output[_PPS]);
|
|
375
|
-
}
|
|
376
|
-
if (output[_Pr] != null) {
|
|
377
|
-
contents[_Pr] = __expectString(output[_Pr]);
|
|
378
|
-
}
|
|
379
|
-
if (output[_Au] != null) {
|
|
380
|
-
contents[_Au] = __expectString(output[_Au]);
|
|
381
|
-
}
|
|
382
|
-
if (output[_SI] != null) {
|
|
383
|
-
contents[_SI] = __expectString(output[_SI]);
|
|
384
|
-
}
|
|
385
|
-
return contents;
|
|
386
|
-
};
|
|
387
|
-
const de_Credentials = (output, context) => {
|
|
388
|
-
const contents = {};
|
|
389
|
-
if (output[_AKI] != null) {
|
|
390
|
-
contents[_AKI] = __expectString(output[_AKI]);
|
|
391
|
-
}
|
|
392
|
-
if (output[_SAK] != null) {
|
|
393
|
-
contents[_SAK] = __expectString(output[_SAK]);
|
|
394
|
-
}
|
|
395
|
-
if (output[_ST] != null) {
|
|
396
|
-
contents[_ST] = __expectString(output[_ST]);
|
|
397
|
-
}
|
|
398
|
-
if (output[_E] != null) {
|
|
399
|
-
contents[_E] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_E]));
|
|
400
|
-
}
|
|
401
|
-
return contents;
|
|
402
|
-
};
|
|
403
|
-
const de_ExpiredTokenException = (output, context) => {
|
|
404
|
-
const contents = {};
|
|
405
|
-
if (output[_m] != null) {
|
|
406
|
-
contents[_m] = __expectString(output[_m]);
|
|
407
|
-
}
|
|
408
|
-
return contents;
|
|
409
|
-
};
|
|
410
|
-
const de_IDPCommunicationErrorException = (output, context) => {
|
|
411
|
-
const contents = {};
|
|
412
|
-
if (output[_m] != null) {
|
|
413
|
-
contents[_m] = __expectString(output[_m]);
|
|
414
|
-
}
|
|
415
|
-
return contents;
|
|
416
|
-
};
|
|
417
|
-
const de_IDPRejectedClaimException = (output, context) => {
|
|
418
|
-
const contents = {};
|
|
419
|
-
if (output[_m] != null) {
|
|
420
|
-
contents[_m] = __expectString(output[_m]);
|
|
421
|
-
}
|
|
422
|
-
return contents;
|
|
423
|
-
};
|
|
424
|
-
const de_InvalidIdentityTokenException = (output, context) => {
|
|
425
|
-
const contents = {};
|
|
426
|
-
if (output[_m] != null) {
|
|
427
|
-
contents[_m] = __expectString(output[_m]);
|
|
428
|
-
}
|
|
429
|
-
return contents;
|
|
430
|
-
};
|
|
431
|
-
const de_MalformedPolicyDocumentException = (output, context) => {
|
|
432
|
-
const contents = {};
|
|
433
|
-
if (output[_m] != null) {
|
|
434
|
-
contents[_m] = __expectString(output[_m]);
|
|
435
|
-
}
|
|
436
|
-
return contents;
|
|
437
|
-
};
|
|
438
|
-
const de_PackedPolicyTooLargeException = (output, context) => {
|
|
439
|
-
const contents = {};
|
|
440
|
-
if (output[_m] != null) {
|
|
441
|
-
contents[_m] = __expectString(output[_m]);
|
|
442
|
-
}
|
|
443
|
-
return contents;
|
|
444
|
-
};
|
|
445
|
-
const de_RegionDisabledException = (output, context) => {
|
|
446
|
-
const contents = {};
|
|
447
|
-
if (output[_m] != null) {
|
|
448
|
-
contents[_m] = __expectString(output[_m]);
|
|
449
|
-
}
|
|
450
|
-
return contents;
|
|
451
|
-
};
|
|
452
|
-
const deserializeMetadata = (output) => ({
|
|
453
|
-
httpStatusCode: output.statusCode,
|
|
454
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
455
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
456
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
457
|
-
});
|
|
458
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
459
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
460
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
461
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
462
|
-
const contents = {
|
|
463
|
-
protocol,
|
|
464
|
-
hostname,
|
|
465
|
-
port,
|
|
466
|
-
method: "POST",
|
|
467
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
468
|
-
headers,
|
|
469
|
-
};
|
|
470
|
-
if (resolvedHostname !== undefined) {
|
|
471
|
-
contents.hostname = resolvedHostname;
|
|
472
|
-
}
|
|
473
|
-
if (body !== undefined) {
|
|
474
|
-
contents.body = body;
|
|
475
|
-
}
|
|
476
|
-
return new __HttpRequest(contents);
|
|
477
|
-
};
|
|
478
|
-
const SHARED_HEADERS = {
|
|
479
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
480
|
-
};
|
|
481
|
-
const _ = "2011-06-15";
|
|
482
|
-
const _A = "Action";
|
|
483
|
-
const _AKI = "AccessKeyId";
|
|
484
|
-
const _AR = "AssumeRole";
|
|
485
|
-
const _ARI = "AssumedRoleId";
|
|
486
|
-
const _ARU = "AssumedRoleUser";
|
|
487
|
-
const _ARWWI = "AssumeRoleWithWebIdentity";
|
|
488
|
-
const _Ar = "Arn";
|
|
489
|
-
const _Au = "Audience";
|
|
490
|
-
const _C = "Credentials";
|
|
491
|
-
const _CA = "ContextAssertion";
|
|
492
|
-
const _DS = "DurationSeconds";
|
|
493
|
-
const _E = "Expiration";
|
|
494
|
-
const _EI = "ExternalId";
|
|
495
|
-
const _K = "Key";
|
|
496
|
-
const _P = "Policy";
|
|
497
|
-
const _PA = "PolicyArns";
|
|
498
|
-
const _PAr = "ProviderArn";
|
|
499
|
-
const _PC = "ProvidedContexts";
|
|
500
|
-
const _PI = "ProviderId";
|
|
501
|
-
const _PPS = "PackedPolicySize";
|
|
502
|
-
const _Pr = "Provider";
|
|
503
|
-
const _RA = "RoleArn";
|
|
504
|
-
const _RSN = "RoleSessionName";
|
|
505
|
-
const _SAK = "SecretAccessKey";
|
|
506
|
-
const _SFWIT = "SubjectFromWebIdentityToken";
|
|
507
|
-
const _SI = "SourceIdentity";
|
|
508
|
-
const _SN = "SerialNumber";
|
|
509
|
-
const _ST = "SessionToken";
|
|
510
|
-
const _T = "Tags";
|
|
511
|
-
const _TC = "TokenCode";
|
|
512
|
-
const _TTK = "TransitiveTagKeys";
|
|
513
|
-
const _V = "Version";
|
|
514
|
-
const _Va = "Value";
|
|
515
|
-
const _WIT = "WebIdentityToken";
|
|
516
|
-
const _a = "arn";
|
|
517
|
-
const _m = "message";
|
|
518
|
-
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
519
|
-
.map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
|
|
520
|
-
.join("&");
|
|
521
|
-
const loadQueryErrorCode = (output, data) => {
|
|
522
|
-
if (data.Error?.Code !== undefined) {
|
|
523
|
-
return data.Error.Code;
|
|
524
|
-
}
|
|
525
|
-
if (output.statusCode == 404) {
|
|
526
|
-
return "NotFound";
|
|
527
|
-
}
|
|
528
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
-
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "../commands/CreateTokenCommand";
|
|
4
|
-
/**
|
|
5
|
-
* serializeAws_restJson1CreateTokenCommand
|
|
6
|
-
*/
|
|
7
|
-
export declare const se_CreateTokenCommand: (input: CreateTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
|
-
/**
|
|
9
|
-
* deserializeAws_restJson1CreateTokenCommand
|
|
10
|
-
*/
|
|
11
|
-
export declare const de_CreateTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTokenCommandOutput>;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
-
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "../commands/AssumeRoleCommand";
|
|
4
|
-
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "../commands/AssumeRoleWithWebIdentityCommand";
|
|
5
|
-
/**
|
|
6
|
-
* serializeAws_queryAssumeRoleCommand
|
|
7
|
-
*/
|
|
8
|
-
export declare const se_AssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
|
-
/**
|
|
10
|
-
* serializeAws_queryAssumeRoleWithWebIdentityCommand
|
|
11
|
-
*/
|
|
12
|
-
export declare const se_AssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
-
/**
|
|
14
|
-
* deserializeAws_queryAssumeRoleCommand
|
|
15
|
-
*/
|
|
16
|
-
export declare const de_AssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
|
|
17
|
-
/**
|
|
18
|
-
* deserializeAws_queryAssumeRoleWithWebIdentityCommand
|
|
19
|
-
*/
|
|
20
|
-
export declare const de_AssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpRequest as __HttpRequest,
|
|
3
|
-
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@smithy/protocol-http";
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
CreateTokenCommandInput,
|
|
8
|
-
CreateTokenCommandOutput,
|
|
9
|
-
} from "../commands/CreateTokenCommand";
|
|
10
|
-
export declare const se_CreateTokenCommand: (
|
|
11
|
-
input: CreateTokenCommandInput,
|
|
12
|
-
context: __SerdeContext
|
|
13
|
-
) => Promise<__HttpRequest>;
|
|
14
|
-
export declare const de_CreateTokenCommand: (
|
|
15
|
-
output: __HttpResponse,
|
|
16
|
-
context: __SerdeContext
|
|
17
|
-
) => Promise<CreateTokenCommandOutput>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpRequest as __HttpRequest,
|
|
3
|
-
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@smithy/protocol-http";
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
AssumeRoleCommandInput,
|
|
8
|
-
AssumeRoleCommandOutput,
|
|
9
|
-
} from "../commands/AssumeRoleCommand";
|
|
10
|
-
import {
|
|
11
|
-
AssumeRoleWithWebIdentityCommandInput,
|
|
12
|
-
AssumeRoleWithWebIdentityCommandOutput,
|
|
13
|
-
} from "../commands/AssumeRoleWithWebIdentityCommand";
|
|
14
|
-
export declare const se_AssumeRoleCommand: (
|
|
15
|
-
input: AssumeRoleCommandInput,
|
|
16
|
-
context: __SerdeContext
|
|
17
|
-
) => Promise<__HttpRequest>;
|
|
18
|
-
export declare const se_AssumeRoleWithWebIdentityCommand: (
|
|
19
|
-
input: AssumeRoleWithWebIdentityCommandInput,
|
|
20
|
-
context: __SerdeContext
|
|
21
|
-
) => Promise<__HttpRequest>;
|
|
22
|
-
export declare const de_AssumeRoleCommand: (
|
|
23
|
-
output: __HttpResponse,
|
|
24
|
-
context: __SerdeContext
|
|
25
|
-
) => Promise<AssumeRoleCommandOutput>;
|
|
26
|
-
export declare const de_AssumeRoleWithWebIdentityCommand: (
|
|
27
|
-
output: __HttpResponse,
|
|
28
|
-
context: __SerdeContext
|
|
29
|
-
) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|