@aws-sdk/client-accessanalyzer 3.1077.0 → 3.1078.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 (125) hide show
  1. package/dist-cjs/index.js +47 -393
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/ApplyArchiveRuleCommand.js +2 -14
  4. package/dist-es/commands/CancelPolicyGenerationCommand.js +2 -14
  5. package/dist-es/commands/CheckAccessNotGrantedCommand.js +2 -14
  6. package/dist-es/commands/CheckNoNewAccessCommand.js +2 -14
  7. package/dist-es/commands/CheckNoPublicAccessCommand.js +2 -14
  8. package/dist-es/commands/CreateAccessPreviewCommand.js +2 -14
  9. package/dist-es/commands/CreateAnalyzerCommand.js +2 -14
  10. package/dist-es/commands/CreateArchiveRuleCommand.js +2 -14
  11. package/dist-es/commands/CreateServiceLinkedAnalyzerCommand.js +2 -14
  12. package/dist-es/commands/DeleteAnalyzerCommand.js +2 -14
  13. package/dist-es/commands/DeleteArchiveRuleCommand.js +2 -14
  14. package/dist-es/commands/DeleteServiceLinkedAnalyzerCommand.js +2 -14
  15. package/dist-es/commands/GenerateFindingRecommendationCommand.js +2 -14
  16. package/dist-es/commands/GetAccessPreviewCommand.js +2 -14
  17. package/dist-es/commands/GetAnalyzedResourceCommand.js +2 -14
  18. package/dist-es/commands/GetAnalyzerCommand.js +2 -14
  19. package/dist-es/commands/GetArchiveRuleCommand.js +2 -14
  20. package/dist-es/commands/GetFindingCommand.js +2 -14
  21. package/dist-es/commands/GetFindingRecommendationCommand.js +2 -14
  22. package/dist-es/commands/GetFindingV2Command.js +2 -14
  23. package/dist-es/commands/GetFindingsStatisticsCommand.js +2 -14
  24. package/dist-es/commands/GetGeneratedPolicyCommand.js +2 -14
  25. package/dist-es/commands/ListAccessPreviewFindingsCommand.js +2 -14
  26. package/dist-es/commands/ListAccessPreviewsCommand.js +2 -14
  27. package/dist-es/commands/ListAnalyzedResourcesCommand.js +2 -14
  28. package/dist-es/commands/ListAnalyzersCommand.js +2 -14
  29. package/dist-es/commands/ListArchiveRulesCommand.js +2 -14
  30. package/dist-es/commands/ListFindingsCommand.js +2 -14
  31. package/dist-es/commands/ListFindingsV2Command.js +2 -14
  32. package/dist-es/commands/ListPolicyGenerationsCommand.js +2 -14
  33. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  34. package/dist-es/commands/StartPolicyGenerationCommand.js +2 -14
  35. package/dist-es/commands/StartResourceScanCommand.js +2 -14
  36. package/dist-es/commands/TagResourceCommand.js +2 -14
  37. package/dist-es/commands/UntagResourceCommand.js +2 -14
  38. package/dist-es/commands/UpdateAnalyzerCommand.js +2 -14
  39. package/dist-es/commands/UpdateArchiveRuleCommand.js +2 -14
  40. package/dist-es/commands/UpdateFindingsCommand.js +2 -14
  41. package/dist-es/commands/ValidatePolicyCommand.js +2 -14
  42. package/dist-es/index.js +1 -0
  43. package/dist-types/commandBuilder.d.ts +18 -0
  44. package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +3 -8
  45. package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +3 -8
  46. package/dist-types/commands/CheckAccessNotGrantedCommand.d.ts +3 -8
  47. package/dist-types/commands/CheckNoNewAccessCommand.d.ts +3 -8
  48. package/dist-types/commands/CheckNoPublicAccessCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateAccessPreviewCommand.d.ts +3 -8
  50. package/dist-types/commands/CreateAnalyzerCommand.d.ts +3 -8
  51. package/dist-types/commands/CreateArchiveRuleCommand.d.ts +3 -8
  52. package/dist-types/commands/CreateServiceLinkedAnalyzerCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteAnalyzerCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +3 -8
  55. package/dist-types/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +3 -8
  56. package/dist-types/commands/GenerateFindingRecommendationCommand.d.ts +3 -8
  57. package/dist-types/commands/GetAccessPreviewCommand.d.ts +3 -8
  58. package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/GetAnalyzerCommand.d.ts +3 -8
  60. package/dist-types/commands/GetArchiveRuleCommand.d.ts +3 -8
  61. package/dist-types/commands/GetFindingCommand.d.ts +3 -8
  62. package/dist-types/commands/GetFindingRecommendationCommand.d.ts +3 -8
  63. package/dist-types/commands/GetFindingV2Command.d.ts +3 -8
  64. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +3 -8
  65. package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +3 -8
  66. package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListAccessPreviewsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +3 -8
  69. package/dist-types/commands/ListAnalyzersCommand.d.ts +3 -8
  70. package/dist-types/commands/ListArchiveRulesCommand.d.ts +3 -8
  71. package/dist-types/commands/ListFindingsCommand.d.ts +3 -8
  72. package/dist-types/commands/ListFindingsV2Command.d.ts +3 -8
  73. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +3 -8
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  75. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +3 -8
  76. package/dist-types/commands/StartResourceScanCommand.d.ts +3 -8
  77. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  78. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  79. package/dist-types/commands/UpdateAnalyzerCommand.d.ts +3 -8
  80. package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +3 -8
  81. package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -8
  82. package/dist-types/commands/ValidatePolicyCommand.d.ts +3 -8
  83. package/dist-types/index.d.ts +1 -0
  84. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  85. package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/CheckAccessNotGrantedCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/CheckNoNewAccessCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/CheckNoPublicAccessCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/CreateServiceLinkedAnalyzerCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/GenerateFindingRecommendationCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetFindingRecommendationCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetFindingV2Command.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListFindingsV2Command.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/UpdateAnalyzerCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/index.d.ts +1 -0
  125. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1986,472 +1987,125 @@ class AccessAnalyzerClient extends Client {
1986
1987
  }
1987
1988
  }
1988
1989
 
1989
- class ApplyArchiveRuleCommand extends Command
1990
- .classBuilder()
1991
- .ep(commonParams)
1992
- .m(function (Command, cs, config, o) {
1993
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1994
- })
1995
- .s("AccessAnalyzer", "ApplyArchiveRule", {})
1996
- .n("AccessAnalyzerClient", "ApplyArchiveRuleCommand")
1997
- .sc(ApplyArchiveRule$)
1998
- .build() {
1990
+ const command = makeBuilder(commonParams, "AccessAnalyzer", "AccessAnalyzerClient", getEndpointPlugin);
1991
+ const _ep0 = {};
1992
+ const _mw0 = (Command, cs, config, o) => [];
1993
+
1994
+ class ApplyArchiveRuleCommand extends command(_ep0, _mw0, "ApplyArchiveRule", ApplyArchiveRule$) {
1999
1995
  }
2000
1996
 
2001
- class CancelPolicyGenerationCommand extends Command
2002
- .classBuilder()
2003
- .ep(commonParams)
2004
- .m(function (Command, cs, config, o) {
2005
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2006
- })
2007
- .s("AccessAnalyzer", "CancelPolicyGeneration", {})
2008
- .n("AccessAnalyzerClient", "CancelPolicyGenerationCommand")
2009
- .sc(CancelPolicyGeneration$)
2010
- .build() {
1997
+ class CancelPolicyGenerationCommand extends command(_ep0, _mw0, "CancelPolicyGeneration", CancelPolicyGeneration$) {
2011
1998
  }
2012
1999
 
2013
- class CheckAccessNotGrantedCommand extends Command
2014
- .classBuilder()
2015
- .ep(commonParams)
2016
- .m(function (Command, cs, config, o) {
2017
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2018
- })
2019
- .s("AccessAnalyzer", "CheckAccessNotGranted", {})
2020
- .n("AccessAnalyzerClient", "CheckAccessNotGrantedCommand")
2021
- .sc(CheckAccessNotGranted$)
2022
- .build() {
2000
+ class CheckAccessNotGrantedCommand extends command(_ep0, _mw0, "CheckAccessNotGranted", CheckAccessNotGranted$) {
2023
2001
  }
2024
2002
 
2025
- class CheckNoNewAccessCommand extends Command
2026
- .classBuilder()
2027
- .ep(commonParams)
2028
- .m(function (Command, cs, config, o) {
2029
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2030
- })
2031
- .s("AccessAnalyzer", "CheckNoNewAccess", {})
2032
- .n("AccessAnalyzerClient", "CheckNoNewAccessCommand")
2033
- .sc(CheckNoNewAccess$)
2034
- .build() {
2003
+ class CheckNoNewAccessCommand extends command(_ep0, _mw0, "CheckNoNewAccess", CheckNoNewAccess$) {
2035
2004
  }
2036
2005
 
2037
- class CheckNoPublicAccessCommand extends Command
2038
- .classBuilder()
2039
- .ep(commonParams)
2040
- .m(function (Command, cs, config, o) {
2041
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2042
- })
2043
- .s("AccessAnalyzer", "CheckNoPublicAccess", {})
2044
- .n("AccessAnalyzerClient", "CheckNoPublicAccessCommand")
2045
- .sc(CheckNoPublicAccess$)
2046
- .build() {
2006
+ class CheckNoPublicAccessCommand extends command(_ep0, _mw0, "CheckNoPublicAccess", CheckNoPublicAccess$) {
2047
2007
  }
2048
2008
 
2049
- class CreateAccessPreviewCommand extends Command
2050
- .classBuilder()
2051
- .ep(commonParams)
2052
- .m(function (Command, cs, config, o) {
2053
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2054
- })
2055
- .s("AccessAnalyzer", "CreateAccessPreview", {})
2056
- .n("AccessAnalyzerClient", "CreateAccessPreviewCommand")
2057
- .sc(CreateAccessPreview$)
2058
- .build() {
2009
+ class CreateAccessPreviewCommand extends command(_ep0, _mw0, "CreateAccessPreview", CreateAccessPreview$) {
2059
2010
  }
2060
2011
 
2061
- class CreateAnalyzerCommand extends Command
2062
- .classBuilder()
2063
- .ep(commonParams)
2064
- .m(function (Command, cs, config, o) {
2065
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2066
- })
2067
- .s("AccessAnalyzer", "CreateAnalyzer", {})
2068
- .n("AccessAnalyzerClient", "CreateAnalyzerCommand")
2069
- .sc(CreateAnalyzer$)
2070
- .build() {
2012
+ class CreateAnalyzerCommand extends command(_ep0, _mw0, "CreateAnalyzer", CreateAnalyzer$) {
2071
2013
  }
2072
2014
 
2073
- class CreateArchiveRuleCommand extends Command
2074
- .classBuilder()
2075
- .ep(commonParams)
2076
- .m(function (Command, cs, config, o) {
2077
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2078
- })
2079
- .s("AccessAnalyzer", "CreateArchiveRule", {})
2080
- .n("AccessAnalyzerClient", "CreateArchiveRuleCommand")
2081
- .sc(CreateArchiveRule$)
2082
- .build() {
2015
+ class CreateArchiveRuleCommand extends command(_ep0, _mw0, "CreateArchiveRule", CreateArchiveRule$) {
2083
2016
  }
2084
2017
 
2085
- class CreateServiceLinkedAnalyzerCommand extends Command
2086
- .classBuilder()
2087
- .ep(commonParams)
2088
- .m(function (Command, cs, config, o) {
2089
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2090
- })
2091
- .s("AccessAnalyzer", "CreateServiceLinkedAnalyzer", {})
2092
- .n("AccessAnalyzerClient", "CreateServiceLinkedAnalyzerCommand")
2093
- .sc(CreateServiceLinkedAnalyzer$)
2094
- .build() {
2018
+ class CreateServiceLinkedAnalyzerCommand extends command(_ep0, _mw0, "CreateServiceLinkedAnalyzer", CreateServiceLinkedAnalyzer$) {
2095
2019
  }
2096
2020
 
2097
- class DeleteAnalyzerCommand extends Command
2098
- .classBuilder()
2099
- .ep(commonParams)
2100
- .m(function (Command, cs, config, o) {
2101
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2102
- })
2103
- .s("AccessAnalyzer", "DeleteAnalyzer", {})
2104
- .n("AccessAnalyzerClient", "DeleteAnalyzerCommand")
2105
- .sc(DeleteAnalyzer$)
2106
- .build() {
2021
+ class DeleteAnalyzerCommand extends command(_ep0, _mw0, "DeleteAnalyzer", DeleteAnalyzer$) {
2107
2022
  }
2108
2023
 
2109
- class DeleteArchiveRuleCommand extends Command
2110
- .classBuilder()
2111
- .ep(commonParams)
2112
- .m(function (Command, cs, config, o) {
2113
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2114
- })
2115
- .s("AccessAnalyzer", "DeleteArchiveRule", {})
2116
- .n("AccessAnalyzerClient", "DeleteArchiveRuleCommand")
2117
- .sc(DeleteArchiveRule$)
2118
- .build() {
2024
+ class DeleteArchiveRuleCommand extends command(_ep0, _mw0, "DeleteArchiveRule", DeleteArchiveRule$) {
2119
2025
  }
2120
2026
 
2121
- class DeleteServiceLinkedAnalyzerCommand extends Command
2122
- .classBuilder()
2123
- .ep(commonParams)
2124
- .m(function (Command, cs, config, o) {
2125
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2126
- })
2127
- .s("AccessAnalyzer", "DeleteServiceLinkedAnalyzer", {})
2128
- .n("AccessAnalyzerClient", "DeleteServiceLinkedAnalyzerCommand")
2129
- .sc(DeleteServiceLinkedAnalyzer$)
2130
- .build() {
2027
+ class DeleteServiceLinkedAnalyzerCommand extends command(_ep0, _mw0, "DeleteServiceLinkedAnalyzer", DeleteServiceLinkedAnalyzer$) {
2131
2028
  }
2132
2029
 
2133
- class GenerateFindingRecommendationCommand extends Command
2134
- .classBuilder()
2135
- .ep(commonParams)
2136
- .m(function (Command, cs, config, o) {
2137
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2138
- })
2139
- .s("AccessAnalyzer", "GenerateFindingRecommendation", {})
2140
- .n("AccessAnalyzerClient", "GenerateFindingRecommendationCommand")
2141
- .sc(GenerateFindingRecommendation$)
2142
- .build() {
2030
+ class GenerateFindingRecommendationCommand extends command(_ep0, _mw0, "GenerateFindingRecommendation", GenerateFindingRecommendation$) {
2143
2031
  }
2144
2032
 
2145
- class GetAccessPreviewCommand extends Command
2146
- .classBuilder()
2147
- .ep(commonParams)
2148
- .m(function (Command, cs, config, o) {
2149
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2150
- })
2151
- .s("AccessAnalyzer", "GetAccessPreview", {})
2152
- .n("AccessAnalyzerClient", "GetAccessPreviewCommand")
2153
- .sc(GetAccessPreview$)
2154
- .build() {
2033
+ class GetAccessPreviewCommand extends command(_ep0, _mw0, "GetAccessPreview", GetAccessPreview$) {
2155
2034
  }
2156
2035
 
2157
- class GetAnalyzedResourceCommand extends Command
2158
- .classBuilder()
2159
- .ep(commonParams)
2160
- .m(function (Command, cs, config, o) {
2161
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2162
- })
2163
- .s("AccessAnalyzer", "GetAnalyzedResource", {})
2164
- .n("AccessAnalyzerClient", "GetAnalyzedResourceCommand")
2165
- .sc(GetAnalyzedResource$)
2166
- .build() {
2036
+ class GetAnalyzedResourceCommand extends command(_ep0, _mw0, "GetAnalyzedResource", GetAnalyzedResource$) {
2167
2037
  }
2168
2038
 
2169
- class GetAnalyzerCommand extends Command
2170
- .classBuilder()
2171
- .ep(commonParams)
2172
- .m(function (Command, cs, config, o) {
2173
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2174
- })
2175
- .s("AccessAnalyzer", "GetAnalyzer", {})
2176
- .n("AccessAnalyzerClient", "GetAnalyzerCommand")
2177
- .sc(GetAnalyzer$)
2178
- .build() {
2039
+ class GetAnalyzerCommand extends command(_ep0, _mw0, "GetAnalyzer", GetAnalyzer$) {
2179
2040
  }
2180
2041
 
2181
- class GetArchiveRuleCommand extends Command
2182
- .classBuilder()
2183
- .ep(commonParams)
2184
- .m(function (Command, cs, config, o) {
2185
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2186
- })
2187
- .s("AccessAnalyzer", "GetArchiveRule", {})
2188
- .n("AccessAnalyzerClient", "GetArchiveRuleCommand")
2189
- .sc(GetArchiveRule$)
2190
- .build() {
2042
+ class GetArchiveRuleCommand extends command(_ep0, _mw0, "GetArchiveRule", GetArchiveRule$) {
2191
2043
  }
2192
2044
 
2193
- class GetFindingCommand extends Command
2194
- .classBuilder()
2195
- .ep(commonParams)
2196
- .m(function (Command, cs, config, o) {
2197
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2198
- })
2199
- .s("AccessAnalyzer", "GetFinding", {})
2200
- .n("AccessAnalyzerClient", "GetFindingCommand")
2201
- .sc(GetFinding$)
2202
- .build() {
2045
+ class GetFindingCommand extends command(_ep0, _mw0, "GetFinding", GetFinding$) {
2203
2046
  }
2204
2047
 
2205
- class GetFindingRecommendationCommand extends Command
2206
- .classBuilder()
2207
- .ep(commonParams)
2208
- .m(function (Command, cs, config, o) {
2209
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2210
- })
2211
- .s("AccessAnalyzer", "GetFindingRecommendation", {})
2212
- .n("AccessAnalyzerClient", "GetFindingRecommendationCommand")
2213
- .sc(GetFindingRecommendation$)
2214
- .build() {
2048
+ class GetFindingRecommendationCommand extends command(_ep0, _mw0, "GetFindingRecommendation", GetFindingRecommendation$) {
2215
2049
  }
2216
2050
 
2217
- class GetFindingsStatisticsCommand extends Command
2218
- .classBuilder()
2219
- .ep(commonParams)
2220
- .m(function (Command, cs, config, o) {
2221
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2222
- })
2223
- .s("AccessAnalyzer", "GetFindingsStatistics", {})
2224
- .n("AccessAnalyzerClient", "GetFindingsStatisticsCommand")
2225
- .sc(GetFindingsStatistics$)
2226
- .build() {
2051
+ class GetFindingsStatisticsCommand extends command(_ep0, _mw0, "GetFindingsStatistics", GetFindingsStatistics$) {
2227
2052
  }
2228
2053
 
2229
- class GetFindingV2Command extends Command
2230
- .classBuilder()
2231
- .ep(commonParams)
2232
- .m(function (Command, cs, config, o) {
2233
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2234
- })
2235
- .s("AccessAnalyzer", "GetFindingV2", {})
2236
- .n("AccessAnalyzerClient", "GetFindingV2Command")
2237
- .sc(GetFindingV2$)
2238
- .build() {
2054
+ class GetFindingV2Command extends command(_ep0, _mw0, "GetFindingV2", GetFindingV2$) {
2239
2055
  }
2240
2056
 
2241
- class GetGeneratedPolicyCommand extends Command
2242
- .classBuilder()
2243
- .ep(commonParams)
2244
- .m(function (Command, cs, config, o) {
2245
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2246
- })
2247
- .s("AccessAnalyzer", "GetGeneratedPolicy", {})
2248
- .n("AccessAnalyzerClient", "GetGeneratedPolicyCommand")
2249
- .sc(GetGeneratedPolicy$)
2250
- .build() {
2057
+ class GetGeneratedPolicyCommand extends command(_ep0, _mw0, "GetGeneratedPolicy", GetGeneratedPolicy$) {
2251
2058
  }
2252
2059
 
2253
- class ListAccessPreviewFindingsCommand extends Command
2254
- .classBuilder()
2255
- .ep(commonParams)
2256
- .m(function (Command, cs, config, o) {
2257
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2258
- })
2259
- .s("AccessAnalyzer", "ListAccessPreviewFindings", {})
2260
- .n("AccessAnalyzerClient", "ListAccessPreviewFindingsCommand")
2261
- .sc(ListAccessPreviewFindings$)
2262
- .build() {
2060
+ class ListAccessPreviewFindingsCommand extends command(_ep0, _mw0, "ListAccessPreviewFindings", ListAccessPreviewFindings$) {
2263
2061
  }
2264
2062
 
2265
- class ListAccessPreviewsCommand extends Command
2266
- .classBuilder()
2267
- .ep(commonParams)
2268
- .m(function (Command, cs, config, o) {
2269
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2270
- })
2271
- .s("AccessAnalyzer", "ListAccessPreviews", {})
2272
- .n("AccessAnalyzerClient", "ListAccessPreviewsCommand")
2273
- .sc(ListAccessPreviews$)
2274
- .build() {
2063
+ class ListAccessPreviewsCommand extends command(_ep0, _mw0, "ListAccessPreviews", ListAccessPreviews$) {
2275
2064
  }
2276
2065
 
2277
- class ListAnalyzedResourcesCommand extends Command
2278
- .classBuilder()
2279
- .ep(commonParams)
2280
- .m(function (Command, cs, config, o) {
2281
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2282
- })
2283
- .s("AccessAnalyzer", "ListAnalyzedResources", {})
2284
- .n("AccessAnalyzerClient", "ListAnalyzedResourcesCommand")
2285
- .sc(ListAnalyzedResources$)
2286
- .build() {
2066
+ class ListAnalyzedResourcesCommand extends command(_ep0, _mw0, "ListAnalyzedResources", ListAnalyzedResources$) {
2287
2067
  }
2288
2068
 
2289
- class ListAnalyzersCommand extends Command
2290
- .classBuilder()
2291
- .ep(commonParams)
2292
- .m(function (Command, cs, config, o) {
2293
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2294
- })
2295
- .s("AccessAnalyzer", "ListAnalyzers", {})
2296
- .n("AccessAnalyzerClient", "ListAnalyzersCommand")
2297
- .sc(ListAnalyzers$)
2298
- .build() {
2069
+ class ListAnalyzersCommand extends command(_ep0, _mw0, "ListAnalyzers", ListAnalyzers$) {
2299
2070
  }
2300
2071
 
2301
- class ListArchiveRulesCommand extends Command
2302
- .classBuilder()
2303
- .ep(commonParams)
2304
- .m(function (Command, cs, config, o) {
2305
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2306
- })
2307
- .s("AccessAnalyzer", "ListArchiveRules", {})
2308
- .n("AccessAnalyzerClient", "ListArchiveRulesCommand")
2309
- .sc(ListArchiveRules$)
2310
- .build() {
2072
+ class ListArchiveRulesCommand extends command(_ep0, _mw0, "ListArchiveRules", ListArchiveRules$) {
2311
2073
  }
2312
2074
 
2313
- class ListFindingsCommand extends Command
2314
- .classBuilder()
2315
- .ep(commonParams)
2316
- .m(function (Command, cs, config, o) {
2317
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2318
- })
2319
- .s("AccessAnalyzer", "ListFindings", {})
2320
- .n("AccessAnalyzerClient", "ListFindingsCommand")
2321
- .sc(ListFindings$)
2322
- .build() {
2075
+ class ListFindingsCommand extends command(_ep0, _mw0, "ListFindings", ListFindings$) {
2323
2076
  }
2324
2077
 
2325
- class ListFindingsV2Command extends Command
2326
- .classBuilder()
2327
- .ep(commonParams)
2328
- .m(function (Command, cs, config, o) {
2329
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2330
- })
2331
- .s("AccessAnalyzer", "ListFindingsV2", {})
2332
- .n("AccessAnalyzerClient", "ListFindingsV2Command")
2333
- .sc(ListFindingsV2$)
2334
- .build() {
2078
+ class ListFindingsV2Command extends command(_ep0, _mw0, "ListFindingsV2", ListFindingsV2$) {
2335
2079
  }
2336
2080
 
2337
- class ListPolicyGenerationsCommand extends Command
2338
- .classBuilder()
2339
- .ep(commonParams)
2340
- .m(function (Command, cs, config, o) {
2341
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2342
- })
2343
- .s("AccessAnalyzer", "ListPolicyGenerations", {})
2344
- .n("AccessAnalyzerClient", "ListPolicyGenerationsCommand")
2345
- .sc(ListPolicyGenerations$)
2346
- .build() {
2081
+ class ListPolicyGenerationsCommand extends command(_ep0, _mw0, "ListPolicyGenerations", ListPolicyGenerations$) {
2347
2082
  }
2348
2083
 
2349
- class ListTagsForResourceCommand extends Command
2350
- .classBuilder()
2351
- .ep(commonParams)
2352
- .m(function (Command, cs, config, o) {
2353
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2354
- })
2355
- .s("AccessAnalyzer", "ListTagsForResource", {})
2356
- .n("AccessAnalyzerClient", "ListTagsForResourceCommand")
2357
- .sc(ListTagsForResource$)
2358
- .build() {
2084
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2359
2085
  }
2360
2086
 
2361
- class StartPolicyGenerationCommand extends Command
2362
- .classBuilder()
2363
- .ep(commonParams)
2364
- .m(function (Command, cs, config, o) {
2365
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2366
- })
2367
- .s("AccessAnalyzer", "StartPolicyGeneration", {})
2368
- .n("AccessAnalyzerClient", "StartPolicyGenerationCommand")
2369
- .sc(StartPolicyGeneration$)
2370
- .build() {
2087
+ class StartPolicyGenerationCommand extends command(_ep0, _mw0, "StartPolicyGeneration", StartPolicyGeneration$) {
2371
2088
  }
2372
2089
 
2373
- class StartResourceScanCommand extends Command
2374
- .classBuilder()
2375
- .ep(commonParams)
2376
- .m(function (Command, cs, config, o) {
2377
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2378
- })
2379
- .s("AccessAnalyzer", "StartResourceScan", {})
2380
- .n("AccessAnalyzerClient", "StartResourceScanCommand")
2381
- .sc(StartResourceScan$)
2382
- .build() {
2090
+ class StartResourceScanCommand extends command(_ep0, _mw0, "StartResourceScan", StartResourceScan$) {
2383
2091
  }
2384
2092
 
2385
- class TagResourceCommand extends Command
2386
- .classBuilder()
2387
- .ep(commonParams)
2388
- .m(function (Command, cs, config, o) {
2389
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2390
- })
2391
- .s("AccessAnalyzer", "TagResource", {})
2392
- .n("AccessAnalyzerClient", "TagResourceCommand")
2393
- .sc(TagResource$)
2394
- .build() {
2093
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2395
2094
  }
2396
2095
 
2397
- class UntagResourceCommand extends Command
2398
- .classBuilder()
2399
- .ep(commonParams)
2400
- .m(function (Command, cs, config, o) {
2401
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2402
- })
2403
- .s("AccessAnalyzer", "UntagResource", {})
2404
- .n("AccessAnalyzerClient", "UntagResourceCommand")
2405
- .sc(UntagResource$)
2406
- .build() {
2096
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2407
2097
  }
2408
2098
 
2409
- class UpdateAnalyzerCommand extends Command
2410
- .classBuilder()
2411
- .ep(commonParams)
2412
- .m(function (Command, cs, config, o) {
2413
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2414
- })
2415
- .s("AccessAnalyzer", "UpdateAnalyzer", {})
2416
- .n("AccessAnalyzerClient", "UpdateAnalyzerCommand")
2417
- .sc(UpdateAnalyzer$)
2418
- .build() {
2099
+ class UpdateAnalyzerCommand extends command(_ep0, _mw0, "UpdateAnalyzer", UpdateAnalyzer$) {
2419
2100
  }
2420
2101
 
2421
- class UpdateArchiveRuleCommand extends Command
2422
- .classBuilder()
2423
- .ep(commonParams)
2424
- .m(function (Command, cs, config, o) {
2425
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2426
- })
2427
- .s("AccessAnalyzer", "UpdateArchiveRule", {})
2428
- .n("AccessAnalyzerClient", "UpdateArchiveRuleCommand")
2429
- .sc(UpdateArchiveRule$)
2430
- .build() {
2102
+ class UpdateArchiveRuleCommand extends command(_ep0, _mw0, "UpdateArchiveRule", UpdateArchiveRule$) {
2431
2103
  }
2432
2104
 
2433
- class UpdateFindingsCommand extends Command
2434
- .classBuilder()
2435
- .ep(commonParams)
2436
- .m(function (Command, cs, config, o) {
2437
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2438
- })
2439
- .s("AccessAnalyzer", "UpdateFindings", {})
2440
- .n("AccessAnalyzerClient", "UpdateFindingsCommand")
2441
- .sc(UpdateFindings$)
2442
- .build() {
2105
+ class UpdateFindingsCommand extends command(_ep0, _mw0, "UpdateFindings", UpdateFindings$) {
2443
2106
  }
2444
2107
 
2445
- class ValidatePolicyCommand extends Command
2446
- .classBuilder()
2447
- .ep(commonParams)
2448
- .m(function (Command, cs, config, o) {
2449
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2450
- })
2451
- .s("AccessAnalyzer", "ValidatePolicy", {})
2452
- .n("AccessAnalyzerClient", "ValidatePolicyCommand")
2453
- .sc(ValidatePolicy$)
2454
- .build() {
2108
+ class ValidatePolicyCommand extends command(_ep0, _mw0, "ValidatePolicy", ValidatePolicy$) {
2455
2109
  }
2456
2110
 
2457
2111
  const paginateGetFindingRecommendation = createPaginator(AccessAnalyzerClient, GetFindingRecommendationCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AccessAnalyzer", "AccessAnalyzerClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ApplyArchiveRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ApplyArchiveRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AccessAnalyzer", "ApplyArchiveRule", {})
13
- .n("AccessAnalyzerClient", "ApplyArchiveRuleCommand")
14
- .sc(ApplyArchiveRule$)
15
- .build() {
3
+ export class ApplyArchiveRuleCommand extends command(_ep0, _mw0, "ApplyArchiveRule", ApplyArchiveRule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelPolicyGeneration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelPolicyGenerationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AccessAnalyzer", "CancelPolicyGeneration", {})
13
- .n("AccessAnalyzerClient", "CancelPolicyGenerationCommand")
14
- .sc(CancelPolicyGeneration$)
15
- .build() {
3
+ export class CancelPolicyGenerationCommand extends command(_ep0, _mw0, "CancelPolicyGeneration", CancelPolicyGeneration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CheckAccessNotGranted$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CheckAccessNotGrantedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AccessAnalyzer", "CheckAccessNotGranted", {})
13
- .n("AccessAnalyzerClient", "CheckAccessNotGrantedCommand")
14
- .sc(CheckAccessNotGranted$)
15
- .build() {
3
+ export class CheckAccessNotGrantedCommand extends command(_ep0, _mw0, "CheckAccessNotGranted", CheckAccessNotGranted$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CheckNoNewAccess$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CheckNoNewAccessCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AccessAnalyzer", "CheckNoNewAccess", {})
13
- .n("AccessAnalyzerClient", "CheckNoNewAccessCommand")
14
- .sc(CheckNoNewAccess$)
15
- .build() {
3
+ export class CheckNoNewAccessCommand extends command(_ep0, _mw0, "CheckNoNewAccess", CheckNoNewAccess$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CheckNoPublicAccess$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CheckNoPublicAccessCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AccessAnalyzer", "CheckNoPublicAccess", {})
13
- .n("AccessAnalyzerClient", "CheckNoPublicAccessCommand")
14
- .sc(CheckNoPublicAccess$)
15
- .build() {
3
+ export class CheckNoPublicAccessCommand extends command(_ep0, _mw0, "CheckNoPublicAccess", CheckNoPublicAccess$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateAccessPreview$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAccessPreviewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AccessAnalyzer", "CreateAccessPreview", {})
13
- .n("AccessAnalyzerClient", "CreateAccessPreviewCommand")
14
- .sc(CreateAccessPreview$)
15
- .build() {
3
+ export class CreateAccessPreviewCommand extends command(_ep0, _mw0, "CreateAccessPreview", CreateAccessPreview$) {
16
4
  }