@aws-sdk/client-sso-oidc 3.170.0 → 3.171.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 CHANGED
@@ -3,6 +3,14 @@
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.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sso-oidc
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-sso-oidc
@@ -12,7 +12,6 @@ import {
12
12
  StartDeviceAuthorizationCommandOutput,
13
13
  } from "./commands/StartDeviceAuthorizationCommand";
14
14
  import { SSOOIDCClient } from "./SSOOIDCClient";
15
-
16
15
  export declare class SSOOIDC extends SSOOIDCClient {
17
16
  createToken(
18
17
  args: CreateTokenCommandInput,
@@ -27,7 +26,6 @@ export declare class SSOOIDC extends SSOOIDCClient {
27
26
  options: __HttpHandlerOptions,
28
27
  cb: (err: any, data?: CreateTokenCommandOutput) => void
29
28
  ): void;
30
-
31
29
  registerClient(
32
30
  args: RegisterClientCommandInput,
33
31
  options?: __HttpHandlerOptions
@@ -41,7 +39,6 @@ export declare class SSOOIDC extends SSOOIDCClient {
41
39
  options: __HttpHandlerOptions,
42
40
  cb: (err: any, data?: RegisterClientCommandOutput) => void
43
41
  ): void;
44
-
45
42
  startDeviceAuthorization(
46
43
  args: StartDeviceAuthorizationCommandInput,
47
44
  options?: __HttpHandlerOptions
@@ -60,45 +60,25 @@ export declare type ServiceOutputTypes =
60
60
  export interface ClientDefaults
61
61
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
62
62
  requestHandler?: __HttpHandler;
63
-
64
63
  sha256?: __HashConstructor;
65
-
66
64
  urlParser?: __UrlParser;
67
-
68
65
  bodyLengthChecker?: __BodyLengthCalculator;
69
-
70
66
  streamCollector?: __StreamCollector;
71
-
72
67
  base64Decoder?: __Decoder;
73
-
74
68
  base64Encoder?: __Encoder;
75
-
76
69
  utf8Decoder?: __Decoder;
77
-
78
70
  utf8Encoder?: __Encoder;
79
-
80
71
  runtime?: string;
81
-
82
72
  disableHostPrefix?: boolean;
83
-
84
73
  maxAttempts?: number | __Provider<number>;
85
-
86
74
  retryMode?: string | __Provider<string>;
87
-
88
75
  logger?: __Logger;
89
-
90
76
  useDualstackEndpoint?: boolean | __Provider<boolean>;
91
-
92
77
  useFipsEndpoint?: boolean | __Provider<boolean>;
93
-
94
78
  serviceId?: string;
95
-
96
79
  region?: string | __Provider<string>;
97
-
98
80
  regionInfoProvider?: RegionInfoProvider;
99
-
100
81
  defaultUserAgentProvider?: Provider<__UserAgent>;
101
-
102
82
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
103
83
  }
104
84
  declare type SSOOIDCClientConfigType = Partial<
@@ -110,7 +90,6 @@ declare type SSOOIDCClientConfigType = Partial<
110
90
  RetryInputConfig &
111
91
  HostHeaderInputConfig &
112
92
  UserAgentInputConfig;
113
-
114
93
  export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {}
115
94
  declare type SSOOIDCClientResolvedConfigType =
116
95
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
@@ -120,10 +99,8 @@ declare type SSOOIDCClientResolvedConfigType =
120
99
  RetryResolvedConfig &
121
100
  HostHeaderResolvedConfig &
122
101
  UserAgentResolvedConfig;
123
-
124
102
  export interface SSOOIDCClientResolvedConfig
125
103
  extends SSOOIDCClientResolvedConfigType {}
126
-
127
104
  export declare class SSOOIDCClient extends __Client<
128
105
  __HttpHandlerOptions,
129
106
  ServiceInputTypes,
@@ -132,7 +109,6 @@ export declare class SSOOIDCClient extends __Client<
132
109
  > {
133
110
  readonly config: SSOOIDCClientResolvedConfig;
134
111
  constructor(configuration: SSOOIDCClientConfig);
135
-
136
112
  destroy(): void;
137
113
  }
138
114
  export {};
@@ -15,7 +15,6 @@ export interface CreateTokenCommandInput extends CreateTokenRequest {}
15
15
  export interface CreateTokenCommandOutput
16
16
  extends CreateTokenResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class CreateTokenCommand extends $Command<
20
19
  CreateTokenCommandInput,
21
20
  CreateTokenCommandOutput,
@@ -23,7 +22,6 @@ export declare class CreateTokenCommand extends $Command<
23
22
  > {
24
23
  readonly input: CreateTokenCommandInput;
25
24
  constructor(input: CreateTokenCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: SSOOIDCClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface RegisterClientCommandInput extends RegisterClientRequest {}
18
18
  export interface RegisterClientCommandOutput
19
19
  extends RegisterClientResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class RegisterClientCommand extends $Command<
23
22
  RegisterClientCommandInput,
24
23
  RegisterClientCommandOutput,
@@ -26,7 +25,6 @@ export declare class RegisterClientCommand extends $Command<
26
25
  > {
27
26
  readonly input: RegisterClientCommandInput;
28
27
  constructor(input: RegisterClientCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: SSOOIDCClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface StartDeviceAuthorizationCommandInput
19
19
  export interface StartDeviceAuthorizationCommandOutput
20
20
  extends StartDeviceAuthorizationResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class StartDeviceAuthorizationCommand extends $Command<
24
23
  StartDeviceAuthorizationCommandInput,
25
24
  StartDeviceAuthorizationCommandOutput,
@@ -27,7 +26,6 @@ export declare class StartDeviceAuthorizationCommand extends $Command<
27
26
  > {
28
27
  readonly input: StartDeviceAuthorizationCommandInput;
29
28
  constructor(input: StartDeviceAuthorizationCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SSOOIDCClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class SSOOIDCServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,224 +1,169 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
3
-
4
3
  export declare class AccessDeniedException extends __BaseException {
5
4
  readonly name: "AccessDeniedException";
6
5
  readonly $fault: "client";
7
6
  error?: string;
8
7
  error_description?: string;
9
-
10
8
  constructor(
11
9
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
10
  );
13
11
  }
14
-
15
12
  export declare class AuthorizationPendingException extends __BaseException {
16
13
  readonly name: "AuthorizationPendingException";
17
14
  readonly $fault: "client";
18
15
  error?: string;
19
16
  error_description?: string;
20
-
21
17
  constructor(
22
18
  opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>
23
19
  );
24
20
  }
25
21
  export interface CreateTokenRequest {
26
22
  clientId: string | undefined;
27
-
28
23
  clientSecret: string | undefined;
29
-
30
24
  grantType: string | undefined;
31
-
32
25
  deviceCode?: string;
33
-
34
26
  code?: string;
35
-
36
27
  refreshToken?: string;
37
-
38
28
  scope?: string[];
39
-
40
29
  redirectUri?: string;
41
30
  }
42
31
  export interface CreateTokenResponse {
43
32
  accessToken?: string;
44
-
45
33
  tokenType?: string;
46
-
47
34
  expiresIn?: number;
48
-
49
35
  refreshToken?: string;
50
-
51
36
  idToken?: string;
52
37
  }
53
-
54
38
  export declare class ExpiredTokenException extends __BaseException {
55
39
  readonly name: "ExpiredTokenException";
56
40
  readonly $fault: "client";
57
41
  error?: string;
58
42
  error_description?: string;
59
-
60
43
  constructor(
61
44
  opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
62
45
  );
63
46
  }
64
-
65
47
  export declare class InternalServerException extends __BaseException {
66
48
  readonly name: "InternalServerException";
67
49
  readonly $fault: "server";
68
50
  error?: string;
69
51
  error_description?: string;
70
-
71
52
  constructor(
72
53
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
73
54
  );
74
55
  }
75
-
76
56
  export declare class InvalidClientException extends __BaseException {
77
57
  readonly name: "InvalidClientException";
78
58
  readonly $fault: "client";
79
59
  error?: string;
80
60
  error_description?: string;
81
-
82
61
  constructor(
83
62
  opts: __ExceptionOptionType<InvalidClientException, __BaseException>
84
63
  );
85
64
  }
86
-
87
65
  export declare class InvalidGrantException extends __BaseException {
88
66
  readonly name: "InvalidGrantException";
89
67
  readonly $fault: "client";
90
68
  error?: string;
91
69
  error_description?: string;
92
-
93
70
  constructor(
94
71
  opts: __ExceptionOptionType<InvalidGrantException, __BaseException>
95
72
  );
96
73
  }
97
-
98
74
  export declare class InvalidRequestException extends __BaseException {
99
75
  readonly name: "InvalidRequestException";
100
76
  readonly $fault: "client";
101
77
  error?: string;
102
78
  error_description?: string;
103
-
104
79
  constructor(
105
80
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
106
81
  );
107
82
  }
108
-
109
83
  export declare class InvalidScopeException extends __BaseException {
110
84
  readonly name: "InvalidScopeException";
111
85
  readonly $fault: "client";
112
86
  error?: string;
113
87
  error_description?: string;
114
-
115
88
  constructor(
116
89
  opts: __ExceptionOptionType<InvalidScopeException, __BaseException>
117
90
  );
118
91
  }
119
-
120
92
  export declare class SlowDownException extends __BaseException {
121
93
  readonly name: "SlowDownException";
122
94
  readonly $fault: "client";
123
95
  error?: string;
124
96
  error_description?: string;
125
-
126
97
  constructor(opts: __ExceptionOptionType<SlowDownException, __BaseException>);
127
98
  }
128
-
129
99
  export declare class UnauthorizedClientException extends __BaseException {
130
100
  readonly name: "UnauthorizedClientException";
131
101
  readonly $fault: "client";
132
102
  error?: string;
133
103
  error_description?: string;
134
-
135
104
  constructor(
136
105
  opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
137
106
  );
138
107
  }
139
-
140
108
  export declare class UnsupportedGrantTypeException extends __BaseException {
141
109
  readonly name: "UnsupportedGrantTypeException";
142
110
  readonly $fault: "client";
143
111
  error?: string;
144
112
  error_description?: string;
145
-
146
113
  constructor(
147
114
  opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>
148
115
  );
149
116
  }
150
-
151
117
  export declare class InvalidClientMetadataException extends __BaseException {
152
118
  readonly name: "InvalidClientMetadataException";
153
119
  readonly $fault: "client";
154
120
  error?: string;
155
121
  error_description?: string;
156
-
157
122
  constructor(
158
123
  opts: __ExceptionOptionType<InvalidClientMetadataException, __BaseException>
159
124
  );
160
125
  }
161
126
  export interface RegisterClientRequest {
162
127
  clientName: string | undefined;
163
-
164
128
  clientType: string | undefined;
165
-
166
129
  scopes?: string[];
167
130
  }
168
131
  export interface RegisterClientResponse {
169
132
  clientId?: string;
170
-
171
133
  clientSecret?: string;
172
-
173
134
  clientIdIssuedAt?: number;
174
-
175
135
  clientSecretExpiresAt?: number;
176
-
177
136
  authorizationEndpoint?: string;
178
-
179
137
  tokenEndpoint?: string;
180
138
  }
181
139
  export interface StartDeviceAuthorizationRequest {
182
140
  clientId: string | undefined;
183
-
184
141
  clientSecret: string | undefined;
185
-
186
142
  startUrl: string | undefined;
187
143
  }
188
144
  export interface StartDeviceAuthorizationResponse {
189
145
  deviceCode?: string;
190
-
191
146
  userCode?: string;
192
-
193
147
  verificationUri?: string;
194
-
195
148
  verificationUriComplete?: string;
196
-
197
149
  expiresIn?: number;
198
-
199
150
  interval?: number;
200
151
  }
201
-
202
152
  export declare const CreateTokenRequestFilterSensitiveLog: (
203
153
  obj: CreateTokenRequest
204
154
  ) => any;
205
-
206
155
  export declare const CreateTokenResponseFilterSensitiveLog: (
207
156
  obj: CreateTokenResponse
208
157
  ) => any;
209
-
210
158
  export declare const RegisterClientRequestFilterSensitiveLog: (
211
159
  obj: RegisterClientRequest
212
160
  ) => any;
213
-
214
161
  export declare const RegisterClientResponseFilterSensitiveLog: (
215
162
  obj: RegisterClientResponse
216
163
  ) => any;
217
-
218
164
  export declare const StartDeviceAuthorizationRequestFilterSensitiveLog: (
219
165
  obj: StartDeviceAuthorizationRequest
220
166
  ) => any;
221
-
222
167
  export declare const StartDeviceAuthorizationResponseFilterSensitiveLog: (
223
168
  obj: StartDeviceAuthorizationResponse
224
169
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SSOOIDCClientConfig } from "./SSOOIDCClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { SSOOIDCClientConfig } from "./SSOOIDCClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,5 +1,4 @@
1
1
  import { SSOOIDCClientConfig } from "./SSOOIDCClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { SSOOIDCClientConfig } from "./SSOOIDCClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
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.170.0",
4
+ "version": "3.171.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",
@@ -19,32 +19,32 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/config-resolver": "3.170.0",
23
- "@aws-sdk/fetch-http-handler": "3.170.0",
24
- "@aws-sdk/hash-node": "3.170.0",
25
- "@aws-sdk/invalid-dependency": "3.170.0",
26
- "@aws-sdk/middleware-content-length": "3.170.0",
27
- "@aws-sdk/middleware-host-header": "3.170.0",
28
- "@aws-sdk/middleware-logger": "3.170.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
30
- "@aws-sdk/middleware-retry": "3.170.0",
31
- "@aws-sdk/middleware-serde": "3.170.0",
32
- "@aws-sdk/middleware-stack": "3.170.0",
33
- "@aws-sdk/middleware-user-agent": "3.170.0",
34
- "@aws-sdk/node-config-provider": "3.170.0",
35
- "@aws-sdk/node-http-handler": "3.170.0",
36
- "@aws-sdk/protocol-http": "3.170.0",
37
- "@aws-sdk/smithy-client": "3.170.0",
38
- "@aws-sdk/types": "3.170.0",
39
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/config-resolver": "3.171.0",
23
+ "@aws-sdk/fetch-http-handler": "3.171.0",
24
+ "@aws-sdk/hash-node": "3.171.0",
25
+ "@aws-sdk/invalid-dependency": "3.171.0",
26
+ "@aws-sdk/middleware-content-length": "3.171.0",
27
+ "@aws-sdk/middleware-host-header": "3.171.0",
28
+ "@aws-sdk/middleware-logger": "3.171.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
30
+ "@aws-sdk/middleware-retry": "3.171.0",
31
+ "@aws-sdk/middleware-serde": "3.171.0",
32
+ "@aws-sdk/middleware-stack": "3.171.0",
33
+ "@aws-sdk/middleware-user-agent": "3.171.0",
34
+ "@aws-sdk/node-config-provider": "3.171.0",
35
+ "@aws-sdk/node-http-handler": "3.171.0",
36
+ "@aws-sdk/protocol-http": "3.171.0",
37
+ "@aws-sdk/smithy-client": "3.171.0",
38
+ "@aws-sdk/types": "3.171.0",
39
+ "@aws-sdk/url-parser": "3.171.0",
40
40
  "@aws-sdk/util-base64-browser": "3.170.0",
41
41
  "@aws-sdk/util-base64-node": "3.170.0",
42
42
  "@aws-sdk/util-body-length-browser": "3.170.0",
43
43
  "@aws-sdk/util-body-length-node": "3.170.0",
44
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
45
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
46
- "@aws-sdk/util-user-agent-browser": "3.170.0",
47
- "@aws-sdk/util-user-agent-node": "3.170.0",
44
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
45
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
46
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
47
+ "@aws-sdk/util-user-agent-node": "3.171.0",
48
48
  "@aws-sdk/util-utf8-browser": "3.170.0",
49
49
  "@aws-sdk/util-utf8-node": "3.170.0",
50
50
  "tslib": "^2.3.1"