@aws-sdk/client-mpa 3.928.0 → 3.929.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 +1068 -1188
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MPAClient.js +2 -0
- package/dist-es/commands/CancelSessionCommand.js +3 -9
- package/dist-es/commands/CreateApprovalTeamCommand.js +3 -10
- package/dist-es/commands/CreateIdentitySourceCommand.js +3 -10
- package/dist-es/commands/DeleteIdentitySourceCommand.js +3 -9
- package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +3 -9
- package/dist-es/commands/GetApprovalTeamCommand.js +3 -10
- package/dist-es/commands/GetIdentitySourceCommand.js +3 -9
- package/dist-es/commands/GetPolicyVersionCommand.js +3 -10
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -10
- package/dist-es/commands/GetSessionCommand.js +3 -10
- package/dist-es/commands/ListApprovalTeamsCommand.js +3 -10
- package/dist-es/commands/ListIdentitySourcesCommand.js +3 -9
- package/dist-es/commands/ListPoliciesCommand.js +3 -9
- package/dist-es/commands/ListPolicyVersionsCommand.js +3 -9
- package/dist-es/commands/ListResourcePoliciesCommand.js +3 -9
- package/dist-es/commands/ListSessionsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateApprovalTeamCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -72
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +999 -0
- package/dist-types/MPAClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -60
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +117 -0
- package/dist-types/ts3.4/MPAClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -45
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +124 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -931
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -191
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -257
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { MPAServiceException as __BaseException } from "./MPAServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -254,74 +253,3 @@ export class TooManyTagsException extends __BaseException {
|
|
|
254
253
|
this.ResourceName = opts.ResourceName;
|
|
255
254
|
}
|
|
256
255
|
}
|
|
257
|
-
export const CreateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
|
|
258
|
-
...obj,
|
|
259
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
260
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
261
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
262
|
-
});
|
|
263
|
-
export const GetApprovalTeamResponseFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
266
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
267
|
-
...(obj.PendingUpdate && { PendingUpdate: obj.PendingUpdate }),
|
|
268
|
-
});
|
|
269
|
-
export const ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = (obj) => ({
|
|
270
|
-
...obj,
|
|
271
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
272
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
273
|
-
});
|
|
274
|
-
export const ListApprovalTeamsResponseFilterSensitiveLog = (obj) => ({
|
|
275
|
-
...obj,
|
|
276
|
-
...(obj.ApprovalTeams && {
|
|
277
|
-
ApprovalTeams: obj.ApprovalTeams.map((item) => ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog(item)),
|
|
278
|
-
}),
|
|
279
|
-
});
|
|
280
|
-
export const UpdateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
|
|
281
|
-
...obj,
|
|
282
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
283
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
284
|
-
});
|
|
285
|
-
export const PolicyVersionFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
...(obj.Document && { Document: SENSITIVE_STRING }),
|
|
288
|
-
});
|
|
289
|
-
export const GetPolicyVersionResponseFilterSensitiveLog = (obj) => ({
|
|
290
|
-
...obj,
|
|
291
|
-
...(obj.PolicyVersion && { PolicyVersion: PolicyVersionFilterSensitiveLog(obj.PolicyVersion) }),
|
|
292
|
-
});
|
|
293
|
-
export const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
294
|
-
...obj,
|
|
295
|
-
...(obj.PolicyDocument && { PolicyDocument: SENSITIVE_STRING }),
|
|
296
|
-
});
|
|
297
|
-
export const CreateIdentitySourceRequestFilterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
300
|
-
});
|
|
301
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
302
|
-
...obj,
|
|
303
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
304
|
-
});
|
|
305
|
-
export const GetSessionResponseFilterSensitiveLog = (obj) => ({
|
|
306
|
-
...obj,
|
|
307
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
308
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
309
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
310
|
-
...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
|
|
311
|
-
});
|
|
312
|
-
export const ListSessionsResponseSessionFilterSensitiveLog = (obj) => ({
|
|
313
|
-
...obj,
|
|
314
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
315
|
-
});
|
|
316
|
-
export const ListSessionsResponseFilterSensitiveLog = (obj) => ({
|
|
317
|
-
...obj,
|
|
318
|
-
...(obj.Sessions && { Sessions: obj.Sessions.map((item) => ListSessionsResponseSessionFilterSensitiveLog(item)) }),
|
|
319
|
-
});
|
|
320
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
321
|
-
...obj,
|
|
322
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
323
|
-
});
|
|
324
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
325
|
-
...obj,
|
|
326
|
-
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
327
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mpa" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "MPA",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|