@aws-sdk/client-sts 3.501.0 → 3.502.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.STSServiceException = 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 STSServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, STSServiceException.prototype);
10
- }
11
- }
12
- exports.STSServiceException = STSServiceException;
1
+ module.exports = require("../index.js");
@@ -1,149 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSessionTokenResponseFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = exports.AssumeRoleResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.InvalidAuthorizationMessageException = exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const STSServiceException_1 = require("./STSServiceException");
6
- class ExpiredTokenException extends STSServiceException_1.STSServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "ExpiredTokenException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "ExpiredTokenException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, ExpiredTokenException.prototype);
16
- }
17
- }
18
- exports.ExpiredTokenException = ExpiredTokenException;
19
- class MalformedPolicyDocumentException extends STSServiceException_1.STSServiceException {
20
- constructor(opts) {
21
- super({
22
- name: "MalformedPolicyDocumentException",
23
- $fault: "client",
24
- ...opts,
25
- });
26
- this.name = "MalformedPolicyDocumentException";
27
- this.$fault = "client";
28
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
29
- }
30
- }
31
- exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
32
- class PackedPolicyTooLargeException extends STSServiceException_1.STSServiceException {
33
- constructor(opts) {
34
- super({
35
- name: "PackedPolicyTooLargeException",
36
- $fault: "client",
37
- ...opts,
38
- });
39
- this.name = "PackedPolicyTooLargeException";
40
- this.$fault = "client";
41
- Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
42
- }
43
- }
44
- exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
45
- class RegionDisabledException extends STSServiceException_1.STSServiceException {
46
- constructor(opts) {
47
- super({
48
- name: "RegionDisabledException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- this.name = "RegionDisabledException";
53
- this.$fault = "client";
54
- Object.setPrototypeOf(this, RegionDisabledException.prototype);
55
- }
56
- }
57
- exports.RegionDisabledException = RegionDisabledException;
58
- class IDPRejectedClaimException extends STSServiceException_1.STSServiceException {
59
- constructor(opts) {
60
- super({
61
- name: "IDPRejectedClaimException",
62
- $fault: "client",
63
- ...opts,
64
- });
65
- this.name = "IDPRejectedClaimException";
66
- this.$fault = "client";
67
- Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
68
- }
69
- }
70
- exports.IDPRejectedClaimException = IDPRejectedClaimException;
71
- class InvalidIdentityTokenException extends STSServiceException_1.STSServiceException {
72
- constructor(opts) {
73
- super({
74
- name: "InvalidIdentityTokenException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- this.name = "InvalidIdentityTokenException";
79
- this.$fault = "client";
80
- Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
81
- }
82
- }
83
- exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
84
- class IDPCommunicationErrorException extends STSServiceException_1.STSServiceException {
85
- constructor(opts) {
86
- super({
87
- name: "IDPCommunicationErrorException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- this.name = "IDPCommunicationErrorException";
92
- this.$fault = "client";
93
- Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
94
- }
95
- }
96
- exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
97
- class InvalidAuthorizationMessageException extends STSServiceException_1.STSServiceException {
98
- constructor(opts) {
99
- super({
100
- name: "InvalidAuthorizationMessageException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- this.name = "InvalidAuthorizationMessageException";
105
- this.$fault = "client";
106
- Object.setPrototypeOf(this, InvalidAuthorizationMessageException.prototype);
107
- }
108
- }
109
- exports.InvalidAuthorizationMessageException = InvalidAuthorizationMessageException;
110
- const CredentialsFilterSensitiveLog = (obj) => ({
111
- ...obj,
112
- ...(obj.SecretAccessKey && { SecretAccessKey: smithy_client_1.SENSITIVE_STRING }),
113
- });
114
- exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog;
115
- const AssumeRoleResponseFilterSensitiveLog = (obj) => ({
116
- ...obj,
117
- ...(obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) }),
118
- });
119
- exports.AssumeRoleResponseFilterSensitiveLog = AssumeRoleResponseFilterSensitiveLog;
120
- const AssumeRoleWithSAMLRequestFilterSensitiveLog = (obj) => ({
121
- ...obj,
122
- ...(obj.SAMLAssertion && { SAMLAssertion: smithy_client_1.SENSITIVE_STRING }),
123
- });
124
- exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = AssumeRoleWithSAMLRequestFilterSensitiveLog;
125
- const AssumeRoleWithSAMLResponseFilterSensitiveLog = (obj) => ({
126
- ...obj,
127
- ...(obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) }),
128
- });
129
- exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = AssumeRoleWithSAMLResponseFilterSensitiveLog;
130
- const AssumeRoleWithWebIdentityRequestFilterSensitiveLog = (obj) => ({
131
- ...obj,
132
- ...(obj.WebIdentityToken && { WebIdentityToken: smithy_client_1.SENSITIVE_STRING }),
133
- });
134
- exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = AssumeRoleWithWebIdentityRequestFilterSensitiveLog;
135
- const AssumeRoleWithWebIdentityResponseFilterSensitiveLog = (obj) => ({
136
- ...obj,
137
- ...(obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) }),
138
- });
139
- exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = AssumeRoleWithWebIdentityResponseFilterSensitiveLog;
140
- const GetFederationTokenResponseFilterSensitiveLog = (obj) => ({
141
- ...obj,
142
- ...(obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) }),
143
- });
144
- exports.GetFederationTokenResponseFilterSensitiveLog = GetFederationTokenResponseFilterSensitiveLog;
145
- const GetSessionTokenResponseFilterSensitiveLog = (obj) => ({
146
- ...obj,
147
- ...(obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) }),
148
- });
149
- exports.GetSessionTokenResponseFilterSensitiveLog = GetSessionTokenResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");