@cdklabs/cdk-ecs-codedeploy 0.0.45 → 0.0.47

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.
Files changed (93) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +0 -3
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +0 -3
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +3 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +0 -3
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +0 -3
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +3 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -2
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -2
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +2 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/package.json +9 -10
  19. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +0 -3
  20. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +0 -3
  21. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +3 -0
  22. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +0 -3
  23. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +0 -3
  24. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +3 -0
  25. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
  26. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
  27. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -0
  28. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  29. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  30. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  31. package/node_modules/@aws-sdk/client-sso/package.json +7 -8
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -3
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -3
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +3 -0
  35. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -3
  36. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -3
  37. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +3 -0
  38. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
  39. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
  40. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -0
  41. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  42. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  43. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  44. package/node_modules/@aws-sdk/client-sso-oidc/package.json +7 -8
  45. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +3 -3
  46. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +0 -3
  47. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +0 -3
  48. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +3 -0
  49. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +3 -3
  50. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +0 -3
  51. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +0 -3
  52. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +3 -0
  53. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -12
  54. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +4 -6
  55. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +0 -2
  56. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -2
  57. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +3 -2
  58. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +2 -22
  59. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
  60. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
  61. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -0
  62. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  63. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  64. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  65. package/node_modules/@aws-sdk/client-sts/package.json +8 -9
  66. package/node_modules/@aws-sdk/config-resolver/package.json +2 -2
  67. package/node_modules/@aws-sdk/credential-provider-imds/package.json +2 -2
  68. package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
  69. package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  70. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  71. package/node_modules/@aws-sdk/middleware-retry/package.json +2 -2
  72. package/node_modules/@aws-sdk/node-config-provider/dist-types/fromEnv.d.ts +1 -2
  73. package/node_modules/@aws-sdk/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +1 -1
  74. package/node_modules/@aws-sdk/node-config-provider/package.json +1 -1
  75. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  76. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +4 -4
  77. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  78. package/node_modules/@aws-sdk/util-utf8-browser/README.md +4 -0
  79. package/node_modules/@aws-sdk/util-utf8-browser/package.json +1 -1
  80. package/node_modules/tslib/modules/index.js +8 -0
  81. package/node_modules/tslib/package.json +1 -1
  82. package/node_modules/tslib/tslib.d.ts +32 -0
  83. package/node_modules/tslib/tslib.es6.js +46 -1
  84. package/node_modules/tslib/tslib.js +54 -1
  85. package/package.json +7 -7
  86. package/node_modules/@aws-sdk/util-utf8-browser/CHANGELOG.md +0 -657
  87. package/node_modules/@aws-sdk/util-utf8-node/LICENSE +0 -201
  88. package/node_modules/@aws-sdk/util-utf8-node/README.md +0 -4
  89. package/node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js +0 -11
  90. package/node_modules/@aws-sdk/util-utf8-node/dist-es/index.js +0 -6
  91. package/node_modules/@aws-sdk/util-utf8-node/dist-types/index.d.ts +0 -2
  92. package/node_modules/@aws-sdk/util-utf8-node/dist-types/ts3.4/index.d.ts +0 -2
  93. package/node_modules/@aws-sdk/util-utf8-node/package.json +0 -55
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.257.0",
4
+ "version": "3.259.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",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/config-resolver": "3.257.0",
23
+ "@aws-sdk/config-resolver": "3.259.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.257.0",
25
25
  "@aws-sdk/hash-node": "3.257.0",
26
26
  "@aws-sdk/invalid-dependency": "3.257.0",
@@ -29,11 +29,11 @@
29
29
  "@aws-sdk/middleware-host-header": "3.257.0",
30
30
  "@aws-sdk/middleware-logger": "3.257.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.257.0",
32
- "@aws-sdk/middleware-retry": "3.257.0",
32
+ "@aws-sdk/middleware-retry": "3.259.0",
33
33
  "@aws-sdk/middleware-serde": "3.257.0",
34
34
  "@aws-sdk/middleware-stack": "3.257.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.257.0",
36
- "@aws-sdk/node-config-provider": "3.257.0",
36
+ "@aws-sdk/node-config-provider": "3.259.0",
37
37
  "@aws-sdk/node-http-handler": "3.257.0",
38
38
  "@aws-sdk/protocol-http": "3.257.0",
39
39
  "@aws-sdk/smithy-client": "3.257.0",
@@ -43,13 +43,12 @@
43
43
  "@aws-sdk/util-body-length-browser": "3.188.0",
44
44
  "@aws-sdk/util-body-length-node": "3.208.0",
45
45
  "@aws-sdk/util-defaults-mode-browser": "3.257.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.257.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.259.0",
47
47
  "@aws-sdk/util-endpoints": "3.257.0",
48
48
  "@aws-sdk/util-retry": "3.257.0",
49
49
  "@aws-sdk/util-user-agent-browser": "3.257.0",
50
- "@aws-sdk/util-user-agent-node": "3.257.0",
51
- "@aws-sdk/util-utf8-browser": "3.188.0",
52
- "@aws-sdk/util-utf8-node": "3.208.0",
50
+ "@aws-sdk/util-user-agent-node": "3.259.0",
51
+ "@aws-sdk/util-utf8": "3.254.0",
53
52
  "tslib": "^2.3.1"
54
53
  },
55
54
  "devDependencies": {
@@ -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");
@@ -34,8 +33,6 @@ const getRuntimeConfig = (config) => {
34
33
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
34
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
35
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
- utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
38
- utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
39
36
  };
40
37
  };
41
38
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -11,7 +11,6 @@ const node_http_handler_1 = require("@aws-sdk/node-http-handler");
11
11
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
12
12
  const util_retry_1 = require("@aws-sdk/util-retry");
13
13
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
14
- const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
15
  const smithy_client_1 = require("@aws-sdk/smithy-client");
17
16
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
@@ -41,8 +40,6 @@ const getRuntimeConfig = (config) => {
41
40
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
42
41
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
43
42
  useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
- utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
45
- utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
46
43
  };
47
44
  };
48
45
  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: "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.257.0",
4
+ "version": "3.259.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",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/config-resolver": "3.257.0",
23
+ "@aws-sdk/config-resolver": "3.259.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.257.0",
25
25
  "@aws-sdk/hash-node": "3.257.0",
26
26
  "@aws-sdk/invalid-dependency": "3.257.0",
@@ -29,11 +29,11 @@
29
29
  "@aws-sdk/middleware-host-header": "3.257.0",
30
30
  "@aws-sdk/middleware-logger": "3.257.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.257.0",
32
- "@aws-sdk/middleware-retry": "3.257.0",
32
+ "@aws-sdk/middleware-retry": "3.259.0",
33
33
  "@aws-sdk/middleware-serde": "3.257.0",
34
34
  "@aws-sdk/middleware-stack": "3.257.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.257.0",
36
- "@aws-sdk/node-config-provider": "3.257.0",
36
+ "@aws-sdk/node-config-provider": "3.259.0",
37
37
  "@aws-sdk/node-http-handler": "3.257.0",
38
38
  "@aws-sdk/protocol-http": "3.257.0",
39
39
  "@aws-sdk/smithy-client": "3.257.0",
@@ -43,13 +43,12 @@
43
43
  "@aws-sdk/util-body-length-browser": "3.188.0",
44
44
  "@aws-sdk/util-body-length-node": "3.208.0",
45
45
  "@aws-sdk/util-defaults-mode-browser": "3.257.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.257.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.259.0",
47
47
  "@aws-sdk/util-endpoints": "3.257.0",
48
48
  "@aws-sdk/util-retry": "3.257.0",
49
49
  "@aws-sdk/util-user-agent-browser": "3.257.0",
50
- "@aws-sdk/util-user-agent-node": "3.257.0",
51
- "@aws-sdk/util-utf8-browser": "3.188.0",
52
- "@aws-sdk/util-utf8-node": "3.208.0",
50
+ "@aws-sdk/util-user-agent-node": "3.259.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 H = "required", 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 = "https://sts.amazonaws.com", h = "sigv4", i = "sts", j = "us-east-1", k = "endpoint", l = "https://sts.{Region}.{PartitionResult#dnsSuffix}", m = "error", n = "getAttr", o = { [H]: false, "type": "String" }, p = { [H]: true, "default": false, "type": "Boolean" }, q = { [K]: "Region" }, r = { [K]: "UseFIPS" }, s = { [K]: "UseDualStack" }, t = { [I]: "isSet", [J]: [{ [K]: "Endpoint" }] }, u = { [K]: "Endpoint" }, v = { "url": g, [L]: { "authSchemes": [{ "name": h, "signingName": i, "signingRegion": j }] }, [M]: {} }, w = {}, x = { [I]: e, [J]: [r, true] }, y = { [I]: e, [J]: [s, true] }, z = { [I]: e, [J]: [true, { [I]: n, [J]: [{ [K]: c }, "supportsFIPS"] }] }, A = { [K]: c }, B = { [I]: e, [J]: [true, { [I]: n, [J]: [A, "supportsDualStack"] }] }, C = { "url": l, [L]: {}, [M]: {} }, D = [u], E = [{ [I]: f, [J]: [q, "aws-global"] }], F = [x], G = [y];
6
- const _data = { version: "1.0", parameters: { Region: o, UseDualStack: p, UseFIPS: p, Endpoint: o, UseGlobalEndpoint: p }, rules: [{ conditions: [{ [I]: "aws.partition", [J]: [q], assign: c }], type: d, rules: [{ conditions: [{ [I]: e, [J]: [{ [K]: "UseGlobalEndpoint" }, b] }, { [I]: e, [J]: [r, a] }, { [I]: e, [J]: [s, a] }, { [I]: "not", [J]: [t] }], type: d, rules: [{ conditions: [{ [I]: f, [J]: [q, "ap-northeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-south-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-2"] }], endpoint: v, type: k }, { conditions: E, endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ca-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-north-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-3"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "sa-east-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, j] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-east-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-2"] }], endpoint: v, type: k }, { endpoint: { url: l, [L]: { authSchemes: [{ name: h, signingName: i, signingRegion: "{Region}" }] }, [M]: w }, type: k }] }, { conditions: [t, { [I]: "parseURL", [J]: D, assign: "url" }], type: d, rules: [{ conditions: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: m }, { type: d, rules: [{ conditions: G, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: m }, { endpoint: { url: u, [L]: w, [M]: w }, type: k }] }] }, { conditions: [x, y], type: d, rules: [{ conditions: [z, B], type: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: m }] }, { conditions: F, type: d, rules: [{ conditions: [z], type: d, rules: [{ type: d, rules: [{ conditions: [{ [I]: f, [J]: ["aws-us-gov", { [I]: n, [J]: [A, "name"] }] }], endpoint: C, type: k }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", [L]: w, [M]: w }, type: k }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: m }] }, { conditions: G, type: d, rules: [{ conditions: [B], type: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: m }] }, { type: d, rules: [{ conditions: E, endpoint: { url: g, [L]: { authSchemes: [{ name: h, signingRegion: j, signingName: i }] }, [M]: w }, type: k }, { endpoint: C, type: k }] }] }] };
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 H = "required", 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 = "https://sts.amazonaws.com", h = "sigv4", i = "sts", j = "us-east-1", k = "endpoint", l = "https://sts.{Region}.{PartitionResult#dnsSuffix}", m = "error", n = "getAttr", o = { [H]: false, "type": "String" }, p = { [H]: true, "default": false, "type": "Boolean" }, q = { [K]: "Region" }, r = { [K]: "UseFIPS" }, s = { [K]: "UseDualStack" }, t = { [I]: "isSet", [J]: [{ [K]: "Endpoint" }] }, u = { [K]: "Endpoint" }, v = { "url": g, [L]: { "authSchemes": [{ "name": h, "signingName": i, "signingRegion": j }] }, [M]: {} }, w = {}, x = { [I]: e, [J]: [r, true] }, y = { [I]: e, [J]: [s, true] }, z = { [I]: e, [J]: [true, { [I]: n, [J]: [{ [K]: c }, "supportsFIPS"] }] }, A = { [K]: c }, B = { [I]: e, [J]: [true, { [I]: n, [J]: [A, "supportsDualStack"] }] }, C = { "url": l, [L]: {}, [M]: {} }, D = [u], E = [{ [I]: f, [J]: [q, "aws-global"] }], F = [x], G = [y];
3
- const _data = { version: "1.0", parameters: { Region: o, UseDualStack: p, UseFIPS: p, Endpoint: o, UseGlobalEndpoint: p }, rules: [{ conditions: [{ [I]: "aws.partition", [J]: [q], assign: c }], type: d, rules: [{ conditions: [{ [I]: e, [J]: [{ [K]: "UseGlobalEndpoint" }, b] }, { [I]: e, [J]: [r, a] }, { [I]: e, [J]: [s, a] }, { [I]: "not", [J]: [t] }], type: d, rules: [{ conditions: [{ [I]: f, [J]: [q, "ap-northeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-south-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-2"] }], endpoint: v, type: k }, { conditions: E, endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ca-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-north-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-3"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "sa-east-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, j] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-east-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-2"] }], endpoint: v, type: k }, { endpoint: { url: l, [L]: { authSchemes: [{ name: h, signingName: i, signingRegion: "{Region}" }] }, [M]: w }, type: k }] }, { conditions: [t, { [I]: "parseURL", [J]: D, assign: "url" }], type: d, rules: [{ conditions: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: m }, { type: d, rules: [{ conditions: G, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: m }, { endpoint: { url: u, [L]: w, [M]: w }, type: k }] }] }, { conditions: [x, y], type: d, rules: [{ conditions: [z, B], type: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: m }] }, { conditions: F, type: d, rules: [{ conditions: [z], type: d, rules: [{ type: d, rules: [{ conditions: [{ [I]: f, [J]: ["aws-us-gov", { [I]: n, [J]: [A, "name"] }] }], endpoint: C, type: k }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", [L]: w, [M]: w }, type: k }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: m }] }, { conditions: G, type: d, rules: [{ conditions: [B], type: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: m }] }, { type: d, rules: [{ conditions: E, endpoint: { url: g, [L]: { authSchemes: [{ name: h, signingRegion: j, signingName: i }] }, [M]: w }, type: k }, { endpoint: C, type: k }] }] }] };
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 that you might not normally have access to. These temporary credentials consist
22
- * of an access key ID, a secret access key, and a security token. Typically, you use
23
- * <code>AssumeRole</code> within your account or for cross-account access. For a
24
- * comparison of <code>AssumeRole</code> with other API operations that produce temporary
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 except the following:</p>
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. </p>
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 that you might not normally have access to. These temporary credentials consist
13
- * of an access key ID, a secret access key, and a security token. Typically, you use
14
- * <code>AssumeRole</code> within your account or for cross-account access. For a
15
- * comparison of <code>AssumeRole</code> with other API operations that produce temporary
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
@@ -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