@aws-sdk/client-sts 3.186.0 → 3.190.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,119 +1,160 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { STSServiceException as __BaseException } from "./STSServiceException";
3
- var ExpiredTokenException = (function (_super) {
4
- __extends(ExpiredTokenException, _super);
5
- function ExpiredTokenException(opts) {
6
- var _this = _super.call(this, __assign({ name: "ExpiredTokenException", $fault: "client" }, opts)) || this;
7
- _this.name = "ExpiredTokenException";
8
- _this.$fault = "client";
9
- Object.setPrototypeOf(_this, ExpiredTokenException.prototype);
10
- return _this;
2
+ export class ExpiredTokenException extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "ExpiredTokenException",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "ExpiredTokenException";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
11
12
  }
12
- return ExpiredTokenException;
13
- }(__BaseException));
14
- export { ExpiredTokenException };
15
- var MalformedPolicyDocumentException = (function (_super) {
16
- __extends(MalformedPolicyDocumentException, _super);
17
- function MalformedPolicyDocumentException(opts) {
18
- var _this = _super.call(this, __assign({ name: "MalformedPolicyDocumentException", $fault: "client" }, opts)) || this;
19
- _this.name = "MalformedPolicyDocumentException";
20
- _this.$fault = "client";
21
- Object.setPrototypeOf(_this, MalformedPolicyDocumentException.prototype);
22
- return _this;
13
+ }
14
+ export class MalformedPolicyDocumentException extends __BaseException {
15
+ constructor(opts) {
16
+ super({
17
+ name: "MalformedPolicyDocumentException",
18
+ $fault: "client",
19
+ ...opts,
20
+ });
21
+ this.name = "MalformedPolicyDocumentException";
22
+ this.$fault = "client";
23
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
23
24
  }
24
- return MalformedPolicyDocumentException;
25
- }(__BaseException));
26
- export { MalformedPolicyDocumentException };
27
- var PackedPolicyTooLargeException = (function (_super) {
28
- __extends(PackedPolicyTooLargeException, _super);
29
- function PackedPolicyTooLargeException(opts) {
30
- var _this = _super.call(this, __assign({ name: "PackedPolicyTooLargeException", $fault: "client" }, opts)) || this;
31
- _this.name = "PackedPolicyTooLargeException";
32
- _this.$fault = "client";
33
- Object.setPrototypeOf(_this, PackedPolicyTooLargeException.prototype);
34
- return _this;
25
+ }
26
+ export class PackedPolicyTooLargeException extends __BaseException {
27
+ constructor(opts) {
28
+ super({
29
+ name: "PackedPolicyTooLargeException",
30
+ $fault: "client",
31
+ ...opts,
32
+ });
33
+ this.name = "PackedPolicyTooLargeException";
34
+ this.$fault = "client";
35
+ Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
35
36
  }
36
- return PackedPolicyTooLargeException;
37
- }(__BaseException));
38
- export { PackedPolicyTooLargeException };
39
- var RegionDisabledException = (function (_super) {
40
- __extends(RegionDisabledException, _super);
41
- function RegionDisabledException(opts) {
42
- var _this = _super.call(this, __assign({ name: "RegionDisabledException", $fault: "client" }, opts)) || this;
43
- _this.name = "RegionDisabledException";
44
- _this.$fault = "client";
45
- Object.setPrototypeOf(_this, RegionDisabledException.prototype);
46
- return _this;
37
+ }
38
+ export class RegionDisabledException extends __BaseException {
39
+ constructor(opts) {
40
+ super({
41
+ name: "RegionDisabledException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ this.name = "RegionDisabledException";
46
+ this.$fault = "client";
47
+ Object.setPrototypeOf(this, RegionDisabledException.prototype);
47
48
  }
48
- return RegionDisabledException;
49
- }(__BaseException));
50
- export { RegionDisabledException };
51
- var IDPRejectedClaimException = (function (_super) {
52
- __extends(IDPRejectedClaimException, _super);
53
- function IDPRejectedClaimException(opts) {
54
- var _this = _super.call(this, __assign({ name: "IDPRejectedClaimException", $fault: "client" }, opts)) || this;
55
- _this.name = "IDPRejectedClaimException";
56
- _this.$fault = "client";
57
- Object.setPrototypeOf(_this, IDPRejectedClaimException.prototype);
58
- return _this;
49
+ }
50
+ export class IDPRejectedClaimException extends __BaseException {
51
+ constructor(opts) {
52
+ super({
53
+ name: "IDPRejectedClaimException",
54
+ $fault: "client",
55
+ ...opts,
56
+ });
57
+ this.name = "IDPRejectedClaimException";
58
+ this.$fault = "client";
59
+ Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
59
60
  }
60
- return IDPRejectedClaimException;
61
- }(__BaseException));
62
- export { IDPRejectedClaimException };
63
- var InvalidIdentityTokenException = (function (_super) {
64
- __extends(InvalidIdentityTokenException, _super);
65
- function InvalidIdentityTokenException(opts) {
66
- var _this = _super.call(this, __assign({ name: "InvalidIdentityTokenException", $fault: "client" }, opts)) || this;
67
- _this.name = "InvalidIdentityTokenException";
68
- _this.$fault = "client";
69
- Object.setPrototypeOf(_this, InvalidIdentityTokenException.prototype);
70
- return _this;
61
+ }
62
+ export class InvalidIdentityTokenException extends __BaseException {
63
+ constructor(opts) {
64
+ super({
65
+ name: "InvalidIdentityTokenException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ this.name = "InvalidIdentityTokenException";
70
+ this.$fault = "client";
71
+ Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
71
72
  }
72
- return InvalidIdentityTokenException;
73
- }(__BaseException));
74
- export { InvalidIdentityTokenException };
75
- var IDPCommunicationErrorException = (function (_super) {
76
- __extends(IDPCommunicationErrorException, _super);
77
- function IDPCommunicationErrorException(opts) {
78
- var _this = _super.call(this, __assign({ name: "IDPCommunicationErrorException", $fault: "client" }, opts)) || this;
79
- _this.name = "IDPCommunicationErrorException";
80
- _this.$fault = "client";
81
- Object.setPrototypeOf(_this, IDPCommunicationErrorException.prototype);
82
- return _this;
73
+ }
74
+ export class IDPCommunicationErrorException extends __BaseException {
75
+ constructor(opts) {
76
+ super({
77
+ name: "IDPCommunicationErrorException",
78
+ $fault: "client",
79
+ ...opts,
80
+ });
81
+ this.name = "IDPCommunicationErrorException";
82
+ this.$fault = "client";
83
+ Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
83
84
  }
84
- return IDPCommunicationErrorException;
85
- }(__BaseException));
86
- export { IDPCommunicationErrorException };
87
- var InvalidAuthorizationMessageException = (function (_super) {
88
- __extends(InvalidAuthorizationMessageException, _super);
89
- function InvalidAuthorizationMessageException(opts) {
90
- var _this = _super.call(this, __assign({ name: "InvalidAuthorizationMessageException", $fault: "client" }, opts)) || this;
91
- _this.name = "InvalidAuthorizationMessageException";
92
- _this.$fault = "client";
93
- Object.setPrototypeOf(_this, InvalidAuthorizationMessageException.prototype);
94
- return _this;
85
+ }
86
+ export class InvalidAuthorizationMessageException extends __BaseException {
87
+ constructor(opts) {
88
+ super({
89
+ name: "InvalidAuthorizationMessageException",
90
+ $fault: "client",
91
+ ...opts,
92
+ });
93
+ this.name = "InvalidAuthorizationMessageException";
94
+ this.$fault = "client";
95
+ Object.setPrototypeOf(this, InvalidAuthorizationMessageException.prototype);
95
96
  }
96
- return InvalidAuthorizationMessageException;
97
- }(__BaseException));
98
- export { InvalidAuthorizationMessageException };
99
- export var AssumedRoleUserFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
100
- export var PolicyDescriptorTypeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
- export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
- export var AssumeRoleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
103
- export var CredentialsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
104
- export var AssumeRoleResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
- export var AssumeRoleWithSAMLRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
106
- export var AssumeRoleWithSAMLResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
- export var AssumeRoleWithWebIdentityRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
- export var AssumeRoleWithWebIdentityResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
- export var DecodeAuthorizationMessageRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
110
- export var DecodeAuthorizationMessageResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
111
- export var GetAccessKeyInfoRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
112
- export var GetAccessKeyInfoResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
113
- export var GetCallerIdentityRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
114
- export var GetCallerIdentityResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
115
- export var GetFederationTokenRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
116
- export var FederatedUserFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
- export var GetFederationTokenResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
118
- export var GetSessionTokenRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
119
- export var GetSessionTokenResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
97
+ }
98
+ export const AssumedRoleUserFilterSensitiveLog = (obj) => ({
99
+ ...obj,
100
+ });
101
+ export const PolicyDescriptorTypeFilterSensitiveLog = (obj) => ({
102
+ ...obj,
103
+ });
104
+ export const TagFilterSensitiveLog = (obj) => ({
105
+ ...obj,
106
+ });
107
+ export const AssumeRoleRequestFilterSensitiveLog = (obj) => ({
108
+ ...obj,
109
+ });
110
+ export const CredentialsFilterSensitiveLog = (obj) => ({
111
+ ...obj,
112
+ });
113
+ export const AssumeRoleResponseFilterSensitiveLog = (obj) => ({
114
+ ...obj,
115
+ });
116
+ export const AssumeRoleWithSAMLRequestFilterSensitiveLog = (obj) => ({
117
+ ...obj,
118
+ });
119
+ export const AssumeRoleWithSAMLResponseFilterSensitiveLog = (obj) => ({
120
+ ...obj,
121
+ });
122
+ export const AssumeRoleWithWebIdentityRequestFilterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ });
125
+ export const AssumeRoleWithWebIdentityResponseFilterSensitiveLog = (obj) => ({
126
+ ...obj,
127
+ });
128
+ export const DecodeAuthorizationMessageRequestFilterSensitiveLog = (obj) => ({
129
+ ...obj,
130
+ });
131
+ export const DecodeAuthorizationMessageResponseFilterSensitiveLog = (obj) => ({
132
+ ...obj,
133
+ });
134
+ export const GetAccessKeyInfoRequestFilterSensitiveLog = (obj) => ({
135
+ ...obj,
136
+ });
137
+ export const GetAccessKeyInfoResponseFilterSensitiveLog = (obj) => ({
138
+ ...obj,
139
+ });
140
+ export const GetCallerIdentityRequestFilterSensitiveLog = (obj) => ({
141
+ ...obj,
142
+ });
143
+ export const GetCallerIdentityResponseFilterSensitiveLog = (obj) => ({
144
+ ...obj,
145
+ });
146
+ export const GetFederationTokenRequestFilterSensitiveLog = (obj) => ({
147
+ ...obj,
148
+ });
149
+ export const FederatedUserFilterSensitiveLog = (obj) => ({
150
+ ...obj,
151
+ });
152
+ export const GetFederationTokenResponseFilterSensitiveLog = (obj) => ({
153
+ ...obj,
154
+ });
155
+ export const GetSessionTokenRequestFilterSensitiveLog = (obj) => ({
156
+ ...obj,
157
+ });
158
+ export const GetSessionTokenResponseFilterSensitiveLog = (obj) => ({
159
+ ...obj,
160
+ });