@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.
Files changed (45) hide show
  1. package/dist-cjs/index.js +1068 -1188
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MPAClient.js +2 -0
  4. package/dist-es/commands/CancelSessionCommand.js +3 -9
  5. package/dist-es/commands/CreateApprovalTeamCommand.js +3 -10
  6. package/dist-es/commands/CreateIdentitySourceCommand.js +3 -10
  7. package/dist-es/commands/DeleteIdentitySourceCommand.js +3 -9
  8. package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +3 -9
  9. package/dist-es/commands/GetApprovalTeamCommand.js +3 -10
  10. package/dist-es/commands/GetIdentitySourceCommand.js +3 -9
  11. package/dist-es/commands/GetPolicyVersionCommand.js +3 -10
  12. package/dist-es/commands/GetResourcePolicyCommand.js +3 -10
  13. package/dist-es/commands/GetSessionCommand.js +3 -10
  14. package/dist-es/commands/ListApprovalTeamsCommand.js +3 -10
  15. package/dist-es/commands/ListIdentitySourcesCommand.js +3 -9
  16. package/dist-es/commands/ListPoliciesCommand.js +3 -9
  17. package/dist-es/commands/ListPolicyVersionsCommand.js +3 -9
  18. package/dist-es/commands/ListResourcePoliciesCommand.js +3 -9
  19. package/dist-es/commands/ListSessionsCommand.js +3 -10
  20. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  21. package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +3 -9
  22. package/dist-es/commands/TagResourceCommand.js +3 -10
  23. package/dist-es/commands/UntagResourceCommand.js +3 -10
  24. package/dist-es/commands/UpdateApprovalTeamCommand.js +3 -10
  25. package/dist-es/models/models_0.js +0 -72
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-es/schemas/schemas_0.js +999 -0
  28. package/dist-types/MPAClient.d.ts +10 -1
  29. package/dist-types/models/models_0.d.ts +0 -60
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +117 -0
  35. package/dist-types/ts3.4/MPAClient.d.ts +4 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +0 -45
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +124 -0
  42. package/package.json +2 -3
  43. package/dist-es/protocols/Aws_restJson1.js +0 -931
  44. package/dist-types/protocols/Aws_restJson1.d.ts +0 -191
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -257
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mpa" }),
28
30
  serviceId: config?.serviceId ?? "MPA",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class MPAClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelSessionCommand, se_CancelSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelSessionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "CancelSession", {})
17
13
  .n("MPAClient", "CancelSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelSessionCommand)
20
- .de(de_CancelSessionCommand)
14
+ .sc(CancelSession)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateApprovalTeamRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateApprovalTeamCommand, se_CreateApprovalTeamCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApprovalTeam } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateApprovalTeamCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "CreateApprovalTeam", {})
18
13
  .n("MPAClient", "CreateApprovalTeamCommand")
19
- .f(CreateApprovalTeamRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateApprovalTeamCommand)
21
- .de(de_CreateApprovalTeamCommand)
14
+ .sc(CreateApprovalTeam)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateIdentitySourceRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateIdentitySourceCommand, se_CreateIdentitySourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateIdentitySource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateIdentitySourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "CreateIdentitySource", {})
18
13
  .n("MPAClient", "CreateIdentitySourceCommand")
19
- .f(CreateIdentitySourceRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateIdentitySourceCommand)
21
- .de(de_CreateIdentitySourceCommand)
14
+ .sc(CreateIdentitySource)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteIdentitySourceCommand, se_DeleteIdentitySourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteIdentitySource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIdentitySourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "DeleteIdentitySource", {})
17
13
  .n("MPAClient", "DeleteIdentitySourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIdentitySourceCommand)
20
- .de(de_DeleteIdentitySourceCommand)
14
+ .sc(DeleteIdentitySource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteInactiveApprovalTeamVersionCommand, se_DeleteInactiveApprovalTeamVersionCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteInactiveApprovalTeamVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteInactiveApprovalTeamVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "DeleteInactiveApprovalTeamVersion", {})
17
13
  .n("MPAClient", "DeleteInactiveApprovalTeamVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteInactiveApprovalTeamVersionCommand)
20
- .de(de_DeleteInactiveApprovalTeamVersionCommand)
14
+ .sc(DeleteInactiveApprovalTeamVersion)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetApprovalTeamResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetApprovalTeamCommand, se_GetApprovalTeamCommand } from "../protocols/Aws_restJson1";
4
+ import { GetApprovalTeam } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetApprovalTeamCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "GetApprovalTeam", {})
18
13
  .n("MPAClient", "GetApprovalTeamCommand")
19
- .f(void 0, GetApprovalTeamResponseFilterSensitiveLog)
20
- .ser(se_GetApprovalTeamCommand)
21
- .de(de_GetApprovalTeamCommand)
14
+ .sc(GetApprovalTeam)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetIdentitySourceCommand, se_GetIdentitySourceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetIdentitySource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetIdentitySourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "GetIdentitySource", {})
17
13
  .n("MPAClient", "GetIdentitySourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetIdentitySourceCommand)
20
- .de(de_GetIdentitySourceCommand)
14
+ .sc(GetIdentitySource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetPolicyVersionResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetPolicyVersionCommand, se_GetPolicyVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPolicyVersion } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetPolicyVersionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "GetPolicyVersion", {})
18
13
  .n("MPAClient", "GetPolicyVersionCommand")
19
- .f(void 0, GetPolicyVersionResponseFilterSensitiveLog)
20
- .ser(se_GetPolicyVersionCommand)
21
- .de(de_GetPolicyVersionCommand)
14
+ .sc(GetPolicyVersion)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetResourcePolicy } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetResourcePolicyCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "GetResourcePolicy", {})
18
13
  .n("MPAClient", "GetResourcePolicyCommand")
19
- .f(void 0, GetResourcePolicyResponseFilterSensitiveLog)
20
- .ser(se_GetResourcePolicyCommand)
21
- .de(de_GetResourcePolicyCommand)
14
+ .sc(GetResourcePolicy)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetSessionResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetSessionCommand, se_GetSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSession } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetSessionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "GetSession", {})
18
13
  .n("MPAClient", "GetSessionCommand")
19
- .f(void 0, GetSessionResponseFilterSensitiveLog)
20
- .ser(se_GetSessionCommand)
21
- .de(de_GetSessionCommand)
14
+ .sc(GetSession)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListApprovalTeamsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListApprovalTeamsCommand, se_ListApprovalTeamsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListApprovalTeams } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListApprovalTeamsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "ListApprovalTeams", {})
18
13
  .n("MPAClient", "ListApprovalTeamsCommand")
19
- .f(void 0, ListApprovalTeamsResponseFilterSensitiveLog)
20
- .ser(se_ListApprovalTeamsCommand)
21
- .de(de_ListApprovalTeamsCommand)
14
+ .sc(ListApprovalTeams)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListIdentitySourcesCommand, se_ListIdentitySourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListIdentitySources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListIdentitySourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "ListIdentitySources", {})
17
13
  .n("MPAClient", "ListIdentitySourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListIdentitySourcesCommand)
20
- .de(de_ListIdentitySourcesCommand)
14
+ .sc(ListIdentitySources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPoliciesCommand, se_ListPoliciesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListPolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPoliciesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "ListPolicies", {})
17
13
  .n("MPAClient", "ListPoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPoliciesCommand)
20
- .de(de_ListPoliciesCommand)
14
+ .sc(ListPolicies)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPolicyVersionsCommand, se_ListPolicyVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListPolicyVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPolicyVersionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "ListPolicyVersions", {})
17
13
  .n("MPAClient", "ListPolicyVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPolicyVersionsCommand)
20
- .de(de_ListPolicyVersionsCommand)
14
+ .sc(ListPolicyVersions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListResourcePoliciesCommand, se_ListResourcePoliciesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListResourcePolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListResourcePoliciesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "ListResourcePolicies", {})
17
13
  .n("MPAClient", "ListResourcePoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListResourcePoliciesCommand)
20
- .de(de_ListResourcePoliciesCommand)
14
+ .sc(ListResourcePolicies)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListSessionsResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_ListSessionsCommand, se_ListSessionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSessions } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListSessionsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "ListSessions", {})
18
13
  .n("MPAClient", "ListSessionsCommand")
19
- .f(void 0, ListSessionsResponseFilterSensitiveLog)
20
- .ser(se_ListSessionsCommand)
21
- .de(de_ListSessionsCommand)
14
+ .sc(ListSessions)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListTagsForResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "ListTagsForResource", {})
18
13
  .n("MPAClient", "ListTagsForResourceCommand")
19
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
20
- .ser(se_ListTagsForResourceCommand)
21
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartActiveApprovalTeamDeletionCommand, se_StartActiveApprovalTeamDeletionCommand, } from "../protocols/Aws_restJson1";
4
+ import { StartActiveApprovalTeamDeletion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartActiveApprovalTeamDeletionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {})
17
13
  .n("MPAClient", "StartActiveApprovalTeamDeletionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartActiveApprovalTeamDeletionCommand)
20
- .de(de_StartActiveApprovalTeamDeletionCommand)
14
+ .sc(StartActiveApprovalTeamDeletion)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class TagResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "TagResource", {})
18
13
  .n("MPAClient", "TagResourceCommand")
19
- .f(TagResourceRequestFilterSensitiveLog, void 0)
20
- .ser(se_TagResourceCommand)
21
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UntagResourceRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UntagResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "UntagResource", {})
18
13
  .n("MPAClient", "UntagResourceCommand")
19
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
20
- .ser(se_UntagResourceCommand)
21
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateApprovalTeamRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateApprovalTeamCommand, se_UpdateApprovalTeamCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApprovalTeam } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateApprovalTeamCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSFluffyCoreService", "UpdateApprovalTeam", {})
18
13
  .n("MPAClient", "UpdateApprovalTeamCommand")
19
- .f(UpdateApprovalTeamRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateApprovalTeamCommand)
21
- .de(de_UpdateApprovalTeamCommand)
14
+ .sc(UpdateApprovalTeam)
22
15
  .build() {
23
16
  }