@aws-sdk/client-mpa 3.893.0 → 3.895.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.
Files changed (42) hide show
  1. package/dist-cjs/index.js +2063 -10
  2. package/package.json +7 -7
  3. package/dist-cjs/MPA.js +0 -53
  4. package/dist-cjs/MPAClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/CancelSessionCommand.js +0 -26
  7. package/dist-cjs/commands/CreateApprovalTeamCommand.js +0 -27
  8. package/dist-cjs/commands/CreateIdentitySourceCommand.js +0 -27
  9. package/dist-cjs/commands/DeleteIdentitySourceCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteInactiveApprovalTeamVersionCommand.js +0 -26
  11. package/dist-cjs/commands/GetApprovalTeamCommand.js +0 -27
  12. package/dist-cjs/commands/GetIdentitySourceCommand.js +0 -26
  13. package/dist-cjs/commands/GetPolicyVersionCommand.js +0 -27
  14. package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -27
  15. package/dist-cjs/commands/GetSessionCommand.js +0 -27
  16. package/dist-cjs/commands/ListApprovalTeamsCommand.js +0 -27
  17. package/dist-cjs/commands/ListIdentitySourcesCommand.js +0 -26
  18. package/dist-cjs/commands/ListPoliciesCommand.js +0 -26
  19. package/dist-cjs/commands/ListPolicyVersionsCommand.js +0 -26
  20. package/dist-cjs/commands/ListResourcePoliciesCommand.js +0 -26
  21. package/dist-cjs/commands/ListSessionsCommand.js +0 -27
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
  23. package/dist-cjs/commands/StartActiveApprovalTeamDeletionCommand.js +0 -26
  24. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  25. package/dist-cjs/commands/UntagResourceCommand.js +0 -27
  26. package/dist-cjs/commands/UpdateApprovalTeamCommand.js +0 -27
  27. package/dist-cjs/commands/index.js +0 -24
  28. package/dist-cjs/endpoint/EndpointParameters.js +0 -15
  29. package/dist-cjs/extensionConfiguration.js +0 -2
  30. package/dist-cjs/models/MPAServiceException.js +0 -12
  31. package/dist-cjs/models/index.js +0 -4
  32. package/dist-cjs/models/models_0.js +0 -354
  33. package/dist-cjs/pagination/Interfaces.js +0 -2
  34. package/dist-cjs/pagination/ListApprovalTeamsPaginator.js +0 -7
  35. package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +0 -7
  36. package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -7
  37. package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +0 -7
  38. package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +0 -7
  39. package/dist-cjs/pagination/ListSessionsPaginator.js +0 -7
  40. package/dist-cjs/pagination/index.js +0 -10
  41. package/dist-cjs/protocols/Aws_restJson1.js +0 -976
  42. package/dist-cjs/runtimeExtensions.js +0 -13
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListTagsForResourceCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AWSFluffyCoreService", "ListTagsForResource", {})
21
- .n("MPAClient", "ListTagsForResourceCommand")
22
- .f(void 0, models_0_1.ListTagsForResourceResponseFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
24
- .de(Aws_restJson1_1.de_ListTagsForResourceCommand)
25
- .build() {
26
- }
27
- exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartActiveApprovalTeamDeletionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class StartActiveApprovalTeamDeletionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {})
20
- .n("MPAClient", "StartActiveApprovalTeamDeletionCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_StartActiveApprovalTeamDeletionCommand)
23
- .de(Aws_restJson1_1.de_StartActiveApprovalTeamDeletionCommand)
24
- .build() {
25
- }
26
- exports.StartActiveApprovalTeamDeletionCommand = StartActiveApprovalTeamDeletionCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class TagResourceCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AWSFluffyCoreService", "TagResource", {})
21
- .n("MPAClient", "TagResourceCommand")
22
- .f(models_0_1.TagResourceRequestFilterSensitiveLog, void 0)
23
- .ser(Aws_restJson1_1.se_TagResourceCommand)
24
- .de(Aws_restJson1_1.de_TagResourceCommand)
25
- .build() {
26
- }
27
- exports.TagResourceCommand = TagResourceCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UntagResourceCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AWSFluffyCoreService", "UntagResource", {})
21
- .n("MPAClient", "UntagResourceCommand")
22
- .f(models_0_1.UntagResourceRequestFilterSensitiveLog, void 0)
23
- .ser(Aws_restJson1_1.se_UntagResourceCommand)
24
- .de(Aws_restJson1_1.de_UntagResourceCommand)
25
- .build() {
26
- }
27
- exports.UntagResourceCommand = UntagResourceCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateApprovalTeamCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UpdateApprovalTeamCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AWSFluffyCoreService", "UpdateApprovalTeam", {})
21
- .n("MPAClient", "UpdateApprovalTeamCommand")
22
- .f(models_0_1.UpdateApprovalTeamRequestFilterSensitiveLog, void 0)
23
- .ser(Aws_restJson1_1.se_UpdateApprovalTeamCommand)
24
- .de(Aws_restJson1_1.de_UpdateApprovalTeamCommand)
25
- .build() {
26
- }
27
- exports.UpdateApprovalTeamCommand = UpdateApprovalTeamCommand;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./CancelSessionCommand"), exports);
5
- tslib_1.__exportStar(require("./CreateApprovalTeamCommand"), exports);
6
- tslib_1.__exportStar(require("./CreateIdentitySourceCommand"), exports);
7
- tslib_1.__exportStar(require("./DeleteIdentitySourceCommand"), exports);
8
- tslib_1.__exportStar(require("./DeleteInactiveApprovalTeamVersionCommand"), exports);
9
- tslib_1.__exportStar(require("./GetApprovalTeamCommand"), exports);
10
- tslib_1.__exportStar(require("./GetIdentitySourceCommand"), exports);
11
- tslib_1.__exportStar(require("./GetPolicyVersionCommand"), exports);
12
- tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
13
- tslib_1.__exportStar(require("./GetSessionCommand"), exports);
14
- tslib_1.__exportStar(require("./ListApprovalTeamsCommand"), exports);
15
- tslib_1.__exportStar(require("./ListIdentitySourcesCommand"), exports);
16
- tslib_1.__exportStar(require("./ListPoliciesCommand"), exports);
17
- tslib_1.__exportStar(require("./ListPolicyVersionsCommand"), exports);
18
- tslib_1.__exportStar(require("./ListResourcePoliciesCommand"), exports);
19
- tslib_1.__exportStar(require("./ListSessionsCommand"), exports);
20
- tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
21
- tslib_1.__exportStar(require("./StartActiveApprovalTeamDeletionCommand"), exports);
22
- tslib_1.__exportStar(require("./TagResourceCommand"), exports);
23
- tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
24
- tslib_1.__exportStar(require("./UpdateApprovalTeamCommand"), exports);
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return Object.assign(options, {
6
- useFipsEndpoint: options.useFipsEndpoint ?? false,
7
- defaultSigningName: "mpa",
8
- });
9
- };
10
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
11
- exports.commonParams = {
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MPAServiceException = 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 MPAServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, MPAServiceException.prototype);
10
- }
11
- }
12
- exports.MPAServiceException = MPAServiceException;
@@ -1,4 +0,0 @@
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,354 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListSessionsResponseFilterSensitiveLog = exports.ListSessionsResponseSessionFilterSensitiveLog = exports.GetSessionResponseFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.CreateIdentitySourceRequestFilterSensitiveLog = exports.GetResourcePolicyResponseFilterSensitiveLog = exports.GetPolicyVersionResponseFilterSensitiveLog = exports.PolicyVersionFilterSensitiveLog = exports.UpdateApprovalTeamRequestFilterSensitiveLog = exports.ListApprovalTeamsResponseFilterSensitiveLog = exports.ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = exports.GetApprovalTeamResponseFilterSensitiveLog = exports.CreateApprovalTeamRequestFilterSensitiveLog = exports.TooManyTagsException = exports.Operator = exports.FilterField = exports.SessionStatusCode = exports.SessionStatus = exports.SessionExecutionStatus = exports.SessionResponse = exports.IdentitySourceParametersForList = exports.IdentitySourceStatusCode = exports.IdentitySourceStatus = exports.IdentitySourceParametersForGet = exports.IdentitySourceType = exports.InvalidParameterException = exports.PolicyStatus = exports.PolicyType = exports.ApprovalTeamStatusCode = exports.ApprovalTeamStatus = exports.IdentityStatus = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.ApprovalStrategyResponse = exports.ApprovalStrategy = exports.ActionCompletionStrategy = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const MPAServiceException_1 = require("./MPAServiceException");
6
- class AccessDeniedException extends MPAServiceException_1.MPAServiceException {
7
- name = "AccessDeniedException";
8
- $fault = "client";
9
- Message;
10
- constructor(opts) {
11
- super({
12
- name: "AccessDeniedException",
13
- $fault: "client",
14
- ...opts,
15
- });
16
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
- this.Message = opts.Message;
18
- }
19
- }
20
- exports.AccessDeniedException = AccessDeniedException;
21
- exports.ActionCompletionStrategy = {
22
- AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
23
- };
24
- var ApprovalStrategy;
25
- (function (ApprovalStrategy) {
26
- ApprovalStrategy.visit = (value, visitor) => {
27
- if (value.MofN !== undefined)
28
- return visitor.MofN(value.MofN);
29
- return visitor._(value.$unknown[0], value.$unknown[1]);
30
- };
31
- })(ApprovalStrategy || (exports.ApprovalStrategy = ApprovalStrategy = {}));
32
- var ApprovalStrategyResponse;
33
- (function (ApprovalStrategyResponse) {
34
- ApprovalStrategyResponse.visit = (value, visitor) => {
35
- if (value.MofN !== undefined)
36
- return visitor.MofN(value.MofN);
37
- return visitor._(value.$unknown[0], value.$unknown[1]);
38
- };
39
- })(ApprovalStrategyResponse || (exports.ApprovalStrategyResponse = ApprovalStrategyResponse = {}));
40
- class ConflictException extends MPAServiceException_1.MPAServiceException {
41
- name = "ConflictException";
42
- $fault = "client";
43
- Message;
44
- constructor(opts) {
45
- super({
46
- name: "ConflictException",
47
- $fault: "client",
48
- ...opts,
49
- });
50
- Object.setPrototypeOf(this, ConflictException.prototype);
51
- this.Message = opts.Message;
52
- }
53
- }
54
- exports.ConflictException = ConflictException;
55
- class InternalServerException extends MPAServiceException_1.MPAServiceException {
56
- name = "InternalServerException";
57
- $fault = "server";
58
- $retryable = {};
59
- Message;
60
- constructor(opts) {
61
- super({
62
- name: "InternalServerException",
63
- $fault: "server",
64
- ...opts,
65
- });
66
- Object.setPrototypeOf(this, InternalServerException.prototype);
67
- this.Message = opts.Message;
68
- }
69
- }
70
- exports.InternalServerException = InternalServerException;
71
- class ServiceQuotaExceededException extends MPAServiceException_1.MPAServiceException {
72
- name = "ServiceQuotaExceededException";
73
- $fault = "client";
74
- Message;
75
- constructor(opts) {
76
- super({
77
- name: "ServiceQuotaExceededException",
78
- $fault: "client",
79
- ...opts,
80
- });
81
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
82
- this.Message = opts.Message;
83
- }
84
- }
85
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
86
- class ThrottlingException extends MPAServiceException_1.MPAServiceException {
87
- name = "ThrottlingException";
88
- $fault = "client";
89
- Message;
90
- constructor(opts) {
91
- super({
92
- name: "ThrottlingException",
93
- $fault: "client",
94
- ...opts,
95
- });
96
- Object.setPrototypeOf(this, ThrottlingException.prototype);
97
- this.Message = opts.Message;
98
- }
99
- }
100
- exports.ThrottlingException = ThrottlingException;
101
- class ValidationException extends MPAServiceException_1.MPAServiceException {
102
- name = "ValidationException";
103
- $fault = "client";
104
- Message;
105
- constructor(opts) {
106
- super({
107
- name: "ValidationException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- Object.setPrototypeOf(this, ValidationException.prototype);
112
- this.Message = opts.Message;
113
- }
114
- }
115
- exports.ValidationException = ValidationException;
116
- class ResourceNotFoundException extends MPAServiceException_1.MPAServiceException {
117
- name = "ResourceNotFoundException";
118
- $fault = "client";
119
- Message;
120
- constructor(opts) {
121
- super({
122
- name: "ResourceNotFoundException",
123
- $fault: "client",
124
- ...opts,
125
- });
126
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
127
- this.Message = opts.Message;
128
- }
129
- }
130
- exports.ResourceNotFoundException = ResourceNotFoundException;
131
- exports.IdentityStatus = {
132
- ACCEPTED: "ACCEPTED",
133
- INVALID: "INVALID",
134
- PENDING: "PENDING",
135
- REJECTED: "REJECTED",
136
- };
137
- exports.ApprovalTeamStatus = {
138
- ACTIVE: "ACTIVE",
139
- DELETING: "DELETING",
140
- INACTIVE: "INACTIVE",
141
- PENDING: "PENDING",
142
- };
143
- exports.ApprovalTeamStatusCode = {
144
- DELETE_FAILED_APPROVAL: "DELETE_FAILED_APPROVAL",
145
- DELETE_FAILED_VALIDATION: "DELETE_FAILED_VALIDATION",
146
- DELETE_PENDING_APPROVAL: "DELETE_PENDING_APPROVAL",
147
- FAILED_ACTIVATION: "FAILED_ACTIVATION",
148
- FAILED_VALIDATION: "FAILED_VALIDATION",
149
- PENDING_ACTIVATION: "PENDING_ACTIVATION",
150
- UPDATE_FAILED_ACTIVATION: "UPDATE_FAILED_ACTIVATION",
151
- UPDATE_FAILED_APPROVAL: "UPDATE_FAILED_APPROVAL",
152
- UPDATE_FAILED_VALIDATION: "UPDATE_FAILED_VALIDATION",
153
- UPDATE_PENDING_ACTIVATION: "UPDATE_PENDING_ACTIVATION",
154
- UPDATE_PENDING_APPROVAL: "UPDATE_PENDING_APPROVAL",
155
- VALIDATING: "VALIDATING",
156
- };
157
- exports.PolicyType = {
158
- AWS_MANAGED: "AWS_MANAGED",
159
- AWS_RAM: "AWS_RAM",
160
- };
161
- exports.PolicyStatus = {
162
- ATTACHABLE: "ATTACHABLE",
163
- DEPRECATED: "DEPRECATED",
164
- };
165
- class InvalidParameterException extends MPAServiceException_1.MPAServiceException {
166
- name = "InvalidParameterException";
167
- $fault = "client";
168
- Message;
169
- constructor(opts) {
170
- super({
171
- name: "InvalidParameterException",
172
- $fault: "client",
173
- ...opts,
174
- });
175
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
176
- this.Message = opts.Message;
177
- }
178
- }
179
- exports.InvalidParameterException = InvalidParameterException;
180
- exports.IdentitySourceType = {
181
- IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER",
182
- };
183
- var IdentitySourceParametersForGet;
184
- (function (IdentitySourceParametersForGet) {
185
- IdentitySourceParametersForGet.visit = (value, visitor) => {
186
- if (value.IamIdentityCenter !== undefined)
187
- return visitor.IamIdentityCenter(value.IamIdentityCenter);
188
- return visitor._(value.$unknown[0], value.$unknown[1]);
189
- };
190
- })(IdentitySourceParametersForGet || (exports.IdentitySourceParametersForGet = IdentitySourceParametersForGet = {}));
191
- exports.IdentitySourceStatus = {
192
- ACTIVE: "ACTIVE",
193
- CREATING: "CREATING",
194
- DELETING: "DELETING",
195
- ERROR: "ERROR",
196
- };
197
- exports.IdentitySourceStatusCode = {
198
- ACCESS_DENIED: "ACCESS_DENIED",
199
- DELETION_FAILED: "DELETION_FAILED",
200
- IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND",
201
- IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID",
202
- };
203
- var IdentitySourceParametersForList;
204
- (function (IdentitySourceParametersForList) {
205
- IdentitySourceParametersForList.visit = (value, visitor) => {
206
- if (value.IamIdentityCenter !== undefined)
207
- return visitor.IamIdentityCenter(value.IamIdentityCenter);
208
- return visitor._(value.$unknown[0], value.$unknown[1]);
209
- };
210
- })(IdentitySourceParametersForList || (exports.IdentitySourceParametersForList = IdentitySourceParametersForList = {}));
211
- exports.SessionResponse = {
212
- APPROVED: "APPROVED",
213
- NO_RESPONSE: "NO_RESPONSE",
214
- REJECTED: "REJECTED",
215
- };
216
- exports.SessionExecutionStatus = {
217
- EXECUTED: "EXECUTED",
218
- FAILED: "FAILED",
219
- PENDING: "PENDING",
220
- };
221
- exports.SessionStatus = {
222
- APPROVED: "APPROVED",
223
- CANCELLED: "CANCELLED",
224
- CREATING: "CREATING",
225
- FAILED: "FAILED",
226
- PENDING: "PENDING",
227
- };
228
- exports.SessionStatusCode = {
229
- CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED",
230
- EXPIRED: "EXPIRED",
231
- REJECTED: "REJECTED",
232
- };
233
- exports.FilterField = {
234
- ACTION_NAME: "ActionName",
235
- APPROVAL_TEAM_NAME: "ApprovalTeamName",
236
- INITIATION_TIME: "InitiationTime",
237
- SESSION_STATUS: "SessionStatus",
238
- VOTE: "Vote",
239
- VOTING_TIME: "VotingTime",
240
- };
241
- exports.Operator = {
242
- BETWEEN: "BETWEEN",
243
- CONTAINS: "CONTAINS",
244
- DOES_NOT_CONTAIN: "NOT_CONTAINS",
245
- EQUALS: "EQ",
246
- GREATER_THAN: "GT",
247
- GREATER_THAN_OR_EQUAL_TO: "GTE",
248
- LESS_THAN: "LT",
249
- LESS_THAN_OR_EQUAL_TO: "LTE",
250
- NOT_EQUALS: "NE",
251
- };
252
- class TooManyTagsException extends MPAServiceException_1.MPAServiceException {
253
- name = "TooManyTagsException";
254
- $fault = "client";
255
- Message;
256
- ResourceName;
257
- constructor(opts) {
258
- super({
259
- name: "TooManyTagsException",
260
- $fault: "client",
261
- ...opts,
262
- });
263
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
264
- this.Message = opts.Message;
265
- this.ResourceName = opts.ResourceName;
266
- }
267
- }
268
- exports.TooManyTagsException = TooManyTagsException;
269
- const CreateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
270
- ...obj,
271
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
272
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
273
- ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
274
- });
275
- exports.CreateApprovalTeamRequestFilterSensitiveLog = CreateApprovalTeamRequestFilterSensitiveLog;
276
- const GetApprovalTeamResponseFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
279
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
280
- ...(obj.PendingUpdate && { PendingUpdate: obj.PendingUpdate }),
281
- });
282
- exports.GetApprovalTeamResponseFilterSensitiveLog = GetApprovalTeamResponseFilterSensitiveLog;
283
- const ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = (obj) => ({
284
- ...obj,
285
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
286
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
287
- });
288
- exports.ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog;
289
- const ListApprovalTeamsResponseFilterSensitiveLog = (obj) => ({
290
- ...obj,
291
- ...(obj.ApprovalTeams && {
292
- ApprovalTeams: obj.ApprovalTeams.map((item) => (0, exports.ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog)(item)),
293
- }),
294
- });
295
- exports.ListApprovalTeamsResponseFilterSensitiveLog = ListApprovalTeamsResponseFilterSensitiveLog;
296
- const UpdateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
297
- ...obj,
298
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
299
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
300
- });
301
- exports.UpdateApprovalTeamRequestFilterSensitiveLog = UpdateApprovalTeamRequestFilterSensitiveLog;
302
- const PolicyVersionFilterSensitiveLog = (obj) => ({
303
- ...obj,
304
- ...(obj.Document && { Document: smithy_client_1.SENSITIVE_STRING }),
305
- });
306
- exports.PolicyVersionFilterSensitiveLog = PolicyVersionFilterSensitiveLog;
307
- const GetPolicyVersionResponseFilterSensitiveLog = (obj) => ({
308
- ...obj,
309
- ...(obj.PolicyVersion && { PolicyVersion: (0, exports.PolicyVersionFilterSensitiveLog)(obj.PolicyVersion) }),
310
- });
311
- exports.GetPolicyVersionResponseFilterSensitiveLog = GetPolicyVersionResponseFilterSensitiveLog;
312
- const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- ...(obj.PolicyDocument && { PolicyDocument: smithy_client_1.SENSITIVE_STRING }),
315
- });
316
- exports.GetResourcePolicyResponseFilterSensitiveLog = GetResourcePolicyResponseFilterSensitiveLog;
317
- const CreateIdentitySourceRequestFilterSensitiveLog = (obj) => ({
318
- ...obj,
319
- ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
320
- });
321
- exports.CreateIdentitySourceRequestFilterSensitiveLog = CreateIdentitySourceRequestFilterSensitiveLog;
322
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
323
- ...obj,
324
- ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
325
- });
326
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
327
- const GetSessionResponseFilterSensitiveLog = (obj) => ({
328
- ...obj,
329
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
330
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
331
- ...(obj.Metadata && { Metadata: smithy_client_1.SENSITIVE_STRING }),
332
- ...(obj.RequesterComment && { RequesterComment: smithy_client_1.SENSITIVE_STRING }),
333
- });
334
- exports.GetSessionResponseFilterSensitiveLog = GetSessionResponseFilterSensitiveLog;
335
- const ListSessionsResponseSessionFilterSensitiveLog = (obj) => ({
336
- ...obj,
337
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
338
- });
339
- exports.ListSessionsResponseSessionFilterSensitiveLog = ListSessionsResponseSessionFilterSensitiveLog;
340
- const ListSessionsResponseFilterSensitiveLog = (obj) => ({
341
- ...obj,
342
- ...(obj.Sessions && { Sessions: obj.Sessions.map((item) => (0, exports.ListSessionsResponseSessionFilterSensitiveLog)(item)) }),
343
- });
344
- exports.ListSessionsResponseFilterSensitiveLog = ListSessionsResponseFilterSensitiveLog;
345
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
346
- ...obj,
347
- ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
348
- });
349
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
350
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
351
- ...obj,
352
- ...(obj.TagKeys && { TagKeys: smithy_client_1.SENSITIVE_STRING }),
353
- });
354
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListApprovalTeams = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListApprovalTeamsCommand_1 = require("../commands/ListApprovalTeamsCommand");
6
- const MPAClient_1 = require("../MPAClient");
7
- exports.paginateListApprovalTeams = (0, core_1.createPaginator)(MPAClient_1.MPAClient, ListApprovalTeamsCommand_1.ListApprovalTeamsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListIdentitySources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListIdentitySourcesCommand_1 = require("../commands/ListIdentitySourcesCommand");
6
- const MPAClient_1 = require("../MPAClient");
7
- exports.paginateListIdentitySources = (0, core_1.createPaginator)(MPAClient_1.MPAClient, ListIdentitySourcesCommand_1.ListIdentitySourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListPoliciesCommand_1 = require("../commands/ListPoliciesCommand");
6
- const MPAClient_1 = require("../MPAClient");
7
- exports.paginateListPolicies = (0, core_1.createPaginator)(MPAClient_1.MPAClient, ListPoliciesCommand_1.ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPolicyVersions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListPolicyVersionsCommand_1 = require("../commands/ListPolicyVersionsCommand");
6
- const MPAClient_1 = require("../MPAClient");
7
- exports.paginateListPolicyVersions = (0, core_1.createPaginator)(MPAClient_1.MPAClient, ListPolicyVersionsCommand_1.ListPolicyVersionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListResourcePolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListResourcePoliciesCommand_1 = require("../commands/ListResourcePoliciesCommand");
6
- const MPAClient_1 = require("../MPAClient");
7
- exports.paginateListResourcePolicies = (0, core_1.createPaginator)(MPAClient_1.MPAClient, ListResourcePoliciesCommand_1.ListResourcePoliciesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSessions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSessionsCommand_1 = require("../commands/ListSessionsCommand");
6
- const MPAClient_1 = require("../MPAClient");
7
- exports.paginateListSessions = (0, core_1.createPaginator)(MPAClient_1.MPAClient, ListSessionsCommand_1.ListSessionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListApprovalTeamsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListIdentitySourcesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListPoliciesPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListPolicyVersionsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListResourcePoliciesPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListSessionsPaginator"), exports);