@cdk8s/awscdk-resolver 0.0.404 → 0.0.406
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/README.md +10 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3126 -9437
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -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/GetHookResultCommand.js +16 -0
- 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/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +29 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +7 -0
- 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 +3052 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +15 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +20 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetHookResultCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +7 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +319 -434
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +328 -27
- 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 +456 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +18 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetHookResultCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +65 -58
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +54 -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 +461 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -35
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +11 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +11 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +11 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +11 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +6 -0
- 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/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/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/sts/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
- 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/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 +2 -2
- 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/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- 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/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 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
|
+
];
|
|
@@ -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 { AwsCredentialIdentityProvider, 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 { AwsCredentialIdentityProvider, 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 { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
11
11
|
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
@@ -143,6 +143,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
143
143
|
* Optional extensions
|
|
144
144
|
*/
|
|
145
145
|
extensions?: RuntimeExtension[];
|
|
146
|
+
/**
|
|
147
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
148
|
+
* may be overridden. A default will always be set by the client.
|
|
149
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
150
|
+
* the client.
|
|
151
|
+
* @alpha
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
146
155
|
/**
|
|
147
156
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
148
157
|
*/
|
|
@@ -328,10 +328,6 @@ export interface Credentials {
|
|
|
328
328
|
*/
|
|
329
329
|
Expiration: Date | undefined;
|
|
330
330
|
}
|
|
331
|
-
/**
|
|
332
|
-
* @internal
|
|
333
|
-
*/
|
|
334
|
-
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
|
335
331
|
/**
|
|
336
332
|
* <p>Contains the response to a successful <a>AssumeRole</a> request, including
|
|
337
333
|
* temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests. </p>
|
|
@@ -382,10 +378,6 @@ export interface AssumeRoleResponse {
|
|
|
382
378
|
*/
|
|
383
379
|
SourceIdentity?: string | undefined;
|
|
384
380
|
}
|
|
385
|
-
/**
|
|
386
|
-
* @internal
|
|
387
|
-
*/
|
|
388
|
-
export declare const AssumeRoleResponseFilterSensitiveLog: (obj: AssumeRoleResponse) => any;
|
|
389
381
|
/**
|
|
390
382
|
* <p>The web identity token that was passed is expired or is not valid. Get a new identity
|
|
391
383
|
* token from the identity provider and then retry the request.</p>
|
|
@@ -607,10 +599,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
607
599
|
*/
|
|
608
600
|
DurationSeconds?: number | undefined;
|
|
609
601
|
}
|
|
610
|
-
/**
|
|
611
|
-
* @internal
|
|
612
|
-
*/
|
|
613
|
-
export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityRequest) => any;
|
|
614
602
|
/**
|
|
615
603
|
* <p>Contains the response to a successful <a>AssumeRoleWithWebIdentity</a>
|
|
616
604
|
* request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests. </p>
|
|
@@ -690,10 +678,6 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
690
678
|
*/
|
|
691
679
|
SourceIdentity?: string | undefined;
|
|
692
680
|
}
|
|
693
|
-
/**
|
|
694
|
-
* @internal
|
|
695
|
-
*/
|
|
696
|
-
export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityResponse) => any;
|
|
697
681
|
/**
|
|
698
682
|
* <p>The request could not be fulfilled because the identity provider (IDP) that was asked
|
|
699
683
|
* to verify the incoming identity token could not be reached. This is often a transient
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
38
38
|
credentialDefaultProvider?: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
41
42
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
43
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
43
44
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
25
25
|
signer: NoAuthSigner;
|
|
26
26
|
})[];
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
28
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
28
29
|
serviceId: string;
|
|
29
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
31
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var accessKeySecretType: StaticSimpleSchema;
|
|
3
|
+
export declare var clientTokenType: StaticSimpleSchema;
|
|
4
|
+
export declare var AssumedRoleUser: StaticStructureSchema;
|
|
5
|
+
export declare var AssumeRoleRequest: StaticStructureSchema;
|
|
6
|
+
export declare var AssumeRoleResponse: StaticStructureSchema;
|
|
7
|
+
export declare var AssumeRoleWithWebIdentityRequest: StaticStructureSchema;
|
|
8
|
+
export declare var AssumeRoleWithWebIdentityResponse: StaticStructureSchema;
|
|
9
|
+
export declare var Credentials: StaticStructureSchema;
|
|
10
|
+
export declare var ExpiredTokenException: StaticErrorSchema;
|
|
11
|
+
export declare var IDPCommunicationErrorException: StaticErrorSchema;
|
|
12
|
+
export declare var IDPRejectedClaimException: StaticErrorSchema;
|
|
13
|
+
export declare var InvalidIdentityTokenException: StaticErrorSchema;
|
|
14
|
+
export declare var MalformedPolicyDocumentException: StaticErrorSchema;
|
|
15
|
+
export declare var PackedPolicyTooLargeException: StaticErrorSchema;
|
|
16
|
+
export declare var PolicyDescriptorType: StaticStructureSchema;
|
|
17
|
+
export declare var ProvidedContext: StaticStructureSchema;
|
|
18
|
+
export declare var RegionDisabledException: StaticErrorSchema;
|
|
19
|
+
export declare var Tag: StaticStructureSchema;
|
|
20
|
+
export declare var STSServiceException: StaticErrorSchema;
|
|
21
|
+
export declare var policyDescriptorListType: StaticListSchema;
|
|
22
|
+
export declare var ProvidedContextsListType: StaticListSchema;
|
|
23
|
+
export declare var tagKeyListType: number;
|
|
24
|
+
export declare var tagListType: StaticListSchema;
|
|
25
|
+
export declare var AssumeRole: StaticOperationSchema;
|
|
26
|
+
export declare var AssumeRoleWithWebIdentity: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -90,6 +93,7 @@ export interface ClientDefaults
|
|
|
90
93
|
retryMode?: string | __Provider<string>;
|
|
91
94
|
logger?: __Logger;
|
|
92
95
|
extensions?: RuntimeExtension[];
|
|
96
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
93
97
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
94
98
|
}
|
|
95
99
|
export type STSClientConfigType = Partial<
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts
CHANGED
|
@@ -35,16 +35,12 @@ export interface Credentials {
|
|
|
35
35
|
SessionToken: string | undefined;
|
|
36
36
|
Expiration: Date | undefined;
|
|
37
37
|
}
|
|
38
|
-
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
|
39
38
|
export interface AssumeRoleResponse {
|
|
40
39
|
Credentials?: Credentials | undefined;
|
|
41
40
|
AssumedRoleUser?: AssumedRoleUser | undefined;
|
|
42
41
|
PackedPolicySize?: number | undefined;
|
|
43
42
|
SourceIdentity?: string | undefined;
|
|
44
43
|
}
|
|
45
|
-
export declare const AssumeRoleResponseFilterSensitiveLog: (
|
|
46
|
-
obj: AssumeRoleResponse
|
|
47
|
-
) => any;
|
|
48
44
|
export declare class ExpiredTokenException extends __BaseException {
|
|
49
45
|
readonly name: "ExpiredTokenException";
|
|
50
46
|
readonly $fault: "client";
|
|
@@ -99,9 +95,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
99
95
|
Policy?: string | undefined;
|
|
100
96
|
DurationSeconds?: number | undefined;
|
|
101
97
|
}
|
|
102
|
-
export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (
|
|
103
|
-
obj: AssumeRoleWithWebIdentityRequest
|
|
104
|
-
) => any;
|
|
105
98
|
export interface AssumeRoleWithWebIdentityResponse {
|
|
106
99
|
Credentials?: Credentials | undefined;
|
|
107
100
|
SubjectFromWebIdentityToken?: string | undefined;
|
|
@@ -111,9 +104,6 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
111
104
|
Audience?: string | undefined;
|
|
112
105
|
SourceIdentity?: string | undefined;
|
|
113
106
|
}
|
|
114
|
-
export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (
|
|
115
|
-
obj: AssumeRoleWithWebIdentityResponse
|
|
116
|
-
) => any;
|
|
117
107
|
export declare class IDPCommunicationErrorException extends __BaseException {
|
|
118
108
|
readonly name: "IDPCommunicationErrorException";
|
|
119
109
|
readonly $fault: "client";
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
userAgentAppId?:
|
|
43
47
|
| string
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
51
51
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
52
52
|
logger: import("@smithy/types").Logger;
|
|
53
53
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
55
|
+
import("@smithy/types").HttpRequest,
|
|
56
|
+
import("@smithy/types").HttpResponse
|
|
57
|
+
>;
|
|
54
58
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
55
59
|
retryStrategy?:
|
|
56
60
|
| import("@smithy/types").RetryStrategy
|
|
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
37
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
40
44
|
defaultsMode:
|
|
41
45
|
| import("@smithy/smithy-client").DefaultsMode
|
|
42
46
|
| import("@smithy/types").Provider<
|
|
@@ -42,6 +42,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
42
42
|
}
|
|
43
43
|
)[];
|
|
44
44
|
logger: import("@smithy/types").Logger;
|
|
45
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
46
|
+
import("@smithy/types").HttpRequest,
|
|
47
|
+
import("@smithy/types").HttpResponse
|
|
48
|
+
>;
|
|
45
49
|
serviceId: string;
|
|
46
50
|
urlParser: import("@smithy/types").UrlParser;
|
|
47
51
|
utf8Decoder: import("@smithy/types").Decoder;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StaticErrorSchema,
|
|
3
|
+
StaticListSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticSimpleSchema,
|
|
6
|
+
StaticStructureSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export declare var accessKeySecretType: StaticSimpleSchema;
|
|
9
|
+
export declare var clientTokenType: StaticSimpleSchema;
|
|
10
|
+
export declare var AssumedRoleUser: StaticStructureSchema;
|
|
11
|
+
export declare var AssumeRoleRequest: StaticStructureSchema;
|
|
12
|
+
export declare var AssumeRoleResponse: StaticStructureSchema;
|
|
13
|
+
export declare var AssumeRoleWithWebIdentityRequest: StaticStructureSchema;
|
|
14
|
+
export declare var AssumeRoleWithWebIdentityResponse: StaticStructureSchema;
|
|
15
|
+
export declare var Credentials: StaticStructureSchema;
|
|
16
|
+
export declare var ExpiredTokenException: StaticErrorSchema;
|
|
17
|
+
export declare var IDPCommunicationErrorException: StaticErrorSchema;
|
|
18
|
+
export declare var IDPRejectedClaimException: StaticErrorSchema;
|
|
19
|
+
export declare var InvalidIdentityTokenException: StaticErrorSchema;
|
|
20
|
+
export declare var MalformedPolicyDocumentException: StaticErrorSchema;
|
|
21
|
+
export declare var PackedPolicyTooLargeException: StaticErrorSchema;
|
|
22
|
+
export declare var PolicyDescriptorType: StaticStructureSchema;
|
|
23
|
+
export declare var ProvidedContext: StaticStructureSchema;
|
|
24
|
+
export declare var RegionDisabledException: StaticErrorSchema;
|
|
25
|
+
export declare var Tag: StaticStructureSchema;
|
|
26
|
+
export declare var STSServiceException: StaticErrorSchema;
|
|
27
|
+
export declare var policyDescriptorListType: StaticListSchema;
|
|
28
|
+
export declare var ProvidedContextsListType: StaticListSchema;
|
|
29
|
+
export declare var tagKeyListType: number;
|
|
30
|
+
export declare var tagListType: StaticListSchema;
|
|
31
|
+
export declare var AssumeRole: StaticOperationSchema;
|
|
32
|
+
export declare var AssumeRoleWithWebIdentity: StaticOperationSchema;
|