@aws-sdk/client-accessanalyzer 3.928.0 → 3.930.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 (61) hide show
  1. package/dist-cjs/index.js +2113 -1976
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AccessAnalyzerClient.js +2 -0
  4. package/dist-es/commands/ApplyArchiveRuleCommand.js +3 -9
  5. package/dist-es/commands/CancelPolicyGenerationCommand.js +3 -9
  6. package/dist-es/commands/CheckAccessNotGrantedCommand.js +3 -10
  7. package/dist-es/commands/CheckNoNewAccessCommand.js +3 -10
  8. package/dist-es/commands/CheckNoPublicAccessCommand.js +3 -10
  9. package/dist-es/commands/CreateAccessPreviewCommand.js +3 -9
  10. package/dist-es/commands/CreateAnalyzerCommand.js +3 -9
  11. package/dist-es/commands/CreateArchiveRuleCommand.js +3 -9
  12. package/dist-es/commands/DeleteAnalyzerCommand.js +3 -9
  13. package/dist-es/commands/DeleteArchiveRuleCommand.js +3 -9
  14. package/dist-es/commands/GenerateFindingRecommendationCommand.js +3 -9
  15. package/dist-es/commands/GetAccessPreviewCommand.js +3 -9
  16. package/dist-es/commands/GetAnalyzedResourceCommand.js +3 -9
  17. package/dist-es/commands/GetAnalyzerCommand.js +3 -9
  18. package/dist-es/commands/GetArchiveRuleCommand.js +3 -9
  19. package/dist-es/commands/GetFindingCommand.js +3 -9
  20. package/dist-es/commands/GetFindingRecommendationCommand.js +3 -9
  21. package/dist-es/commands/GetFindingV2Command.js +3 -9
  22. package/dist-es/commands/GetFindingsStatisticsCommand.js +3 -9
  23. package/dist-es/commands/GetGeneratedPolicyCommand.js +3 -9
  24. package/dist-es/commands/ListAccessPreviewFindingsCommand.js +3 -9
  25. package/dist-es/commands/ListAccessPreviewsCommand.js +3 -9
  26. package/dist-es/commands/ListAnalyzedResourcesCommand.js +3 -9
  27. package/dist-es/commands/ListAnalyzersCommand.js +3 -9
  28. package/dist-es/commands/ListArchiveRulesCommand.js +3 -9
  29. package/dist-es/commands/ListFindingsCommand.js +3 -9
  30. package/dist-es/commands/ListFindingsV2Command.js +3 -9
  31. package/dist-es/commands/ListPolicyGenerationsCommand.js +3 -9
  32. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  33. package/dist-es/commands/StartPolicyGenerationCommand.js +3 -9
  34. package/dist-es/commands/StartResourceScanCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateAnalyzerCommand.js +3 -9
  38. package/dist-es/commands/UpdateArchiveRuleCommand.js +3 -9
  39. package/dist-es/commands/UpdateFindingsCommand.js +3 -9
  40. package/dist-es/commands/ValidatePolicyCommand.js +3 -9
  41. package/dist-es/models/models_0.js +0 -146
  42. package/dist-es/runtimeConfig.shared.js +2 -0
  43. package/dist-es/schemas/schemas_0.js +2043 -0
  44. package/dist-types/AccessAnalyzerClient.d.ts +10 -1
  45. package/dist-types/models/models_0.d.ts +40 -22
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/runtimeConfig.d.ts +1 -0
  48. package/dist-types/runtimeConfig.native.d.ts +1 -0
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +266 -0
  51. package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +4 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +0 -25
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +273 -0
  58. package/package.json +33 -34
  59. package/dist-es/protocols/Aws_restJson1.js +0 -1553
  60. package/dist-types/protocols/Aws_restJson1.d.ts +0 -335
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -449
@@ -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.accessanalyzer" }),
28
30
  serviceId: config?.serviceId ?? "AccessAnalyzer",
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 AccessAnalyzerClient 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_ApplyArchiveRuleCommand, se_ApplyArchiveRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { ApplyArchiveRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ApplyArchiveRuleCommand 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("AccessAnalyzer", "ApplyArchiveRule", {})
17
13
  .n("AccessAnalyzerClient", "ApplyArchiveRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ApplyArchiveRuleCommand)
20
- .de(de_ApplyArchiveRuleCommand)
14
+ .sc(ApplyArchiveRule)
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_CancelPolicyGenerationCommand, se_CancelPolicyGenerationCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelPolicyGeneration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelPolicyGenerationCommand 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("AccessAnalyzer", "CancelPolicyGeneration", {})
17
13
  .n("AccessAnalyzerClient", "CancelPolicyGenerationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelPolicyGenerationCommand)
20
- .de(de_CancelPolicyGenerationCommand)
14
+ .sc(CancelPolicyGeneration)
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 { CheckAccessNotGrantedRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CheckAccessNotGrantedCommand, se_CheckAccessNotGrantedCommand } from "../protocols/Aws_restJson1";
4
+ import { CheckAccessNotGranted } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CheckAccessNotGrantedCommand 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("AccessAnalyzer", "CheckAccessNotGranted", {})
18
13
  .n("AccessAnalyzerClient", "CheckAccessNotGrantedCommand")
19
- .f(CheckAccessNotGrantedRequestFilterSensitiveLog, void 0)
20
- .ser(se_CheckAccessNotGrantedCommand)
21
- .de(de_CheckAccessNotGrantedCommand)
14
+ .sc(CheckAccessNotGranted)
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 { CheckNoNewAccessRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CheckNoNewAccessCommand, se_CheckNoNewAccessCommand } from "../protocols/Aws_restJson1";
4
+ import { CheckNoNewAccess } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CheckNoNewAccessCommand 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("AccessAnalyzer", "CheckNoNewAccess", {})
18
13
  .n("AccessAnalyzerClient", "CheckNoNewAccessCommand")
19
- .f(CheckNoNewAccessRequestFilterSensitiveLog, void 0)
20
- .ser(se_CheckNoNewAccessCommand)
21
- .de(de_CheckNoNewAccessCommand)
14
+ .sc(CheckNoNewAccess)
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 { CheckNoPublicAccessRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CheckNoPublicAccessCommand, se_CheckNoPublicAccessCommand } from "../protocols/Aws_restJson1";
4
+ import { CheckNoPublicAccess } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CheckNoPublicAccessCommand 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("AccessAnalyzer", "CheckNoPublicAccess", {})
18
13
  .n("AccessAnalyzerClient", "CheckNoPublicAccessCommand")
19
- .f(CheckNoPublicAccessRequestFilterSensitiveLog, void 0)
20
- .ser(se_CheckNoPublicAccessCommand)
21
- .de(de_CheckNoPublicAccessCommand)
14
+ .sc(CheckNoPublicAccess)
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_CreateAccessPreviewCommand, se_CreateAccessPreviewCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAccessPreview } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAccessPreviewCommand 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("AccessAnalyzer", "CreateAccessPreview", {})
17
13
  .n("AccessAnalyzerClient", "CreateAccessPreviewCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAccessPreviewCommand)
20
- .de(de_CreateAccessPreviewCommand)
14
+ .sc(CreateAccessPreview)
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_CreateAnalyzerCommand, se_CreateAnalyzerCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAnalyzer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAnalyzerCommand 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("AccessAnalyzer", "CreateAnalyzer", {})
17
13
  .n("AccessAnalyzerClient", "CreateAnalyzerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAnalyzerCommand)
20
- .de(de_CreateAnalyzerCommand)
14
+ .sc(CreateAnalyzer)
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_CreateArchiveRuleCommand, se_CreateArchiveRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateArchiveRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateArchiveRuleCommand 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("AccessAnalyzer", "CreateArchiveRule", {})
17
13
  .n("AccessAnalyzerClient", "CreateArchiveRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateArchiveRuleCommand)
20
- .de(de_CreateArchiveRuleCommand)
14
+ .sc(CreateArchiveRule)
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_DeleteAnalyzerCommand, se_DeleteAnalyzerCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAnalyzer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAnalyzerCommand 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("AccessAnalyzer", "DeleteAnalyzer", {})
17
13
  .n("AccessAnalyzerClient", "DeleteAnalyzerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAnalyzerCommand)
20
- .de(de_DeleteAnalyzerCommand)
14
+ .sc(DeleteAnalyzer)
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_DeleteArchiveRuleCommand, se_DeleteArchiveRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteArchiveRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteArchiveRuleCommand 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("AccessAnalyzer", "DeleteArchiveRule", {})
17
13
  .n("AccessAnalyzerClient", "DeleteArchiveRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteArchiveRuleCommand)
20
- .de(de_DeleteArchiveRuleCommand)
14
+ .sc(DeleteArchiveRule)
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_GenerateFindingRecommendationCommand, se_GenerateFindingRecommendationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GenerateFindingRecommendation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GenerateFindingRecommendationCommand 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("AccessAnalyzer", "GenerateFindingRecommendation", {})
17
13
  .n("AccessAnalyzerClient", "GenerateFindingRecommendationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GenerateFindingRecommendationCommand)
20
- .de(de_GenerateFindingRecommendationCommand)
14
+ .sc(GenerateFindingRecommendation)
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_GetAccessPreviewCommand, se_GetAccessPreviewCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAccessPreview } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAccessPreviewCommand 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("AccessAnalyzer", "GetAccessPreview", {})
17
13
  .n("AccessAnalyzerClient", "GetAccessPreviewCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAccessPreviewCommand)
20
- .de(de_GetAccessPreviewCommand)
14
+ .sc(GetAccessPreview)
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_GetAnalyzedResourceCommand, se_GetAnalyzedResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAnalyzedResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAnalyzedResourceCommand 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("AccessAnalyzer", "GetAnalyzedResource", {})
17
13
  .n("AccessAnalyzerClient", "GetAnalyzedResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAnalyzedResourceCommand)
20
- .de(de_GetAnalyzedResourceCommand)
14
+ .sc(GetAnalyzedResource)
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_GetAnalyzerCommand, se_GetAnalyzerCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAnalyzer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAnalyzerCommand 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("AccessAnalyzer", "GetAnalyzer", {})
17
13
  .n("AccessAnalyzerClient", "GetAnalyzerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAnalyzerCommand)
20
- .de(de_GetAnalyzerCommand)
14
+ .sc(GetAnalyzer)
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_GetArchiveRuleCommand, se_GetArchiveRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { GetArchiveRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetArchiveRuleCommand 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("AccessAnalyzer", "GetArchiveRule", {})
17
13
  .n("AccessAnalyzerClient", "GetArchiveRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetArchiveRuleCommand)
20
- .de(de_GetArchiveRuleCommand)
14
+ .sc(GetArchiveRule)
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_GetFindingCommand, se_GetFindingCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFinding } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingCommand 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("AccessAnalyzer", "GetFinding", {})
17
13
  .n("AccessAnalyzerClient", "GetFindingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingCommand)
20
- .de(de_GetFindingCommand)
14
+ .sc(GetFinding)
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_GetFindingRecommendationCommand, se_GetFindingRecommendationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFindingRecommendation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingRecommendationCommand 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("AccessAnalyzer", "GetFindingRecommendation", {})
17
13
  .n("AccessAnalyzerClient", "GetFindingRecommendationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingRecommendationCommand)
20
- .de(de_GetFindingRecommendationCommand)
14
+ .sc(GetFindingRecommendation)
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_GetFindingV2Command, se_GetFindingV2Command } from "../protocols/Aws_restJson1";
4
+ import { GetFindingV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingV2Command 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("AccessAnalyzer", "GetFindingV2", {})
17
13
  .n("AccessAnalyzerClient", "GetFindingV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingV2Command)
20
- .de(de_GetFindingV2Command)
14
+ .sc(GetFindingV2)
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_GetFindingsStatisticsCommand, se_GetFindingsStatisticsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFindingsStatistics } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingsStatisticsCommand 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("AccessAnalyzer", "GetFindingsStatistics", {})
17
13
  .n("AccessAnalyzerClient", "GetFindingsStatisticsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingsStatisticsCommand)
20
- .de(de_GetFindingsStatisticsCommand)
14
+ .sc(GetFindingsStatistics)
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_GetGeneratedPolicyCommand, se_GetGeneratedPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetGeneratedPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGeneratedPolicyCommand 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("AccessAnalyzer", "GetGeneratedPolicy", {})
17
13
  .n("AccessAnalyzerClient", "GetGeneratedPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGeneratedPolicyCommand)
20
- .de(de_GetGeneratedPolicyCommand)
14
+ .sc(GetGeneratedPolicy)
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_ListAccessPreviewFindingsCommand, se_ListAccessPreviewFindingsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAccessPreviewFindings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAccessPreviewFindingsCommand 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("AccessAnalyzer", "ListAccessPreviewFindings", {})
17
13
  .n("AccessAnalyzerClient", "ListAccessPreviewFindingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAccessPreviewFindingsCommand)
20
- .de(de_ListAccessPreviewFindingsCommand)
14
+ .sc(ListAccessPreviewFindings)
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_ListAccessPreviewsCommand, se_ListAccessPreviewsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAccessPreviews } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAccessPreviewsCommand 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("AccessAnalyzer", "ListAccessPreviews", {})
17
13
  .n("AccessAnalyzerClient", "ListAccessPreviewsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAccessPreviewsCommand)
20
- .de(de_ListAccessPreviewsCommand)
14
+ .sc(ListAccessPreviews)
21
15
  .build() {
22
16
  }