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