@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
@@ -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 { DeleteIdentitySource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIdentitySourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "DeleteIdentitySource", {})
13
- .n("VerifiedPermissionsClient", "DeleteIdentitySourceCommand")
14
- .sc(DeleteIdentitySource$)
15
- .build() {
3
+ export class DeleteIdentitySourceCommand extends command(_ep0, _mw0, "DeleteIdentitySource", DeleteIdentitySource$) {
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 { DeletePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "DeletePolicy", {})
13
- .n("VerifiedPermissionsClient", "DeletePolicyCommand")
14
- .sc(DeletePolicy$)
15
- .build() {
3
+ export class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
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 { DeletePolicyStoreAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePolicyStoreAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "DeletePolicyStoreAlias", {})
13
- .n("VerifiedPermissionsClient", "DeletePolicyStoreAliasCommand")
14
- .sc(DeletePolicyStoreAlias$)
15
- .build() {
3
+ export class DeletePolicyStoreAliasCommand extends command(_ep0, _mw0, "DeletePolicyStoreAlias", DeletePolicyStoreAlias$) {
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 { DeletePolicyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePolicyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "DeletePolicyStore", {})
13
- .n("VerifiedPermissionsClient", "DeletePolicyStoreCommand")
14
- .sc(DeletePolicyStore$)
15
- .build() {
3
+ export class DeletePolicyStoreCommand extends command(_ep0, _mw0, "DeletePolicyStore", DeletePolicyStore$) {
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 { DeletePolicyTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePolicyTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "DeletePolicyTemplate", {})
13
- .n("VerifiedPermissionsClient", "DeletePolicyTemplateCommand")
14
- .sc(DeletePolicyTemplate$)
15
- .build() {
3
+ export class DeletePolicyTemplateCommand extends command(_ep0, _mw0, "DeletePolicyTemplate", DeletePolicyTemplate$) {
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 { GetIdentitySource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIdentitySourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "GetIdentitySource", {})
13
- .n("VerifiedPermissionsClient", "GetIdentitySourceCommand")
14
- .sc(GetIdentitySource$)
15
- .build() {
3
+ export class GetIdentitySourceCommand extends command(_ep0, _mw0, "GetIdentitySource", GetIdentitySource$) {
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 { GetPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "GetPolicy", {})
13
- .n("VerifiedPermissionsClient", "GetPolicyCommand")
14
- .sc(GetPolicy$)
15
- .build() {
3
+ export class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
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 { GetPolicyStoreAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPolicyStoreAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "GetPolicyStoreAlias", {})
13
- .n("VerifiedPermissionsClient", "GetPolicyStoreAliasCommand")
14
- .sc(GetPolicyStoreAlias$)
15
- .build() {
3
+ export class GetPolicyStoreAliasCommand extends command(_ep0, _mw0, "GetPolicyStoreAlias", GetPolicyStoreAlias$) {
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 { GetPolicyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPolicyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "GetPolicyStore", {})
13
- .n("VerifiedPermissionsClient", "GetPolicyStoreCommand")
14
- .sc(GetPolicyStore$)
15
- .build() {
3
+ export class GetPolicyStoreCommand extends command(_ep0, _mw0, "GetPolicyStore", GetPolicyStore$) {
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 { GetPolicyTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPolicyTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "GetPolicyTemplate", {})
13
- .n("VerifiedPermissionsClient", "GetPolicyTemplateCommand")
14
- .sc(GetPolicyTemplate$)
15
- .build() {
3
+ export class GetPolicyTemplateCommand extends command(_ep0, _mw0, "GetPolicyTemplate", GetPolicyTemplate$) {
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 { GetSchema$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSchemaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "GetSchema", {})
13
- .n("VerifiedPermissionsClient", "GetSchemaCommand")
14
- .sc(GetSchema$)
15
- .build() {
3
+ export class GetSchemaCommand extends command(_ep0, _mw0, "GetSchema", GetSchema$) {
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 { IsAuthorized$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class IsAuthorizedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "IsAuthorized", {})
13
- .n("VerifiedPermissionsClient", "IsAuthorizedCommand")
14
- .sc(IsAuthorized$)
15
- .build() {
3
+ export class IsAuthorizedCommand extends command(_ep0, _mw0, "IsAuthorized", IsAuthorized$) {
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 { IsAuthorizedWithToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class IsAuthorizedWithTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "IsAuthorizedWithToken", {})
13
- .n("VerifiedPermissionsClient", "IsAuthorizedWithTokenCommand")
14
- .sc(IsAuthorizedWithToken$)
15
- .build() {
3
+ export class IsAuthorizedWithTokenCommand extends command(_ep0, _mw0, "IsAuthorizedWithToken", IsAuthorizedWithToken$) {
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 { ListIdentitySources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIdentitySourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "ListIdentitySources", {})
13
- .n("VerifiedPermissionsClient", "ListIdentitySourcesCommand")
14
- .sc(ListIdentitySources$)
15
- .build() {
3
+ export class ListIdentitySourcesCommand extends command(_ep0, _mw0, "ListIdentitySources", ListIdentitySources$) {
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 { ListPolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "ListPolicies", {})
13
- .n("VerifiedPermissionsClient", "ListPoliciesCommand")
14
- .sc(ListPolicies$)
15
- .build() {
3
+ export class ListPoliciesCommand extends command(_ep0, _mw0, "ListPolicies", ListPolicies$) {
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 { ListPolicyStoreAliases$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPolicyStoreAliasesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "ListPolicyStoreAliases", {})
13
- .n("VerifiedPermissionsClient", "ListPolicyStoreAliasesCommand")
14
- .sc(ListPolicyStoreAliases$)
15
- .build() {
3
+ export class ListPolicyStoreAliasesCommand extends command(_ep0, _mw0, "ListPolicyStoreAliases", ListPolicyStoreAliases$) {
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 { ListPolicyStores$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPolicyStoresCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "ListPolicyStores", {})
13
- .n("VerifiedPermissionsClient", "ListPolicyStoresCommand")
14
- .sc(ListPolicyStores$)
15
- .build() {
3
+ export class ListPolicyStoresCommand extends command(_ep0, _mw0, "ListPolicyStores", ListPolicyStores$) {
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 { ListPolicyTemplates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPolicyTemplatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "ListPolicyTemplates", {})
13
- .n("VerifiedPermissionsClient", "ListPolicyTemplatesCommand")
14
- .sc(ListPolicyTemplates$)
15
- .build() {
3
+ export class ListPolicyTemplatesCommand extends command(_ep0, _mw0, "ListPolicyTemplates", ListPolicyTemplates$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "ListTagsForResource", {})
13
- .n("VerifiedPermissionsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { PutSchema$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutSchemaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "PutSchema", {})
13
- .n("VerifiedPermissionsClient", "PutSchemaCommand")
14
- .sc(PutSchema$)
15
- .build() {
3
+ export class PutSchemaCommand extends command(_ep0, _mw0, "PutSchema", PutSchema$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "TagResource", {})
13
- .n("VerifiedPermissionsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "UntagResource", {})
13
- .n("VerifiedPermissionsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateIdentitySource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateIdentitySourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "UpdateIdentitySource", {})
13
- .n("VerifiedPermissionsClient", "UpdateIdentitySourceCommand")
14
- .sc(UpdateIdentitySource$)
15
- .build() {
3
+ export class UpdateIdentitySourceCommand extends command(_ep0, _mw0, "UpdateIdentitySource", UpdateIdentitySource$) {
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 { UpdatePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "UpdatePolicy", {})
13
- .n("VerifiedPermissionsClient", "UpdatePolicyCommand")
14
- .sc(UpdatePolicy$)
15
- .build() {
3
+ export class UpdatePolicyCommand extends command(_ep0, _mw0, "UpdatePolicy", UpdatePolicy$) {
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 { UpdatePolicyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePolicyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "UpdatePolicyStore", {})
13
- .n("VerifiedPermissionsClient", "UpdatePolicyStoreCommand")
14
- .sc(UpdatePolicyStore$)
15
- .build() {
3
+ export class UpdatePolicyStoreCommand extends command(_ep0, _mw0, "UpdatePolicyStore", UpdatePolicyStore$) {
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 { UpdatePolicyTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePolicyTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VerifiedPermissions", "UpdatePolicyTemplate", {})
13
- .n("VerifiedPermissionsClient", "UpdatePolicyTemplateCommand")
14
- .sc(UpdatePolicyTemplate$)
15
- .build() {
3
+ export class UpdatePolicyTemplateCommand extends command(_ep0, _mw0, "UpdatePolicyTemplate", UpdatePolicyTemplate$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./VerifiedPermissionsClient";
2
2
  export * from "./VerifiedPermissions";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "VerifiedPermissions",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "VerifiedPermissions",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, VerifiedPermissionsClientResolvedConfig } from "./VerifiedPermissionsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];