@aws-sdk/client-sso-oidc 3.183.0 → 3.185.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,187 +1,176 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- constructor(opts) {
4
- super({
5
- name: "AccessDeniedException",
6
- $fault: "client",
7
- ...opts,
8
- });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- this.error = opts.error;
13
- this.error_description = opts.error_description;
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ _this.error = opts.error;
11
+ _this.error_description = opts.error_description;
12
+ return _this;
14
13
  }
15
- }
16
- export class AuthorizationPendingException extends __BaseException {
17
- constructor(opts) {
18
- super({
19
- name: "AuthorizationPendingException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- this.name = "AuthorizationPendingException";
24
- this.$fault = "client";
25
- Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
26
- this.error = opts.error;
27
- this.error_description = opts.error_description;
14
+ return AccessDeniedException;
15
+ }(__BaseException));
16
+ export { AccessDeniedException };
17
+ var AuthorizationPendingException = (function (_super) {
18
+ __extends(AuthorizationPendingException, _super);
19
+ function AuthorizationPendingException(opts) {
20
+ var _this = _super.call(this, __assign({ name: "AuthorizationPendingException", $fault: "client" }, opts)) || this;
21
+ _this.name = "AuthorizationPendingException";
22
+ _this.$fault = "client";
23
+ Object.setPrototypeOf(_this, AuthorizationPendingException.prototype);
24
+ _this.error = opts.error;
25
+ _this.error_description = opts.error_description;
26
+ return _this;
28
27
  }
29
- }
30
- export class ExpiredTokenException extends __BaseException {
31
- constructor(opts) {
32
- super({
33
- name: "ExpiredTokenException",
34
- $fault: "client",
35
- ...opts,
36
- });
37
- this.name = "ExpiredTokenException";
38
- this.$fault = "client";
39
- Object.setPrototypeOf(this, ExpiredTokenException.prototype);
40
- this.error = opts.error;
41
- this.error_description = opts.error_description;
28
+ return AuthorizationPendingException;
29
+ }(__BaseException));
30
+ export { AuthorizationPendingException };
31
+ var ExpiredTokenException = (function (_super) {
32
+ __extends(ExpiredTokenException, _super);
33
+ function ExpiredTokenException(opts) {
34
+ var _this = _super.call(this, __assign({ name: "ExpiredTokenException", $fault: "client" }, opts)) || this;
35
+ _this.name = "ExpiredTokenException";
36
+ _this.$fault = "client";
37
+ Object.setPrototypeOf(_this, ExpiredTokenException.prototype);
38
+ _this.error = opts.error;
39
+ _this.error_description = opts.error_description;
40
+ return _this;
42
41
  }
43
- }
44
- export class InternalServerException extends __BaseException {
45
- constructor(opts) {
46
- super({
47
- name: "InternalServerException",
48
- $fault: "server",
49
- ...opts,
50
- });
51
- this.name = "InternalServerException";
52
- this.$fault = "server";
53
- Object.setPrototypeOf(this, InternalServerException.prototype);
54
- this.error = opts.error;
55
- this.error_description = opts.error_description;
42
+ return ExpiredTokenException;
43
+ }(__BaseException));
44
+ export { ExpiredTokenException };
45
+ var InternalServerException = (function (_super) {
46
+ __extends(InternalServerException, _super);
47
+ function InternalServerException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
49
+ _this.name = "InternalServerException";
50
+ _this.$fault = "server";
51
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
52
+ _this.error = opts.error;
53
+ _this.error_description = opts.error_description;
54
+ return _this;
56
55
  }
57
- }
58
- export class InvalidClientException extends __BaseException {
59
- constructor(opts) {
60
- super({
61
- name: "InvalidClientException",
62
- $fault: "client",
63
- ...opts,
64
- });
65
- this.name = "InvalidClientException";
66
- this.$fault = "client";
67
- Object.setPrototypeOf(this, InvalidClientException.prototype);
68
- this.error = opts.error;
69
- this.error_description = opts.error_description;
56
+ return InternalServerException;
57
+ }(__BaseException));
58
+ export { InternalServerException };
59
+ var InvalidClientException = (function (_super) {
60
+ __extends(InvalidClientException, _super);
61
+ function InvalidClientException(opts) {
62
+ var _this = _super.call(this, __assign({ name: "InvalidClientException", $fault: "client" }, opts)) || this;
63
+ _this.name = "InvalidClientException";
64
+ _this.$fault = "client";
65
+ Object.setPrototypeOf(_this, InvalidClientException.prototype);
66
+ _this.error = opts.error;
67
+ _this.error_description = opts.error_description;
68
+ return _this;
70
69
  }
71
- }
72
- export class InvalidGrantException extends __BaseException {
73
- constructor(opts) {
74
- super({
75
- name: "InvalidGrantException",
76
- $fault: "client",
77
- ...opts,
78
- });
79
- this.name = "InvalidGrantException";
80
- this.$fault = "client";
81
- Object.setPrototypeOf(this, InvalidGrantException.prototype);
82
- this.error = opts.error;
83
- this.error_description = opts.error_description;
70
+ return InvalidClientException;
71
+ }(__BaseException));
72
+ export { InvalidClientException };
73
+ var InvalidGrantException = (function (_super) {
74
+ __extends(InvalidGrantException, _super);
75
+ function InvalidGrantException(opts) {
76
+ var _this = _super.call(this, __assign({ name: "InvalidGrantException", $fault: "client" }, opts)) || this;
77
+ _this.name = "InvalidGrantException";
78
+ _this.$fault = "client";
79
+ Object.setPrototypeOf(_this, InvalidGrantException.prototype);
80
+ _this.error = opts.error;
81
+ _this.error_description = opts.error_description;
82
+ return _this;
84
83
  }
85
- }
86
- export class InvalidRequestException extends __BaseException {
87
- constructor(opts) {
88
- super({
89
- name: "InvalidRequestException",
90
- $fault: "client",
91
- ...opts,
92
- });
93
- this.name = "InvalidRequestException";
94
- this.$fault = "client";
95
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
96
- this.error = opts.error;
97
- this.error_description = opts.error_description;
84
+ return InvalidGrantException;
85
+ }(__BaseException));
86
+ export { InvalidGrantException };
87
+ var InvalidRequestException = (function (_super) {
88
+ __extends(InvalidRequestException, _super);
89
+ function InvalidRequestException(opts) {
90
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
91
+ _this.name = "InvalidRequestException";
92
+ _this.$fault = "client";
93
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
94
+ _this.error = opts.error;
95
+ _this.error_description = opts.error_description;
96
+ return _this;
98
97
  }
99
- }
100
- export class InvalidScopeException extends __BaseException {
101
- constructor(opts) {
102
- super({
103
- name: "InvalidScopeException",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- this.name = "InvalidScopeException";
108
- this.$fault = "client";
109
- Object.setPrototypeOf(this, InvalidScopeException.prototype);
110
- this.error = opts.error;
111
- this.error_description = opts.error_description;
98
+ return InvalidRequestException;
99
+ }(__BaseException));
100
+ export { InvalidRequestException };
101
+ var InvalidScopeException = (function (_super) {
102
+ __extends(InvalidScopeException, _super);
103
+ function InvalidScopeException(opts) {
104
+ var _this = _super.call(this, __assign({ name: "InvalidScopeException", $fault: "client" }, opts)) || this;
105
+ _this.name = "InvalidScopeException";
106
+ _this.$fault = "client";
107
+ Object.setPrototypeOf(_this, InvalidScopeException.prototype);
108
+ _this.error = opts.error;
109
+ _this.error_description = opts.error_description;
110
+ return _this;
112
111
  }
113
- }
114
- export class SlowDownException extends __BaseException {
115
- constructor(opts) {
116
- super({
117
- name: "SlowDownException",
118
- $fault: "client",
119
- ...opts,
120
- });
121
- this.name = "SlowDownException";
122
- this.$fault = "client";
123
- Object.setPrototypeOf(this, SlowDownException.prototype);
124
- this.error = opts.error;
125
- this.error_description = opts.error_description;
112
+ return InvalidScopeException;
113
+ }(__BaseException));
114
+ export { InvalidScopeException };
115
+ var SlowDownException = (function (_super) {
116
+ __extends(SlowDownException, _super);
117
+ function SlowDownException(opts) {
118
+ var _this = _super.call(this, __assign({ name: "SlowDownException", $fault: "client" }, opts)) || this;
119
+ _this.name = "SlowDownException";
120
+ _this.$fault = "client";
121
+ Object.setPrototypeOf(_this, SlowDownException.prototype);
122
+ _this.error = opts.error;
123
+ _this.error_description = opts.error_description;
124
+ return _this;
126
125
  }
127
- }
128
- export class UnauthorizedClientException extends __BaseException {
129
- constructor(opts) {
130
- super({
131
- name: "UnauthorizedClientException",
132
- $fault: "client",
133
- ...opts,
134
- });
135
- this.name = "UnauthorizedClientException";
136
- this.$fault = "client";
137
- Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
138
- this.error = opts.error;
139
- this.error_description = opts.error_description;
126
+ return SlowDownException;
127
+ }(__BaseException));
128
+ export { SlowDownException };
129
+ var UnauthorizedClientException = (function (_super) {
130
+ __extends(UnauthorizedClientException, _super);
131
+ function UnauthorizedClientException(opts) {
132
+ var _this = _super.call(this, __assign({ name: "UnauthorizedClientException", $fault: "client" }, opts)) || this;
133
+ _this.name = "UnauthorizedClientException";
134
+ _this.$fault = "client";
135
+ Object.setPrototypeOf(_this, UnauthorizedClientException.prototype);
136
+ _this.error = opts.error;
137
+ _this.error_description = opts.error_description;
138
+ return _this;
140
139
  }
141
- }
142
- export class UnsupportedGrantTypeException extends __BaseException {
143
- constructor(opts) {
144
- super({
145
- name: "UnsupportedGrantTypeException",
146
- $fault: "client",
147
- ...opts,
148
- });
149
- this.name = "UnsupportedGrantTypeException";
150
- this.$fault = "client";
151
- Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
152
- this.error = opts.error;
153
- this.error_description = opts.error_description;
140
+ return UnauthorizedClientException;
141
+ }(__BaseException));
142
+ export { UnauthorizedClientException };
143
+ var UnsupportedGrantTypeException = (function (_super) {
144
+ __extends(UnsupportedGrantTypeException, _super);
145
+ function UnsupportedGrantTypeException(opts) {
146
+ var _this = _super.call(this, __assign({ name: "UnsupportedGrantTypeException", $fault: "client" }, opts)) || this;
147
+ _this.name = "UnsupportedGrantTypeException";
148
+ _this.$fault = "client";
149
+ Object.setPrototypeOf(_this, UnsupportedGrantTypeException.prototype);
150
+ _this.error = opts.error;
151
+ _this.error_description = opts.error_description;
152
+ return _this;
154
153
  }
155
- }
156
- export class InvalidClientMetadataException extends __BaseException {
157
- constructor(opts) {
158
- super({
159
- name: "InvalidClientMetadataException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- this.name = "InvalidClientMetadataException";
164
- this.$fault = "client";
165
- Object.setPrototypeOf(this, InvalidClientMetadataException.prototype);
166
- this.error = opts.error;
167
- this.error_description = opts.error_description;
154
+ return UnsupportedGrantTypeException;
155
+ }(__BaseException));
156
+ export { UnsupportedGrantTypeException };
157
+ var InvalidClientMetadataException = (function (_super) {
158
+ __extends(InvalidClientMetadataException, _super);
159
+ function InvalidClientMetadataException(opts) {
160
+ var _this = _super.call(this, __assign({ name: "InvalidClientMetadataException", $fault: "client" }, opts)) || this;
161
+ _this.name = "InvalidClientMetadataException";
162
+ _this.$fault = "client";
163
+ Object.setPrototypeOf(_this, InvalidClientMetadataException.prototype);
164
+ _this.error = opts.error;
165
+ _this.error_description = opts.error_description;
166
+ return _this;
168
167
  }
169
- }
170
- export const CreateTokenRequestFilterSensitiveLog = (obj) => ({
171
- ...obj,
172
- });
173
- export const CreateTokenResponseFilterSensitiveLog = (obj) => ({
174
- ...obj,
175
- });
176
- export const RegisterClientRequestFilterSensitiveLog = (obj) => ({
177
- ...obj,
178
- });
179
- export const RegisterClientResponseFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- });
182
- export const StartDeviceAuthorizationRequestFilterSensitiveLog = (obj) => ({
183
- ...obj,
184
- });
185
- export const StartDeviceAuthorizationResponseFilterSensitiveLog = (obj) => ({
186
- ...obj,
187
- });
168
+ return InvalidClientMetadataException;
169
+ }(__BaseException));
170
+ export { InvalidClientMetadataException };
171
+ export var CreateTokenRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
172
+ export var CreateTokenResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
173
+ export var RegisterClientRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
174
+ export var RegisterClientResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
175
+ export var StartDeviceAuthorizationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
176
+ export var StartDeviceAuthorizationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };