@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.
- package/dist-cjs/index.js +2063 -10
- package/package.json +7 -7
- package/dist-cjs/MPA.js +0 -53
- package/dist-cjs/MPAClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CancelSessionCommand.js +0 -26
- package/dist-cjs/commands/CreateApprovalTeamCommand.js +0 -27
- package/dist-cjs/commands/CreateIdentitySourceCommand.js +0 -27
- package/dist-cjs/commands/DeleteIdentitySourceCommand.js +0 -26
- package/dist-cjs/commands/DeleteInactiveApprovalTeamVersionCommand.js +0 -26
- package/dist-cjs/commands/GetApprovalTeamCommand.js +0 -27
- package/dist-cjs/commands/GetIdentitySourceCommand.js +0 -26
- package/dist-cjs/commands/GetPolicyVersionCommand.js +0 -27
- package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -27
- package/dist-cjs/commands/GetSessionCommand.js +0 -27
- package/dist-cjs/commands/ListApprovalTeamsCommand.js +0 -27
- package/dist-cjs/commands/ListIdentitySourcesCommand.js +0 -26
- package/dist-cjs/commands/ListPoliciesCommand.js +0 -26
- package/dist-cjs/commands/ListPolicyVersionsCommand.js +0 -26
- package/dist-cjs/commands/ListResourcePoliciesCommand.js +0 -26
- package/dist-cjs/commands/ListSessionsCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/StartActiveApprovalTeamDeletionCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -27
- package/dist-cjs/commands/UpdateApprovalTeamCommand.js +0 -27
- package/dist-cjs/commands/index.js +0 -24
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/MPAServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -354
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListApprovalTeamsPaginator.js +0 -7
- package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +0 -7
- package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -7
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +0 -7
- package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +0 -7
- package/dist-cjs/pagination/ListSessionsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -10
- package/dist-cjs/protocols/Aws_restJson1.js +0 -976
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,2064 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
ActionCompletionStrategy: () => ActionCompletionStrategy,
|
|
26
|
+
ApprovalStrategy: () => ApprovalStrategy,
|
|
27
|
+
ApprovalStrategyResponse: () => ApprovalStrategyResponse,
|
|
28
|
+
ApprovalTeamStatus: () => ApprovalTeamStatus,
|
|
29
|
+
ApprovalTeamStatusCode: () => ApprovalTeamStatusCode,
|
|
30
|
+
CancelSessionCommand: () => CancelSessionCommand,
|
|
31
|
+
ConflictException: () => ConflictException,
|
|
32
|
+
CreateApprovalTeamCommand: () => CreateApprovalTeamCommand,
|
|
33
|
+
CreateApprovalTeamRequestFilterSensitiveLog: () => CreateApprovalTeamRequestFilterSensitiveLog,
|
|
34
|
+
CreateIdentitySourceCommand: () => CreateIdentitySourceCommand,
|
|
35
|
+
CreateIdentitySourceRequestFilterSensitiveLog: () => CreateIdentitySourceRequestFilterSensitiveLog,
|
|
36
|
+
DeleteIdentitySourceCommand: () => DeleteIdentitySourceCommand,
|
|
37
|
+
DeleteInactiveApprovalTeamVersionCommand: () => DeleteInactiveApprovalTeamVersionCommand,
|
|
38
|
+
FilterField: () => FilterField,
|
|
39
|
+
GetApprovalTeamCommand: () => GetApprovalTeamCommand,
|
|
40
|
+
GetApprovalTeamResponseFilterSensitiveLog: () => GetApprovalTeamResponseFilterSensitiveLog,
|
|
41
|
+
GetIdentitySourceCommand: () => GetIdentitySourceCommand,
|
|
42
|
+
GetPolicyVersionCommand: () => GetPolicyVersionCommand,
|
|
43
|
+
GetPolicyVersionResponseFilterSensitiveLog: () => GetPolicyVersionResponseFilterSensitiveLog,
|
|
44
|
+
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
45
|
+
GetResourcePolicyResponseFilterSensitiveLog: () => GetResourcePolicyResponseFilterSensitiveLog,
|
|
46
|
+
GetSessionCommand: () => GetSessionCommand,
|
|
47
|
+
GetSessionResponseFilterSensitiveLog: () => GetSessionResponseFilterSensitiveLog,
|
|
48
|
+
IdentitySourceParametersForGet: () => IdentitySourceParametersForGet,
|
|
49
|
+
IdentitySourceParametersForList: () => IdentitySourceParametersForList,
|
|
50
|
+
IdentitySourceStatus: () => IdentitySourceStatus,
|
|
51
|
+
IdentitySourceStatusCode: () => IdentitySourceStatusCode,
|
|
52
|
+
IdentitySourceType: () => IdentitySourceType,
|
|
53
|
+
IdentityStatus: () => IdentityStatus,
|
|
54
|
+
InternalServerException: () => InternalServerException,
|
|
55
|
+
InvalidParameterException: () => InvalidParameterException,
|
|
56
|
+
ListApprovalTeamsCommand: () => ListApprovalTeamsCommand,
|
|
57
|
+
ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog: () => ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog,
|
|
58
|
+
ListApprovalTeamsResponseFilterSensitiveLog: () => ListApprovalTeamsResponseFilterSensitiveLog,
|
|
59
|
+
ListIdentitySourcesCommand: () => ListIdentitySourcesCommand,
|
|
60
|
+
ListPoliciesCommand: () => ListPoliciesCommand,
|
|
61
|
+
ListPolicyVersionsCommand: () => ListPolicyVersionsCommand,
|
|
62
|
+
ListResourcePoliciesCommand: () => ListResourcePoliciesCommand,
|
|
63
|
+
ListSessionsCommand: () => ListSessionsCommand,
|
|
64
|
+
ListSessionsResponseFilterSensitiveLog: () => ListSessionsResponseFilterSensitiveLog,
|
|
65
|
+
ListSessionsResponseSessionFilterSensitiveLog: () => ListSessionsResponseSessionFilterSensitiveLog,
|
|
66
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
67
|
+
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
68
|
+
MPA: () => MPA,
|
|
69
|
+
MPAClient: () => MPAClient,
|
|
70
|
+
MPAServiceException: () => MPAServiceException,
|
|
71
|
+
Operator: () => Operator,
|
|
72
|
+
PolicyStatus: () => PolicyStatus,
|
|
73
|
+
PolicyType: () => PolicyType,
|
|
74
|
+
PolicyVersionFilterSensitiveLog: () => PolicyVersionFilterSensitiveLog,
|
|
75
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
76
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
77
|
+
SessionExecutionStatus: () => SessionExecutionStatus,
|
|
78
|
+
SessionResponse: () => SessionResponse,
|
|
79
|
+
SessionStatus: () => SessionStatus,
|
|
80
|
+
SessionStatusCode: () => SessionStatusCode,
|
|
81
|
+
StartActiveApprovalTeamDeletionCommand: () => StartActiveApprovalTeamDeletionCommand,
|
|
82
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
83
|
+
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
84
|
+
ThrottlingException: () => ThrottlingException,
|
|
85
|
+
TooManyTagsException: () => TooManyTagsException,
|
|
86
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
87
|
+
UntagResourceRequestFilterSensitiveLog: () => UntagResourceRequestFilterSensitiveLog,
|
|
88
|
+
UpdateApprovalTeamCommand: () => UpdateApprovalTeamCommand,
|
|
89
|
+
UpdateApprovalTeamRequestFilterSensitiveLog: () => UpdateApprovalTeamRequestFilterSensitiveLog,
|
|
90
|
+
ValidationException: () => ValidationException,
|
|
91
|
+
__Client: () => import_smithy_client.Client,
|
|
92
|
+
paginateListApprovalTeams: () => paginateListApprovalTeams,
|
|
93
|
+
paginateListIdentitySources: () => paginateListIdentitySources,
|
|
94
|
+
paginateListPolicies: () => paginateListPolicies,
|
|
95
|
+
paginateListPolicyVersions: () => paginateListPolicyVersions,
|
|
96
|
+
paginateListResourcePolicies: () => paginateListResourcePolicies,
|
|
97
|
+
paginateListSessions: () => paginateListSessions
|
|
98
|
+
});
|
|
99
|
+
module.exports = __toCommonJS(index_exports);
|
|
100
|
+
|
|
101
|
+
// src/MPAClient.ts
|
|
102
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
103
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
104
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
105
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
106
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
107
|
+
var import_core = require("@smithy/core");
|
|
108
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
109
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
110
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
111
|
+
|
|
112
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
113
|
+
|
|
114
|
+
// src/endpoint/EndpointParameters.ts
|
|
115
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
116
|
+
return Object.assign(options, {
|
|
117
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
118
|
+
defaultSigningName: "mpa"
|
|
119
|
+
});
|
|
120
|
+
}, "resolveClientEndpointParameters");
|
|
121
|
+
var commonParams = {
|
|
122
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
123
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
124
|
+
Region: { type: "builtInParams", name: "region" }
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
// src/MPAClient.ts
|
|
128
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
129
|
+
|
|
130
|
+
// src/runtimeExtensions.ts
|
|
131
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
132
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
133
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
134
|
+
|
|
135
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
136
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
137
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
138
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
139
|
+
let _credentials = runtimeConfig.credentials;
|
|
140
|
+
return {
|
|
141
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
142
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
143
|
+
if (index === -1) {
|
|
144
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
145
|
+
} else {
|
|
146
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
httpAuthSchemes() {
|
|
150
|
+
return _httpAuthSchemes;
|
|
151
|
+
},
|
|
152
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
153
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
154
|
+
},
|
|
155
|
+
httpAuthSchemeProvider() {
|
|
156
|
+
return _httpAuthSchemeProvider;
|
|
157
|
+
},
|
|
158
|
+
setCredentials(credentials) {
|
|
159
|
+
_credentials = credentials;
|
|
160
|
+
},
|
|
161
|
+
credentials() {
|
|
162
|
+
return _credentials;
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
166
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
167
|
+
return {
|
|
168
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
169
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
170
|
+
credentials: config.credentials()
|
|
171
|
+
};
|
|
172
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
173
|
+
|
|
174
|
+
// src/runtimeExtensions.ts
|
|
175
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
176
|
+
const extensionConfiguration = Object.assign(
|
|
177
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
178
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
179
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
180
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
181
|
+
);
|
|
182
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
183
|
+
return Object.assign(
|
|
184
|
+
runtimeConfig,
|
|
185
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
186
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
187
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
188
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
189
|
+
);
|
|
190
|
+
}, "resolveRuntimeExtensions");
|
|
191
|
+
|
|
192
|
+
// src/MPAClient.ts
|
|
193
|
+
var MPAClient = class extends import_smithy_client.Client {
|
|
194
|
+
static {
|
|
195
|
+
__name(this, "MPAClient");
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The resolved configuration of MPAClient class. This is resolved and normalized from the {@link MPAClientConfig | constructor configuration interface}.
|
|
199
|
+
*/
|
|
200
|
+
config;
|
|
201
|
+
constructor(...[configuration]) {
|
|
202
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
203
|
+
super(_config_0);
|
|
204
|
+
this.initConfig = _config_0;
|
|
205
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
206
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
207
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
208
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
209
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
210
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
211
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
212
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
213
|
+
this.config = _config_8;
|
|
214
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
215
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
216
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
217
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
218
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
219
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
220
|
+
this.middlewareStack.use(
|
|
221
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
222
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMPAHttpAuthSchemeParametersProvider,
|
|
223
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
224
|
+
"aws.auth#sigv4": config.credentials
|
|
225
|
+
}), "identityProviderConfigProvider")
|
|
226
|
+
})
|
|
227
|
+
);
|
|
228
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
232
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
233
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
234
|
+
*/
|
|
235
|
+
destroy() {
|
|
236
|
+
super.destroy();
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
// src/MPA.ts
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
// src/commands/CancelSessionCommand.ts
|
|
244
|
+
|
|
245
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
// src/protocols/Aws_restJson1.ts
|
|
249
|
+
var import_core2 = require("@aws-sdk/core");
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
var import_uuid = require("uuid");
|
|
253
|
+
|
|
254
|
+
// src/models/models_0.ts
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
// src/models/MPAServiceException.ts
|
|
258
|
+
|
|
259
|
+
var MPAServiceException = class _MPAServiceException extends import_smithy_client.ServiceException {
|
|
260
|
+
static {
|
|
261
|
+
__name(this, "MPAServiceException");
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
constructor(options) {
|
|
267
|
+
super(options);
|
|
268
|
+
Object.setPrototypeOf(this, _MPAServiceException.prototype);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
// src/models/models_0.ts
|
|
273
|
+
var AccessDeniedException = class _AccessDeniedException extends MPAServiceException {
|
|
274
|
+
static {
|
|
275
|
+
__name(this, "AccessDeniedException");
|
|
276
|
+
}
|
|
277
|
+
name = "AccessDeniedException";
|
|
278
|
+
$fault = "client";
|
|
279
|
+
/**
|
|
280
|
+
* <p>Message for the <code>AccessDeniedException</code> error.</p>
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
Message;
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
*/
|
|
287
|
+
constructor(opts) {
|
|
288
|
+
super({
|
|
289
|
+
name: "AccessDeniedException",
|
|
290
|
+
$fault: "client",
|
|
291
|
+
...opts
|
|
292
|
+
});
|
|
293
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
294
|
+
this.Message = opts.Message;
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
var ActionCompletionStrategy = {
|
|
298
|
+
AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL"
|
|
299
|
+
};
|
|
300
|
+
var ApprovalStrategy;
|
|
301
|
+
((ApprovalStrategy3) => {
|
|
302
|
+
ApprovalStrategy3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
303
|
+
if (value.MofN !== void 0) return visitor.MofN(value.MofN);
|
|
304
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
305
|
+
}, "visit");
|
|
306
|
+
})(ApprovalStrategy || (ApprovalStrategy = {}));
|
|
307
|
+
var ApprovalStrategyResponse;
|
|
308
|
+
((ApprovalStrategyResponse2) => {
|
|
309
|
+
ApprovalStrategyResponse2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
310
|
+
if (value.MofN !== void 0) return visitor.MofN(value.MofN);
|
|
311
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
312
|
+
}, "visit");
|
|
313
|
+
})(ApprovalStrategyResponse || (ApprovalStrategyResponse = {}));
|
|
314
|
+
var ConflictException = class _ConflictException extends MPAServiceException {
|
|
315
|
+
static {
|
|
316
|
+
__name(this, "ConflictException");
|
|
317
|
+
}
|
|
318
|
+
name = "ConflictException";
|
|
319
|
+
$fault = "client";
|
|
320
|
+
/**
|
|
321
|
+
* <p>Message for the <code>ConflictException</code> error.</p>
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
Message;
|
|
325
|
+
/**
|
|
326
|
+
* @internal
|
|
327
|
+
*/
|
|
328
|
+
constructor(opts) {
|
|
329
|
+
super({
|
|
330
|
+
name: "ConflictException",
|
|
331
|
+
$fault: "client",
|
|
332
|
+
...opts
|
|
333
|
+
});
|
|
334
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
335
|
+
this.Message = opts.Message;
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
var InternalServerException = class _InternalServerException extends MPAServiceException {
|
|
339
|
+
static {
|
|
340
|
+
__name(this, "InternalServerException");
|
|
341
|
+
}
|
|
342
|
+
name = "InternalServerException";
|
|
343
|
+
$fault = "server";
|
|
344
|
+
$retryable = {};
|
|
345
|
+
/**
|
|
346
|
+
* <p>Message for the <code>InternalServerException</code> error.</p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
Message;
|
|
350
|
+
/**
|
|
351
|
+
* @internal
|
|
352
|
+
*/
|
|
353
|
+
constructor(opts) {
|
|
354
|
+
super({
|
|
355
|
+
name: "InternalServerException",
|
|
356
|
+
$fault: "server",
|
|
357
|
+
...opts
|
|
358
|
+
});
|
|
359
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
360
|
+
this.Message = opts.Message;
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MPAServiceException {
|
|
364
|
+
static {
|
|
365
|
+
__name(this, "ServiceQuotaExceededException");
|
|
366
|
+
}
|
|
367
|
+
name = "ServiceQuotaExceededException";
|
|
368
|
+
$fault = "client";
|
|
369
|
+
/**
|
|
370
|
+
* <p>Message for the <code>ServiceQuotaExceededException</code> error.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
Message;
|
|
374
|
+
/**
|
|
375
|
+
* @internal
|
|
376
|
+
*/
|
|
377
|
+
constructor(opts) {
|
|
378
|
+
super({
|
|
379
|
+
name: "ServiceQuotaExceededException",
|
|
380
|
+
$fault: "client",
|
|
381
|
+
...opts
|
|
382
|
+
});
|
|
383
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
384
|
+
this.Message = opts.Message;
|
|
385
|
+
}
|
|
386
|
+
};
|
|
387
|
+
var ThrottlingException = class _ThrottlingException extends MPAServiceException {
|
|
388
|
+
static {
|
|
389
|
+
__name(this, "ThrottlingException");
|
|
390
|
+
}
|
|
391
|
+
name = "ThrottlingException";
|
|
392
|
+
$fault = "client";
|
|
393
|
+
/**
|
|
394
|
+
* <p>Message for the <code>ThrottlingException</code> error.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
Message;
|
|
398
|
+
/**
|
|
399
|
+
* @internal
|
|
400
|
+
*/
|
|
401
|
+
constructor(opts) {
|
|
402
|
+
super({
|
|
403
|
+
name: "ThrottlingException",
|
|
404
|
+
$fault: "client",
|
|
405
|
+
...opts
|
|
406
|
+
});
|
|
407
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
408
|
+
this.Message = opts.Message;
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
var ValidationException = class _ValidationException extends MPAServiceException {
|
|
412
|
+
static {
|
|
413
|
+
__name(this, "ValidationException");
|
|
414
|
+
}
|
|
415
|
+
name = "ValidationException";
|
|
416
|
+
$fault = "client";
|
|
417
|
+
/**
|
|
418
|
+
* <p>Message for the <code>ValidationException</code> error.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
Message;
|
|
422
|
+
/**
|
|
423
|
+
* @internal
|
|
424
|
+
*/
|
|
425
|
+
constructor(opts) {
|
|
426
|
+
super({
|
|
427
|
+
name: "ValidationException",
|
|
428
|
+
$fault: "client",
|
|
429
|
+
...opts
|
|
430
|
+
});
|
|
431
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
432
|
+
this.Message = opts.Message;
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends MPAServiceException {
|
|
436
|
+
static {
|
|
437
|
+
__name(this, "ResourceNotFoundException");
|
|
438
|
+
}
|
|
439
|
+
name = "ResourceNotFoundException";
|
|
440
|
+
$fault = "client";
|
|
441
|
+
/**
|
|
442
|
+
* <p>Message for the <code>ResourceNotFoundException</code> error.</p>
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
Message;
|
|
446
|
+
/**
|
|
447
|
+
* @internal
|
|
448
|
+
*/
|
|
449
|
+
constructor(opts) {
|
|
450
|
+
super({
|
|
451
|
+
name: "ResourceNotFoundException",
|
|
452
|
+
$fault: "client",
|
|
453
|
+
...opts
|
|
454
|
+
});
|
|
455
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
456
|
+
this.Message = opts.Message;
|
|
457
|
+
}
|
|
458
|
+
};
|
|
459
|
+
var IdentityStatus = {
|
|
460
|
+
ACCEPTED: "ACCEPTED",
|
|
461
|
+
INVALID: "INVALID",
|
|
462
|
+
PENDING: "PENDING",
|
|
463
|
+
REJECTED: "REJECTED"
|
|
464
|
+
};
|
|
465
|
+
var ApprovalTeamStatus = {
|
|
466
|
+
ACTIVE: "ACTIVE",
|
|
467
|
+
DELETING: "DELETING",
|
|
468
|
+
INACTIVE: "INACTIVE",
|
|
469
|
+
PENDING: "PENDING"
|
|
470
|
+
};
|
|
471
|
+
var ApprovalTeamStatusCode = {
|
|
472
|
+
DELETE_FAILED_APPROVAL: "DELETE_FAILED_APPROVAL",
|
|
473
|
+
DELETE_FAILED_VALIDATION: "DELETE_FAILED_VALIDATION",
|
|
474
|
+
DELETE_PENDING_APPROVAL: "DELETE_PENDING_APPROVAL",
|
|
475
|
+
FAILED_ACTIVATION: "FAILED_ACTIVATION",
|
|
476
|
+
FAILED_VALIDATION: "FAILED_VALIDATION",
|
|
477
|
+
PENDING_ACTIVATION: "PENDING_ACTIVATION",
|
|
478
|
+
UPDATE_FAILED_ACTIVATION: "UPDATE_FAILED_ACTIVATION",
|
|
479
|
+
UPDATE_FAILED_APPROVAL: "UPDATE_FAILED_APPROVAL",
|
|
480
|
+
UPDATE_FAILED_VALIDATION: "UPDATE_FAILED_VALIDATION",
|
|
481
|
+
UPDATE_PENDING_ACTIVATION: "UPDATE_PENDING_ACTIVATION",
|
|
482
|
+
UPDATE_PENDING_APPROVAL: "UPDATE_PENDING_APPROVAL",
|
|
483
|
+
VALIDATING: "VALIDATING"
|
|
484
|
+
};
|
|
485
|
+
var PolicyType = {
|
|
486
|
+
AWS_MANAGED: "AWS_MANAGED",
|
|
487
|
+
AWS_RAM: "AWS_RAM"
|
|
488
|
+
};
|
|
489
|
+
var PolicyStatus = {
|
|
490
|
+
ATTACHABLE: "ATTACHABLE",
|
|
491
|
+
DEPRECATED: "DEPRECATED"
|
|
492
|
+
};
|
|
493
|
+
var InvalidParameterException = class _InvalidParameterException extends MPAServiceException {
|
|
494
|
+
static {
|
|
495
|
+
__name(this, "InvalidParameterException");
|
|
496
|
+
}
|
|
497
|
+
name = "InvalidParameterException";
|
|
498
|
+
$fault = "client";
|
|
499
|
+
/**
|
|
500
|
+
* <p>Message for the <code>InvalidParameterException</code> error.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
Message;
|
|
504
|
+
/**
|
|
505
|
+
* @internal
|
|
506
|
+
*/
|
|
507
|
+
constructor(opts) {
|
|
508
|
+
super({
|
|
509
|
+
name: "InvalidParameterException",
|
|
510
|
+
$fault: "client",
|
|
511
|
+
...opts
|
|
512
|
+
});
|
|
513
|
+
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
514
|
+
this.Message = opts.Message;
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
var IdentitySourceType = {
|
|
518
|
+
IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER"
|
|
519
|
+
};
|
|
520
|
+
var IdentitySourceParametersForGet;
|
|
521
|
+
((IdentitySourceParametersForGet2) => {
|
|
522
|
+
IdentitySourceParametersForGet2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
523
|
+
if (value.IamIdentityCenter !== void 0) return visitor.IamIdentityCenter(value.IamIdentityCenter);
|
|
524
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
525
|
+
}, "visit");
|
|
526
|
+
})(IdentitySourceParametersForGet || (IdentitySourceParametersForGet = {}));
|
|
527
|
+
var IdentitySourceStatus = {
|
|
528
|
+
ACTIVE: "ACTIVE",
|
|
529
|
+
CREATING: "CREATING",
|
|
530
|
+
DELETING: "DELETING",
|
|
531
|
+
ERROR: "ERROR"
|
|
532
|
+
};
|
|
533
|
+
var IdentitySourceStatusCode = {
|
|
534
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
535
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
536
|
+
IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND",
|
|
537
|
+
IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID"
|
|
538
|
+
};
|
|
539
|
+
var IdentitySourceParametersForList;
|
|
540
|
+
((IdentitySourceParametersForList2) => {
|
|
541
|
+
IdentitySourceParametersForList2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
542
|
+
if (value.IamIdentityCenter !== void 0) return visitor.IamIdentityCenter(value.IamIdentityCenter);
|
|
543
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
544
|
+
}, "visit");
|
|
545
|
+
})(IdentitySourceParametersForList || (IdentitySourceParametersForList = {}));
|
|
546
|
+
var SessionResponse = {
|
|
547
|
+
APPROVED: "APPROVED",
|
|
548
|
+
NO_RESPONSE: "NO_RESPONSE",
|
|
549
|
+
REJECTED: "REJECTED"
|
|
550
|
+
};
|
|
551
|
+
var SessionExecutionStatus = {
|
|
552
|
+
EXECUTED: "EXECUTED",
|
|
553
|
+
FAILED: "FAILED",
|
|
554
|
+
PENDING: "PENDING"
|
|
555
|
+
};
|
|
556
|
+
var SessionStatus = {
|
|
557
|
+
APPROVED: "APPROVED",
|
|
558
|
+
CANCELLED: "CANCELLED",
|
|
559
|
+
CREATING: "CREATING",
|
|
560
|
+
FAILED: "FAILED",
|
|
561
|
+
PENDING: "PENDING"
|
|
562
|
+
};
|
|
563
|
+
var SessionStatusCode = {
|
|
564
|
+
CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED",
|
|
565
|
+
EXPIRED: "EXPIRED",
|
|
566
|
+
REJECTED: "REJECTED"
|
|
567
|
+
};
|
|
568
|
+
var FilterField = {
|
|
569
|
+
ACTION_NAME: "ActionName",
|
|
570
|
+
APPROVAL_TEAM_NAME: "ApprovalTeamName",
|
|
571
|
+
INITIATION_TIME: "InitiationTime",
|
|
572
|
+
SESSION_STATUS: "SessionStatus",
|
|
573
|
+
VOTE: "Vote",
|
|
574
|
+
VOTING_TIME: "VotingTime"
|
|
575
|
+
};
|
|
576
|
+
var Operator = {
|
|
577
|
+
BETWEEN: "BETWEEN",
|
|
578
|
+
CONTAINS: "CONTAINS",
|
|
579
|
+
DOES_NOT_CONTAIN: "NOT_CONTAINS",
|
|
580
|
+
EQUALS: "EQ",
|
|
581
|
+
GREATER_THAN: "GT",
|
|
582
|
+
GREATER_THAN_OR_EQUAL_TO: "GTE",
|
|
583
|
+
LESS_THAN: "LT",
|
|
584
|
+
LESS_THAN_OR_EQUAL_TO: "LTE",
|
|
585
|
+
NOT_EQUALS: "NE"
|
|
586
|
+
};
|
|
587
|
+
var TooManyTagsException = class _TooManyTagsException extends MPAServiceException {
|
|
588
|
+
static {
|
|
589
|
+
__name(this, "TooManyTagsException");
|
|
590
|
+
}
|
|
591
|
+
name = "TooManyTagsException";
|
|
592
|
+
$fault = "client";
|
|
593
|
+
/**
|
|
594
|
+
* <p>Message for the <code>TooManyTagsException</code> error.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
Message;
|
|
598
|
+
/**
|
|
599
|
+
* <p>Name of the resource for the <code>TooManyTagsException</code> error.</p>
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
ResourceName;
|
|
603
|
+
/**
|
|
604
|
+
* @internal
|
|
605
|
+
*/
|
|
606
|
+
constructor(opts) {
|
|
607
|
+
super({
|
|
608
|
+
name: "TooManyTagsException",
|
|
609
|
+
$fault: "client",
|
|
610
|
+
...opts
|
|
611
|
+
});
|
|
612
|
+
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
613
|
+
this.Message = opts.Message;
|
|
614
|
+
this.ResourceName = opts.ResourceName;
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
var CreateApprovalTeamRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
618
|
+
...obj,
|
|
619
|
+
...obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy },
|
|
620
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
621
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
622
|
+
}), "CreateApprovalTeamRequestFilterSensitiveLog");
|
|
623
|
+
var GetApprovalTeamResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
624
|
+
...obj,
|
|
625
|
+
...obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy },
|
|
626
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
627
|
+
...obj.PendingUpdate && { PendingUpdate: obj.PendingUpdate }
|
|
628
|
+
}), "GetApprovalTeamResponseFilterSensitiveLog");
|
|
629
|
+
var ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
630
|
+
...obj,
|
|
631
|
+
...obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy },
|
|
632
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
633
|
+
}), "ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog");
|
|
634
|
+
var ListApprovalTeamsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
635
|
+
...obj,
|
|
636
|
+
...obj.ApprovalTeams && {
|
|
637
|
+
ApprovalTeams: obj.ApprovalTeams.map((item) => ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog(item))
|
|
638
|
+
}
|
|
639
|
+
}), "ListApprovalTeamsResponseFilterSensitiveLog");
|
|
640
|
+
var UpdateApprovalTeamRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
641
|
+
...obj,
|
|
642
|
+
...obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy },
|
|
643
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
644
|
+
}), "UpdateApprovalTeamRequestFilterSensitiveLog");
|
|
645
|
+
var PolicyVersionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
646
|
+
...obj,
|
|
647
|
+
...obj.Document && { Document: import_smithy_client.SENSITIVE_STRING }
|
|
648
|
+
}), "PolicyVersionFilterSensitiveLog");
|
|
649
|
+
var GetPolicyVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
650
|
+
...obj,
|
|
651
|
+
...obj.PolicyVersion && { PolicyVersion: PolicyVersionFilterSensitiveLog(obj.PolicyVersion) }
|
|
652
|
+
}), "GetPolicyVersionResponseFilterSensitiveLog");
|
|
653
|
+
var GetResourcePolicyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
654
|
+
...obj,
|
|
655
|
+
...obj.PolicyDocument && { PolicyDocument: import_smithy_client.SENSITIVE_STRING }
|
|
656
|
+
}), "GetResourcePolicyResponseFilterSensitiveLog");
|
|
657
|
+
var CreateIdentitySourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
658
|
+
...obj,
|
|
659
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
660
|
+
}), "CreateIdentitySourceRequestFilterSensitiveLog");
|
|
661
|
+
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
662
|
+
...obj,
|
|
663
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
664
|
+
}), "ListTagsForResourceResponseFilterSensitiveLog");
|
|
665
|
+
var GetSessionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
666
|
+
...obj,
|
|
667
|
+
...obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy },
|
|
668
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
669
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING },
|
|
670
|
+
...obj.RequesterComment && { RequesterComment: import_smithy_client.SENSITIVE_STRING }
|
|
671
|
+
}), "GetSessionResponseFilterSensitiveLog");
|
|
672
|
+
var ListSessionsResponseSessionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
673
|
+
...obj,
|
|
674
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
675
|
+
}), "ListSessionsResponseSessionFilterSensitiveLog");
|
|
676
|
+
var ListSessionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
677
|
+
...obj,
|
|
678
|
+
...obj.Sessions && { Sessions: obj.Sessions.map((item) => ListSessionsResponseSessionFilterSensitiveLog(item)) }
|
|
679
|
+
}), "ListSessionsResponseFilterSensitiveLog");
|
|
680
|
+
var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
681
|
+
...obj,
|
|
682
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
683
|
+
}), "TagResourceRequestFilterSensitiveLog");
|
|
684
|
+
var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
685
|
+
...obj,
|
|
686
|
+
...obj.TagKeys && { TagKeys: import_smithy_client.SENSITIVE_STRING }
|
|
687
|
+
}), "UntagResourceRequestFilterSensitiveLog");
|
|
688
|
+
|
|
689
|
+
// src/protocols/Aws_restJson1.ts
|
|
690
|
+
var se_CancelSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
691
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
692
|
+
const headers = {};
|
|
693
|
+
b.bp("/sessions/{SessionArn}");
|
|
694
|
+
b.p("SessionArn", () => input.SessionArn, "{SessionArn}", false);
|
|
695
|
+
let body;
|
|
696
|
+
b.m("PUT").h(headers).b(body);
|
|
697
|
+
return b.build();
|
|
698
|
+
}, "se_CancelSessionCommand");
|
|
699
|
+
var se_CreateApprovalTeamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
700
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
701
|
+
const headers = {
|
|
702
|
+
"content-type": "application/json"
|
|
703
|
+
};
|
|
704
|
+
b.bp("/approval-teams");
|
|
705
|
+
let body;
|
|
706
|
+
body = JSON.stringify(
|
|
707
|
+
(0, import_smithy_client.take)(input, {
|
|
708
|
+
ApprovalStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ApprovalStrategy"),
|
|
709
|
+
Approvers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Approvers"),
|
|
710
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
711
|
+
Description: [],
|
|
712
|
+
Name: [],
|
|
713
|
+
Policies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Policies"),
|
|
714
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
715
|
+
})
|
|
716
|
+
);
|
|
717
|
+
b.m("POST").h(headers).b(body);
|
|
718
|
+
return b.build();
|
|
719
|
+
}, "se_CreateApprovalTeamCommand");
|
|
720
|
+
var se_CreateIdentitySourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
721
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
722
|
+
const headers = {
|
|
723
|
+
"content-type": "application/json"
|
|
724
|
+
};
|
|
725
|
+
b.bp("/identity-sources");
|
|
726
|
+
let body;
|
|
727
|
+
body = JSON.stringify(
|
|
728
|
+
(0, import_smithy_client.take)(input, {
|
|
729
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
730
|
+
IdentitySourceParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IdentitySourceParameters"),
|
|
731
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
732
|
+
})
|
|
733
|
+
);
|
|
734
|
+
b.m("POST").h(headers).b(body);
|
|
735
|
+
return b.build();
|
|
736
|
+
}, "se_CreateIdentitySourceCommand");
|
|
737
|
+
var se_DeleteIdentitySourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
738
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
739
|
+
const headers = {};
|
|
740
|
+
b.bp("/identity-sources/{IdentitySourceArn}");
|
|
741
|
+
b.p("IdentitySourceArn", () => input.IdentitySourceArn, "{IdentitySourceArn}", false);
|
|
742
|
+
let body;
|
|
743
|
+
b.m("DELETE").h(headers).b(body);
|
|
744
|
+
return b.build();
|
|
745
|
+
}, "se_DeleteIdentitySourceCommand");
|
|
746
|
+
var se_DeleteInactiveApprovalTeamVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
747
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
748
|
+
const headers = {};
|
|
749
|
+
b.bp("/approval-teams/{Arn}/{VersionId}");
|
|
750
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
751
|
+
b.p("VersionId", () => input.VersionId, "{VersionId}", false);
|
|
752
|
+
let body;
|
|
753
|
+
b.m("DELETE").h(headers).b(body);
|
|
754
|
+
return b.build();
|
|
755
|
+
}, "se_DeleteInactiveApprovalTeamVersionCommand");
|
|
756
|
+
var se_GetApprovalTeamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
757
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
758
|
+
const headers = {};
|
|
759
|
+
b.bp("/approval-teams/{Arn}");
|
|
760
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
761
|
+
let body;
|
|
762
|
+
b.m("GET").h(headers).b(body);
|
|
763
|
+
return b.build();
|
|
764
|
+
}, "se_GetApprovalTeamCommand");
|
|
765
|
+
var se_GetIdentitySourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
766
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
767
|
+
const headers = {};
|
|
768
|
+
b.bp("/identity-sources/{IdentitySourceArn}");
|
|
769
|
+
b.p("IdentitySourceArn", () => input.IdentitySourceArn, "{IdentitySourceArn}", false);
|
|
770
|
+
let body;
|
|
771
|
+
b.m("GET").h(headers).b(body);
|
|
772
|
+
return b.build();
|
|
773
|
+
}, "se_GetIdentitySourceCommand");
|
|
774
|
+
var se_GetPolicyVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
775
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
776
|
+
const headers = {};
|
|
777
|
+
b.bp("/policy-versions/{PolicyVersionArn}");
|
|
778
|
+
b.p("PolicyVersionArn", () => input.PolicyVersionArn, "{PolicyVersionArn}", false);
|
|
779
|
+
let body;
|
|
780
|
+
b.m("GET").h(headers).b(body);
|
|
781
|
+
return b.build();
|
|
782
|
+
}, "se_GetPolicyVersionCommand");
|
|
783
|
+
var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
784
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
785
|
+
const headers = {
|
|
786
|
+
"content-type": "application/json"
|
|
787
|
+
};
|
|
788
|
+
b.bp("/GetResourcePolicy");
|
|
789
|
+
let body;
|
|
790
|
+
body = JSON.stringify(
|
|
791
|
+
(0, import_smithy_client.take)(input, {
|
|
792
|
+
PolicyName: [],
|
|
793
|
+
PolicyType: [],
|
|
794
|
+
ResourceArn: []
|
|
795
|
+
})
|
|
796
|
+
);
|
|
797
|
+
b.m("POST").h(headers).b(body);
|
|
798
|
+
return b.build();
|
|
799
|
+
}, "se_GetResourcePolicyCommand");
|
|
800
|
+
var se_GetSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
801
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
802
|
+
const headers = {};
|
|
803
|
+
b.bp("/sessions/{SessionArn}");
|
|
804
|
+
b.p("SessionArn", () => input.SessionArn, "{SessionArn}", false);
|
|
805
|
+
let body;
|
|
806
|
+
b.m("GET").h(headers).b(body);
|
|
807
|
+
return b.build();
|
|
808
|
+
}, "se_GetSessionCommand");
|
|
809
|
+
var se_ListApprovalTeamsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
810
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
811
|
+
const headers = {};
|
|
812
|
+
b.bp("/approval-teams");
|
|
813
|
+
const query = (0, import_smithy_client.map)({
|
|
814
|
+
[_L]: [, ""],
|
|
815
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
816
|
+
[_NT]: [, input[_NT]]
|
|
817
|
+
});
|
|
818
|
+
let body;
|
|
819
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
820
|
+
return b.build();
|
|
821
|
+
}, "se_ListApprovalTeamsCommand");
|
|
822
|
+
var se_ListIdentitySourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
823
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
824
|
+
const headers = {};
|
|
825
|
+
b.bp("/identity-sources");
|
|
826
|
+
const query = (0, import_smithy_client.map)({
|
|
827
|
+
[_L]: [, ""],
|
|
828
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
829
|
+
[_NT]: [, input[_NT]]
|
|
830
|
+
});
|
|
831
|
+
let body;
|
|
832
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
833
|
+
return b.build();
|
|
834
|
+
}, "se_ListIdentitySourcesCommand");
|
|
835
|
+
var se_ListPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
836
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
837
|
+
const headers = {};
|
|
838
|
+
b.bp("/policies");
|
|
839
|
+
const query = (0, import_smithy_client.map)({
|
|
840
|
+
[_L]: [, ""],
|
|
841
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
842
|
+
[_NT]: [, input[_NT]]
|
|
843
|
+
});
|
|
844
|
+
let body;
|
|
845
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
846
|
+
return b.build();
|
|
847
|
+
}, "se_ListPoliciesCommand");
|
|
848
|
+
var se_ListPolicyVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
849
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
850
|
+
const headers = {};
|
|
851
|
+
b.bp("/policies/{PolicyArn}");
|
|
852
|
+
b.p("PolicyArn", () => input.PolicyArn, "{PolicyArn}", false);
|
|
853
|
+
const query = (0, import_smithy_client.map)({
|
|
854
|
+
[_L]: [, ""],
|
|
855
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
856
|
+
[_NT]: [, input[_NT]]
|
|
857
|
+
});
|
|
858
|
+
let body;
|
|
859
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
860
|
+
return b.build();
|
|
861
|
+
}, "se_ListPolicyVersionsCommand");
|
|
862
|
+
var se_ListResourcePoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
863
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
864
|
+
const headers = {};
|
|
865
|
+
b.bp("/resource-policies/{ResourceArn}");
|
|
866
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
867
|
+
const query = (0, import_smithy_client.map)({
|
|
868
|
+
[_L]: [, ""],
|
|
869
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
870
|
+
[_NT]: [, input[_NT]]
|
|
871
|
+
});
|
|
872
|
+
let body;
|
|
873
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
874
|
+
return b.build();
|
|
875
|
+
}, "se_ListResourcePoliciesCommand");
|
|
876
|
+
var se_ListSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
877
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
878
|
+
const headers = {
|
|
879
|
+
"content-type": "application/json"
|
|
880
|
+
};
|
|
881
|
+
b.bp("/approval-teams/{ApprovalTeamArn}/sessions");
|
|
882
|
+
b.p("ApprovalTeamArn", () => input.ApprovalTeamArn, "{ApprovalTeamArn}", false);
|
|
883
|
+
const query = (0, import_smithy_client.map)({
|
|
884
|
+
[_L]: [, ""]
|
|
885
|
+
});
|
|
886
|
+
let body;
|
|
887
|
+
body = JSON.stringify(
|
|
888
|
+
(0, import_smithy_client.take)(input, {
|
|
889
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
890
|
+
MaxResults: [],
|
|
891
|
+
NextToken: []
|
|
892
|
+
})
|
|
893
|
+
);
|
|
894
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
895
|
+
return b.build();
|
|
896
|
+
}, "se_ListSessionsCommand");
|
|
897
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
898
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
899
|
+
const headers = {};
|
|
900
|
+
b.bp("/tags/{ResourceArn}");
|
|
901
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
902
|
+
let body;
|
|
903
|
+
b.m("GET").h(headers).b(body);
|
|
904
|
+
return b.build();
|
|
905
|
+
}, "se_ListTagsForResourceCommand");
|
|
906
|
+
var se_StartActiveApprovalTeamDeletionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
907
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
908
|
+
const headers = {
|
|
909
|
+
"content-type": "application/json"
|
|
910
|
+
};
|
|
911
|
+
b.bp("/approval-teams/{Arn}");
|
|
912
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
913
|
+
const query = (0, import_smithy_client.map)({
|
|
914
|
+
[_D]: [, ""]
|
|
915
|
+
});
|
|
916
|
+
let body;
|
|
917
|
+
body = JSON.stringify(
|
|
918
|
+
(0, import_smithy_client.take)(input, {
|
|
919
|
+
PendingWindowDays: []
|
|
920
|
+
})
|
|
921
|
+
);
|
|
922
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
923
|
+
return b.build();
|
|
924
|
+
}, "se_StartActiveApprovalTeamDeletionCommand");
|
|
925
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
926
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
927
|
+
const headers = {
|
|
928
|
+
"content-type": "application/json"
|
|
929
|
+
};
|
|
930
|
+
b.bp("/tags/{ResourceArn}");
|
|
931
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
932
|
+
let body;
|
|
933
|
+
body = JSON.stringify(
|
|
934
|
+
(0, import_smithy_client.take)(input, {
|
|
935
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
936
|
+
})
|
|
937
|
+
);
|
|
938
|
+
b.m("PUT").h(headers).b(body);
|
|
939
|
+
return b.build();
|
|
940
|
+
}, "se_TagResourceCommand");
|
|
941
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
942
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
943
|
+
const headers = {
|
|
944
|
+
"content-type": "application/json"
|
|
945
|
+
};
|
|
946
|
+
b.bp("/tags/{ResourceArn}");
|
|
947
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
948
|
+
let body;
|
|
949
|
+
body = JSON.stringify(
|
|
950
|
+
(0, import_smithy_client.take)(input, {
|
|
951
|
+
TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")
|
|
952
|
+
})
|
|
953
|
+
);
|
|
954
|
+
b.m("POST").h(headers).b(body);
|
|
955
|
+
return b.build();
|
|
956
|
+
}, "se_UntagResourceCommand");
|
|
957
|
+
var se_UpdateApprovalTeamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
958
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
959
|
+
const headers = {
|
|
960
|
+
"content-type": "application/json"
|
|
961
|
+
};
|
|
962
|
+
b.bp("/approval-teams/{Arn}");
|
|
963
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
964
|
+
let body;
|
|
965
|
+
body = JSON.stringify(
|
|
966
|
+
(0, import_smithy_client.take)(input, {
|
|
967
|
+
ApprovalStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ApprovalStrategy"),
|
|
968
|
+
Approvers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Approvers"),
|
|
969
|
+
Description: []
|
|
970
|
+
})
|
|
971
|
+
);
|
|
972
|
+
b.m("PATCH").h(headers).b(body);
|
|
973
|
+
return b.build();
|
|
974
|
+
}, "se_UpdateApprovalTeamCommand");
|
|
975
|
+
var de_CancelSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
976
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
977
|
+
return de_CommandError(output, context);
|
|
978
|
+
}
|
|
979
|
+
const contents = (0, import_smithy_client.map)({
|
|
980
|
+
$metadata: deserializeMetadata(output)
|
|
981
|
+
});
|
|
982
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
983
|
+
return contents;
|
|
984
|
+
}, "de_CancelSessionCommand");
|
|
985
|
+
var de_CreateApprovalTeamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
986
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
|
+
return de_CommandError(output, context);
|
|
988
|
+
}
|
|
989
|
+
const contents = (0, import_smithy_client.map)({
|
|
990
|
+
$metadata: deserializeMetadata(output)
|
|
991
|
+
});
|
|
992
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
993
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
994
|
+
Arn: import_smithy_client.expectString,
|
|
995
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
996
|
+
Name: import_smithy_client.expectString,
|
|
997
|
+
VersionId: import_smithy_client.expectString
|
|
998
|
+
});
|
|
999
|
+
Object.assign(contents, doc);
|
|
1000
|
+
return contents;
|
|
1001
|
+
}, "de_CreateApprovalTeamCommand");
|
|
1002
|
+
var de_CreateIdentitySourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1003
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1004
|
+
return de_CommandError(output, context);
|
|
1005
|
+
}
|
|
1006
|
+
const contents = (0, import_smithy_client.map)({
|
|
1007
|
+
$metadata: deserializeMetadata(output)
|
|
1008
|
+
});
|
|
1009
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1010
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1011
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
1012
|
+
IdentitySourceArn: import_smithy_client.expectString,
|
|
1013
|
+
IdentitySourceType: import_smithy_client.expectString
|
|
1014
|
+
});
|
|
1015
|
+
Object.assign(contents, doc);
|
|
1016
|
+
return contents;
|
|
1017
|
+
}, "de_CreateIdentitySourceCommand");
|
|
1018
|
+
var de_DeleteIdentitySourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1019
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1020
|
+
return de_CommandError(output, context);
|
|
1021
|
+
}
|
|
1022
|
+
const contents = (0, import_smithy_client.map)({
|
|
1023
|
+
$metadata: deserializeMetadata(output)
|
|
1024
|
+
});
|
|
1025
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1026
|
+
return contents;
|
|
1027
|
+
}, "de_DeleteIdentitySourceCommand");
|
|
1028
|
+
var de_DeleteInactiveApprovalTeamVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1029
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1030
|
+
return de_CommandError(output, context);
|
|
1031
|
+
}
|
|
1032
|
+
const contents = (0, import_smithy_client.map)({
|
|
1033
|
+
$metadata: deserializeMetadata(output)
|
|
1034
|
+
});
|
|
1035
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1036
|
+
return contents;
|
|
1037
|
+
}, "de_DeleteInactiveApprovalTeamVersionCommand");
|
|
1038
|
+
var de_GetApprovalTeamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1039
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1040
|
+
return de_CommandError(output, context);
|
|
1041
|
+
}
|
|
1042
|
+
const contents = (0, import_smithy_client.map)({
|
|
1043
|
+
$metadata: deserializeMetadata(output)
|
|
1044
|
+
});
|
|
1045
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1046
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1047
|
+
ApprovalStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "ApprovalStrategy"),
|
|
1048
|
+
Approvers: /* @__PURE__ */ __name((_) => de_GetApprovalTeamResponseApprovers(_, context), "Approvers"),
|
|
1049
|
+
Arn: import_smithy_client.expectString,
|
|
1050
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
1051
|
+
Description: import_smithy_client.expectString,
|
|
1052
|
+
LastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdateTime"),
|
|
1053
|
+
Name: import_smithy_client.expectString,
|
|
1054
|
+
NumberOfApprovers: import_smithy_client.expectInt32,
|
|
1055
|
+
PendingUpdate: /* @__PURE__ */ __name((_) => de_PendingUpdate(_, context), "PendingUpdate"),
|
|
1056
|
+
Policies: import_smithy_client._json,
|
|
1057
|
+
Status: import_smithy_client.expectString,
|
|
1058
|
+
StatusCode: import_smithy_client.expectString,
|
|
1059
|
+
StatusMessage: import_smithy_client.expectString,
|
|
1060
|
+
UpdateSessionArn: import_smithy_client.expectString,
|
|
1061
|
+
VersionId: import_smithy_client.expectString
|
|
1062
|
+
});
|
|
1063
|
+
Object.assign(contents, doc);
|
|
1064
|
+
return contents;
|
|
1065
|
+
}, "de_GetApprovalTeamCommand");
|
|
1066
|
+
var de_GetIdentitySourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1067
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1068
|
+
return de_CommandError(output, context);
|
|
1069
|
+
}
|
|
1070
|
+
const contents = (0, import_smithy_client.map)({
|
|
1071
|
+
$metadata: deserializeMetadata(output)
|
|
1072
|
+
});
|
|
1073
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1074
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1075
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
1076
|
+
IdentitySourceArn: import_smithy_client.expectString,
|
|
1077
|
+
IdentitySourceParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "IdentitySourceParameters"),
|
|
1078
|
+
IdentitySourceType: import_smithy_client.expectString,
|
|
1079
|
+
Status: import_smithy_client.expectString,
|
|
1080
|
+
StatusCode: import_smithy_client.expectString,
|
|
1081
|
+
StatusMessage: import_smithy_client.expectString
|
|
1082
|
+
});
|
|
1083
|
+
Object.assign(contents, doc);
|
|
1084
|
+
return contents;
|
|
1085
|
+
}, "de_GetIdentitySourceCommand");
|
|
1086
|
+
var de_GetPolicyVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1087
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1088
|
+
return de_CommandError(output, context);
|
|
1089
|
+
}
|
|
1090
|
+
const contents = (0, import_smithy_client.map)({
|
|
1091
|
+
$metadata: deserializeMetadata(output)
|
|
1092
|
+
});
|
|
1093
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1094
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1095
|
+
PolicyVersion: /* @__PURE__ */ __name((_) => de_PolicyVersion(_, context), "PolicyVersion")
|
|
1096
|
+
});
|
|
1097
|
+
Object.assign(contents, doc);
|
|
1098
|
+
return contents;
|
|
1099
|
+
}, "de_GetPolicyVersionCommand");
|
|
1100
|
+
var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1101
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1102
|
+
return de_CommandError(output, context);
|
|
1103
|
+
}
|
|
1104
|
+
const contents = (0, import_smithy_client.map)({
|
|
1105
|
+
$metadata: deserializeMetadata(output)
|
|
1106
|
+
});
|
|
1107
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1108
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1109
|
+
PolicyDocument: import_smithy_client.expectString,
|
|
1110
|
+
PolicyName: import_smithy_client.expectString,
|
|
1111
|
+
PolicyType: import_smithy_client.expectString,
|
|
1112
|
+
PolicyVersionArn: import_smithy_client.expectString,
|
|
1113
|
+
ResourceArn: import_smithy_client.expectString
|
|
1114
|
+
});
|
|
1115
|
+
Object.assign(contents, doc);
|
|
1116
|
+
return contents;
|
|
1117
|
+
}, "de_GetResourcePolicyCommand");
|
|
1118
|
+
var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1119
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1120
|
+
return de_CommandError(output, context);
|
|
1121
|
+
}
|
|
1122
|
+
const contents = (0, import_smithy_client.map)({
|
|
1123
|
+
$metadata: deserializeMetadata(output)
|
|
1124
|
+
});
|
|
1125
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1126
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1127
|
+
ActionCompletionStrategy: import_smithy_client.expectString,
|
|
1128
|
+
ActionName: import_smithy_client.expectString,
|
|
1129
|
+
ApprovalStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "ApprovalStrategy"),
|
|
1130
|
+
ApprovalTeamArn: import_smithy_client.expectString,
|
|
1131
|
+
ApprovalTeamName: import_smithy_client.expectString,
|
|
1132
|
+
ApproverResponses: /* @__PURE__ */ __name((_) => de_GetSessionResponseApproverResponses(_, context), "ApproverResponses"),
|
|
1133
|
+
CompletionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CompletionTime"),
|
|
1134
|
+
Description: import_smithy_client.expectString,
|
|
1135
|
+
ExecutionStatus: import_smithy_client.expectString,
|
|
1136
|
+
ExpirationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "ExpirationTime"),
|
|
1137
|
+
InitiationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "InitiationTime"),
|
|
1138
|
+
Metadata: import_smithy_client._json,
|
|
1139
|
+
NumberOfApprovers: import_smithy_client.expectInt32,
|
|
1140
|
+
ProtectedResourceArn: import_smithy_client.expectString,
|
|
1141
|
+
RequesterAccountId: import_smithy_client.expectString,
|
|
1142
|
+
RequesterComment: import_smithy_client.expectString,
|
|
1143
|
+
RequesterPrincipalArn: import_smithy_client.expectString,
|
|
1144
|
+
RequesterRegion: import_smithy_client.expectString,
|
|
1145
|
+
RequesterServicePrincipal: import_smithy_client.expectString,
|
|
1146
|
+
SessionArn: import_smithy_client.expectString,
|
|
1147
|
+
Status: import_smithy_client.expectString,
|
|
1148
|
+
StatusCode: import_smithy_client.expectString,
|
|
1149
|
+
StatusMessage: import_smithy_client.expectString
|
|
1150
|
+
});
|
|
1151
|
+
Object.assign(contents, doc);
|
|
1152
|
+
return contents;
|
|
1153
|
+
}, "de_GetSessionCommand");
|
|
1154
|
+
var de_ListApprovalTeamsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1155
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1156
|
+
return de_CommandError(output, context);
|
|
1157
|
+
}
|
|
1158
|
+
const contents = (0, import_smithy_client.map)({
|
|
1159
|
+
$metadata: deserializeMetadata(output)
|
|
1160
|
+
});
|
|
1161
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1162
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1163
|
+
ApprovalTeams: /* @__PURE__ */ __name((_) => de_ListApprovalTeamsResponseApprovalTeams(_, context), "ApprovalTeams"),
|
|
1164
|
+
NextToken: import_smithy_client.expectString
|
|
1165
|
+
});
|
|
1166
|
+
Object.assign(contents, doc);
|
|
1167
|
+
return contents;
|
|
1168
|
+
}, "de_ListApprovalTeamsCommand");
|
|
1169
|
+
var de_ListIdentitySourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1170
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1171
|
+
return de_CommandError(output, context);
|
|
1172
|
+
}
|
|
1173
|
+
const contents = (0, import_smithy_client.map)({
|
|
1174
|
+
$metadata: deserializeMetadata(output)
|
|
1175
|
+
});
|
|
1176
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1177
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1178
|
+
IdentitySources: /* @__PURE__ */ __name((_) => de_IdentitySources(_, context), "IdentitySources"),
|
|
1179
|
+
NextToken: import_smithy_client.expectString
|
|
1180
|
+
});
|
|
1181
|
+
Object.assign(contents, doc);
|
|
1182
|
+
return contents;
|
|
1183
|
+
}, "de_ListIdentitySourcesCommand");
|
|
1184
|
+
var de_ListPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1185
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1186
|
+
return de_CommandError(output, context);
|
|
1187
|
+
}
|
|
1188
|
+
const contents = (0, import_smithy_client.map)({
|
|
1189
|
+
$metadata: deserializeMetadata(output)
|
|
1190
|
+
});
|
|
1191
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1192
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1193
|
+
NextToken: import_smithy_client.expectString,
|
|
1194
|
+
Policies: import_smithy_client._json
|
|
1195
|
+
});
|
|
1196
|
+
Object.assign(contents, doc);
|
|
1197
|
+
return contents;
|
|
1198
|
+
}, "de_ListPoliciesCommand");
|
|
1199
|
+
var de_ListPolicyVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1200
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1201
|
+
return de_CommandError(output, context);
|
|
1202
|
+
}
|
|
1203
|
+
const contents = (0, import_smithy_client.map)({
|
|
1204
|
+
$metadata: deserializeMetadata(output)
|
|
1205
|
+
});
|
|
1206
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1207
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1208
|
+
NextToken: import_smithy_client.expectString,
|
|
1209
|
+
PolicyVersions: /* @__PURE__ */ __name((_) => de_PolicyVersions(_, context), "PolicyVersions")
|
|
1210
|
+
});
|
|
1211
|
+
Object.assign(contents, doc);
|
|
1212
|
+
return contents;
|
|
1213
|
+
}, "de_ListPolicyVersionsCommand");
|
|
1214
|
+
var de_ListResourcePoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1215
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1216
|
+
return de_CommandError(output, context);
|
|
1217
|
+
}
|
|
1218
|
+
const contents = (0, import_smithy_client.map)({
|
|
1219
|
+
$metadata: deserializeMetadata(output)
|
|
1220
|
+
});
|
|
1221
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1222
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1223
|
+
NextToken: import_smithy_client.expectString,
|
|
1224
|
+
ResourcePolicies: import_smithy_client._json
|
|
1225
|
+
});
|
|
1226
|
+
Object.assign(contents, doc);
|
|
1227
|
+
return contents;
|
|
1228
|
+
}, "de_ListResourcePoliciesCommand");
|
|
1229
|
+
var de_ListSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1230
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1231
|
+
return de_CommandError(output, context);
|
|
1232
|
+
}
|
|
1233
|
+
const contents = (0, import_smithy_client.map)({
|
|
1234
|
+
$metadata: deserializeMetadata(output)
|
|
1235
|
+
});
|
|
1236
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1237
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1238
|
+
NextToken: import_smithy_client.expectString,
|
|
1239
|
+
Sessions: /* @__PURE__ */ __name((_) => de_ListSessionsResponseSessions(_, context), "Sessions")
|
|
1240
|
+
});
|
|
1241
|
+
Object.assign(contents, doc);
|
|
1242
|
+
return contents;
|
|
1243
|
+
}, "de_ListSessionsCommand");
|
|
1244
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1245
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1246
|
+
return de_CommandError(output, context);
|
|
1247
|
+
}
|
|
1248
|
+
const contents = (0, import_smithy_client.map)({
|
|
1249
|
+
$metadata: deserializeMetadata(output)
|
|
1250
|
+
});
|
|
1251
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1252
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1253
|
+
Tags: import_smithy_client._json
|
|
1254
|
+
});
|
|
1255
|
+
Object.assign(contents, doc);
|
|
1256
|
+
return contents;
|
|
1257
|
+
}, "de_ListTagsForResourceCommand");
|
|
1258
|
+
var de_StartActiveApprovalTeamDeletionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1259
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1260
|
+
return de_CommandError(output, context);
|
|
1261
|
+
}
|
|
1262
|
+
const contents = (0, import_smithy_client.map)({
|
|
1263
|
+
$metadata: deserializeMetadata(output)
|
|
1264
|
+
});
|
|
1265
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1266
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1267
|
+
DeletionCompletionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "DeletionCompletionTime"),
|
|
1268
|
+
DeletionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "DeletionStartTime")
|
|
1269
|
+
});
|
|
1270
|
+
Object.assign(contents, doc);
|
|
1271
|
+
return contents;
|
|
1272
|
+
}, "de_StartActiveApprovalTeamDeletionCommand");
|
|
1273
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1274
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1275
|
+
return de_CommandError(output, context);
|
|
1276
|
+
}
|
|
1277
|
+
const contents = (0, import_smithy_client.map)({
|
|
1278
|
+
$metadata: deserializeMetadata(output)
|
|
1279
|
+
});
|
|
1280
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1281
|
+
return contents;
|
|
1282
|
+
}, "de_TagResourceCommand");
|
|
1283
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1284
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1285
|
+
return de_CommandError(output, context);
|
|
1286
|
+
}
|
|
1287
|
+
const contents = (0, import_smithy_client.map)({
|
|
1288
|
+
$metadata: deserializeMetadata(output)
|
|
1289
|
+
});
|
|
1290
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1291
|
+
return contents;
|
|
1292
|
+
}, "de_UntagResourceCommand");
|
|
1293
|
+
var de_UpdateApprovalTeamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1294
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1295
|
+
return de_CommandError(output, context);
|
|
1296
|
+
}
|
|
1297
|
+
const contents = (0, import_smithy_client.map)({
|
|
1298
|
+
$metadata: deserializeMetadata(output)
|
|
1299
|
+
});
|
|
1300
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1301
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1302
|
+
VersionId: import_smithy_client.expectString
|
|
1303
|
+
});
|
|
1304
|
+
Object.assign(contents, doc);
|
|
1305
|
+
return contents;
|
|
1306
|
+
}, "de_UpdateApprovalTeamCommand");
|
|
1307
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1308
|
+
const parsedOutput = {
|
|
1309
|
+
...output,
|
|
1310
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1311
|
+
};
|
|
1312
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1313
|
+
switch (errorCode) {
|
|
1314
|
+
case "AccessDeniedException":
|
|
1315
|
+
case "com.amazonaws.mpa#AccessDeniedException":
|
|
1316
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1317
|
+
case "ConflictException":
|
|
1318
|
+
case "com.amazonaws.mpa#ConflictException":
|
|
1319
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1320
|
+
case "InternalServerException":
|
|
1321
|
+
case "com.amazonaws.mpa#InternalServerException":
|
|
1322
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1323
|
+
case "ResourceNotFoundException":
|
|
1324
|
+
case "com.amazonaws.mpa#ResourceNotFoundException":
|
|
1325
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1326
|
+
case "ThrottlingException":
|
|
1327
|
+
case "com.amazonaws.mpa#ThrottlingException":
|
|
1328
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1329
|
+
case "ValidationException":
|
|
1330
|
+
case "com.amazonaws.mpa#ValidationException":
|
|
1331
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "ServiceQuotaExceededException":
|
|
1333
|
+
case "com.amazonaws.mpa#ServiceQuotaExceededException":
|
|
1334
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1335
|
+
case "InvalidParameterException":
|
|
1336
|
+
case "com.amazonaws.mpa#InvalidParameterException":
|
|
1337
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1338
|
+
case "TooManyTagsException":
|
|
1339
|
+
case "com.amazonaws.mpa#TooManyTagsException":
|
|
1340
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1341
|
+
default:
|
|
1342
|
+
const parsedBody = parsedOutput.body;
|
|
1343
|
+
return throwDefaultError({
|
|
1344
|
+
output,
|
|
1345
|
+
parsedBody,
|
|
1346
|
+
errorCode
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1349
|
+
}, "de_CommandError");
|
|
1350
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(MPAServiceException);
|
|
1351
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1352
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1353
|
+
const data = parsedOutput.body;
|
|
1354
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1355
|
+
Message: import_smithy_client.expectString
|
|
1356
|
+
});
|
|
1357
|
+
Object.assign(contents, doc);
|
|
1358
|
+
const exception = new AccessDeniedException({
|
|
1359
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1360
|
+
...contents
|
|
1361
|
+
});
|
|
1362
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1363
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1364
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1365
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1366
|
+
const data = parsedOutput.body;
|
|
1367
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1368
|
+
Message: import_smithy_client.expectString
|
|
1369
|
+
});
|
|
1370
|
+
Object.assign(contents, doc);
|
|
1371
|
+
const exception = new ConflictException({
|
|
1372
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1373
|
+
...contents
|
|
1374
|
+
});
|
|
1375
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1376
|
+
}, "de_ConflictExceptionRes");
|
|
1377
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1378
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1379
|
+
const data = parsedOutput.body;
|
|
1380
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1381
|
+
Message: import_smithy_client.expectString
|
|
1382
|
+
});
|
|
1383
|
+
Object.assign(contents, doc);
|
|
1384
|
+
const exception = new InternalServerException({
|
|
1385
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1386
|
+
...contents
|
|
1387
|
+
});
|
|
1388
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1389
|
+
}, "de_InternalServerExceptionRes");
|
|
1390
|
+
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1391
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1392
|
+
const data = parsedOutput.body;
|
|
1393
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1394
|
+
Message: import_smithy_client.expectString
|
|
1395
|
+
});
|
|
1396
|
+
Object.assign(contents, doc);
|
|
1397
|
+
const exception = new InvalidParameterException({
|
|
1398
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1399
|
+
...contents
|
|
1400
|
+
});
|
|
1401
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1402
|
+
}, "de_InvalidParameterExceptionRes");
|
|
1403
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1404
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1405
|
+
const data = parsedOutput.body;
|
|
1406
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1407
|
+
Message: import_smithy_client.expectString
|
|
1408
|
+
});
|
|
1409
|
+
Object.assign(contents, doc);
|
|
1410
|
+
const exception = new ResourceNotFoundException({
|
|
1411
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1412
|
+
...contents
|
|
1413
|
+
});
|
|
1414
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1415
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1416
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1417
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1418
|
+
const data = parsedOutput.body;
|
|
1419
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1420
|
+
Message: import_smithy_client.expectString
|
|
1421
|
+
});
|
|
1422
|
+
Object.assign(contents, doc);
|
|
1423
|
+
const exception = new ServiceQuotaExceededException({
|
|
1424
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1425
|
+
...contents
|
|
1426
|
+
});
|
|
1427
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1428
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1429
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1430
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1431
|
+
const data = parsedOutput.body;
|
|
1432
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1433
|
+
Message: import_smithy_client.expectString
|
|
1434
|
+
});
|
|
1435
|
+
Object.assign(contents, doc);
|
|
1436
|
+
const exception = new ThrottlingException({
|
|
1437
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1438
|
+
...contents
|
|
1439
|
+
});
|
|
1440
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1441
|
+
}, "de_ThrottlingExceptionRes");
|
|
1442
|
+
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1443
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1444
|
+
const data = parsedOutput.body;
|
|
1445
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1446
|
+
Message: import_smithy_client.expectString,
|
|
1447
|
+
ResourceName: import_smithy_client.expectString
|
|
1448
|
+
});
|
|
1449
|
+
Object.assign(contents, doc);
|
|
1450
|
+
const exception = new TooManyTagsException({
|
|
1451
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1452
|
+
...contents
|
|
1453
|
+
});
|
|
1454
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1455
|
+
}, "de_TooManyTagsExceptionRes");
|
|
1456
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1457
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1458
|
+
const data = parsedOutput.body;
|
|
1459
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1460
|
+
Message: import_smithy_client.expectString
|
|
1461
|
+
});
|
|
1462
|
+
Object.assign(contents, doc);
|
|
1463
|
+
const exception = new ValidationException({
|
|
1464
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1465
|
+
...contents
|
|
1466
|
+
});
|
|
1467
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1468
|
+
}, "de_ValidationExceptionRes");
|
|
1469
|
+
var de_GetApprovalTeamResponseApprover = /* @__PURE__ */ __name((output, context) => {
|
|
1470
|
+
return (0, import_smithy_client.take)(output, {
|
|
1471
|
+
ApproverId: import_smithy_client.expectString,
|
|
1472
|
+
PrimaryIdentityId: import_smithy_client.expectString,
|
|
1473
|
+
PrimaryIdentitySourceArn: import_smithy_client.expectString,
|
|
1474
|
+
PrimaryIdentityStatus: import_smithy_client.expectString,
|
|
1475
|
+
ResponseTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "ResponseTime")
|
|
1476
|
+
});
|
|
1477
|
+
}, "de_GetApprovalTeamResponseApprover");
|
|
1478
|
+
var de_GetApprovalTeamResponseApprovers = /* @__PURE__ */ __name((output, context) => {
|
|
1479
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1480
|
+
return de_GetApprovalTeamResponseApprover(entry, context);
|
|
1481
|
+
});
|
|
1482
|
+
return retVal;
|
|
1483
|
+
}, "de_GetApprovalTeamResponseApprovers");
|
|
1484
|
+
var de_GetSessionResponseApproverResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1485
|
+
return (0, import_smithy_client.take)(output, {
|
|
1486
|
+
ApproverId: import_smithy_client.expectString,
|
|
1487
|
+
IdentityId: import_smithy_client.expectString,
|
|
1488
|
+
IdentitySourceArn: import_smithy_client.expectString,
|
|
1489
|
+
Response: import_smithy_client.expectString,
|
|
1490
|
+
ResponseTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "ResponseTime")
|
|
1491
|
+
});
|
|
1492
|
+
}, "de_GetSessionResponseApproverResponse");
|
|
1493
|
+
var de_GetSessionResponseApproverResponses = /* @__PURE__ */ __name((output, context) => {
|
|
1494
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1495
|
+
return de_GetSessionResponseApproverResponse(entry, context);
|
|
1496
|
+
});
|
|
1497
|
+
return retVal;
|
|
1498
|
+
}, "de_GetSessionResponseApproverResponses");
|
|
1499
|
+
var de_IdentitySourceForList = /* @__PURE__ */ __name((output, context) => {
|
|
1500
|
+
return (0, import_smithy_client.take)(output, {
|
|
1501
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
1502
|
+
IdentitySourceArn: import_smithy_client.expectString,
|
|
1503
|
+
IdentitySourceParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "IdentitySourceParameters"),
|
|
1504
|
+
IdentitySourceType: import_smithy_client.expectString,
|
|
1505
|
+
Status: import_smithy_client.expectString,
|
|
1506
|
+
StatusCode: import_smithy_client.expectString,
|
|
1507
|
+
StatusMessage: import_smithy_client.expectString
|
|
1508
|
+
});
|
|
1509
|
+
}, "de_IdentitySourceForList");
|
|
1510
|
+
var de_IdentitySources = /* @__PURE__ */ __name((output, context) => {
|
|
1511
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1512
|
+
return de_IdentitySourceForList(entry, context);
|
|
1513
|
+
});
|
|
1514
|
+
return retVal;
|
|
1515
|
+
}, "de_IdentitySources");
|
|
1516
|
+
var de_ListApprovalTeamsResponseApprovalTeam = /* @__PURE__ */ __name((output, context) => {
|
|
1517
|
+
return (0, import_smithy_client.take)(output, {
|
|
1518
|
+
ApprovalStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "ApprovalStrategy"),
|
|
1519
|
+
Arn: import_smithy_client.expectString,
|
|
1520
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
1521
|
+
Description: import_smithy_client.expectString,
|
|
1522
|
+
Name: import_smithy_client.expectString,
|
|
1523
|
+
NumberOfApprovers: import_smithy_client.expectInt32,
|
|
1524
|
+
Status: import_smithy_client.expectString,
|
|
1525
|
+
StatusCode: import_smithy_client.expectString,
|
|
1526
|
+
StatusMessage: import_smithy_client.expectString
|
|
1527
|
+
});
|
|
1528
|
+
}, "de_ListApprovalTeamsResponseApprovalTeam");
|
|
1529
|
+
var de_ListApprovalTeamsResponseApprovalTeams = /* @__PURE__ */ __name((output, context) => {
|
|
1530
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1531
|
+
return de_ListApprovalTeamsResponseApprovalTeam(entry, context);
|
|
1532
|
+
});
|
|
1533
|
+
return retVal;
|
|
1534
|
+
}, "de_ListApprovalTeamsResponseApprovalTeams");
|
|
1535
|
+
var de_ListSessionsResponseSession = /* @__PURE__ */ __name((output, context) => {
|
|
1536
|
+
return (0, import_smithy_client.take)(output, {
|
|
1537
|
+
ActionCompletionStrategy: import_smithy_client.expectString,
|
|
1538
|
+
ActionName: import_smithy_client.expectString,
|
|
1539
|
+
ApprovalTeamArn: import_smithy_client.expectString,
|
|
1540
|
+
ApprovalTeamName: import_smithy_client.expectString,
|
|
1541
|
+
CompletionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CompletionTime"),
|
|
1542
|
+
Description: import_smithy_client.expectString,
|
|
1543
|
+
ExpirationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "ExpirationTime"),
|
|
1544
|
+
InitiationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "InitiationTime"),
|
|
1545
|
+
ProtectedResourceArn: import_smithy_client.expectString,
|
|
1546
|
+
RequesterAccountId: import_smithy_client.expectString,
|
|
1547
|
+
RequesterPrincipalArn: import_smithy_client.expectString,
|
|
1548
|
+
RequesterRegion: import_smithy_client.expectString,
|
|
1549
|
+
RequesterServicePrincipal: import_smithy_client.expectString,
|
|
1550
|
+
SessionArn: import_smithy_client.expectString,
|
|
1551
|
+
Status: import_smithy_client.expectString,
|
|
1552
|
+
StatusCode: import_smithy_client.expectString,
|
|
1553
|
+
StatusMessage: import_smithy_client.expectString
|
|
1554
|
+
});
|
|
1555
|
+
}, "de_ListSessionsResponseSession");
|
|
1556
|
+
var de_ListSessionsResponseSessions = /* @__PURE__ */ __name((output, context) => {
|
|
1557
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1558
|
+
return de_ListSessionsResponseSession(entry, context);
|
|
1559
|
+
});
|
|
1560
|
+
return retVal;
|
|
1561
|
+
}, "de_ListSessionsResponseSessions");
|
|
1562
|
+
var de_PendingUpdate = /* @__PURE__ */ __name((output, context) => {
|
|
1563
|
+
return (0, import_smithy_client.take)(output, {
|
|
1564
|
+
ApprovalStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "ApprovalStrategy"),
|
|
1565
|
+
Approvers: /* @__PURE__ */ __name((_) => de_GetApprovalTeamResponseApprovers(_, context), "Approvers"),
|
|
1566
|
+
Description: import_smithy_client.expectString,
|
|
1567
|
+
NumberOfApprovers: import_smithy_client.expectInt32,
|
|
1568
|
+
Status: import_smithy_client.expectString,
|
|
1569
|
+
StatusCode: import_smithy_client.expectString,
|
|
1570
|
+
StatusMessage: import_smithy_client.expectString,
|
|
1571
|
+
UpdateInitiationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "UpdateInitiationTime"),
|
|
1572
|
+
VersionId: import_smithy_client.expectString
|
|
1573
|
+
});
|
|
1574
|
+
}, "de_PendingUpdate");
|
|
1575
|
+
var de_PolicyVersion = /* @__PURE__ */ __name((output, context) => {
|
|
1576
|
+
return (0, import_smithy_client.take)(output, {
|
|
1577
|
+
Arn: import_smithy_client.expectString,
|
|
1578
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
1579
|
+
Document: import_smithy_client.expectString,
|
|
1580
|
+
IsDefault: import_smithy_client.expectBoolean,
|
|
1581
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedTime"),
|
|
1582
|
+
Name: import_smithy_client.expectString,
|
|
1583
|
+
PolicyArn: import_smithy_client.expectString,
|
|
1584
|
+
PolicyType: import_smithy_client.expectString,
|
|
1585
|
+
Status: import_smithy_client.expectString,
|
|
1586
|
+
VersionId: import_smithy_client.expectInt32
|
|
1587
|
+
});
|
|
1588
|
+
}, "de_PolicyVersion");
|
|
1589
|
+
var de_PolicyVersions = /* @__PURE__ */ __name((output, context) => {
|
|
1590
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1591
|
+
return de_PolicyVersionSummary(entry, context);
|
|
1592
|
+
});
|
|
1593
|
+
return retVal;
|
|
1594
|
+
}, "de_PolicyVersions");
|
|
1595
|
+
var de_PolicyVersionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1596
|
+
return (0, import_smithy_client.take)(output, {
|
|
1597
|
+
Arn: import_smithy_client.expectString,
|
|
1598
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
1599
|
+
IsDefault: import_smithy_client.expectBoolean,
|
|
1600
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedTime"),
|
|
1601
|
+
Name: import_smithy_client.expectString,
|
|
1602
|
+
PolicyArn: import_smithy_client.expectString,
|
|
1603
|
+
PolicyType: import_smithy_client.expectString,
|
|
1604
|
+
Status: import_smithy_client.expectString,
|
|
1605
|
+
VersionId: import_smithy_client.expectInt32
|
|
1606
|
+
});
|
|
1607
|
+
}, "de_PolicyVersionSummary");
|
|
1608
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1609
|
+
httpStatusCode: output.statusCode,
|
|
1610
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1611
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1612
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1613
|
+
}), "deserializeMetadata");
|
|
1614
|
+
var _D = "Delete";
|
|
1615
|
+
var _L = "List";
|
|
1616
|
+
var _MR = "MaxResults";
|
|
1617
|
+
var _NT = "NextToken";
|
|
1618
|
+
|
|
1619
|
+
// src/commands/CancelSessionCommand.ts
|
|
1620
|
+
var CancelSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1621
|
+
return [
|
|
1622
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1623
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1624
|
+
];
|
|
1625
|
+
}).s("AWSFluffyCoreService", "CancelSession", {}).n("MPAClient", "CancelSessionCommand").f(void 0, void 0).ser(se_CancelSessionCommand).de(de_CancelSessionCommand).build() {
|
|
1626
|
+
static {
|
|
1627
|
+
__name(this, "CancelSessionCommand");
|
|
1628
|
+
}
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
// src/commands/CreateApprovalTeamCommand.ts
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
var CreateApprovalTeamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1636
|
+
return [
|
|
1637
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1638
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1639
|
+
];
|
|
1640
|
+
}).s("AWSFluffyCoreService", "CreateApprovalTeam", {}).n("MPAClient", "CreateApprovalTeamCommand").f(CreateApprovalTeamRequestFilterSensitiveLog, void 0).ser(se_CreateApprovalTeamCommand).de(de_CreateApprovalTeamCommand).build() {
|
|
1641
|
+
static {
|
|
1642
|
+
__name(this, "CreateApprovalTeamCommand");
|
|
1643
|
+
}
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
// src/commands/CreateIdentitySourceCommand.ts
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
var CreateIdentitySourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1651
|
+
return [
|
|
1652
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1653
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1654
|
+
];
|
|
1655
|
+
}).s("AWSFluffyCoreService", "CreateIdentitySource", {}).n("MPAClient", "CreateIdentitySourceCommand").f(CreateIdentitySourceRequestFilterSensitiveLog, void 0).ser(se_CreateIdentitySourceCommand).de(de_CreateIdentitySourceCommand).build() {
|
|
1656
|
+
static {
|
|
1657
|
+
__name(this, "CreateIdentitySourceCommand");
|
|
1658
|
+
}
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1661
|
+
// src/commands/DeleteIdentitySourceCommand.ts
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
var DeleteIdentitySourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1666
|
+
return [
|
|
1667
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1668
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1669
|
+
];
|
|
1670
|
+
}).s("AWSFluffyCoreService", "DeleteIdentitySource", {}).n("MPAClient", "DeleteIdentitySourceCommand").f(void 0, void 0).ser(se_DeleteIdentitySourceCommand).de(de_DeleteIdentitySourceCommand).build() {
|
|
1671
|
+
static {
|
|
1672
|
+
__name(this, "DeleteIdentitySourceCommand");
|
|
1673
|
+
}
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
// src/commands/DeleteInactiveApprovalTeamVersionCommand.ts
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
var DeleteInactiveApprovalTeamVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1681
|
+
return [
|
|
1682
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1683
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1684
|
+
];
|
|
1685
|
+
}).s("AWSFluffyCoreService", "DeleteInactiveApprovalTeamVersion", {}).n("MPAClient", "DeleteInactiveApprovalTeamVersionCommand").f(void 0, void 0).ser(se_DeleteInactiveApprovalTeamVersionCommand).de(de_DeleteInactiveApprovalTeamVersionCommand).build() {
|
|
1686
|
+
static {
|
|
1687
|
+
__name(this, "DeleteInactiveApprovalTeamVersionCommand");
|
|
1688
|
+
}
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
// src/commands/GetApprovalTeamCommand.ts
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
var GetApprovalTeamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1696
|
+
return [
|
|
1697
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1698
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1699
|
+
];
|
|
1700
|
+
}).s("AWSFluffyCoreService", "GetApprovalTeam", {}).n("MPAClient", "GetApprovalTeamCommand").f(void 0, GetApprovalTeamResponseFilterSensitiveLog).ser(se_GetApprovalTeamCommand).de(de_GetApprovalTeamCommand).build() {
|
|
1701
|
+
static {
|
|
1702
|
+
__name(this, "GetApprovalTeamCommand");
|
|
1703
|
+
}
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1706
|
+
// src/commands/GetIdentitySourceCommand.ts
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
var GetIdentitySourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1711
|
+
return [
|
|
1712
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1713
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1714
|
+
];
|
|
1715
|
+
}).s("AWSFluffyCoreService", "GetIdentitySource", {}).n("MPAClient", "GetIdentitySourceCommand").f(void 0, void 0).ser(se_GetIdentitySourceCommand).de(de_GetIdentitySourceCommand).build() {
|
|
1716
|
+
static {
|
|
1717
|
+
__name(this, "GetIdentitySourceCommand");
|
|
1718
|
+
}
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1721
|
+
// src/commands/GetPolicyVersionCommand.ts
|
|
1722
|
+
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
var GetPolicyVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1726
|
+
return [
|
|
1727
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1728
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1729
|
+
];
|
|
1730
|
+
}).s("AWSFluffyCoreService", "GetPolicyVersion", {}).n("MPAClient", "GetPolicyVersionCommand").f(void 0, GetPolicyVersionResponseFilterSensitiveLog).ser(se_GetPolicyVersionCommand).de(de_GetPolicyVersionCommand).build() {
|
|
1731
|
+
static {
|
|
1732
|
+
__name(this, "GetPolicyVersionCommand");
|
|
1733
|
+
}
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
// src/commands/GetResourcePolicyCommand.ts
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
var GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1741
|
+
return [
|
|
1742
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1743
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1744
|
+
];
|
|
1745
|
+
}).s("AWSFluffyCoreService", "GetResourcePolicy", {}).n("MPAClient", "GetResourcePolicyCommand").f(void 0, GetResourcePolicyResponseFilterSensitiveLog).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
|
|
1746
|
+
static {
|
|
1747
|
+
__name(this, "GetResourcePolicyCommand");
|
|
1748
|
+
}
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
// src/commands/GetSessionCommand.ts
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
var GetSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1756
|
+
return [
|
|
1757
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1758
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1759
|
+
];
|
|
1760
|
+
}).s("AWSFluffyCoreService", "GetSession", {}).n("MPAClient", "GetSessionCommand").f(void 0, GetSessionResponseFilterSensitiveLog).ser(se_GetSessionCommand).de(de_GetSessionCommand).build() {
|
|
1761
|
+
static {
|
|
1762
|
+
__name(this, "GetSessionCommand");
|
|
1763
|
+
}
|
|
1764
|
+
};
|
|
1765
|
+
|
|
1766
|
+
// src/commands/ListApprovalTeamsCommand.ts
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
var ListApprovalTeamsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1771
|
+
return [
|
|
1772
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1773
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1774
|
+
];
|
|
1775
|
+
}).s("AWSFluffyCoreService", "ListApprovalTeams", {}).n("MPAClient", "ListApprovalTeamsCommand").f(void 0, ListApprovalTeamsResponseFilterSensitiveLog).ser(se_ListApprovalTeamsCommand).de(de_ListApprovalTeamsCommand).build() {
|
|
1776
|
+
static {
|
|
1777
|
+
__name(this, "ListApprovalTeamsCommand");
|
|
1778
|
+
}
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
// src/commands/ListIdentitySourcesCommand.ts
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
var ListIdentitySourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1786
|
+
return [
|
|
1787
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1788
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1789
|
+
];
|
|
1790
|
+
}).s("AWSFluffyCoreService", "ListIdentitySources", {}).n("MPAClient", "ListIdentitySourcesCommand").f(void 0, void 0).ser(se_ListIdentitySourcesCommand).de(de_ListIdentitySourcesCommand).build() {
|
|
1791
|
+
static {
|
|
1792
|
+
__name(this, "ListIdentitySourcesCommand");
|
|
1793
|
+
}
|
|
1794
|
+
};
|
|
1795
|
+
|
|
1796
|
+
// src/commands/ListPoliciesCommand.ts
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
var ListPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1801
|
+
return [
|
|
1802
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1803
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1804
|
+
];
|
|
1805
|
+
}).s("AWSFluffyCoreService", "ListPolicies", {}).n("MPAClient", "ListPoliciesCommand").f(void 0, void 0).ser(se_ListPoliciesCommand).de(de_ListPoliciesCommand).build() {
|
|
1806
|
+
static {
|
|
1807
|
+
__name(this, "ListPoliciesCommand");
|
|
1808
|
+
}
|
|
1809
|
+
};
|
|
1810
|
+
|
|
1811
|
+
// src/commands/ListPolicyVersionsCommand.ts
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
|
|
1815
|
+
var ListPolicyVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1816
|
+
return [
|
|
1817
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1818
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1819
|
+
];
|
|
1820
|
+
}).s("AWSFluffyCoreService", "ListPolicyVersions", {}).n("MPAClient", "ListPolicyVersionsCommand").f(void 0, void 0).ser(se_ListPolicyVersionsCommand).de(de_ListPolicyVersionsCommand).build() {
|
|
1821
|
+
static {
|
|
1822
|
+
__name(this, "ListPolicyVersionsCommand");
|
|
1823
|
+
}
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1826
|
+
// src/commands/ListResourcePoliciesCommand.ts
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
var ListResourcePoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1831
|
+
return [
|
|
1832
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1833
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1834
|
+
];
|
|
1835
|
+
}).s("AWSFluffyCoreService", "ListResourcePolicies", {}).n("MPAClient", "ListResourcePoliciesCommand").f(void 0, void 0).ser(se_ListResourcePoliciesCommand).de(de_ListResourcePoliciesCommand).build() {
|
|
1836
|
+
static {
|
|
1837
|
+
__name(this, "ListResourcePoliciesCommand");
|
|
1838
|
+
}
|
|
1839
|
+
};
|
|
1840
|
+
|
|
1841
|
+
// src/commands/ListSessionsCommand.ts
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
var ListSessionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1846
|
+
return [
|
|
1847
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1848
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1849
|
+
];
|
|
1850
|
+
}).s("AWSFluffyCoreService", "ListSessions", {}).n("MPAClient", "ListSessionsCommand").f(void 0, ListSessionsResponseFilterSensitiveLog).ser(se_ListSessionsCommand).de(de_ListSessionsCommand).build() {
|
|
1851
|
+
static {
|
|
1852
|
+
__name(this, "ListSessionsCommand");
|
|
1853
|
+
}
|
|
1854
|
+
};
|
|
1855
|
+
|
|
1856
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1861
|
+
return [
|
|
1862
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1863
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1864
|
+
];
|
|
1865
|
+
}).s("AWSFluffyCoreService", "ListTagsForResource", {}).n("MPAClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1866
|
+
static {
|
|
1867
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1868
|
+
}
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
// src/commands/StartActiveApprovalTeamDeletionCommand.ts
|
|
1872
|
+
|
|
1873
|
+
|
|
1874
|
+
|
|
1875
|
+
var StartActiveApprovalTeamDeletionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1876
|
+
return [
|
|
1877
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1878
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1879
|
+
];
|
|
1880
|
+
}).s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {}).n("MPAClient", "StartActiveApprovalTeamDeletionCommand").f(void 0, void 0).ser(se_StartActiveApprovalTeamDeletionCommand).de(de_StartActiveApprovalTeamDeletionCommand).build() {
|
|
1881
|
+
static {
|
|
1882
|
+
__name(this, "StartActiveApprovalTeamDeletionCommand");
|
|
1883
|
+
}
|
|
1884
|
+
};
|
|
1885
|
+
|
|
1886
|
+
// src/commands/TagResourceCommand.ts
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1891
|
+
return [
|
|
1892
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1893
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1894
|
+
];
|
|
1895
|
+
}).s("AWSFluffyCoreService", "TagResource", {}).n("MPAClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1896
|
+
static {
|
|
1897
|
+
__name(this, "TagResourceCommand");
|
|
1898
|
+
}
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
// src/commands/UntagResourceCommand.ts
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1906
|
+
return [
|
|
1907
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1908
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1909
|
+
];
|
|
1910
|
+
}).s("AWSFluffyCoreService", "UntagResource", {}).n("MPAClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1911
|
+
static {
|
|
1912
|
+
__name(this, "UntagResourceCommand");
|
|
1913
|
+
}
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1916
|
+
// src/commands/UpdateApprovalTeamCommand.ts
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
var UpdateApprovalTeamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1921
|
+
return [
|
|
1922
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1923
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1924
|
+
];
|
|
1925
|
+
}).s("AWSFluffyCoreService", "UpdateApprovalTeam", {}).n("MPAClient", "UpdateApprovalTeamCommand").f(UpdateApprovalTeamRequestFilterSensitiveLog, void 0).ser(se_UpdateApprovalTeamCommand).de(de_UpdateApprovalTeamCommand).build() {
|
|
1926
|
+
static {
|
|
1927
|
+
__name(this, "UpdateApprovalTeamCommand");
|
|
1928
|
+
}
|
|
1929
|
+
};
|
|
1930
|
+
|
|
1931
|
+
// src/MPA.ts
|
|
1932
|
+
var commands = {
|
|
1933
|
+
CancelSessionCommand,
|
|
1934
|
+
CreateApprovalTeamCommand,
|
|
1935
|
+
CreateIdentitySourceCommand,
|
|
1936
|
+
DeleteIdentitySourceCommand,
|
|
1937
|
+
DeleteInactiveApprovalTeamVersionCommand,
|
|
1938
|
+
GetApprovalTeamCommand,
|
|
1939
|
+
GetIdentitySourceCommand,
|
|
1940
|
+
GetPolicyVersionCommand,
|
|
1941
|
+
GetResourcePolicyCommand,
|
|
1942
|
+
GetSessionCommand,
|
|
1943
|
+
ListApprovalTeamsCommand,
|
|
1944
|
+
ListIdentitySourcesCommand,
|
|
1945
|
+
ListPoliciesCommand,
|
|
1946
|
+
ListPolicyVersionsCommand,
|
|
1947
|
+
ListResourcePoliciesCommand,
|
|
1948
|
+
ListSessionsCommand,
|
|
1949
|
+
ListTagsForResourceCommand,
|
|
1950
|
+
StartActiveApprovalTeamDeletionCommand,
|
|
1951
|
+
TagResourceCommand,
|
|
1952
|
+
UntagResourceCommand,
|
|
1953
|
+
UpdateApprovalTeamCommand
|
|
1954
|
+
};
|
|
1955
|
+
var MPA = class extends MPAClient {
|
|
1956
|
+
static {
|
|
1957
|
+
__name(this, "MPA");
|
|
1958
|
+
}
|
|
1959
|
+
};
|
|
1960
|
+
(0, import_smithy_client.createAggregatedClient)(commands, MPA);
|
|
1961
|
+
|
|
1962
|
+
// src/pagination/ListApprovalTeamsPaginator.ts
|
|
1963
|
+
|
|
1964
|
+
var paginateListApprovalTeams = (0, import_core.createPaginator)(MPAClient, ListApprovalTeamsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1965
|
+
|
|
1966
|
+
// src/pagination/ListIdentitySourcesPaginator.ts
|
|
1967
|
+
|
|
1968
|
+
var paginateListIdentitySources = (0, import_core.createPaginator)(MPAClient, ListIdentitySourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1969
|
+
|
|
1970
|
+
// src/pagination/ListPoliciesPaginator.ts
|
|
1971
|
+
|
|
1972
|
+
var paginateListPolicies = (0, import_core.createPaginator)(MPAClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1973
|
+
|
|
1974
|
+
// src/pagination/ListPolicyVersionsPaginator.ts
|
|
1975
|
+
|
|
1976
|
+
var paginateListPolicyVersions = (0, import_core.createPaginator)(MPAClient, ListPolicyVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1977
|
+
|
|
1978
|
+
// src/pagination/ListResourcePoliciesPaginator.ts
|
|
1979
|
+
|
|
1980
|
+
var paginateListResourcePolicies = (0, import_core.createPaginator)(MPAClient, ListResourcePoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1981
|
+
|
|
1982
|
+
// src/pagination/ListSessionsPaginator.ts
|
|
1983
|
+
|
|
1984
|
+
var paginateListSessions = (0, import_core.createPaginator)(MPAClient, ListSessionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1985
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1986
|
+
|
|
1987
|
+
0 && (module.exports = {
|
|
1988
|
+
MPAServiceException,
|
|
1989
|
+
__Client,
|
|
1990
|
+
MPAClient,
|
|
1991
|
+
MPA,
|
|
1992
|
+
$Command,
|
|
1993
|
+
CancelSessionCommand,
|
|
1994
|
+
CreateApprovalTeamCommand,
|
|
1995
|
+
CreateIdentitySourceCommand,
|
|
1996
|
+
DeleteIdentitySourceCommand,
|
|
1997
|
+
DeleteInactiveApprovalTeamVersionCommand,
|
|
1998
|
+
GetApprovalTeamCommand,
|
|
1999
|
+
GetIdentitySourceCommand,
|
|
2000
|
+
GetPolicyVersionCommand,
|
|
2001
|
+
GetResourcePolicyCommand,
|
|
2002
|
+
GetSessionCommand,
|
|
2003
|
+
ListApprovalTeamsCommand,
|
|
2004
|
+
ListIdentitySourcesCommand,
|
|
2005
|
+
ListPoliciesCommand,
|
|
2006
|
+
ListPolicyVersionsCommand,
|
|
2007
|
+
ListResourcePoliciesCommand,
|
|
2008
|
+
ListSessionsCommand,
|
|
2009
|
+
ListTagsForResourceCommand,
|
|
2010
|
+
StartActiveApprovalTeamDeletionCommand,
|
|
2011
|
+
TagResourceCommand,
|
|
2012
|
+
UntagResourceCommand,
|
|
2013
|
+
UpdateApprovalTeamCommand,
|
|
2014
|
+
paginateListApprovalTeams,
|
|
2015
|
+
paginateListIdentitySources,
|
|
2016
|
+
paginateListPolicies,
|
|
2017
|
+
paginateListPolicyVersions,
|
|
2018
|
+
paginateListResourcePolicies,
|
|
2019
|
+
paginateListSessions,
|
|
2020
|
+
AccessDeniedException,
|
|
2021
|
+
ActionCompletionStrategy,
|
|
2022
|
+
ApprovalStrategy,
|
|
2023
|
+
ApprovalStrategyResponse,
|
|
2024
|
+
ConflictException,
|
|
2025
|
+
InternalServerException,
|
|
2026
|
+
ServiceQuotaExceededException,
|
|
2027
|
+
ThrottlingException,
|
|
2028
|
+
ValidationException,
|
|
2029
|
+
ResourceNotFoundException,
|
|
2030
|
+
IdentityStatus,
|
|
2031
|
+
ApprovalTeamStatus,
|
|
2032
|
+
ApprovalTeamStatusCode,
|
|
2033
|
+
PolicyType,
|
|
2034
|
+
PolicyStatus,
|
|
2035
|
+
InvalidParameterException,
|
|
2036
|
+
IdentitySourceType,
|
|
2037
|
+
IdentitySourceParametersForGet,
|
|
2038
|
+
IdentitySourceStatus,
|
|
2039
|
+
IdentitySourceStatusCode,
|
|
2040
|
+
IdentitySourceParametersForList,
|
|
2041
|
+
SessionResponse,
|
|
2042
|
+
SessionExecutionStatus,
|
|
2043
|
+
SessionStatus,
|
|
2044
|
+
SessionStatusCode,
|
|
2045
|
+
FilterField,
|
|
2046
|
+
Operator,
|
|
2047
|
+
TooManyTagsException,
|
|
2048
|
+
CreateApprovalTeamRequestFilterSensitiveLog,
|
|
2049
|
+
GetApprovalTeamResponseFilterSensitiveLog,
|
|
2050
|
+
ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog,
|
|
2051
|
+
ListApprovalTeamsResponseFilterSensitiveLog,
|
|
2052
|
+
UpdateApprovalTeamRequestFilterSensitiveLog,
|
|
2053
|
+
PolicyVersionFilterSensitiveLog,
|
|
2054
|
+
GetPolicyVersionResponseFilterSensitiveLog,
|
|
2055
|
+
GetResourcePolicyResponseFilterSensitiveLog,
|
|
2056
|
+
CreateIdentitySourceRequestFilterSensitiveLog,
|
|
2057
|
+
ListTagsForResourceResponseFilterSensitiveLog,
|
|
2058
|
+
GetSessionResponseFilterSensitiveLog,
|
|
2059
|
+
ListSessionsResponseSessionFilterSensitiveLog,
|
|
2060
|
+
ListSessionsResponseFilterSensitiveLog,
|
|
2061
|
+
TagResourceRequestFilterSensitiveLog,
|
|
2062
|
+
UntagResourceRequestFilterSensitiveLog
|
|
2063
|
+
});
|
|
2064
|
+
|