@aws-sdk/client-fms 3.1077.0 → 3.1079.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 (134) hide show
  1. package/dist-cjs/index.js +50 -423
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateAdminAccountCommand.js +2 -14
  4. package/dist-es/commands/AssociateThirdPartyFirewallCommand.js +2 -14
  5. package/dist-es/commands/BatchAssociateResourceCommand.js +2 -14
  6. package/dist-es/commands/BatchDisassociateResourceCommand.js +2 -14
  7. package/dist-es/commands/DeleteAppsListCommand.js +2 -14
  8. package/dist-es/commands/DeleteNotificationChannelCommand.js +2 -14
  9. package/dist-es/commands/DeletePolicyCommand.js +2 -14
  10. package/dist-es/commands/DeleteProtocolsListCommand.js +2 -14
  11. package/dist-es/commands/DeleteResourceSetCommand.js +2 -14
  12. package/dist-es/commands/DisassociateAdminAccountCommand.js +2 -14
  13. package/dist-es/commands/DisassociateThirdPartyFirewallCommand.js +2 -14
  14. package/dist-es/commands/GetAdminAccountCommand.js +2 -14
  15. package/dist-es/commands/GetAdminScopeCommand.js +2 -14
  16. package/dist-es/commands/GetAppsListCommand.js +2 -14
  17. package/dist-es/commands/GetComplianceDetailCommand.js +2 -14
  18. package/dist-es/commands/GetNotificationChannelCommand.js +2 -14
  19. package/dist-es/commands/GetPolicyCommand.js +2 -14
  20. package/dist-es/commands/GetProtectionStatusCommand.js +2 -14
  21. package/dist-es/commands/GetProtocolsListCommand.js +2 -14
  22. package/dist-es/commands/GetResourceSetCommand.js +2 -14
  23. package/dist-es/commands/GetThirdPartyFirewallAssociationStatusCommand.js +2 -14
  24. package/dist-es/commands/GetViolationDetailsCommand.js +2 -14
  25. package/dist-es/commands/ListAdminAccountsForOrganizationCommand.js +2 -14
  26. package/dist-es/commands/ListAdminsManagingAccountCommand.js +2 -14
  27. package/dist-es/commands/ListAppsListsCommand.js +2 -14
  28. package/dist-es/commands/ListComplianceStatusCommand.js +2 -14
  29. package/dist-es/commands/ListDiscoveredResourcesCommand.js +2 -14
  30. package/dist-es/commands/ListMemberAccountsCommand.js +2 -14
  31. package/dist-es/commands/ListPoliciesCommand.js +2 -14
  32. package/dist-es/commands/ListProtocolsListsCommand.js +2 -14
  33. package/dist-es/commands/ListResourceSetResourcesCommand.js +2 -14
  34. package/dist-es/commands/ListResourceSetsCommand.js +2 -14
  35. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  36. package/dist-es/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +2 -14
  37. package/dist-es/commands/PutAdminAccountCommand.js +2 -14
  38. package/dist-es/commands/PutAppsListCommand.js +2 -14
  39. package/dist-es/commands/PutNotificationChannelCommand.js +2 -14
  40. package/dist-es/commands/PutPolicyCommand.js +2 -14
  41. package/dist-es/commands/PutProtocolsListCommand.js +2 -14
  42. package/dist-es/commands/PutResourceSetCommand.js +2 -14
  43. package/dist-es/commands/TagResourceCommand.js +2 -14
  44. package/dist-es/commands/UntagResourceCommand.js +2 -14
  45. package/dist-es/index.js +1 -0
  46. package/dist-types/commandBuilder.d.ts +18 -0
  47. package/dist-types/commands/AssociateAdminAccountCommand.d.ts +3 -8
  48. package/dist-types/commands/AssociateThirdPartyFirewallCommand.d.ts +3 -8
  49. package/dist-types/commands/BatchAssociateResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/BatchDisassociateResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteAppsListCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteNotificationChannelCommand.d.ts +3 -8
  53. package/dist-types/commands/DeletePolicyCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteProtocolsListCommand.d.ts +3 -8
  55. package/dist-types/commands/DeleteResourceSetCommand.d.ts +3 -8
  56. package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +3 -8
  57. package/dist-types/commands/DisassociateThirdPartyFirewallCommand.d.ts +3 -8
  58. package/dist-types/commands/GetAdminAccountCommand.d.ts +3 -8
  59. package/dist-types/commands/GetAdminScopeCommand.d.ts +3 -8
  60. package/dist-types/commands/GetAppsListCommand.d.ts +3 -8
  61. package/dist-types/commands/GetComplianceDetailCommand.d.ts +3 -8
  62. package/dist-types/commands/GetNotificationChannelCommand.d.ts +3 -8
  63. package/dist-types/commands/GetPolicyCommand.d.ts +3 -8
  64. package/dist-types/commands/GetProtectionStatusCommand.d.ts +3 -8
  65. package/dist-types/commands/GetProtocolsListCommand.d.ts +3 -8
  66. package/dist-types/commands/GetResourceSetCommand.d.ts +3 -8
  67. package/dist-types/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +3 -8
  68. package/dist-types/commands/GetViolationDetailsCommand.d.ts +3 -8
  69. package/dist-types/commands/ListAdminAccountsForOrganizationCommand.d.ts +3 -8
  70. package/dist-types/commands/ListAdminsManagingAccountCommand.d.ts +3 -8
  71. package/dist-types/commands/ListAppsListsCommand.d.ts +3 -8
  72. package/dist-types/commands/ListComplianceStatusCommand.d.ts +3 -8
  73. package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +3 -8
  74. package/dist-types/commands/ListMemberAccountsCommand.d.ts +3 -8
  75. package/dist-types/commands/ListPoliciesCommand.d.ts +3 -8
  76. package/dist-types/commands/ListProtocolsListsCommand.d.ts +3 -8
  77. package/dist-types/commands/ListResourceSetResourcesCommand.d.ts +3 -8
  78. package/dist-types/commands/ListResourceSetsCommand.d.ts +3 -8
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  80. package/dist-types/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +3 -8
  81. package/dist-types/commands/PutAdminAccountCommand.d.ts +3 -8
  82. package/dist-types/commands/PutAppsListCommand.d.ts +3 -8
  83. package/dist-types/commands/PutNotificationChannelCommand.d.ts +3 -8
  84. package/dist-types/commands/PutPolicyCommand.d.ts +3 -8
  85. package/dist-types/commands/PutProtocolsListCommand.d.ts +3 -8
  86. package/dist-types/commands/PutResourceSetCommand.d.ts +3 -8
  87. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  88. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  89. package/dist-types/index.d.ts +1 -0
  90. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  91. package/dist-types/ts3.4/commands/AssociateAdminAccountCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/AssociateThirdPartyFirewallCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/BatchAssociateResourceCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/BatchDisassociateResourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteAppsListCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteNotificationChannelCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DeleteProtocolsListCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DeleteResourceSetCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DisassociateAdminAccountCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/DisassociateThirdPartyFirewallCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetAdminAccountCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetAdminScopeCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetAppsListCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetComplianceDetailCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetNotificationChannelCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetProtectionStatusCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/GetProtocolsListCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/GetResourceSetCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/GetViolationDetailsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListAdminAccountsForOrganizationCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListAdminsManagingAccountCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListAppsListsCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListComplianceStatusCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/ListMemberAccountsCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/ListProtocolsListsCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/ListResourceSetResourcesCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/ListResourceSetsCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/PutAdminAccountCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/PutAppsListCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/PutNotificationChannelCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/PutProtocolsListCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/PutResourceSetCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/index.d.ts +1 -0
  134. 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.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1913,508 +1914,134 @@ class FMSClient extends Client {
1913
1914
  }
1914
1915
  }
1915
1916
 
1916
- class AssociateAdminAccountCommand extends Command
1917
- .classBuilder()
1918
- .ep(commonParams)
1919
- .m(function (Command, cs, config, o) {
1920
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1921
- })
1922
- .s("AWSFMS_20180101", "AssociateAdminAccount", {})
1923
- .n("FMSClient", "AssociateAdminAccountCommand")
1924
- .sc(AssociateAdminAccount$)
1925
- .build() {
1917
+ const command = makeBuilder(commonParams, "AWSFMS_20180101", "FMSClient", getEndpointPlugin);
1918
+ const _ep0 = {};
1919
+ const _mw0 = (Command, cs, config, o) => [];
1920
+
1921
+ class AssociateAdminAccountCommand extends command(_ep0, _mw0, "AssociateAdminAccount", AssociateAdminAccount$) {
1926
1922
  }
1927
1923
 
1928
- class AssociateThirdPartyFirewallCommand extends Command
1929
- .classBuilder()
1930
- .ep(commonParams)
1931
- .m(function (Command, cs, config, o) {
1932
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1933
- })
1934
- .s("AWSFMS_20180101", "AssociateThirdPartyFirewall", {})
1935
- .n("FMSClient", "AssociateThirdPartyFirewallCommand")
1936
- .sc(AssociateThirdPartyFirewall$)
1937
- .build() {
1924
+ class AssociateThirdPartyFirewallCommand extends command(_ep0, _mw0, "AssociateThirdPartyFirewall", AssociateThirdPartyFirewall$) {
1938
1925
  }
1939
1926
 
1940
- class BatchAssociateResourceCommand extends Command
1941
- .classBuilder()
1942
- .ep(commonParams)
1943
- .m(function (Command, cs, config, o) {
1944
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1945
- })
1946
- .s("AWSFMS_20180101", "BatchAssociateResource", {})
1947
- .n("FMSClient", "BatchAssociateResourceCommand")
1948
- .sc(BatchAssociateResource$)
1949
- .build() {
1927
+ class BatchAssociateResourceCommand extends command(_ep0, _mw0, "BatchAssociateResource", BatchAssociateResource$) {
1950
1928
  }
1951
1929
 
1952
- class BatchDisassociateResourceCommand extends Command
1953
- .classBuilder()
1954
- .ep(commonParams)
1955
- .m(function (Command, cs, config, o) {
1956
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1957
- })
1958
- .s("AWSFMS_20180101", "BatchDisassociateResource", {})
1959
- .n("FMSClient", "BatchDisassociateResourceCommand")
1960
- .sc(BatchDisassociateResource$)
1961
- .build() {
1930
+ class BatchDisassociateResourceCommand extends command(_ep0, _mw0, "BatchDisassociateResource", BatchDisassociateResource$) {
1962
1931
  }
1963
1932
 
1964
- class DeleteAppsListCommand extends Command
1965
- .classBuilder()
1966
- .ep(commonParams)
1967
- .m(function (Command, cs, config, o) {
1968
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1969
- })
1970
- .s("AWSFMS_20180101", "DeleteAppsList", {})
1971
- .n("FMSClient", "DeleteAppsListCommand")
1972
- .sc(DeleteAppsList$)
1973
- .build() {
1933
+ class DeleteAppsListCommand extends command(_ep0, _mw0, "DeleteAppsList", DeleteAppsList$) {
1974
1934
  }
1975
1935
 
1976
- class DeleteNotificationChannelCommand extends Command
1977
- .classBuilder()
1978
- .ep(commonParams)
1979
- .m(function (Command, cs, config, o) {
1980
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1981
- })
1982
- .s("AWSFMS_20180101", "DeleteNotificationChannel", {})
1983
- .n("FMSClient", "DeleteNotificationChannelCommand")
1984
- .sc(DeleteNotificationChannel$)
1985
- .build() {
1936
+ class DeleteNotificationChannelCommand extends command(_ep0, _mw0, "DeleteNotificationChannel", DeleteNotificationChannel$) {
1986
1937
  }
1987
1938
 
1988
- class DeletePolicyCommand extends Command
1989
- .classBuilder()
1990
- .ep(commonParams)
1991
- .m(function (Command, cs, config, o) {
1992
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1993
- })
1994
- .s("AWSFMS_20180101", "DeletePolicy", {})
1995
- .n("FMSClient", "DeletePolicyCommand")
1996
- .sc(DeletePolicy$)
1997
- .build() {
1939
+ class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
1998
1940
  }
1999
1941
 
2000
- class DeleteProtocolsListCommand extends Command
2001
- .classBuilder()
2002
- .ep(commonParams)
2003
- .m(function (Command, cs, config, o) {
2004
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2005
- })
2006
- .s("AWSFMS_20180101", "DeleteProtocolsList", {})
2007
- .n("FMSClient", "DeleteProtocolsListCommand")
2008
- .sc(DeleteProtocolsList$)
2009
- .build() {
1942
+ class DeleteProtocolsListCommand extends command(_ep0, _mw0, "DeleteProtocolsList", DeleteProtocolsList$) {
2010
1943
  }
2011
1944
 
2012
- class DeleteResourceSetCommand extends Command
2013
- .classBuilder()
2014
- .ep(commonParams)
2015
- .m(function (Command, cs, config, o) {
2016
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2017
- })
2018
- .s("AWSFMS_20180101", "DeleteResourceSet", {})
2019
- .n("FMSClient", "DeleteResourceSetCommand")
2020
- .sc(DeleteResourceSet$)
2021
- .build() {
1945
+ class DeleteResourceSetCommand extends command(_ep0, _mw0, "DeleteResourceSet", DeleteResourceSet$) {
2022
1946
  }
2023
1947
 
2024
- class DisassociateAdminAccountCommand extends Command
2025
- .classBuilder()
2026
- .ep(commonParams)
2027
- .m(function (Command, cs, config, o) {
2028
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2029
- })
2030
- .s("AWSFMS_20180101", "DisassociateAdminAccount", {})
2031
- .n("FMSClient", "DisassociateAdminAccountCommand")
2032
- .sc(DisassociateAdminAccount$)
2033
- .build() {
1948
+ class DisassociateAdminAccountCommand extends command(_ep0, _mw0, "DisassociateAdminAccount", DisassociateAdminAccount$) {
2034
1949
  }
2035
1950
 
2036
- class DisassociateThirdPartyFirewallCommand extends Command
2037
- .classBuilder()
2038
- .ep(commonParams)
2039
- .m(function (Command, cs, config, o) {
2040
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2041
- })
2042
- .s("AWSFMS_20180101", "DisassociateThirdPartyFirewall", {})
2043
- .n("FMSClient", "DisassociateThirdPartyFirewallCommand")
2044
- .sc(DisassociateThirdPartyFirewall$)
2045
- .build() {
1951
+ class DisassociateThirdPartyFirewallCommand extends command(_ep0, _mw0, "DisassociateThirdPartyFirewall", DisassociateThirdPartyFirewall$) {
2046
1952
  }
2047
1953
 
2048
- class GetAdminAccountCommand extends Command
2049
- .classBuilder()
2050
- .ep(commonParams)
2051
- .m(function (Command, cs, config, o) {
2052
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2053
- })
2054
- .s("AWSFMS_20180101", "GetAdminAccount", {})
2055
- .n("FMSClient", "GetAdminAccountCommand")
2056
- .sc(GetAdminAccount$)
2057
- .build() {
1954
+ class GetAdminAccountCommand extends command(_ep0, _mw0, "GetAdminAccount", GetAdminAccount$) {
2058
1955
  }
2059
1956
 
2060
- class GetAdminScopeCommand extends Command
2061
- .classBuilder()
2062
- .ep(commonParams)
2063
- .m(function (Command, cs, config, o) {
2064
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2065
- })
2066
- .s("AWSFMS_20180101", "GetAdminScope", {})
2067
- .n("FMSClient", "GetAdminScopeCommand")
2068
- .sc(GetAdminScope$)
2069
- .build() {
1957
+ class GetAdminScopeCommand extends command(_ep0, _mw0, "GetAdminScope", GetAdminScope$) {
2070
1958
  }
2071
1959
 
2072
- class GetAppsListCommand extends Command
2073
- .classBuilder()
2074
- .ep(commonParams)
2075
- .m(function (Command, cs, config, o) {
2076
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2077
- })
2078
- .s("AWSFMS_20180101", "GetAppsList", {})
2079
- .n("FMSClient", "GetAppsListCommand")
2080
- .sc(GetAppsList$)
2081
- .build() {
1960
+ class GetAppsListCommand extends command(_ep0, _mw0, "GetAppsList", GetAppsList$) {
2082
1961
  }
2083
1962
 
2084
- class GetComplianceDetailCommand extends Command
2085
- .classBuilder()
2086
- .ep(commonParams)
2087
- .m(function (Command, cs, config, o) {
2088
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2089
- })
2090
- .s("AWSFMS_20180101", "GetComplianceDetail", {})
2091
- .n("FMSClient", "GetComplianceDetailCommand")
2092
- .sc(GetComplianceDetail$)
2093
- .build() {
1963
+ class GetComplianceDetailCommand extends command(_ep0, _mw0, "GetComplianceDetail", GetComplianceDetail$) {
2094
1964
  }
2095
1965
 
2096
- class GetNotificationChannelCommand extends Command
2097
- .classBuilder()
2098
- .ep(commonParams)
2099
- .m(function (Command, cs, config, o) {
2100
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2101
- })
2102
- .s("AWSFMS_20180101", "GetNotificationChannel", {})
2103
- .n("FMSClient", "GetNotificationChannelCommand")
2104
- .sc(GetNotificationChannel$)
2105
- .build() {
1966
+ class GetNotificationChannelCommand extends command(_ep0, _mw0, "GetNotificationChannel", GetNotificationChannel$) {
2106
1967
  }
2107
1968
 
2108
- class GetPolicyCommand extends Command
2109
- .classBuilder()
2110
- .ep(commonParams)
2111
- .m(function (Command, cs, config, o) {
2112
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2113
- })
2114
- .s("AWSFMS_20180101", "GetPolicy", {})
2115
- .n("FMSClient", "GetPolicyCommand")
2116
- .sc(GetPolicy$)
2117
- .build() {
1969
+ class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
2118
1970
  }
2119
1971
 
2120
- class GetProtectionStatusCommand extends Command
2121
- .classBuilder()
2122
- .ep(commonParams)
2123
- .m(function (Command, cs, config, o) {
2124
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2125
- })
2126
- .s("AWSFMS_20180101", "GetProtectionStatus", {})
2127
- .n("FMSClient", "GetProtectionStatusCommand")
2128
- .sc(GetProtectionStatus$)
2129
- .build() {
1972
+ class GetProtectionStatusCommand extends command(_ep0, _mw0, "GetProtectionStatus", GetProtectionStatus$) {
2130
1973
  }
2131
1974
 
2132
- class GetProtocolsListCommand extends Command
2133
- .classBuilder()
2134
- .ep(commonParams)
2135
- .m(function (Command, cs, config, o) {
2136
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2137
- })
2138
- .s("AWSFMS_20180101", "GetProtocolsList", {})
2139
- .n("FMSClient", "GetProtocolsListCommand")
2140
- .sc(GetProtocolsList$)
2141
- .build() {
1975
+ class GetProtocolsListCommand extends command(_ep0, _mw0, "GetProtocolsList", GetProtocolsList$) {
2142
1976
  }
2143
1977
 
2144
- class GetResourceSetCommand extends Command
2145
- .classBuilder()
2146
- .ep(commonParams)
2147
- .m(function (Command, cs, config, o) {
2148
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2149
- })
2150
- .s("AWSFMS_20180101", "GetResourceSet", {})
2151
- .n("FMSClient", "GetResourceSetCommand")
2152
- .sc(GetResourceSet$)
2153
- .build() {
1978
+ class GetResourceSetCommand extends command(_ep0, _mw0, "GetResourceSet", GetResourceSet$) {
2154
1979
  }
2155
1980
 
2156
- class GetThirdPartyFirewallAssociationStatusCommand extends Command
2157
- .classBuilder()
2158
- .ep(commonParams)
2159
- .m(function (Command, cs, config, o) {
2160
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2161
- })
2162
- .s("AWSFMS_20180101", "GetThirdPartyFirewallAssociationStatus", {})
2163
- .n("FMSClient", "GetThirdPartyFirewallAssociationStatusCommand")
2164
- .sc(GetThirdPartyFirewallAssociationStatus$)
2165
- .build() {
1981
+ class GetThirdPartyFirewallAssociationStatusCommand extends command(_ep0, _mw0, "GetThirdPartyFirewallAssociationStatus", GetThirdPartyFirewallAssociationStatus$) {
2166
1982
  }
2167
1983
 
2168
- class GetViolationDetailsCommand extends Command
2169
- .classBuilder()
2170
- .ep(commonParams)
2171
- .m(function (Command, cs, config, o) {
2172
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2173
- })
2174
- .s("AWSFMS_20180101", "GetViolationDetails", {})
2175
- .n("FMSClient", "GetViolationDetailsCommand")
2176
- .sc(GetViolationDetails$)
2177
- .build() {
1984
+ class GetViolationDetailsCommand extends command(_ep0, _mw0, "GetViolationDetails", GetViolationDetails$) {
2178
1985
  }
2179
1986
 
2180
- class ListAdminAccountsForOrganizationCommand extends Command
2181
- .classBuilder()
2182
- .ep(commonParams)
2183
- .m(function (Command, cs, config, o) {
2184
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2185
- })
2186
- .s("AWSFMS_20180101", "ListAdminAccountsForOrganization", {})
2187
- .n("FMSClient", "ListAdminAccountsForOrganizationCommand")
2188
- .sc(ListAdminAccountsForOrganization$)
2189
- .build() {
1987
+ class ListAdminAccountsForOrganizationCommand extends command(_ep0, _mw0, "ListAdminAccountsForOrganization", ListAdminAccountsForOrganization$) {
2190
1988
  }
2191
1989
 
2192
- class ListAdminsManagingAccountCommand extends Command
2193
- .classBuilder()
2194
- .ep(commonParams)
2195
- .m(function (Command, cs, config, o) {
2196
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2197
- })
2198
- .s("AWSFMS_20180101", "ListAdminsManagingAccount", {})
2199
- .n("FMSClient", "ListAdminsManagingAccountCommand")
2200
- .sc(ListAdminsManagingAccount$)
2201
- .build() {
1990
+ class ListAdminsManagingAccountCommand extends command(_ep0, _mw0, "ListAdminsManagingAccount", ListAdminsManagingAccount$) {
2202
1991
  }
2203
1992
 
2204
- class ListAppsListsCommand extends Command
2205
- .classBuilder()
2206
- .ep(commonParams)
2207
- .m(function (Command, cs, config, o) {
2208
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2209
- })
2210
- .s("AWSFMS_20180101", "ListAppsLists", {})
2211
- .n("FMSClient", "ListAppsListsCommand")
2212
- .sc(ListAppsLists$)
2213
- .build() {
1993
+ class ListAppsListsCommand extends command(_ep0, _mw0, "ListAppsLists", ListAppsLists$) {
2214
1994
  }
2215
1995
 
2216
- class ListComplianceStatusCommand extends Command
2217
- .classBuilder()
2218
- .ep(commonParams)
2219
- .m(function (Command, cs, config, o) {
2220
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2221
- })
2222
- .s("AWSFMS_20180101", "ListComplianceStatus", {})
2223
- .n("FMSClient", "ListComplianceStatusCommand")
2224
- .sc(ListComplianceStatus$)
2225
- .build() {
1996
+ class ListComplianceStatusCommand extends command(_ep0, _mw0, "ListComplianceStatus", ListComplianceStatus$) {
2226
1997
  }
2227
1998
 
2228
- class ListDiscoveredResourcesCommand extends Command
2229
- .classBuilder()
2230
- .ep(commonParams)
2231
- .m(function (Command, cs, config, o) {
2232
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2233
- })
2234
- .s("AWSFMS_20180101", "ListDiscoveredResources", {})
2235
- .n("FMSClient", "ListDiscoveredResourcesCommand")
2236
- .sc(ListDiscoveredResources$)
2237
- .build() {
1999
+ class ListDiscoveredResourcesCommand extends command(_ep0, _mw0, "ListDiscoveredResources", ListDiscoveredResources$) {
2238
2000
  }
2239
2001
 
2240
- class ListMemberAccountsCommand extends Command
2241
- .classBuilder()
2242
- .ep(commonParams)
2243
- .m(function (Command, cs, config, o) {
2244
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2245
- })
2246
- .s("AWSFMS_20180101", "ListMemberAccounts", {})
2247
- .n("FMSClient", "ListMemberAccountsCommand")
2248
- .sc(ListMemberAccounts$)
2249
- .build() {
2002
+ class ListMemberAccountsCommand extends command(_ep0, _mw0, "ListMemberAccounts", ListMemberAccounts$) {
2250
2003
  }
2251
2004
 
2252
- class ListPoliciesCommand extends Command
2253
- .classBuilder()
2254
- .ep(commonParams)
2255
- .m(function (Command, cs, config, o) {
2256
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2257
- })
2258
- .s("AWSFMS_20180101", "ListPolicies", {})
2259
- .n("FMSClient", "ListPoliciesCommand")
2260
- .sc(ListPolicies$)
2261
- .build() {
2005
+ class ListPoliciesCommand extends command(_ep0, _mw0, "ListPolicies", ListPolicies$) {
2262
2006
  }
2263
2007
 
2264
- class ListProtocolsListsCommand extends Command
2265
- .classBuilder()
2266
- .ep(commonParams)
2267
- .m(function (Command, cs, config, o) {
2268
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2269
- })
2270
- .s("AWSFMS_20180101", "ListProtocolsLists", {})
2271
- .n("FMSClient", "ListProtocolsListsCommand")
2272
- .sc(ListProtocolsLists$)
2273
- .build() {
2008
+ class ListProtocolsListsCommand extends command(_ep0, _mw0, "ListProtocolsLists", ListProtocolsLists$) {
2274
2009
  }
2275
2010
 
2276
- class ListResourceSetResourcesCommand extends Command
2277
- .classBuilder()
2278
- .ep(commonParams)
2279
- .m(function (Command, cs, config, o) {
2280
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2281
- })
2282
- .s("AWSFMS_20180101", "ListResourceSetResources", {})
2283
- .n("FMSClient", "ListResourceSetResourcesCommand")
2284
- .sc(ListResourceSetResources$)
2285
- .build() {
2011
+ class ListResourceSetResourcesCommand extends command(_ep0, _mw0, "ListResourceSetResources", ListResourceSetResources$) {
2286
2012
  }
2287
2013
 
2288
- class ListResourceSetsCommand extends Command
2289
- .classBuilder()
2290
- .ep(commonParams)
2291
- .m(function (Command, cs, config, o) {
2292
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2293
- })
2294
- .s("AWSFMS_20180101", "ListResourceSets", {})
2295
- .n("FMSClient", "ListResourceSetsCommand")
2296
- .sc(ListResourceSets$)
2297
- .build() {
2014
+ class ListResourceSetsCommand extends command(_ep0, _mw0, "ListResourceSets", ListResourceSets$) {
2298
2015
  }
2299
2016
 
2300
- class ListTagsForResourceCommand extends Command
2301
- .classBuilder()
2302
- .ep(commonParams)
2303
- .m(function (Command, cs, config, o) {
2304
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2305
- })
2306
- .s("AWSFMS_20180101", "ListTagsForResource", {})
2307
- .n("FMSClient", "ListTagsForResourceCommand")
2308
- .sc(ListTagsForResource$)
2309
- .build() {
2017
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2310
2018
  }
2311
2019
 
2312
- class ListThirdPartyFirewallFirewallPoliciesCommand extends Command
2313
- .classBuilder()
2314
- .ep(commonParams)
2315
- .m(function (Command, cs, config, o) {
2316
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2317
- })
2318
- .s("AWSFMS_20180101", "ListThirdPartyFirewallFirewallPolicies", {})
2319
- .n("FMSClient", "ListThirdPartyFirewallFirewallPoliciesCommand")
2320
- .sc(ListThirdPartyFirewallFirewallPolicies$)
2321
- .build() {
2020
+ class ListThirdPartyFirewallFirewallPoliciesCommand extends command(_ep0, _mw0, "ListThirdPartyFirewallFirewallPolicies", ListThirdPartyFirewallFirewallPolicies$) {
2322
2021
  }
2323
2022
 
2324
- class PutAdminAccountCommand extends Command
2325
- .classBuilder()
2326
- .ep(commonParams)
2327
- .m(function (Command, cs, config, o) {
2328
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2329
- })
2330
- .s("AWSFMS_20180101", "PutAdminAccount", {})
2331
- .n("FMSClient", "PutAdminAccountCommand")
2332
- .sc(PutAdminAccount$)
2333
- .build() {
2023
+ class PutAdminAccountCommand extends command(_ep0, _mw0, "PutAdminAccount", PutAdminAccount$) {
2334
2024
  }
2335
2025
 
2336
- class PutAppsListCommand extends Command
2337
- .classBuilder()
2338
- .ep(commonParams)
2339
- .m(function (Command, cs, config, o) {
2340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2341
- })
2342
- .s("AWSFMS_20180101", "PutAppsList", {})
2343
- .n("FMSClient", "PutAppsListCommand")
2344
- .sc(PutAppsList$)
2345
- .build() {
2026
+ class PutAppsListCommand extends command(_ep0, _mw0, "PutAppsList", PutAppsList$) {
2346
2027
  }
2347
2028
 
2348
- class PutNotificationChannelCommand extends Command
2349
- .classBuilder()
2350
- .ep(commonParams)
2351
- .m(function (Command, cs, config, o) {
2352
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2353
- })
2354
- .s("AWSFMS_20180101", "PutNotificationChannel", {})
2355
- .n("FMSClient", "PutNotificationChannelCommand")
2356
- .sc(PutNotificationChannel$)
2357
- .build() {
2029
+ class PutNotificationChannelCommand extends command(_ep0, _mw0, "PutNotificationChannel", PutNotificationChannel$) {
2358
2030
  }
2359
2031
 
2360
- class PutPolicyCommand extends Command
2361
- .classBuilder()
2362
- .ep(commonParams)
2363
- .m(function (Command, cs, config, o) {
2364
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2365
- })
2366
- .s("AWSFMS_20180101", "PutPolicy", {})
2367
- .n("FMSClient", "PutPolicyCommand")
2368
- .sc(PutPolicy$)
2369
- .build() {
2032
+ class PutPolicyCommand extends command(_ep0, _mw0, "PutPolicy", PutPolicy$) {
2370
2033
  }
2371
2034
 
2372
- class PutProtocolsListCommand extends Command
2373
- .classBuilder()
2374
- .ep(commonParams)
2375
- .m(function (Command, cs, config, o) {
2376
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2377
- })
2378
- .s("AWSFMS_20180101", "PutProtocolsList", {})
2379
- .n("FMSClient", "PutProtocolsListCommand")
2380
- .sc(PutProtocolsList$)
2381
- .build() {
2035
+ class PutProtocolsListCommand extends command(_ep0, _mw0, "PutProtocolsList", PutProtocolsList$) {
2382
2036
  }
2383
2037
 
2384
- class PutResourceSetCommand extends Command
2385
- .classBuilder()
2386
- .ep(commonParams)
2387
- .m(function (Command, cs, config, o) {
2388
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2389
- })
2390
- .s("AWSFMS_20180101", "PutResourceSet", {})
2391
- .n("FMSClient", "PutResourceSetCommand")
2392
- .sc(PutResourceSet$)
2393
- .build() {
2038
+ class PutResourceSetCommand extends command(_ep0, _mw0, "PutResourceSet", PutResourceSet$) {
2394
2039
  }
2395
2040
 
2396
- class TagResourceCommand extends Command
2397
- .classBuilder()
2398
- .ep(commonParams)
2399
- .m(function (Command, cs, config, o) {
2400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2401
- })
2402
- .s("AWSFMS_20180101", "TagResource", {})
2403
- .n("FMSClient", "TagResourceCommand")
2404
- .sc(TagResource$)
2405
- .build() {
2041
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2406
2042
  }
2407
2043
 
2408
- class UntagResourceCommand extends Command
2409
- .classBuilder()
2410
- .ep(commonParams)
2411
- .m(function (Command, cs, config, o) {
2412
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2413
- })
2414
- .s("AWSFMS_20180101", "UntagResource", {})
2415
- .n("FMSClient", "UntagResourceCommand")
2416
- .sc(UntagResource$)
2417
- .build() {
2044
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2418
2045
  }
2419
2046
 
2420
2047
  const paginateListAdminAccountsForOrganization = createPaginator(FMSClient, ListAdminAccountsForOrganizationCommand, "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, "AWSFMS_20180101", "FMSClient", 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 { AssociateAdminAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateAdminAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFMS_20180101", "AssociateAdminAccount", {})
13
- .n("FMSClient", "AssociateAdminAccountCommand")
14
- .sc(AssociateAdminAccount$)
15
- .build() {
3
+ export class AssociateAdminAccountCommand extends command(_ep0, _mw0, "AssociateAdminAccount", AssociateAdminAccount$) {
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 { AssociateThirdPartyFirewall$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateThirdPartyFirewallCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFMS_20180101", "AssociateThirdPartyFirewall", {})
13
- .n("FMSClient", "AssociateThirdPartyFirewallCommand")
14
- .sc(AssociateThirdPartyFirewall$)
15
- .build() {
3
+ export class AssociateThirdPartyFirewallCommand extends command(_ep0, _mw0, "AssociateThirdPartyFirewall", AssociateThirdPartyFirewall$) {
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 { BatchAssociateResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchAssociateResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFMS_20180101", "BatchAssociateResource", {})
13
- .n("FMSClient", "BatchAssociateResourceCommand")
14
- .sc(BatchAssociateResource$)
15
- .build() {
3
+ export class BatchAssociateResourceCommand extends command(_ep0, _mw0, "BatchAssociateResource", BatchAssociateResource$) {
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 { BatchDisassociateResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDisassociateResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFMS_20180101", "BatchDisassociateResource", {})
13
- .n("FMSClient", "BatchDisassociateResourceCommand")
14
- .sc(BatchDisassociateResource$)
15
- .build() {
3
+ export class BatchDisassociateResourceCommand extends command(_ep0, _mw0, "BatchDisassociateResource", BatchDisassociateResource$) {
16
4
  }