@aws-sdk/client-sso-oidc 3.489.0 → 3.495.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.
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SSOOIDCServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SSOOIDCServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
10
- }
11
- }
12
- exports.SSOOIDCServiceException = SSOOIDCServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,239 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartDeviceAuthorizationRequestFilterSensitiveLog = exports.RegisterClientResponseFilterSensitiveLog = exports.CreateTokenWithIAMResponseFilterSensitiveLog = exports.CreateTokenWithIAMRequestFilterSensitiveLog = exports.CreateTokenResponseFilterSensitiveLog = exports.CreateTokenRequestFilterSensitiveLog = exports.InvalidClientMetadataException = exports.InvalidRequestRegionException = exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const SSOOIDCServiceException_1 = require("./SSOOIDCServiceException");
6
- class AccessDeniedException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- this.error = opts.error;
17
- this.error_description = opts.error_description;
18
- }
19
- }
20
- exports.AccessDeniedException = AccessDeniedException;
21
- class AuthorizationPendingException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
22
- constructor(opts) {
23
- super({
24
- name: "AuthorizationPendingException",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- this.name = "AuthorizationPendingException";
29
- this.$fault = "client";
30
- Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
31
- this.error = opts.error;
32
- this.error_description = opts.error_description;
33
- }
34
- }
35
- exports.AuthorizationPendingException = AuthorizationPendingException;
36
- class ExpiredTokenException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
37
- constructor(opts) {
38
- super({
39
- name: "ExpiredTokenException",
40
- $fault: "client",
41
- ...opts,
42
- });
43
- this.name = "ExpiredTokenException";
44
- this.$fault = "client";
45
- Object.setPrototypeOf(this, ExpiredTokenException.prototype);
46
- this.error = opts.error;
47
- this.error_description = opts.error_description;
48
- }
49
- }
50
- exports.ExpiredTokenException = ExpiredTokenException;
51
- class InternalServerException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "InternalServerException",
55
- $fault: "server",
56
- ...opts,
57
- });
58
- this.name = "InternalServerException";
59
- this.$fault = "server";
60
- Object.setPrototypeOf(this, InternalServerException.prototype);
61
- this.error = opts.error;
62
- this.error_description = opts.error_description;
63
- }
64
- }
65
- exports.InternalServerException = InternalServerException;
66
- class InvalidClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
67
- constructor(opts) {
68
- super({
69
- name: "InvalidClientException",
70
- $fault: "client",
71
- ...opts,
72
- });
73
- this.name = "InvalidClientException";
74
- this.$fault = "client";
75
- Object.setPrototypeOf(this, InvalidClientException.prototype);
76
- this.error = opts.error;
77
- this.error_description = opts.error_description;
78
- }
79
- }
80
- exports.InvalidClientException = InvalidClientException;
81
- class InvalidGrantException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
82
- constructor(opts) {
83
- super({
84
- name: "InvalidGrantException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- this.name = "InvalidGrantException";
89
- this.$fault = "client";
90
- Object.setPrototypeOf(this, InvalidGrantException.prototype);
91
- this.error = opts.error;
92
- this.error_description = opts.error_description;
93
- }
94
- }
95
- exports.InvalidGrantException = InvalidGrantException;
96
- class InvalidRequestException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
97
- constructor(opts) {
98
- super({
99
- name: "InvalidRequestException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- this.name = "InvalidRequestException";
104
- this.$fault = "client";
105
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
106
- this.error = opts.error;
107
- this.error_description = opts.error_description;
108
- }
109
- }
110
- exports.InvalidRequestException = InvalidRequestException;
111
- class InvalidScopeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
112
- constructor(opts) {
113
- super({
114
- name: "InvalidScopeException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- this.name = "InvalidScopeException";
119
- this.$fault = "client";
120
- Object.setPrototypeOf(this, InvalidScopeException.prototype);
121
- this.error = opts.error;
122
- this.error_description = opts.error_description;
123
- }
124
- }
125
- exports.InvalidScopeException = InvalidScopeException;
126
- class SlowDownException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
127
- constructor(opts) {
128
- super({
129
- name: "SlowDownException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- this.name = "SlowDownException";
134
- this.$fault = "client";
135
- Object.setPrototypeOf(this, SlowDownException.prototype);
136
- this.error = opts.error;
137
- this.error_description = opts.error_description;
138
- }
139
- }
140
- exports.SlowDownException = SlowDownException;
141
- class UnauthorizedClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
142
- constructor(opts) {
143
- super({
144
- name: "UnauthorizedClientException",
145
- $fault: "client",
146
- ...opts,
147
- });
148
- this.name = "UnauthorizedClientException";
149
- this.$fault = "client";
150
- Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
151
- this.error = opts.error;
152
- this.error_description = opts.error_description;
153
- }
154
- }
155
- exports.UnauthorizedClientException = UnauthorizedClientException;
156
- class UnsupportedGrantTypeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
157
- constructor(opts) {
158
- super({
159
- name: "UnsupportedGrantTypeException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- this.name = "UnsupportedGrantTypeException";
164
- this.$fault = "client";
165
- Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
166
- this.error = opts.error;
167
- this.error_description = opts.error_description;
168
- }
169
- }
170
- exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
171
- class InvalidRequestRegionException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
172
- constructor(opts) {
173
- super({
174
- name: "InvalidRequestRegionException",
175
- $fault: "client",
176
- ...opts,
177
- });
178
- this.name = "InvalidRequestRegionException";
179
- this.$fault = "client";
180
- Object.setPrototypeOf(this, InvalidRequestRegionException.prototype);
181
- this.error = opts.error;
182
- this.error_description = opts.error_description;
183
- this.endpoint = opts.endpoint;
184
- this.region = opts.region;
185
- }
186
- }
187
- exports.InvalidRequestRegionException = InvalidRequestRegionException;
188
- class InvalidClientMetadataException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
189
- constructor(opts) {
190
- super({
191
- name: "InvalidClientMetadataException",
192
- $fault: "client",
193
- ...opts,
194
- });
195
- this.name = "InvalidClientMetadataException";
196
- this.$fault = "client";
197
- Object.setPrototypeOf(this, InvalidClientMetadataException.prototype);
198
- this.error = opts.error;
199
- this.error_description = opts.error_description;
200
- }
201
- }
202
- exports.InvalidClientMetadataException = InvalidClientMetadataException;
203
- const CreateTokenRequestFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- ...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
206
- ...(obj.refreshToken && { refreshToken: smithy_client_1.SENSITIVE_STRING }),
207
- });
208
- exports.CreateTokenRequestFilterSensitiveLog = CreateTokenRequestFilterSensitiveLog;
209
- const CreateTokenResponseFilterSensitiveLog = (obj) => ({
210
- ...obj,
211
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
212
- ...(obj.refreshToken && { refreshToken: smithy_client_1.SENSITIVE_STRING }),
213
- ...(obj.idToken && { idToken: smithy_client_1.SENSITIVE_STRING }),
214
- });
215
- exports.CreateTokenResponseFilterSensitiveLog = CreateTokenResponseFilterSensitiveLog;
216
- const CreateTokenWithIAMRequestFilterSensitiveLog = (obj) => ({
217
- ...obj,
218
- ...(obj.refreshToken && { refreshToken: smithy_client_1.SENSITIVE_STRING }),
219
- ...(obj.assertion && { assertion: smithy_client_1.SENSITIVE_STRING }),
220
- ...(obj.subjectToken && { subjectToken: smithy_client_1.SENSITIVE_STRING }),
221
- });
222
- exports.CreateTokenWithIAMRequestFilterSensitiveLog = CreateTokenWithIAMRequestFilterSensitiveLog;
223
- const CreateTokenWithIAMResponseFilterSensitiveLog = (obj) => ({
224
- ...obj,
225
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
226
- ...(obj.refreshToken && { refreshToken: smithy_client_1.SENSITIVE_STRING }),
227
- ...(obj.idToken && { idToken: smithy_client_1.SENSITIVE_STRING }),
228
- });
229
- exports.CreateTokenWithIAMResponseFilterSensitiveLog = CreateTokenWithIAMResponseFilterSensitiveLog;
230
- const RegisterClientResponseFilterSensitiveLog = (obj) => ({
231
- ...obj,
232
- ...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
233
- });
234
- exports.RegisterClientResponseFilterSensitiveLog = RegisterClientResponseFilterSensitiveLog;
235
- const StartDeviceAuthorizationRequestFilterSensitiveLog = (obj) => ({
236
- ...obj,
237
- ...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
238
- });
239
- exports.StartDeviceAuthorizationRequestFilterSensitiveLog = StartDeviceAuthorizationRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");