@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/SSOOIDC.js +21 -14
- package/dist-es/SSOOIDCClient.js +26 -20
- package/dist-es/commands/CreateTokenCommand.js +28 -21
- package/dist-es/commands/RegisterClientCommand.js +28 -21
- package/dist-es/commands/StartDeviceAuthorizationCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SSOOIDCServiceException.js +10 -5
- package/dist-es/models/models_0.js +163 -174
- package/dist-es/protocols/Aws_restJson1.js +560 -454
- package/dist-es/runtimeConfig.browser.js +12 -25
- package/dist-es/runtimeConfig.js +12 -29
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +3 -3
|
@@ -1,187 +1,176 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
-
|
|
171
|
-
|
|
172
|
-
});
|
|
173
|
-
export
|
|
174
|
-
|
|
175
|
-
});
|
|
176
|
-
export
|
|
177
|
-
|
|
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)); };
|