@cdklabs/cdk-ecs-codedeploy 0.0.161 → 0.0.162
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/protocols/Aws_json1_1.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/protocols/Aws_json1_1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +9 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +13 -13
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +7 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/package.json +5 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +11 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +12 -12
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +17 -14
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +11 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +19 -14
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/package.json +3 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +11 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +12 -12
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +17 -14
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +11 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +19 -14
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js +42 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +33 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +13 -13
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +9 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +14 -14
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +19 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +21 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/package.json +4 -3
- 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/node_modules/@smithy/protocol-http/LICENSE +201 -0
- package/node_modules/@smithy/protocol-http/README.md +4 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +27 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +23 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +2 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +49 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +17 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +10 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +8 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/types.js +8 -0
- package/node_modules/@smithy/protocol-http/dist-es/Field.js +23 -0
- package/node_modules/@smithy/protocol-http/dist-es/Fields.js +19 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +45 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +13 -0
- package/node_modules/@smithy/protocol-http/dist-es/index.js +7 -0
- package/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +4 -0
- package/node_modules/@smithy/protocol-http/dist-es/types.js +5 -0
- package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +49 -0
- package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +44 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +5 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +28 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +21 -0
- package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +7 -0
- package/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +56 -0
- package/node_modules/@smithy/protocol-http/package.json +62 -0
- package/node_modules/@smithy/types/LICENSE +201 -0
- package/node_modules/@smithy/types/README.md +4 -0
- package/node_modules/@smithy/types/dist-cjs/abort.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/http.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/index.js +8 -0
- package/node_modules/@smithy/types/dist-cjs/serde.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transfer.js +9 -0
- package/node_modules/@smithy/types/dist-cjs/util.js +2 -0
- package/node_modules/@smithy/types/dist-es/abort.js +1 -0
- package/node_modules/@smithy/types/dist-es/http.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +5 -0
- package/node_modules/@smithy/types/dist-es/serde.js +1 -0
- package/node_modules/@smithy/types/dist-es/transfer.js +6 -0
- package/node_modules/@smithy/types/dist-es/util.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +36 -0
- package/node_modules/@smithy/types/dist-types/transfer.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/util.d.ts +38 -0
- package/node_modules/@smithy/types/package.json +57 -0
- package/node_modules/tslib/modules/index.d.ts +34 -1
- package/node_modules/tslib/package.json +1 -1
- package/package.json +4 -4
|
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: CodeDeployClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
30
32
|
import("@aws-sdk/types").UserAgent
|
|
31
33
|
>;
|
|
32
|
-
maxAttempts: number | import("@
|
|
33
|
-
|
|
34
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
35
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
36
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
37
|
logger: import("@aws-sdk/types").Logger;
|
|
35
38
|
defaultsMode:
|
|
36
39
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
|
-
| import("@
|
|
40
|
+
| import("@smithy/types").Provider<
|
|
38
41
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
42
|
>;
|
|
40
43
|
endpoint?:
|
|
41
44
|
| string
|
|
42
|
-
| import("@aws-sdk/types").Endpoint
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
45
|
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
46
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
47
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
48
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
49
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
50
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
46
51
|
| undefined;
|
|
47
52
|
endpointProvider: (
|
|
48
53
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CodeDeployClientConfig } from "./CodeDeployClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: CodeDeployClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: CodeDeployClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codedeploy",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.335.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
43
42
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
44
43
|
"@aws-sdk/types": "3.329.0",
|
|
45
44
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -54,6 +53,8 @@
|
|
|
54
53
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
55
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
55
|
"@aws-sdk/util-waiter": "3.329.0",
|
|
56
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
57
|
+
"@smithy/types": "^1.0.0",
|
|
57
58
|
"tslib": "^2.5.0"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_LogoutCommand = exports.de_ListAccountsCommand = exports.de_ListAccountRolesCommand = exports.de_GetRoleCredentialsCommand = exports.se_LogoutCommand = exports.se_ListAccountsCommand = exports.se_ListAccountRolesCommand = exports.se_GetRoleCredentialsCommand = void 0;
|
|
4
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const SSOServiceException_1 = require("../models/SSOServiceException");
|
|
8
8
|
const se_GetRoleCredentialsCommand = async (input, context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
|
|
4
4
|
import { SSOServiceException as __BaseException } from "../models/SSOServiceException";
|
|
5
5
|
export const se_GetRoleCredentialsCommand = async (input, context) => {
|
|
@@ -3,9 +3,10 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware
|
|
|
3
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
6
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor,
|
|
7
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
9
10
|
import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
|
|
10
11
|
import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
|
|
11
12
|
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "../commands/GetRoleCredentialsCommand";
|
|
4
4
|
import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
|
|
5
5
|
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
|
|
@@ -8,24 +8,24 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
11
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
12
12
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
14
|
-
retryMode: string | import("@
|
|
13
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
14
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
18
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
18
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
19
19
|
apiVersion: string;
|
|
20
20
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
21
|
-
base64Decoder: import("@
|
|
22
|
-
base64Encoder: import("@
|
|
23
|
-
utf8Decoder: import("@
|
|
24
|
-
utf8Encoder: import("@
|
|
21
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
23
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
25
25
|
disableHostPrefix: boolean;
|
|
26
26
|
serviceId: string;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
28
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
29
29
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
30
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -10,22 +10,22 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
10
10
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
12
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
14
|
-
retryMode: string | import("@
|
|
13
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
14
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
|
-
streamCollector: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
17
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
18
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
apiVersion: string;
|
|
20
20
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
21
|
-
base64Decoder: import("@
|
|
22
|
-
base64Encoder: import("@
|
|
23
|
-
utf8Decoder: import("@
|
|
24
|
-
utf8Encoder: import("@
|
|
21
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
23
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
25
25
|
disableHostPrefix: boolean;
|
|
26
26
|
serviceId: string;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
28
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
29
29
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
30
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -5,26 +5,26 @@ import { SSOClientConfig } from "./SSOClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
-
streamCollector: import("@
|
|
13
|
-
base64Decoder: import("@
|
|
14
|
-
base64Encoder: import("@
|
|
15
|
-
utf8Decoder: import("@
|
|
16
|
-
utf8Encoder: import("@
|
|
12
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
21
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
22
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
23
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
24
|
-
retryMode: string | import("@
|
|
23
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
24
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
25
|
logger: import("@aws-sdk/types").Logger;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
28
28
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
29
29
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
30
30
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -4,8 +4,8 @@ import { SSOClientConfig } from "./SSOClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
|
-
base64Decoder: import("@
|
|
8
|
-
base64Encoder: import("@
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -18,7 +18,6 @@ import {
|
|
|
18
18
|
UserAgentInputConfig,
|
|
19
19
|
UserAgentResolvedConfig,
|
|
20
20
|
} from "@aws-sdk/middleware-user-agent";
|
|
21
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
22
21
|
import {
|
|
23
22
|
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
@@ -28,17 +27,20 @@ import {
|
|
|
28
27
|
import {
|
|
29
28
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
29
|
ChecksumConstructor as __ChecksumConstructor,
|
|
31
|
-
Decoder as __Decoder,
|
|
32
|
-
Encoder as __Encoder,
|
|
33
30
|
HashConstructor as __HashConstructor,
|
|
34
31
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
35
32
|
Logger as __Logger,
|
|
36
|
-
Provider as __Provider,
|
|
37
33
|
Provider,
|
|
38
|
-
StreamCollector as __StreamCollector,
|
|
39
34
|
UrlParser as __UrlParser,
|
|
40
35
|
UserAgent as __UserAgent,
|
|
41
36
|
} from "@aws-sdk/types";
|
|
37
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
38
|
+
import {
|
|
39
|
+
Decoder as __Decoder,
|
|
40
|
+
Encoder as __Encoder,
|
|
41
|
+
Provider as __Provider,
|
|
42
|
+
StreamCollector as __StreamCollector,
|
|
43
|
+
} from "@smithy/types";
|
|
42
44
|
import {
|
|
43
45
|
GetRoleCredentialsCommandInput,
|
|
44
46
|
GetRoleCredentialsCommandOutput,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
EndpointParameters as __EndpointParameters,
|
|
4
3
|
EndpointV2,
|
|
5
|
-
Provider,
|
|
6
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
7
6
|
export interface ClientInputEndpointParameters {
|
|
8
7
|
region?: string | Provider<string>;
|
|
9
8
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpRequest as __HttpRequest,
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
6
|
import {
|
|
7
7
|
GetRoleCredentialsCommandInput,
|
|
8
8
|
GetRoleCredentialsCommandOutput,
|
|
@@ -9,7 +9,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
9
9
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
10
10
|
import("@aws-sdk/types").UserAgent
|
|
11
11
|
>;
|
|
12
|
-
maxAttempts: number | import("@
|
|
12
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
13
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
13
14
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
15
|
requestHandler:
|
|
15
16
|
| (import("@aws-sdk/types").RequestHandler<
|
|
@@ -17,19 +18,21 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
17
18
|
any,
|
|
18
19
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
19
20
|
> &
|
|
20
|
-
import("@
|
|
21
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
21
22
|
| RequestHandler;
|
|
22
|
-
retryMode: string | import("@
|
|
23
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
24
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
24
|
-
streamCollector: import("@
|
|
25
|
-
useDualstackEndpoint: boolean | import("@
|
|
26
|
-
|
|
25
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
26
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
27
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
28
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
29
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
27
30
|
apiVersion: string;
|
|
28
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
29
|
-
base64Decoder: import("@
|
|
30
|
-
base64Encoder: import("@
|
|
31
|
-
utf8Decoder: import("@
|
|
32
|
-
utf8Encoder: import("@
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
33
36
|
disableHostPrefix: boolean;
|
|
34
37
|
serviceId: string;
|
|
35
38
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -43,11 +46,11 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
43
46
|
) &
|
|
44
47
|
(
|
|
45
48
|
| string
|
|
46
|
-
| import("@
|
|
47
|
-
| import("@
|
|
48
|
-
| import("@
|
|
49
|
+
| import("@smithy/types").Provider<string>
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
49
52
|
| import("@aws-sdk/types").EndpointV2
|
|
50
|
-
| import("@
|
|
53
|
+
| import("@smithy/types").Provider<
|
|
51
54
|
import("@aws-sdk/types").EndpointV2
|
|
52
55
|
>
|
|
53
56
|
))
|
|
@@ -17,19 +17,19 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
17
17
|
any,
|
|
18
18
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
19
19
|
> &
|
|
20
|
-
import("@
|
|
20
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
21
21
|
| RequestHandler;
|
|
22
|
-
retryMode: string | import("@
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
23
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
24
|
-
streamCollector: import("@
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
25
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
26
26
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
27
|
apiVersion: string;
|
|
28
28
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
29
|
-
base64Decoder: import("@
|
|
30
|
-
base64Encoder: import("@
|
|
31
|
-
utf8Decoder: import("@
|
|
32
|
-
utf8Encoder: import("@
|
|
29
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
31
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
33
33
|
disableHostPrefix: boolean;
|
|
34
34
|
serviceId: string;
|
|
35
35
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -43,11 +43,11 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
43
43
|
) &
|
|
44
44
|
(
|
|
45
45
|
| string
|
|
46
|
-
| import("@
|
|
47
|
-
| import("@
|
|
48
|
-
| import("@
|
|
46
|
+
| import("@smithy/types").Provider<string>
|
|
47
|
+
| import("@smithy/types").Endpoint
|
|
48
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
49
49
|
| import("@aws-sdk/types").EndpointV2
|
|
50
|
-
| import("@
|
|
50
|
+
| import("@smithy/types").Provider<
|
|
51
51
|
import("@aws-sdk/types").EndpointV2
|
|
52
52
|
>
|
|
53
53
|
))
|
|
@@ -8,38 +8,43 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
27
29
|
import("@aws-sdk/types").UserAgent
|
|
28
30
|
>;
|
|
29
|
-
maxAttempts: number | import("@
|
|
30
|
-
|
|
31
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
32
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
33
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
31
34
|
logger: import("@aws-sdk/types").Logger;
|
|
32
35
|
defaultsMode:
|
|
33
36
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
34
|
-
| import("@
|
|
37
|
+
| import("@smithy/types").Provider<
|
|
35
38
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
36
39
|
>;
|
|
37
40
|
endpoint?:
|
|
38
41
|
| string
|
|
39
|
-
| import("@aws-sdk/types").Endpoint
|
|
40
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
41
42
|
| import("@aws-sdk/types").EndpointV2
|
|
42
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
43
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
44
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
45
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
46
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
47
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
43
48
|
| undefined;
|
|
44
49
|
endpointProvider: (
|
|
45
50
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SSOClientConfig } from "./SSOClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -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.
|
|
4
|
+
"version": "3.335.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",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
37
37
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
38
38
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
39
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
40
39
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
41
40
|
"@aws-sdk/types": "3.329.0",
|
|
42
41
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -50,6 +49,8 @@
|
|
|
50
49
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
51
50
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
52
51
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
52
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
53
|
+
"@smithy/types": "^1.0.0",
|
|
53
54
|
"tslib": "^2.5.0"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_StartDeviceAuthorizationCommand = exports.de_RegisterClientCommand = exports.de_CreateTokenCommand = exports.se_StartDeviceAuthorizationCommand = exports.se_RegisterClientCommand = exports.se_CreateTokenCommand = void 0;
|
|
4
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const SSOOIDCServiceException_1 = require("../models/SSOOIDCServiceException");
|
|
8
8
|
const se_CreateTokenCommand = async (input, context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidClientMetadataException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from "../models/models_0";
|
|
4
4
|
import { SSOOIDCServiceException as __BaseException } from "../models/SSOOIDCServiceException";
|
|
5
5
|
export const se_CreateTokenCommand = async (input, context) => {
|
|
@@ -3,9 +3,10 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware
|
|
|
3
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
6
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor,
|
|
7
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
9
10
|
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
10
11
|
import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./commands/RegisterClientCommand";
|
|
11
12
|
import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "./commands/StartDeviceAuthorizationCommand";
|