@aws-sdk/client-sso-oidc 3.47.1 → 3.50.0
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/CHANGELOG.md +35 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-es/endpoints.js +9 -0
- package/package.json +36 -30
- package/dist-types/ts3.4/SSOOIDC.d.ts +0 -20
- package/dist-types/ts3.4/SSOOIDCClient.d.ts +0 -73
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/index.d.ts +0 -3
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/index.d.ts +0 -4
- package/dist-types/ts3.4/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -183
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -11
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -31
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -31
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -30
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sso-oidc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-sso-oidc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-sso-oidc
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @aws-sdk/client-sso-oidc
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -129,6 +129,15 @@ const regionHash = {
|
|
|
129
129
|
],
|
|
130
130
|
signingRegion: "us-east-2",
|
|
131
131
|
},
|
|
132
|
+
"us-gov-east-1": {
|
|
133
|
+
variants: [
|
|
134
|
+
{
|
|
135
|
+
hostname: "oidc.us-gov-east-1.amazonaws.com",
|
|
136
|
+
tags: [],
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
signingRegion: "us-gov-east-1",
|
|
140
|
+
},
|
|
132
141
|
"us-gov-west-1": {
|
|
133
142
|
variants: [
|
|
134
143
|
{
|
package/dist-es/endpoints.js
CHANGED
|
@@ -127,6 +127,15 @@ var regionHash = {
|
|
|
127
127
|
],
|
|
128
128
|
signingRegion: "us-east-2",
|
|
129
129
|
},
|
|
130
|
+
"us-gov-east-1": {
|
|
131
|
+
variants: [
|
|
132
|
+
{
|
|
133
|
+
hostname: "oidc.us-gov-east-1.amazonaws.com",
|
|
134
|
+
tags: [],
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
signingRegion: "us-gov-east-1",
|
|
138
|
+
},
|
|
130
139
|
"us-gov-west-1": {
|
|
131
140
|
variants: [
|
|
132
141
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.50.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",
|
|
@@ -18,38 +18,44 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/config-resolver": "3.
|
|
22
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
-
"@aws-sdk/hash-node": "3.
|
|
24
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
25
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-retry": "3.
|
|
29
|
-
"@aws-sdk/middleware-serde": "3.
|
|
30
|
-
"@aws-sdk/middleware-stack": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/node-config-provider": "3.
|
|
33
|
-
"@aws-sdk/node-http-handler": "3.
|
|
34
|
-
"@aws-sdk/protocol-http": "3.
|
|
35
|
-
"@aws-sdk/smithy-client": "3.
|
|
36
|
-
"@aws-sdk/types": "3.
|
|
37
|
-
"@aws-sdk/url-parser": "3.
|
|
38
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
39
|
-
"@aws-sdk/util-base64-node": "3.
|
|
40
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
41
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
42
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
43
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
44
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
45
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
47
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/config-resolver": "3.50.0",
|
|
22
|
+
"@aws-sdk/fetch-http-handler": "3.50.0",
|
|
23
|
+
"@aws-sdk/hash-node": "3.50.0",
|
|
24
|
+
"@aws-sdk/invalid-dependency": "3.50.0",
|
|
25
|
+
"@aws-sdk/middleware-content-length": "3.50.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.50.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.50.0",
|
|
28
|
+
"@aws-sdk/middleware-retry": "3.50.0",
|
|
29
|
+
"@aws-sdk/middleware-serde": "3.50.0",
|
|
30
|
+
"@aws-sdk/middleware-stack": "3.50.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.50.0",
|
|
32
|
+
"@aws-sdk/node-config-provider": "3.50.0",
|
|
33
|
+
"@aws-sdk/node-http-handler": "3.50.0",
|
|
34
|
+
"@aws-sdk/protocol-http": "3.50.0",
|
|
35
|
+
"@aws-sdk/smithy-client": "3.50.0",
|
|
36
|
+
"@aws-sdk/types": "3.50.0",
|
|
37
|
+
"@aws-sdk/url-parser": "3.50.0",
|
|
38
|
+
"@aws-sdk/util-base64-browser": "3.49.0",
|
|
39
|
+
"@aws-sdk/util-base64-node": "3.49.0",
|
|
40
|
+
"@aws-sdk/util-body-length-browser": "3.49.0",
|
|
41
|
+
"@aws-sdk/util-body-length-node": "3.49.0",
|
|
42
|
+
"@aws-sdk/util-defaults-mode-browser": "3.50.0",
|
|
43
|
+
"@aws-sdk/util-defaults-mode-node": "3.50.0",
|
|
44
|
+
"@aws-sdk/util-user-agent-browser": "3.50.0",
|
|
45
|
+
"@aws-sdk/util-user-agent-node": "3.50.0",
|
|
46
|
+
"@aws-sdk/util-utf8-browser": "3.49.0",
|
|
47
|
+
"@aws-sdk/util-utf8-node": "3.49.0",
|
|
48
48
|
"tslib": "^2.3.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
52
|
-
"@
|
|
51
|
+
"@aws-sdk/service-client-documentation-generator": "3.49.0",
|
|
52
|
+
"@tsconfig/recommended": "1.0.1",
|
|
53
|
+
"@types/node": "^12.7.5",
|
|
54
|
+
"concurrently": "7.0.0",
|
|
55
|
+
"downlevel-dts": "0.7.0",
|
|
56
|
+
"rimraf": "3.0.2",
|
|
57
|
+
"typedoc": "0.19.2",
|
|
58
|
+
"typescript": "~4.3.5"
|
|
53
59
|
},
|
|
54
60
|
"engines": {
|
|
55
61
|
"node": ">=12.0.0"
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
3
|
-
import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./commands/RegisterClientCommand";
|
|
4
|
-
import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "./commands/StartDeviceAuthorizationCommand";
|
|
5
|
-
import { SSOOIDCClient } from "./SSOOIDCClient";
|
|
6
|
-
|
|
7
|
-
export declare class SSOOIDC extends SSOOIDCClient {
|
|
8
|
-
|
|
9
|
-
createToken(args: CreateTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateTokenCommandOutput>;
|
|
10
|
-
createToken(args: CreateTokenCommandInput, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
|
|
11
|
-
createToken(args: CreateTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
|
|
12
|
-
|
|
13
|
-
registerClient(args: RegisterClientCommandInput, options?: __HttpHandlerOptions): Promise<RegisterClientCommandOutput>;
|
|
14
|
-
registerClient(args: RegisterClientCommandInput, cb: (err: any, data?: RegisterClientCommandOutput) => void): void;
|
|
15
|
-
registerClient(args: RegisterClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterClientCommandOutput) => void): void;
|
|
16
|
-
|
|
17
|
-
startDeviceAuthorization(args: StartDeviceAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<StartDeviceAuthorizationCommandOutput>;
|
|
18
|
-
startDeviceAuthorization(args: StartDeviceAuthorizationCommandInput, cb: (err: any, data?: StartDeviceAuthorizationCommandOutput) => void): void;
|
|
19
|
-
startDeviceAuthorization(args: StartDeviceAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDeviceAuthorizationCommandOutput) => void): void;
|
|
20
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
5
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
-
import { Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
-
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
9
|
-
import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./commands/RegisterClientCommand";
|
|
10
|
-
import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "./commands/StartDeviceAuthorizationCommand";
|
|
11
|
-
export declare type ServiceInputTypes = CreateTokenCommandInput | RegisterClientCommandInput | StartDeviceAuthorizationCommandInput;
|
|
12
|
-
export declare type ServiceOutputTypes = CreateTokenCommandOutput | RegisterClientCommandOutput | StartDeviceAuthorizationCommandOutput;
|
|
13
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
14
|
-
|
|
15
|
-
requestHandler?: __HttpHandler;
|
|
16
|
-
|
|
17
|
-
sha256?: __HashConstructor;
|
|
18
|
-
|
|
19
|
-
urlParser?: __UrlParser;
|
|
20
|
-
|
|
21
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
22
|
-
|
|
23
|
-
streamCollector?: __StreamCollector;
|
|
24
|
-
|
|
25
|
-
base64Decoder?: __Decoder;
|
|
26
|
-
|
|
27
|
-
base64Encoder?: __Encoder;
|
|
28
|
-
|
|
29
|
-
utf8Decoder?: __Decoder;
|
|
30
|
-
|
|
31
|
-
utf8Encoder?: __Encoder;
|
|
32
|
-
|
|
33
|
-
runtime?: string;
|
|
34
|
-
|
|
35
|
-
disableHostPrefix?: boolean;
|
|
36
|
-
|
|
37
|
-
maxAttempts?: number | __Provider<number>;
|
|
38
|
-
|
|
39
|
-
retryMode?: string | __Provider<string>;
|
|
40
|
-
|
|
41
|
-
logger?: __Logger;
|
|
42
|
-
|
|
43
|
-
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
44
|
-
|
|
45
|
-
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
46
|
-
|
|
47
|
-
serviceId?: string;
|
|
48
|
-
|
|
49
|
-
region?: string | __Provider<string>;
|
|
50
|
-
|
|
51
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
52
|
-
|
|
53
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
54
|
-
|
|
55
|
-
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
56
|
-
}
|
|
57
|
-
declare type SSOOIDCClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig;
|
|
58
|
-
|
|
59
|
-
export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {
|
|
60
|
-
}
|
|
61
|
-
declare type SSOOIDCClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig;
|
|
62
|
-
|
|
63
|
-
export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfigType {
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export declare class SSOOIDCClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig> {
|
|
67
|
-
|
|
68
|
-
readonly config: SSOOIDCClientResolvedConfig;
|
|
69
|
-
constructor(configuration: SSOOIDCClientConfig);
|
|
70
|
-
|
|
71
|
-
destroy(): void;
|
|
72
|
-
}
|
|
73
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { CreateTokenRequest, CreateTokenResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
5
|
-
export interface CreateTokenCommandInput extends CreateTokenRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface CreateTokenCommandOutput extends CreateTokenResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export declare class CreateTokenCommand extends $Command<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig> {
|
|
11
|
-
readonly input: CreateTokenCommandInput;
|
|
12
|
-
constructor(input: CreateTokenCommandInput);
|
|
13
|
-
|
|
14
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTokenCommandInput, CreateTokenCommandOutput>;
|
|
15
|
-
private serialize;
|
|
16
|
-
private deserialize;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { RegisterClientRequest, RegisterClientResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
5
|
-
export interface RegisterClientCommandInput extends RegisterClientRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface RegisterClientCommandOutput extends RegisterClientResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export declare class RegisterClientCommand extends $Command<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig> {
|
|
11
|
-
readonly input: RegisterClientCommandInput;
|
|
12
|
-
constructor(input: RegisterClientCommandInput);
|
|
13
|
-
|
|
14
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterClientCommandInput, RegisterClientCommandOutput>;
|
|
15
|
-
private serialize;
|
|
16
|
-
private deserialize;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { StartDeviceAuthorizationRequest, StartDeviceAuthorizationResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
5
|
-
export interface StartDeviceAuthorizationCommandInput extends StartDeviceAuthorizationRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthorizationResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export declare class StartDeviceAuthorizationCommand extends $Command<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig> {
|
|
11
|
-
readonly input: StartDeviceAuthorizationCommandInput;
|
|
12
|
-
constructor(input: StartDeviceAuthorizationCommandInput);
|
|
13
|
-
|
|
14
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput>;
|
|
15
|
-
private serialize;
|
|
16
|
-
private deserialize;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
error?: string;
|
|
7
|
-
error_description?: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface AuthorizationPendingException extends __SmithyException, $MetadataBearer {
|
|
11
|
-
name: "AuthorizationPendingException";
|
|
12
|
-
$fault: "client";
|
|
13
|
-
error?: string;
|
|
14
|
-
error_description?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface CreateTokenRequest {
|
|
17
|
-
|
|
18
|
-
clientId: string | undefined;
|
|
19
|
-
|
|
20
|
-
clientSecret: string | undefined;
|
|
21
|
-
|
|
22
|
-
grantType: string | undefined;
|
|
23
|
-
|
|
24
|
-
deviceCode: string | undefined;
|
|
25
|
-
|
|
26
|
-
code?: string;
|
|
27
|
-
|
|
28
|
-
refreshToken?: string;
|
|
29
|
-
|
|
30
|
-
scope?: string[];
|
|
31
|
-
|
|
32
|
-
redirectUri?: string;
|
|
33
|
-
}
|
|
34
|
-
export declare namespace CreateTokenRequest {
|
|
35
|
-
|
|
36
|
-
const filterSensitiveLog: (obj: CreateTokenRequest) => any;
|
|
37
|
-
}
|
|
38
|
-
export interface CreateTokenResponse {
|
|
39
|
-
|
|
40
|
-
accessToken?: string;
|
|
41
|
-
|
|
42
|
-
tokenType?: string;
|
|
43
|
-
|
|
44
|
-
expiresIn?: number;
|
|
45
|
-
|
|
46
|
-
refreshToken?: string;
|
|
47
|
-
|
|
48
|
-
idToken?: string;
|
|
49
|
-
}
|
|
50
|
-
export declare namespace CreateTokenResponse {
|
|
51
|
-
|
|
52
|
-
const filterSensitiveLog: (obj: CreateTokenResponse) => any;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface ExpiredTokenException extends __SmithyException, $MetadataBearer {
|
|
56
|
-
name: "ExpiredTokenException";
|
|
57
|
-
$fault: "client";
|
|
58
|
-
error?: string;
|
|
59
|
-
error_description?: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
63
|
-
name: "InternalServerException";
|
|
64
|
-
$fault: "server";
|
|
65
|
-
error?: string;
|
|
66
|
-
error_description?: string;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export interface InvalidClientException extends __SmithyException, $MetadataBearer {
|
|
70
|
-
name: "InvalidClientException";
|
|
71
|
-
$fault: "client";
|
|
72
|
-
error?: string;
|
|
73
|
-
error_description?: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface InvalidGrantException extends __SmithyException, $MetadataBearer {
|
|
77
|
-
name: "InvalidGrantException";
|
|
78
|
-
$fault: "client";
|
|
79
|
-
error?: string;
|
|
80
|
-
error_description?: string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
84
|
-
name: "InvalidRequestException";
|
|
85
|
-
$fault: "client";
|
|
86
|
-
error?: string;
|
|
87
|
-
error_description?: string;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export interface InvalidScopeException extends __SmithyException, $MetadataBearer {
|
|
91
|
-
name: "InvalidScopeException";
|
|
92
|
-
$fault: "client";
|
|
93
|
-
error?: string;
|
|
94
|
-
error_description?: string;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export interface SlowDownException extends __SmithyException, $MetadataBearer {
|
|
98
|
-
name: "SlowDownException";
|
|
99
|
-
$fault: "client";
|
|
100
|
-
error?: string;
|
|
101
|
-
error_description?: string;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export interface UnauthorizedClientException extends __SmithyException, $MetadataBearer {
|
|
105
|
-
name: "UnauthorizedClientException";
|
|
106
|
-
$fault: "client";
|
|
107
|
-
error?: string;
|
|
108
|
-
error_description?: string;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export interface UnsupportedGrantTypeException extends __SmithyException, $MetadataBearer {
|
|
112
|
-
name: "UnsupportedGrantTypeException";
|
|
113
|
-
$fault: "client";
|
|
114
|
-
error?: string;
|
|
115
|
-
error_description?: string;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export interface InvalidClientMetadataException extends __SmithyException, $MetadataBearer {
|
|
119
|
-
name: "InvalidClientMetadataException";
|
|
120
|
-
$fault: "client";
|
|
121
|
-
error?: string;
|
|
122
|
-
error_description?: string;
|
|
123
|
-
}
|
|
124
|
-
export interface RegisterClientRequest {
|
|
125
|
-
|
|
126
|
-
clientName: string | undefined;
|
|
127
|
-
|
|
128
|
-
clientType: string | undefined;
|
|
129
|
-
|
|
130
|
-
scopes?: string[];
|
|
131
|
-
}
|
|
132
|
-
export declare namespace RegisterClientRequest {
|
|
133
|
-
|
|
134
|
-
const filterSensitiveLog: (obj: RegisterClientRequest) => any;
|
|
135
|
-
}
|
|
136
|
-
export interface RegisterClientResponse {
|
|
137
|
-
|
|
138
|
-
clientId?: string;
|
|
139
|
-
|
|
140
|
-
clientSecret?: string;
|
|
141
|
-
|
|
142
|
-
clientIdIssuedAt?: number;
|
|
143
|
-
|
|
144
|
-
clientSecretExpiresAt?: number;
|
|
145
|
-
|
|
146
|
-
authorizationEndpoint?: string;
|
|
147
|
-
|
|
148
|
-
tokenEndpoint?: string;
|
|
149
|
-
}
|
|
150
|
-
export declare namespace RegisterClientResponse {
|
|
151
|
-
|
|
152
|
-
const filterSensitiveLog: (obj: RegisterClientResponse) => any;
|
|
153
|
-
}
|
|
154
|
-
export interface StartDeviceAuthorizationRequest {
|
|
155
|
-
|
|
156
|
-
clientId: string | undefined;
|
|
157
|
-
|
|
158
|
-
clientSecret: string | undefined;
|
|
159
|
-
|
|
160
|
-
startUrl: string | undefined;
|
|
161
|
-
}
|
|
162
|
-
export declare namespace StartDeviceAuthorizationRequest {
|
|
163
|
-
|
|
164
|
-
const filterSensitiveLog: (obj: StartDeviceAuthorizationRequest) => any;
|
|
165
|
-
}
|
|
166
|
-
export interface StartDeviceAuthorizationResponse {
|
|
167
|
-
|
|
168
|
-
deviceCode?: string;
|
|
169
|
-
|
|
170
|
-
userCode?: string;
|
|
171
|
-
|
|
172
|
-
verificationUri?: string;
|
|
173
|
-
|
|
174
|
-
verificationUriComplete?: string;
|
|
175
|
-
|
|
176
|
-
expiresIn?: number;
|
|
177
|
-
|
|
178
|
-
interval?: number;
|
|
179
|
-
}
|
|
180
|
-
export declare namespace StartDeviceAuthorizationResponse {
|
|
181
|
-
|
|
182
|
-
const filterSensitiveLog: (obj: StartDeviceAuthorizationResponse) => any;
|
|
183
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
-
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "../commands/CreateTokenCommand";
|
|
4
|
-
import { RegisterClientCommandInput, RegisterClientCommandOutput } from "../commands/RegisterClientCommand";
|
|
5
|
-
import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "../commands/StartDeviceAuthorizationCommand";
|
|
6
|
-
export declare const serializeAws_restJson1CreateTokenCommand: (input: CreateTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
|
-
export declare const serializeAws_restJson1RegisterClientCommand: (input: RegisterClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
|
-
export declare const serializeAws_restJson1StartDeviceAuthorizationCommand: (input: StartDeviceAuthorizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
|
-
export declare const deserializeAws_restJson1CreateTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTokenCommandOutput>;
|
|
10
|
-
export declare const deserializeAws_restJson1RegisterClientCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterClientCommandOutput>;
|
|
11
|
-
export declare const deserializeAws_restJson1StartDeviceAuthorizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartDeviceAuthorizationCommandOutput>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
-
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
3
|
-
|
|
4
|
-
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
5
|
-
runtime: string;
|
|
6
|
-
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
|
-
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
31
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
3
|
-
|
|
4
|
-
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
5
|
-
runtime: string;
|
|
6
|
-
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
31
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
2
|
-
|
|
3
|
-
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
4
|
-
runtime: string;
|
|
5
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
-
apiVersion: string;
|
|
8
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
-
disableHostPrefix: boolean;
|
|
16
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
-
logger: import("@aws-sdk/types").Logger;
|
|
19
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
-
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
24
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
25
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
|
-
tls?: boolean | undefined;
|
|
28
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
29
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
30
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
-
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
3
|
-
|
|
4
|
-
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
5
|
-
apiVersion: string;
|
|
6
|
-
disableHostPrefix: boolean;
|
|
7
|
-
logger: __Logger;
|
|
8
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
-
serviceId: string;
|
|
10
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
};
|