@cdklabs/cdk-ecs-codedeploy 0.0.45 → 0.0.46
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/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +4 -5
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/package.json +2 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +2 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -12
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +2 -22
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/package.json +3 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/package.json +6 -6
- package/node_modules/@aws-sdk/util-utf8-node/LICENSE +0 -201
- package/node_modules/@aws-sdk/util-utf8-node/README.md +0 -4
- package/node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js +0 -11
- package/node_modules/@aws-sdk/util-utf8-node/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/util-utf8-node/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-node/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-node/package.json +0 -55
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
7
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
8
9
|
const getRuntimeConfig = (config) => ({
|
|
9
10
|
apiVersion: "2019-06-10",
|
|
@@ -14,5 +15,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
14
15
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
15
16
|
serviceId: config?.serviceId ?? "SSO OIDC",
|
|
16
17
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
19
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
17
20
|
});
|
|
18
21
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -6,7 +6,6 @@ import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
|
6
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
10
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
11
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
@@ -30,7 +29,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
29
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
30
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
31
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
33
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
34
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
35
32
|
};
|
|
36
33
|
};
|
|
@@ -7,7 +7,6 @@ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/nod
|
|
|
7
7
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
8
8
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
9
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
10
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
11
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
11
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
13
12
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
@@ -37,7 +36,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
37
36
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
38
37
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
38
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
41
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
42
39
|
};
|
|
43
40
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
4
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
6
|
export const getRuntimeConfig = (config) => ({
|
|
6
7
|
apiVersion: "2019-06-10",
|
|
@@ -11,4 +12,6 @@ export const getRuntimeConfig = (config) => ({
|
|
|
11
12
|
logger: config?.logger ?? new NoOpLogger(),
|
|
12
13
|
serviceId: config?.serviceId ?? "SSO OIDC",
|
|
13
14
|
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
14
17
|
});
|
|
@@ -16,12 +16,12 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
17
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
18
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
19
|
apiVersion: string;
|
|
22
20
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
21
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
24
22
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
23
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
24
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
25
25
|
disableHostPrefix: boolean;
|
|
26
26
|
logger: import("@aws-sdk/types").Logger;
|
|
27
27
|
serviceId: string;
|
|
@@ -16,12 +16,12 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
17
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
18
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
19
|
apiVersion: string;
|
|
22
20
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
21
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
24
22
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
23
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
24
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
25
25
|
disableHostPrefix: boolean;
|
|
26
26
|
logger: import("@aws-sdk/types").Logger;
|
|
27
27
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
|
@@ -24,12 +24,12 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
24
24
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
25
25
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
26
26
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
28
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
29
27
|
apiVersion: string;
|
|
30
28
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
31
29
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
32
30
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
31
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
32
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
33
33
|
disableHostPrefix: boolean;
|
|
34
34
|
logger: import("@aws-sdk/types").Logger;
|
|
35
35
|
serviceId: string;
|
|
@@ -24,12 +24,12 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
24
24
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
25
25
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
26
26
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
28
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
29
27
|
apiVersion: string;
|
|
30
28
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
31
29
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
32
30
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
31
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
32
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
33
33
|
disableHostPrefix: boolean;
|
|
34
34
|
logger: import("@aws-sdk/types").Logger;
|
|
35
35
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.258.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-retry": "3.257.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
50
50
|
"@aws-sdk/util-user-agent-node": "3.257.0",
|
|
51
|
-
"@aws-sdk/util-utf8
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
51
|
+
"@aws-sdk/util-utf8": "3.254.0",
|
|
53
52
|
"tslib": "^2.3.1"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = false, b = true, c = "PartitionResult", d = "tree", e = "booleanEquals", f = "stringEquals", g = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const G = "required", H = "type", I = "fn", J = "argv", K = "ref", L = "properties", M = "headers";
|
|
5
|
+
const a = false, b = true, c = "PartitionResult", d = "tree", e = "booleanEquals", f = "stringEquals", g = "sigv4", h = "us-east-1", i = "sts", j = "endpoint", k = "https://sts.{Region}.{PartitionResult#dnsSuffix}", l = "error", m = "getAttr", n = { [G]: false, [H]: "String" }, o = { [G]: true, "default": false, [H]: "Boolean" }, p = { [K]: "Region" }, q = { [K]: "UseFIPS" }, r = { [K]: "UseDualStack" }, s = { [I]: "isSet", [J]: [{ [K]: "Endpoint" }] }, t = { [K]: "Endpoint" }, u = { "url": "https://sts.amazonaws.com", [L]: { "authSchemes": [{ "name": g, "signingRegion": h, "signingName": i }] }, [M]: {} }, v = {}, w = { "conditions": [{ [I]: f, [J]: [p, "aws-global"] }], [j]: u, [H]: j }, x = { [I]: e, [J]: [q, true] }, y = { [I]: e, [J]: [r, true] }, z = { [I]: e, [J]: [true, { [I]: m, [J]: [{ [K]: c }, "supportsFIPS"] }] }, A = { [K]: c }, B = { [I]: e, [J]: [true, { [I]: m, [J]: [A, "supportsDualStack"] }] }, C = { "url": k, [L]: {}, [M]: {} }, D = [t], E = [x], F = [y];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: n, UseDualStack: o, UseFIPS: o, Endpoint: n, UseGlobalEndpoint: o }, rules: [{ conditions: [{ [I]: "aws.partition", [J]: [p], assign: c }], [H]: d, rules: [{ conditions: [{ [I]: e, [J]: [{ [K]: "UseGlobalEndpoint" }, b] }, { [I]: e, [J]: [q, a] }, { [I]: e, [J]: [r, a] }, { [I]: "not", [J]: [s] }], [H]: d, rules: [{ conditions: [{ [I]: f, [J]: [p, "ap-northeast-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "ap-south-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "ap-southeast-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "ap-southeast-2"] }], endpoint: u, [H]: j }, w, { conditions: [{ [I]: f, [J]: [p, "ca-central-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-central-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-north-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-west-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-west-2"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-west-3"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "sa-east-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, h] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "us-east-2"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "us-west-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "us-west-2"] }], endpoint: u, [H]: j }, { endpoint: { url: k, [L]: { authSchemes: [{ name: g, signingRegion: "{Region}", signingName: i }] }, [M]: v }, [H]: j }] }, { conditions: [s, { [I]: "parseURL", [J]: D, assign: "url" }], [H]: d, rules: [{ conditions: E, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [H]: l }, { [H]: d, rules: [{ conditions: F, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [H]: l }, { endpoint: { url: t, [L]: v, [M]: v }, [H]: j }] }] }, { conditions: [x, y], [H]: d, rules: [{ conditions: [z, B], [H]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: v, [M]: v }, [H]: j }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [H]: l }] }, { conditions: E, [H]: d, rules: [{ conditions: [z], [H]: d, rules: [{ [H]: d, rules: [{ conditions: [{ [I]: f, [J]: ["aws-us-gov", { [I]: m, [J]: [A, "name"] }] }], endpoint: C, [H]: j }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", [L]: v, [M]: v }, [H]: j }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", [H]: l }] }, { conditions: F, [H]: d, rules: [{ conditions: [B], [H]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: v, [M]: v }, [H]: j }] }, { error: "DualStack is enabled but this partition does not support DualStack", [H]: l }] }, { [H]: d, rules: [w, { endpoint: C, [H]: j }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -10,7 +10,6 @@ const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
|
10
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
11
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
|
-
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
14
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
16
15
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
@@ -35,8 +34,6 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
35
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
37
36
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
39
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -13,7 +13,6 @@ const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
14
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
-
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
17
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
@@ -44,8 +43,6 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
48
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
49
46
|
};
|
|
50
47
|
};
|
|
51
48
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
7
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
8
9
|
const getRuntimeConfig = (config) => ({
|
|
9
10
|
apiVersion: "2011-06-15",
|
|
@@ -14,5 +15,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
14
15
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
15
16
|
serviceId: config?.serviceId ?? "STS",
|
|
16
17
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
19
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
17
20
|
});
|
|
18
21
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = false, b = true, c = "PartitionResult", d = "tree", e = "booleanEquals", f = "stringEquals", g = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const G = "required", H = "type", I = "fn", J = "argv", K = "ref", L = "properties", M = "headers";
|
|
2
|
+
const a = false, b = true, c = "PartitionResult", d = "tree", e = "booleanEquals", f = "stringEquals", g = "sigv4", h = "us-east-1", i = "sts", j = "endpoint", k = "https://sts.{Region}.{PartitionResult#dnsSuffix}", l = "error", m = "getAttr", n = { [G]: false, [H]: "String" }, o = { [G]: true, "default": false, [H]: "Boolean" }, p = { [K]: "Region" }, q = { [K]: "UseFIPS" }, r = { [K]: "UseDualStack" }, s = { [I]: "isSet", [J]: [{ [K]: "Endpoint" }] }, t = { [K]: "Endpoint" }, u = { "url": "https://sts.amazonaws.com", [L]: { "authSchemes": [{ "name": g, "signingRegion": h, "signingName": i }] }, [M]: {} }, v = {}, w = { "conditions": [{ [I]: f, [J]: [p, "aws-global"] }], [j]: u, [H]: j }, x = { [I]: e, [J]: [q, true] }, y = { [I]: e, [J]: [r, true] }, z = { [I]: e, [J]: [true, { [I]: m, [J]: [{ [K]: c }, "supportsFIPS"] }] }, A = { [K]: c }, B = { [I]: e, [J]: [true, { [I]: m, [J]: [A, "supportsDualStack"] }] }, C = { "url": k, [L]: {}, [M]: {} }, D = [t], E = [x], F = [y];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: n, UseDualStack: o, UseFIPS: o, Endpoint: n, UseGlobalEndpoint: o }, rules: [{ conditions: [{ [I]: "aws.partition", [J]: [p], assign: c }], [H]: d, rules: [{ conditions: [{ [I]: e, [J]: [{ [K]: "UseGlobalEndpoint" }, b] }, { [I]: e, [J]: [q, a] }, { [I]: e, [J]: [r, a] }, { [I]: "not", [J]: [s] }], [H]: d, rules: [{ conditions: [{ [I]: f, [J]: [p, "ap-northeast-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "ap-south-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "ap-southeast-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "ap-southeast-2"] }], endpoint: u, [H]: j }, w, { conditions: [{ [I]: f, [J]: [p, "ca-central-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-central-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-north-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-west-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-west-2"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "eu-west-3"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "sa-east-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, h] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "us-east-2"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "us-west-1"] }], endpoint: u, [H]: j }, { conditions: [{ [I]: f, [J]: [p, "us-west-2"] }], endpoint: u, [H]: j }, { endpoint: { url: k, [L]: { authSchemes: [{ name: g, signingRegion: "{Region}", signingName: i }] }, [M]: v }, [H]: j }] }, { conditions: [s, { [I]: "parseURL", [J]: D, assign: "url" }], [H]: d, rules: [{ conditions: E, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [H]: l }, { [H]: d, rules: [{ conditions: F, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [H]: l }, { endpoint: { url: t, [L]: v, [M]: v }, [H]: j }] }] }, { conditions: [x, y], [H]: d, rules: [{ conditions: [z, B], [H]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: v, [M]: v }, [H]: j }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [H]: l }] }, { conditions: E, [H]: d, rules: [{ conditions: [z], [H]: d, rules: [{ [H]: d, rules: [{ conditions: [{ [I]: f, [J]: ["aws-us-gov", { [I]: m, [J]: [A, "name"] }] }], endpoint: C, [H]: j }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", [L]: v, [M]: v }, [H]: j }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", [H]: l }] }, { conditions: F, [H]: d, rules: [{ conditions: [B], [H]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: v, [M]: v }, [H]: j }] }, { error: "DualStack is enabled but this partition does not support DualStack", [H]: l }] }, { [H]: d, rules: [w, { endpoint: C, [H]: j }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -6,7 +6,6 @@ import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
|
6
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
10
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
11
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
@@ -31,7 +30,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
32
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
35
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
36
33
|
};
|
|
37
34
|
};
|
|
@@ -9,7 +9,6 @@ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/nod
|
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
10
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
14
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
@@ -40,7 +39,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
39
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
40
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
41
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
44
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
45
42
|
};
|
|
46
43
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
4
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
6
|
export const getRuntimeConfig = (config) => ({
|
|
6
7
|
apiVersion: "2011-06-15",
|
|
@@ -11,4 +12,6 @@ export const getRuntimeConfig = (config) => ({
|
|
|
11
12
|
logger: config?.logger ?? new NoOpLogger(),
|
|
12
13
|
serviceId: config?.serviceId ?? "STS",
|
|
13
14
|
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
14
17
|
});
|
|
@@ -18,11 +18,10 @@ import { STSClient } from "./STSClient";
|
|
|
18
18
|
export declare class STS extends STSClient {
|
|
19
19
|
/**
|
|
20
20
|
* <p>Returns a set of temporary security credentials that you can use to access Amazon Web Services
|
|
21
|
-
* resources
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting Temporary Security
|
|
21
|
+
* resources. These temporary credentials consist of an access key ID, a secret access key,
|
|
22
|
+
* and a security token. Typically, you use <code>AssumeRole</code> within your account or for
|
|
23
|
+
* cross-account access. For a comparison of <code>AssumeRole</code> with other API operations
|
|
24
|
+
* that produce temporary credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting Temporary Security
|
|
26
25
|
* Credentials</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison">Comparing the
|
|
27
26
|
* Amazon Web Services STS API operations</a> in the <i>IAM User Guide</i>.</p>
|
|
28
27
|
* <p>
|
|
@@ -72,7 +71,6 @@ export declare class STS extends STSClient {
|
|
|
72
71
|
* additional identity-based policy is required. For more information about trust policies and
|
|
73
72
|
* resource-based policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a> in the
|
|
74
73
|
* <i>IAM User Guide</i>.</p>
|
|
75
|
-
*
|
|
76
74
|
* <p>
|
|
77
75
|
* <b>Tags</b>
|
|
78
76
|
* </p>
|
|
@@ -191,7 +189,6 @@ export declare class STS extends STSClient {
|
|
|
191
189
|
* characters and the values can’t exceed 256 characters. For these and additional limits, see
|
|
192
190
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
193
191
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
194
|
-
*
|
|
195
192
|
* <note>
|
|
196
193
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
197
194
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -199,7 +196,6 @@ export declare class STS extends STSClient {
|
|
|
199
196
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
200
197
|
* policies and tags for your request are to the upper size limit.</p>
|
|
201
198
|
* </note>
|
|
202
|
-
*
|
|
203
199
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
204
200
|
* you do, session tags override the role's tags with the same key.</p>
|
|
205
201
|
* <p>An administrator must grant you the permissions necessary to pass session tags. The
|
|
@@ -319,7 +315,6 @@ export declare class STS extends STSClient {
|
|
|
319
315
|
* characters and the values can’t exceed 256 characters. For these and additional limits, see
|
|
320
316
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
321
317
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
322
|
-
*
|
|
323
318
|
* <note>
|
|
324
319
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
325
320
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -327,7 +322,6 @@ export declare class STS extends STSClient {
|
|
|
327
322
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
328
323
|
* policies and tags for your request are to the upper size limit.</p>
|
|
329
324
|
* </note>
|
|
330
|
-
*
|
|
331
325
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
332
326
|
* you do, the session tag overrides the role tag with the same key.</p>
|
|
333
327
|
* <p>An administrator must grant you the permissions necessary to pass session tags. The
|
|
@@ -501,15 +495,16 @@ export declare class STS extends STSClient {
|
|
|
501
495
|
* <b>Permissions</b>
|
|
502
496
|
* </p>
|
|
503
497
|
* <p>You can use the temporary credentials created by <code>GetFederationToken</code> in any
|
|
504
|
-
* Amazon Web Services service
|
|
498
|
+
* Amazon Web Services service with the following exceptions:</p>
|
|
505
499
|
* <ul>
|
|
506
500
|
* <li>
|
|
507
|
-
* <p>You cannot call any IAM operations using the CLI or the Amazon Web Services API.
|
|
501
|
+
* <p>You cannot call any IAM operations using the CLI or the Amazon Web Services API. This limitation does not apply to console sessions.</p>
|
|
508
502
|
* </li>
|
|
509
503
|
* <li>
|
|
510
504
|
* <p>You cannot call any STS operations except <code>GetCallerIdentity</code>.</p>
|
|
511
505
|
* </li>
|
|
512
506
|
* </ul>
|
|
507
|
+
* <p>You can use temporary credentials for single sign-on (SSO) to the console.</p>
|
|
513
508
|
* <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
|
|
514
509
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
515
510
|
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
@@ -9,11 +9,10 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns a set of temporary security credentials that you can use to access Amazon Web Services
|
|
12
|
-
* resources
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting Temporary Security
|
|
12
|
+
* resources. These temporary credentials consist of an access key ID, a secret access key,
|
|
13
|
+
* and a security token. Typically, you use <code>AssumeRole</code> within your account or for
|
|
14
|
+
* cross-account access. For a comparison of <code>AssumeRole</code> with other API operations
|
|
15
|
+
* that produce temporary credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting Temporary Security
|
|
17
16
|
* Credentials</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison">Comparing the
|
|
18
17
|
* Amazon Web Services STS API operations</a> in the <i>IAM User Guide</i>.</p>
|
|
19
18
|
* <p>
|
|
@@ -63,7 +62,6 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
|
|
|
63
62
|
* additional identity-based policy is required. For more information about trust policies and
|
|
64
63
|
* resource-based policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a> in the
|
|
65
64
|
* <i>IAM User Guide</i>.</p>
|
|
66
|
-
*
|
|
67
65
|
* <p>
|
|
68
66
|
* <b>Tags</b>
|
|
69
67
|
* </p>
|
|
@@ -87,7 +87,6 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
|
|
|
87
87
|
* characters and the values can’t exceed 256 characters. For these and additional limits, see
|
|
88
88
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
89
89
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
90
|
-
*
|
|
91
90
|
* <note>
|
|
92
91
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
93
92
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -95,7 +94,6 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
|
|
|
95
94
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
96
95
|
* policies and tags for your request are to the upper size limit.</p>
|
|
97
96
|
* </note>
|
|
98
|
-
*
|
|
99
97
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
100
98
|
* you do, session tags override the role's tags with the same key.</p>
|
|
101
99
|
* <p>An administrator must grant you the permissions necessary to pass session tags. The
|
package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts
CHANGED
|
@@ -79,7 +79,6 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
|
|
|
79
79
|
* characters and the values can’t exceed 256 characters. For these and additional limits, see
|
|
80
80
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
81
81
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
82
|
-
*
|
|
83
82
|
* <note>
|
|
84
83
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
85
84
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -87,7 +86,6 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
|
|
|
87
86
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
88
87
|
* policies and tags for your request are to the upper size limit.</p>
|
|
89
88
|
* </note>
|
|
90
|
-
*
|
|
91
89
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
92
90
|
* you do, the session tag overrides the role tag with the same key.</p>
|
|
93
91
|
* <p>An administrator must grant you the permissions necessary to pass session tags. The
|
|
@@ -42,15 +42,16 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
|
|
|
42
42
|
* <b>Permissions</b>
|
|
43
43
|
* </p>
|
|
44
44
|
* <p>You can use the temporary credentials created by <code>GetFederationToken</code> in any
|
|
45
|
-
* Amazon Web Services service
|
|
45
|
+
* Amazon Web Services service with the following exceptions:</p>
|
|
46
46
|
* <ul>
|
|
47
47
|
* <li>
|
|
48
|
-
* <p>You cannot call any IAM operations using the CLI or the Amazon Web Services API.
|
|
48
|
+
* <p>You cannot call any IAM operations using the CLI or the Amazon Web Services API. This limitation does not apply to console sessions.</p>
|
|
49
49
|
* </li>
|
|
50
50
|
* <li>
|
|
51
51
|
* <p>You cannot call any STS operations except <code>GetCallerIdentity</code>.</p>
|
|
52
52
|
* </li>
|
|
53
53
|
* </ul>
|
|
54
|
+
* <p>You can use temporary credentials for single sign-on (SSO) to the console.</p>
|
|
54
55
|
* <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
|
|
55
56
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
56
57
|
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|