@aws-sdk/client-verifiedpermissions 3.1076.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 (122) hide show
  1. package/dist-cjs/index.js +45 -345
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetPolicyCommand.js +2 -14
  4. package/dist-es/commands/BatchIsAuthorizedCommand.js +2 -14
  5. package/dist-es/commands/BatchIsAuthorizedWithTokenCommand.js +2 -14
  6. package/dist-es/commands/CreateIdentitySourceCommand.js +2 -14
  7. package/dist-es/commands/CreatePolicyCommand.js +2 -14
  8. package/dist-es/commands/CreatePolicyStoreAliasCommand.js +2 -14
  9. package/dist-es/commands/CreatePolicyStoreCommand.js +2 -14
  10. package/dist-es/commands/CreatePolicyTemplateCommand.js +2 -14
  11. package/dist-es/commands/DeleteIdentitySourceCommand.js +2 -14
  12. package/dist-es/commands/DeletePolicyCommand.js +2 -14
  13. package/dist-es/commands/DeletePolicyStoreAliasCommand.js +2 -14
  14. package/dist-es/commands/DeletePolicyStoreCommand.js +2 -14
  15. package/dist-es/commands/DeletePolicyTemplateCommand.js +2 -14
  16. package/dist-es/commands/GetIdentitySourceCommand.js +2 -14
  17. package/dist-es/commands/GetPolicyCommand.js +2 -14
  18. package/dist-es/commands/GetPolicyStoreAliasCommand.js +2 -14
  19. package/dist-es/commands/GetPolicyStoreCommand.js +2 -14
  20. package/dist-es/commands/GetPolicyTemplateCommand.js +2 -14
  21. package/dist-es/commands/GetSchemaCommand.js +2 -14
  22. package/dist-es/commands/IsAuthorizedCommand.js +2 -14
  23. package/dist-es/commands/IsAuthorizedWithTokenCommand.js +2 -14
  24. package/dist-es/commands/ListIdentitySourcesCommand.js +2 -14
  25. package/dist-es/commands/ListPoliciesCommand.js +2 -14
  26. package/dist-es/commands/ListPolicyStoreAliasesCommand.js +2 -14
  27. package/dist-es/commands/ListPolicyStoresCommand.js +2 -14
  28. package/dist-es/commands/ListPolicyTemplatesCommand.js +2 -14
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  30. package/dist-es/commands/PutSchemaCommand.js +2 -14
  31. package/dist-es/commands/TagResourceCommand.js +2 -14
  32. package/dist-es/commands/UntagResourceCommand.js +2 -14
  33. package/dist-es/commands/UpdateIdentitySourceCommand.js +2 -14
  34. package/dist-es/commands/UpdatePolicyCommand.js +2 -14
  35. package/dist-es/commands/UpdatePolicyStoreCommand.js +2 -14
  36. package/dist-es/commands/UpdatePolicyTemplateCommand.js +2 -14
  37. package/dist-es/index.js +1 -0
  38. package/dist-es/runtimeConfig.browser.js +0 -2
  39. package/dist-es/runtimeConfig.js +1 -2
  40. package/dist-es/runtimeConfig.native.js +0 -2
  41. package/dist-es/runtimeConfig.shared.js +2 -0
  42. package/dist-types/commandBuilder.d.ts +18 -0
  43. package/dist-types/commands/BatchGetPolicyCommand.d.ts +3 -8
  44. package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +3 -8
  45. package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +3 -8
  47. package/dist-types/commands/CreatePolicyCommand.d.ts +3 -8
  48. package/dist-types/commands/CreatePolicyStoreAliasCommand.d.ts +3 -8
  49. package/dist-types/commands/CreatePolicyStoreCommand.d.ts +3 -8
  50. package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +3 -8
  52. package/dist-types/commands/DeletePolicyCommand.d.ts +3 -8
  53. package/dist-types/commands/DeletePolicyStoreAliasCommand.d.ts +3 -8
  54. package/dist-types/commands/DeletePolicyStoreCommand.d.ts +3 -8
  55. package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +3 -8
  56. package/dist-types/commands/GetIdentitySourceCommand.d.ts +3 -8
  57. package/dist-types/commands/GetPolicyCommand.d.ts +3 -8
  58. package/dist-types/commands/GetPolicyStoreAliasCommand.d.ts +3 -8
  59. package/dist-types/commands/GetPolicyStoreCommand.d.ts +3 -8
  60. package/dist-types/commands/GetPolicyTemplateCommand.d.ts +3 -8
  61. package/dist-types/commands/GetSchemaCommand.d.ts +3 -8
  62. package/dist-types/commands/IsAuthorizedCommand.d.ts +3 -8
  63. package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +3 -8
  64. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +3 -8
  65. package/dist-types/commands/ListPoliciesCommand.d.ts +3 -8
  66. package/dist-types/commands/ListPolicyStoreAliasesCommand.d.ts +3 -8
  67. package/dist-types/commands/ListPolicyStoresCommand.d.ts +3 -8
  68. package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +3 -8
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  70. package/dist-types/commands/PutSchemaCommand.d.ts +3 -8
  71. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  72. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdatePolicyCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +3 -8
  77. package/dist-types/index.d.ts +1 -0
  78. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  79. package/dist-types/runtimeConfig.d.ts +1 -1
  80. package/dist-types/runtimeConfig.native.d.ts +1 -1
  81. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  82. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  83. package/dist-types/ts3.4/commands/BatchGetPolicyCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/BatchIsAuthorizedCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/BatchIsAuthorizedWithTokenCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/CreatePolicyStoreAliasCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/CreatePolicyStoreCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/CreatePolicyTemplateCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DeletePolicyStoreAliasCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeletePolicyStoreCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeletePolicyTemplateCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetPolicyStoreAliasCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetPolicyStoreCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetPolicyTemplateCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetSchemaCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/IsAuthorizedCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/IsAuthorizedWithTokenCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListPolicyStoreAliasesCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListPolicyStoresCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListPolicyTemplatesCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/PutSchemaCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UpdateIdentitySourceCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/UpdatePolicyStoreCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UpdatePolicyTemplateCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/index.d.ts +1 -0
  118. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  119. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  120. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  121. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  122. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultVerifiedPermissionsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1696,6 +1698,7 @@ const getRuntimeConfig$1 = (config) => {
1696
1698
  serviceTarget: "VerifiedPermissions",
1697
1699
  },
1698
1700
  serviceId: config?.serviceId ?? "VerifiedPermissions",
1701
+ sha256: config?.sha256 ?? Sha256,
1699
1702
  urlParser: config?.urlParser ?? parseUrl,
1700
1703
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1701
1704
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1729,7 +1732,6 @@ const getRuntimeConfig = (config) => {
1729
1732
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1730
1733
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1731
1734
  }, config),
1732
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1733
1735
  streamCollector: config?.streamCollector ?? streamCollector,
1734
1736
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1735
1737
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1817,412 +1819,110 @@ class VerifiedPermissionsClient extends Client {
1817
1819
  }
1818
1820
  }
1819
1821
 
1820
- class BatchGetPolicyCommand extends Command
1821
- .classBuilder()
1822
- .ep(commonParams)
1823
- .m(function (Command, cs, config, o) {
1824
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1825
- })
1826
- .s("VerifiedPermissions", "BatchGetPolicy", {})
1827
- .n("VerifiedPermissionsClient", "BatchGetPolicyCommand")
1828
- .sc(BatchGetPolicy$)
1829
- .build() {
1822
+ const command = makeBuilder(commonParams, "VerifiedPermissions", "VerifiedPermissionsClient", getEndpointPlugin);
1823
+ const _ep0 = {};
1824
+ const _mw0 = (Command, cs, config, o) => [];
1825
+
1826
+ class BatchGetPolicyCommand extends command(_ep0, _mw0, "BatchGetPolicy", BatchGetPolicy$) {
1830
1827
  }
1831
1828
 
1832
- class BatchIsAuthorizedCommand extends Command
1833
- .classBuilder()
1834
- .ep(commonParams)
1835
- .m(function (Command, cs, config, o) {
1836
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1837
- })
1838
- .s("VerifiedPermissions", "BatchIsAuthorized", {})
1839
- .n("VerifiedPermissionsClient", "BatchIsAuthorizedCommand")
1840
- .sc(BatchIsAuthorized$)
1841
- .build() {
1829
+ class BatchIsAuthorizedCommand extends command(_ep0, _mw0, "BatchIsAuthorized", BatchIsAuthorized$) {
1842
1830
  }
1843
1831
 
1844
- class BatchIsAuthorizedWithTokenCommand extends Command
1845
- .classBuilder()
1846
- .ep(commonParams)
1847
- .m(function (Command, cs, config, o) {
1848
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1849
- })
1850
- .s("VerifiedPermissions", "BatchIsAuthorizedWithToken", {})
1851
- .n("VerifiedPermissionsClient", "BatchIsAuthorizedWithTokenCommand")
1852
- .sc(BatchIsAuthorizedWithToken$)
1853
- .build() {
1832
+ class BatchIsAuthorizedWithTokenCommand extends command(_ep0, _mw0, "BatchIsAuthorizedWithToken", BatchIsAuthorizedWithToken$) {
1854
1833
  }
1855
1834
 
1856
- class CreateIdentitySourceCommand extends Command
1857
- .classBuilder()
1858
- .ep(commonParams)
1859
- .m(function (Command, cs, config, o) {
1860
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1861
- })
1862
- .s("VerifiedPermissions", "CreateIdentitySource", {})
1863
- .n("VerifiedPermissionsClient", "CreateIdentitySourceCommand")
1864
- .sc(CreateIdentitySource$)
1865
- .build() {
1835
+ class CreateIdentitySourceCommand extends command(_ep0, _mw0, "CreateIdentitySource", CreateIdentitySource$) {
1866
1836
  }
1867
1837
 
1868
- class CreatePolicyCommand extends Command
1869
- .classBuilder()
1870
- .ep(commonParams)
1871
- .m(function (Command, cs, config, o) {
1872
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1873
- })
1874
- .s("VerifiedPermissions", "CreatePolicy", {})
1875
- .n("VerifiedPermissionsClient", "CreatePolicyCommand")
1876
- .sc(CreatePolicy$)
1877
- .build() {
1838
+ class CreatePolicyCommand extends command(_ep0, _mw0, "CreatePolicy", CreatePolicy$) {
1878
1839
  }
1879
1840
 
1880
- class CreatePolicyStoreAliasCommand extends Command
1881
- .classBuilder()
1882
- .ep(commonParams)
1883
- .m(function (Command, cs, config, o) {
1884
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1885
- })
1886
- .s("VerifiedPermissions", "CreatePolicyStoreAlias", {})
1887
- .n("VerifiedPermissionsClient", "CreatePolicyStoreAliasCommand")
1888
- .sc(CreatePolicyStoreAlias$)
1889
- .build() {
1841
+ class CreatePolicyStoreAliasCommand extends command(_ep0, _mw0, "CreatePolicyStoreAlias", CreatePolicyStoreAlias$) {
1890
1842
  }
1891
1843
 
1892
- class CreatePolicyStoreCommand extends Command
1893
- .classBuilder()
1894
- .ep(commonParams)
1895
- .m(function (Command, cs, config, o) {
1896
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1897
- })
1898
- .s("VerifiedPermissions", "CreatePolicyStore", {})
1899
- .n("VerifiedPermissionsClient", "CreatePolicyStoreCommand")
1900
- .sc(CreatePolicyStore$)
1901
- .build() {
1844
+ class CreatePolicyStoreCommand extends command(_ep0, _mw0, "CreatePolicyStore", CreatePolicyStore$) {
1902
1845
  }
1903
1846
 
1904
- class CreatePolicyTemplateCommand extends Command
1905
- .classBuilder()
1906
- .ep(commonParams)
1907
- .m(function (Command, cs, config, o) {
1908
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1909
- })
1910
- .s("VerifiedPermissions", "CreatePolicyTemplate", {})
1911
- .n("VerifiedPermissionsClient", "CreatePolicyTemplateCommand")
1912
- .sc(CreatePolicyTemplate$)
1913
- .build() {
1847
+ class CreatePolicyTemplateCommand extends command(_ep0, _mw0, "CreatePolicyTemplate", CreatePolicyTemplate$) {
1914
1848
  }
1915
1849
 
1916
- class DeleteIdentitySourceCommand extends Command
1917
- .classBuilder()
1918
- .ep(commonParams)
1919
- .m(function (Command, cs, config, o) {
1920
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1921
- })
1922
- .s("VerifiedPermissions", "DeleteIdentitySource", {})
1923
- .n("VerifiedPermissionsClient", "DeleteIdentitySourceCommand")
1924
- .sc(DeleteIdentitySource$)
1925
- .build() {
1850
+ class DeleteIdentitySourceCommand extends command(_ep0, _mw0, "DeleteIdentitySource", DeleteIdentitySource$) {
1926
1851
  }
1927
1852
 
1928
- class DeletePolicyCommand extends Command
1929
- .classBuilder()
1930
- .ep(commonParams)
1931
- .m(function (Command, cs, config, o) {
1932
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1933
- })
1934
- .s("VerifiedPermissions", "DeletePolicy", {})
1935
- .n("VerifiedPermissionsClient", "DeletePolicyCommand")
1936
- .sc(DeletePolicy$)
1937
- .build() {
1853
+ class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
1938
1854
  }
1939
1855
 
1940
- class DeletePolicyStoreAliasCommand extends Command
1941
- .classBuilder()
1942
- .ep(commonParams)
1943
- .m(function (Command, cs, config, o) {
1944
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1945
- })
1946
- .s("VerifiedPermissions", "DeletePolicyStoreAlias", {})
1947
- .n("VerifiedPermissionsClient", "DeletePolicyStoreAliasCommand")
1948
- .sc(DeletePolicyStoreAlias$)
1949
- .build() {
1856
+ class DeletePolicyStoreAliasCommand extends command(_ep0, _mw0, "DeletePolicyStoreAlias", DeletePolicyStoreAlias$) {
1950
1857
  }
1951
1858
 
1952
- class DeletePolicyStoreCommand extends Command
1953
- .classBuilder()
1954
- .ep(commonParams)
1955
- .m(function (Command, cs, config, o) {
1956
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1957
- })
1958
- .s("VerifiedPermissions", "DeletePolicyStore", {})
1959
- .n("VerifiedPermissionsClient", "DeletePolicyStoreCommand")
1960
- .sc(DeletePolicyStore$)
1961
- .build() {
1859
+ class DeletePolicyStoreCommand extends command(_ep0, _mw0, "DeletePolicyStore", DeletePolicyStore$) {
1962
1860
  }
1963
1861
 
1964
- class DeletePolicyTemplateCommand extends Command
1965
- .classBuilder()
1966
- .ep(commonParams)
1967
- .m(function (Command, cs, config, o) {
1968
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1969
- })
1970
- .s("VerifiedPermissions", "DeletePolicyTemplate", {})
1971
- .n("VerifiedPermissionsClient", "DeletePolicyTemplateCommand")
1972
- .sc(DeletePolicyTemplate$)
1973
- .build() {
1862
+ class DeletePolicyTemplateCommand extends command(_ep0, _mw0, "DeletePolicyTemplate", DeletePolicyTemplate$) {
1974
1863
  }
1975
1864
 
1976
- class GetIdentitySourceCommand extends Command
1977
- .classBuilder()
1978
- .ep(commonParams)
1979
- .m(function (Command, cs, config, o) {
1980
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1981
- })
1982
- .s("VerifiedPermissions", "GetIdentitySource", {})
1983
- .n("VerifiedPermissionsClient", "GetIdentitySourceCommand")
1984
- .sc(GetIdentitySource$)
1985
- .build() {
1865
+ class GetIdentitySourceCommand extends command(_ep0, _mw0, "GetIdentitySource", GetIdentitySource$) {
1986
1866
  }
1987
1867
 
1988
- class GetPolicyCommand extends Command
1989
- .classBuilder()
1990
- .ep(commonParams)
1991
- .m(function (Command, cs, config, o) {
1992
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1993
- })
1994
- .s("VerifiedPermissions", "GetPolicy", {})
1995
- .n("VerifiedPermissionsClient", "GetPolicyCommand")
1996
- .sc(GetPolicy$)
1997
- .build() {
1868
+ class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
1998
1869
  }
1999
1870
 
2000
- class GetPolicyStoreAliasCommand extends Command
2001
- .classBuilder()
2002
- .ep(commonParams)
2003
- .m(function (Command, cs, config, o) {
2004
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2005
- })
2006
- .s("VerifiedPermissions", "GetPolicyStoreAlias", {})
2007
- .n("VerifiedPermissionsClient", "GetPolicyStoreAliasCommand")
2008
- .sc(GetPolicyStoreAlias$)
2009
- .build() {
1871
+ class GetPolicyStoreAliasCommand extends command(_ep0, _mw0, "GetPolicyStoreAlias", GetPolicyStoreAlias$) {
2010
1872
  }
2011
1873
 
2012
- class GetPolicyStoreCommand extends Command
2013
- .classBuilder()
2014
- .ep(commonParams)
2015
- .m(function (Command, cs, config, o) {
2016
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2017
- })
2018
- .s("VerifiedPermissions", "GetPolicyStore", {})
2019
- .n("VerifiedPermissionsClient", "GetPolicyStoreCommand")
2020
- .sc(GetPolicyStore$)
2021
- .build() {
1874
+ class GetPolicyStoreCommand extends command(_ep0, _mw0, "GetPolicyStore", GetPolicyStore$) {
2022
1875
  }
2023
1876
 
2024
- class GetPolicyTemplateCommand extends Command
2025
- .classBuilder()
2026
- .ep(commonParams)
2027
- .m(function (Command, cs, config, o) {
2028
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2029
- })
2030
- .s("VerifiedPermissions", "GetPolicyTemplate", {})
2031
- .n("VerifiedPermissionsClient", "GetPolicyTemplateCommand")
2032
- .sc(GetPolicyTemplate$)
2033
- .build() {
1877
+ class GetPolicyTemplateCommand extends command(_ep0, _mw0, "GetPolicyTemplate", GetPolicyTemplate$) {
2034
1878
  }
2035
1879
 
2036
- class GetSchemaCommand extends Command
2037
- .classBuilder()
2038
- .ep(commonParams)
2039
- .m(function (Command, cs, config, o) {
2040
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2041
- })
2042
- .s("VerifiedPermissions", "GetSchema", {})
2043
- .n("VerifiedPermissionsClient", "GetSchemaCommand")
2044
- .sc(GetSchema$)
2045
- .build() {
1880
+ class GetSchemaCommand extends command(_ep0, _mw0, "GetSchema", GetSchema$) {
2046
1881
  }
2047
1882
 
2048
- class IsAuthorizedCommand extends Command
2049
- .classBuilder()
2050
- .ep(commonParams)
2051
- .m(function (Command, cs, config, o) {
2052
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2053
- })
2054
- .s("VerifiedPermissions", "IsAuthorized", {})
2055
- .n("VerifiedPermissionsClient", "IsAuthorizedCommand")
2056
- .sc(IsAuthorized$)
2057
- .build() {
1883
+ class IsAuthorizedCommand extends command(_ep0, _mw0, "IsAuthorized", IsAuthorized$) {
2058
1884
  }
2059
1885
 
2060
- class IsAuthorizedWithTokenCommand extends Command
2061
- .classBuilder()
2062
- .ep(commonParams)
2063
- .m(function (Command, cs, config, o) {
2064
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2065
- })
2066
- .s("VerifiedPermissions", "IsAuthorizedWithToken", {})
2067
- .n("VerifiedPermissionsClient", "IsAuthorizedWithTokenCommand")
2068
- .sc(IsAuthorizedWithToken$)
2069
- .build() {
1886
+ class IsAuthorizedWithTokenCommand extends command(_ep0, _mw0, "IsAuthorizedWithToken", IsAuthorizedWithToken$) {
2070
1887
  }
2071
1888
 
2072
- class ListIdentitySourcesCommand extends Command
2073
- .classBuilder()
2074
- .ep(commonParams)
2075
- .m(function (Command, cs, config, o) {
2076
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2077
- })
2078
- .s("VerifiedPermissions", "ListIdentitySources", {})
2079
- .n("VerifiedPermissionsClient", "ListIdentitySourcesCommand")
2080
- .sc(ListIdentitySources$)
2081
- .build() {
1889
+ class ListIdentitySourcesCommand extends command(_ep0, _mw0, "ListIdentitySources", ListIdentitySources$) {
2082
1890
  }
2083
1891
 
2084
- class ListPoliciesCommand extends Command
2085
- .classBuilder()
2086
- .ep(commonParams)
2087
- .m(function (Command, cs, config, o) {
2088
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2089
- })
2090
- .s("VerifiedPermissions", "ListPolicies", {})
2091
- .n("VerifiedPermissionsClient", "ListPoliciesCommand")
2092
- .sc(ListPolicies$)
2093
- .build() {
1892
+ class ListPoliciesCommand extends command(_ep0, _mw0, "ListPolicies", ListPolicies$) {
2094
1893
  }
2095
1894
 
2096
- class ListPolicyStoreAliasesCommand extends Command
2097
- .classBuilder()
2098
- .ep(commonParams)
2099
- .m(function (Command, cs, config, o) {
2100
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2101
- })
2102
- .s("VerifiedPermissions", "ListPolicyStoreAliases", {})
2103
- .n("VerifiedPermissionsClient", "ListPolicyStoreAliasesCommand")
2104
- .sc(ListPolicyStoreAliases$)
2105
- .build() {
1895
+ class ListPolicyStoreAliasesCommand extends command(_ep0, _mw0, "ListPolicyStoreAliases", ListPolicyStoreAliases$) {
2106
1896
  }
2107
1897
 
2108
- class ListPolicyStoresCommand extends Command
2109
- .classBuilder()
2110
- .ep(commonParams)
2111
- .m(function (Command, cs, config, o) {
2112
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2113
- })
2114
- .s("VerifiedPermissions", "ListPolicyStores", {})
2115
- .n("VerifiedPermissionsClient", "ListPolicyStoresCommand")
2116
- .sc(ListPolicyStores$)
2117
- .build() {
1898
+ class ListPolicyStoresCommand extends command(_ep0, _mw0, "ListPolicyStores", ListPolicyStores$) {
2118
1899
  }
2119
1900
 
2120
- class ListPolicyTemplatesCommand extends Command
2121
- .classBuilder()
2122
- .ep(commonParams)
2123
- .m(function (Command, cs, config, o) {
2124
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2125
- })
2126
- .s("VerifiedPermissions", "ListPolicyTemplates", {})
2127
- .n("VerifiedPermissionsClient", "ListPolicyTemplatesCommand")
2128
- .sc(ListPolicyTemplates$)
2129
- .build() {
1901
+ class ListPolicyTemplatesCommand extends command(_ep0, _mw0, "ListPolicyTemplates", ListPolicyTemplates$) {
2130
1902
  }
2131
1903
 
2132
- class ListTagsForResourceCommand extends Command
2133
- .classBuilder()
2134
- .ep(commonParams)
2135
- .m(function (Command, cs, config, o) {
2136
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2137
- })
2138
- .s("VerifiedPermissions", "ListTagsForResource", {})
2139
- .n("VerifiedPermissionsClient", "ListTagsForResourceCommand")
2140
- .sc(ListTagsForResource$)
2141
- .build() {
1904
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2142
1905
  }
2143
1906
 
2144
- class PutSchemaCommand extends Command
2145
- .classBuilder()
2146
- .ep(commonParams)
2147
- .m(function (Command, cs, config, o) {
2148
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2149
- })
2150
- .s("VerifiedPermissions", "PutSchema", {})
2151
- .n("VerifiedPermissionsClient", "PutSchemaCommand")
2152
- .sc(PutSchema$)
2153
- .build() {
1907
+ class PutSchemaCommand extends command(_ep0, _mw0, "PutSchema", PutSchema$) {
2154
1908
  }
2155
1909
 
2156
- class TagResourceCommand extends Command
2157
- .classBuilder()
2158
- .ep(commonParams)
2159
- .m(function (Command, cs, config, o) {
2160
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2161
- })
2162
- .s("VerifiedPermissions", "TagResource", {})
2163
- .n("VerifiedPermissionsClient", "TagResourceCommand")
2164
- .sc(TagResource$)
2165
- .build() {
1910
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2166
1911
  }
2167
1912
 
2168
- class UntagResourceCommand extends Command
2169
- .classBuilder()
2170
- .ep(commonParams)
2171
- .m(function (Command, cs, config, o) {
2172
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2173
- })
2174
- .s("VerifiedPermissions", "UntagResource", {})
2175
- .n("VerifiedPermissionsClient", "UntagResourceCommand")
2176
- .sc(UntagResource$)
2177
- .build() {
1913
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2178
1914
  }
2179
1915
 
2180
- class UpdateIdentitySourceCommand extends Command
2181
- .classBuilder()
2182
- .ep(commonParams)
2183
- .m(function (Command, cs, config, o) {
2184
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2185
- })
2186
- .s("VerifiedPermissions", "UpdateIdentitySource", {})
2187
- .n("VerifiedPermissionsClient", "UpdateIdentitySourceCommand")
2188
- .sc(UpdateIdentitySource$)
2189
- .build() {
1916
+ class UpdateIdentitySourceCommand extends command(_ep0, _mw0, "UpdateIdentitySource", UpdateIdentitySource$) {
2190
1917
  }
2191
1918
 
2192
- class UpdatePolicyCommand extends Command
2193
- .classBuilder()
2194
- .ep(commonParams)
2195
- .m(function (Command, cs, config, o) {
2196
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2197
- })
2198
- .s("VerifiedPermissions", "UpdatePolicy", {})
2199
- .n("VerifiedPermissionsClient", "UpdatePolicyCommand")
2200
- .sc(UpdatePolicy$)
2201
- .build() {
1919
+ class UpdatePolicyCommand extends command(_ep0, _mw0, "UpdatePolicy", UpdatePolicy$) {
2202
1920
  }
2203
1921
 
2204
- class UpdatePolicyStoreCommand extends Command
2205
- .classBuilder()
2206
- .ep(commonParams)
2207
- .m(function (Command, cs, config, o) {
2208
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2209
- })
2210
- .s("VerifiedPermissions", "UpdatePolicyStore", {})
2211
- .n("VerifiedPermissionsClient", "UpdatePolicyStoreCommand")
2212
- .sc(UpdatePolicyStore$)
2213
- .build() {
1922
+ class UpdatePolicyStoreCommand extends command(_ep0, _mw0, "UpdatePolicyStore", UpdatePolicyStore$) {
2214
1923
  }
2215
1924
 
2216
- class UpdatePolicyTemplateCommand extends Command
2217
- .classBuilder()
2218
- .ep(commonParams)
2219
- .m(function (Command, cs, config, o) {
2220
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2221
- })
2222
- .s("VerifiedPermissions", "UpdatePolicyTemplate", {})
2223
- .n("VerifiedPermissionsClient", "UpdatePolicyTemplateCommand")
2224
- .sc(UpdatePolicyTemplate$)
2225
- .build() {
1925
+ class UpdatePolicyTemplateCommand extends command(_ep0, _mw0, "UpdatePolicyTemplate", UpdatePolicyTemplate$) {
2226
1926
  }
2227
1927
 
2228
1928
  const paginateListIdentitySources = createPaginator(VerifiedPermissionsClient, ListIdentitySourcesCommand, "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, "VerifiedPermissions", "VerifiedPermissionsClient", 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 { BatchGetPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "BatchGetPolicy", {})
13
- .n("VerifiedPermissionsClient", "BatchGetPolicyCommand")
14
- .sc(BatchGetPolicy$)
15
- .build() {
3
+ export class BatchGetPolicyCommand extends command(_ep0, _mw0, "BatchGetPolicy", BatchGetPolicy$) {
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 { BatchIsAuthorized$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchIsAuthorizedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "BatchIsAuthorized", {})
13
- .n("VerifiedPermissionsClient", "BatchIsAuthorizedCommand")
14
- .sc(BatchIsAuthorized$)
15
- .build() {
3
+ export class BatchIsAuthorizedCommand extends command(_ep0, _mw0, "BatchIsAuthorized", BatchIsAuthorized$) {
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 { BatchIsAuthorizedWithToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchIsAuthorizedWithTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "BatchIsAuthorizedWithToken", {})
13
- .n("VerifiedPermissionsClient", "BatchIsAuthorizedWithTokenCommand")
14
- .sc(BatchIsAuthorizedWithToken$)
15
- .build() {
3
+ export class BatchIsAuthorizedWithTokenCommand extends command(_ep0, _mw0, "BatchIsAuthorizedWithToken", BatchIsAuthorizedWithToken$) {
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 { CreateIdentitySource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateIdentitySourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "CreateIdentitySource", {})
13
- .n("VerifiedPermissionsClient", "CreateIdentitySourceCommand")
14
- .sc(CreateIdentitySource$)
15
- .build() {
3
+ export class CreateIdentitySourceCommand extends command(_ep0, _mw0, "CreateIdentitySource", CreateIdentitySource$) {
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 { CreatePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "CreatePolicy", {})
13
- .n("VerifiedPermissionsClient", "CreatePolicyCommand")
14
- .sc(CreatePolicy$)
15
- .build() {
3
+ export class CreatePolicyCommand extends command(_ep0, _mw0, "CreatePolicy", CreatePolicy$) {
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 { CreatePolicyStoreAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePolicyStoreAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "CreatePolicyStoreAlias", {})
13
- .n("VerifiedPermissionsClient", "CreatePolicyStoreAliasCommand")
14
- .sc(CreatePolicyStoreAlias$)
15
- .build() {
3
+ export class CreatePolicyStoreAliasCommand extends command(_ep0, _mw0, "CreatePolicyStoreAlias", CreatePolicyStoreAlias$) {
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 { CreatePolicyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePolicyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "CreatePolicyStore", {})
13
- .n("VerifiedPermissionsClient", "CreatePolicyStoreCommand")
14
- .sc(CreatePolicyStore$)
15
- .build() {
3
+ export class CreatePolicyStoreCommand extends command(_ep0, _mw0, "CreatePolicyStore", CreatePolicyStore$) {
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 { CreatePolicyTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePolicyTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "CreatePolicyTemplate", {})
13
- .n("VerifiedPermissionsClient", "CreatePolicyTemplateCommand")
14
- .sc(CreatePolicyTemplate$)
15
- .build() {
3
+ export class CreatePolicyTemplateCommand extends command(_ep0, _mw0, "CreatePolicyTemplate", CreatePolicyTemplate$) {
16
4
  }