@aws-sdk/client-verifiedpermissions 3.352.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 (183) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +461 -0
  3. package/dist-cjs/VerifiedPermissions.js +59 -0
  4. package/dist-cjs/VerifiedPermissionsClient.js +41 -0
  5. package/dist-cjs/commands/CreateIdentitySourceCommand.js +46 -0
  6. package/dist-cjs/commands/CreatePolicyCommand.js +46 -0
  7. package/dist-cjs/commands/CreatePolicyStoreCommand.js +46 -0
  8. package/dist-cjs/commands/CreatePolicyTemplateCommand.js +46 -0
  9. package/dist-cjs/commands/DeleteIdentitySourceCommand.js +46 -0
  10. package/dist-cjs/commands/DeletePolicyCommand.js +46 -0
  11. package/dist-cjs/commands/DeletePolicyStoreCommand.js +46 -0
  12. package/dist-cjs/commands/DeletePolicyTemplateCommand.js +46 -0
  13. package/dist-cjs/commands/GetIdentitySourceCommand.js +46 -0
  14. package/dist-cjs/commands/GetPolicyCommand.js +46 -0
  15. package/dist-cjs/commands/GetPolicyStoreCommand.js +46 -0
  16. package/dist-cjs/commands/GetPolicyTemplateCommand.js +46 -0
  17. package/dist-cjs/commands/GetSchemaCommand.js +46 -0
  18. package/dist-cjs/commands/IsAuthorizedCommand.js +46 -0
  19. package/dist-cjs/commands/IsAuthorizedWithTokenCommand.js +46 -0
  20. package/dist-cjs/commands/ListIdentitySourcesCommand.js +46 -0
  21. package/dist-cjs/commands/ListPoliciesCommand.js +46 -0
  22. package/dist-cjs/commands/ListPolicyStoresCommand.js +46 -0
  23. package/dist-cjs/commands/ListPolicyTemplatesCommand.js +46 -0
  24. package/dist-cjs/commands/PutSchemaCommand.js +46 -0
  25. package/dist-cjs/commands/UpdateIdentitySourceCommand.js +46 -0
  26. package/dist-cjs/commands/UpdatePolicyCommand.js +46 -0
  27. package/dist-cjs/commands/UpdatePolicyStoreCommand.js +46 -0
  28. package/dist-cjs/commands/UpdatePolicyTemplateCommand.js +46 -0
  29. package/dist-cjs/commands/index.js +27 -0
  30. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  32. package/dist-cjs/endpoint/ruleset.js +7 -0
  33. package/dist-cjs/index.js +11 -0
  34. package/dist-cjs/models/VerifiedPermissionsServiceException.js +12 -0
  35. package/dist-cjs/models/index.js +4 -0
  36. package/dist-cjs/models/models_0.js +237 -0
  37. package/dist-cjs/pagination/Interfaces.js +2 -0
  38. package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +29 -0
  39. package/dist-cjs/pagination/ListPoliciesPaginator.js +29 -0
  40. package/dist-cjs/pagination/ListPolicyStoresPaginator.js +29 -0
  41. package/dist-cjs/pagination/ListPolicyTemplatesPaginator.js +29 -0
  42. package/dist-cjs/pagination/index.js +8 -0
  43. package/dist-cjs/protocols/Aws_json1_0.js +1772 -0
  44. package/dist-cjs/runtimeConfig.browser.js +39 -0
  45. package/dist-cjs/runtimeConfig.js +48 -0
  46. package/dist-cjs/runtimeConfig.native.js +15 -0
  47. package/dist-cjs/runtimeConfig.shared.js +21 -0
  48. package/dist-es/VerifiedPermissions.js +55 -0
  49. package/dist-es/VerifiedPermissionsClient.js +37 -0
  50. package/dist-es/commands/CreateIdentitySourceCommand.js +42 -0
  51. package/dist-es/commands/CreatePolicyCommand.js +42 -0
  52. package/dist-es/commands/CreatePolicyStoreCommand.js +42 -0
  53. package/dist-es/commands/CreatePolicyTemplateCommand.js +42 -0
  54. package/dist-es/commands/DeleteIdentitySourceCommand.js +42 -0
  55. package/dist-es/commands/DeletePolicyCommand.js +42 -0
  56. package/dist-es/commands/DeletePolicyStoreCommand.js +42 -0
  57. package/dist-es/commands/DeletePolicyTemplateCommand.js +42 -0
  58. package/dist-es/commands/GetIdentitySourceCommand.js +42 -0
  59. package/dist-es/commands/GetPolicyCommand.js +42 -0
  60. package/dist-es/commands/GetPolicyStoreCommand.js +42 -0
  61. package/dist-es/commands/GetPolicyTemplateCommand.js +42 -0
  62. package/dist-es/commands/GetSchemaCommand.js +42 -0
  63. package/dist-es/commands/IsAuthorizedCommand.js +42 -0
  64. package/dist-es/commands/IsAuthorizedWithTokenCommand.js +42 -0
  65. package/dist-es/commands/ListIdentitySourcesCommand.js +42 -0
  66. package/dist-es/commands/ListPoliciesCommand.js +42 -0
  67. package/dist-es/commands/ListPolicyStoresCommand.js +42 -0
  68. package/dist-es/commands/ListPolicyTemplatesCommand.js +42 -0
  69. package/dist-es/commands/PutSchemaCommand.js +42 -0
  70. package/dist-es/commands/UpdateIdentitySourceCommand.js +42 -0
  71. package/dist-es/commands/UpdatePolicyCommand.js +42 -0
  72. package/dist-es/commands/UpdatePolicyStoreCommand.js +42 -0
  73. package/dist-es/commands/UpdatePolicyTemplateCommand.js +42 -0
  74. package/dist-es/commands/index.js +24 -0
  75. package/dist-es/endpoint/EndpointParameters.js +8 -0
  76. package/dist-es/endpoint/endpointResolver.js +8 -0
  77. package/dist-es/endpoint/ruleset.js +4 -0
  78. package/dist-es/index.js +6 -0
  79. package/dist-es/models/VerifiedPermissionsServiceException.js +8 -0
  80. package/dist-es/models/index.js +1 -0
  81. package/dist-es/models/models_0.js +227 -0
  82. package/dist-es/pagination/Interfaces.js +1 -0
  83. package/dist-es/pagination/ListIdentitySourcesPaginator.js +25 -0
  84. package/dist-es/pagination/ListPoliciesPaginator.js +25 -0
  85. package/dist-es/pagination/ListPolicyStoresPaginator.js +25 -0
  86. package/dist-es/pagination/ListPolicyTemplatesPaginator.js +25 -0
  87. package/dist-es/pagination/index.js +5 -0
  88. package/dist-es/protocols/Aws_json1_0.js +1721 -0
  89. package/dist-es/runtimeConfig.browser.js +34 -0
  90. package/dist-es/runtimeConfig.js +43 -0
  91. package/dist-es/runtimeConfig.native.js +11 -0
  92. package/dist-es/runtimeConfig.shared.js +17 -0
  93. package/dist-types/VerifiedPermissions.d.ts +242 -0
  94. package/dist-types/VerifiedPermissionsClient.d.ts +250 -0
  95. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +210 -0
  96. package/dist-types/commands/CreatePolicyCommand.d.ts +222 -0
  97. package/dist-types/commands/CreatePolicyStoreCommand.d.ts +175 -0
  98. package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +184 -0
  99. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +175 -0
  100. package/dist-types/commands/DeletePolicyCommand.d.ts +174 -0
  101. package/dist-types/commands/DeletePolicyStoreCommand.d.ts +166 -0
  102. package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +177 -0
  103. package/dist-types/commands/GetIdentitySourceCommand.d.ts +182 -0
  104. package/dist-types/commands/GetPolicyCommand.d.ts +199 -0
  105. package/dist-types/commands/GetPolicyStoreCommand.d.ts +175 -0
  106. package/dist-types/commands/GetPolicyTemplateCommand.d.ts +175 -0
  107. package/dist-types/commands/GetSchemaCommand.d.ts +172 -0
  108. package/dist-types/commands/IsAuthorizedCommand.d.ts +239 -0
  109. package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +240 -0
  110. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +193 -0
  111. package/dist-types/commands/ListPoliciesCommand.d.ts +222 -0
  112. package/dist-types/commands/ListPolicyStoresCommand.d.ts +174 -0
  113. package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +180 -0
  114. package/dist-types/commands/PutSchemaCommand.d.ts +188 -0
  115. package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +187 -0
  116. package/dist-types/commands/UpdatePolicyCommand.d.ts +202 -0
  117. package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +179 -0
  118. package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +184 -0
  119. package/dist-types/commands/index.d.ts +24 -0
  120. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  121. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  122. package/dist-types/endpoint/ruleset.d.ts +2 -0
  123. package/dist-types/index.d.ts +75 -0
  124. package/dist-types/models/VerifiedPermissionsServiceException.d.ts +13 -0
  125. package/dist-types/models/index.d.ts +1 -0
  126. package/dist-types/models/models_0.d.ts +2456 -0
  127. package/dist-types/pagination/Interfaces.d.ts +8 -0
  128. package/dist-types/pagination/ListIdentitySourcesPaginator.d.ts +7 -0
  129. package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
  130. package/dist-types/pagination/ListPolicyStoresPaginator.d.ts +7 -0
  131. package/dist-types/pagination/ListPolicyTemplatesPaginator.d.ts +7 -0
  132. package/dist-types/pagination/index.d.ts +5 -0
  133. package/dist-types/protocols/Aws_json1_0.d.ts +218 -0
  134. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  135. package/dist-types/runtimeConfig.d.ts +42 -0
  136. package/dist-types/runtimeConfig.native.d.ts +41 -0
  137. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  138. package/dist-types/ts3.4/VerifiedPermissions.d.ts +415 -0
  139. package/dist-types/ts3.4/VerifiedPermissionsClient.d.ts +259 -0
  140. package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +42 -0
  141. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +35 -0
  142. package/dist-types/ts3.4/commands/CreatePolicyStoreCommand.d.ts +38 -0
  143. package/dist-types/ts3.4/commands/CreatePolicyTemplateCommand.d.ts +42 -0
  144. package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +42 -0
  145. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +35 -0
  146. package/dist-types/ts3.4/commands/DeletePolicyStoreCommand.d.ts +38 -0
  147. package/dist-types/ts3.4/commands/DeletePolicyTemplateCommand.d.ts +42 -0
  148. package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +38 -0
  149. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +35 -0
  150. package/dist-types/ts3.4/commands/GetPolicyStoreCommand.d.ts +35 -0
  151. package/dist-types/ts3.4/commands/GetPolicyTemplateCommand.d.ts +38 -0
  152. package/dist-types/ts3.4/commands/GetSchemaCommand.d.ts +35 -0
  153. package/dist-types/ts3.4/commands/IsAuthorizedCommand.d.ts +35 -0
  154. package/dist-types/ts3.4/commands/IsAuthorizedWithTokenCommand.d.ts +42 -0
  155. package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +39 -0
  156. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +35 -0
  157. package/dist-types/ts3.4/commands/ListPolicyStoresCommand.d.ts +38 -0
  158. package/dist-types/ts3.4/commands/ListPolicyTemplatesCommand.d.ts +39 -0
  159. package/dist-types/ts3.4/commands/PutSchemaCommand.d.ts +35 -0
  160. package/dist-types/ts3.4/commands/UpdateIdentitySourceCommand.d.ts +42 -0
  161. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +35 -0
  162. package/dist-types/ts3.4/commands/UpdatePolicyStoreCommand.d.ts +38 -0
  163. package/dist-types/ts3.4/commands/UpdatePolicyTemplateCommand.d.ts +42 -0
  164. package/dist-types/ts3.4/commands/index.d.ts +24 -0
  165. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  166. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  167. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  168. package/dist-types/ts3.4/index.d.ts +6 -0
  169. package/dist-types/ts3.4/models/VerifiedPermissionsServiceException.d.ts +8 -0
  170. package/dist-types/ts3.4/models/index.d.ts +1 -0
  171. package/dist-types/ts3.4/models/models_0.d.ts +757 -0
  172. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  173. package/dist-types/ts3.4/pagination/ListIdentitySourcesPaginator.d.ts +11 -0
  174. package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
  175. package/dist-types/ts3.4/pagination/ListPolicyStoresPaginator.d.ts +11 -0
  176. package/dist-types/ts3.4/pagination/ListPolicyTemplatesPaginator.d.ts +11 -0
  177. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  178. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +293 -0
  179. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
  180. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  181. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  182. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
  183. package/package.json +101 -0
@@ -0,0 +1,415 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ CreateIdentitySourceCommandInput,
4
+ CreateIdentitySourceCommandOutput,
5
+ } from "./commands/CreateIdentitySourceCommand";
6
+ import {
7
+ CreatePolicyCommandInput,
8
+ CreatePolicyCommandOutput,
9
+ } from "./commands/CreatePolicyCommand";
10
+ import {
11
+ CreatePolicyStoreCommandInput,
12
+ CreatePolicyStoreCommandOutput,
13
+ } from "./commands/CreatePolicyStoreCommand";
14
+ import {
15
+ CreatePolicyTemplateCommandInput,
16
+ CreatePolicyTemplateCommandOutput,
17
+ } from "./commands/CreatePolicyTemplateCommand";
18
+ import {
19
+ DeleteIdentitySourceCommandInput,
20
+ DeleteIdentitySourceCommandOutput,
21
+ } from "./commands/DeleteIdentitySourceCommand";
22
+ import {
23
+ DeletePolicyCommandInput,
24
+ DeletePolicyCommandOutput,
25
+ } from "./commands/DeletePolicyCommand";
26
+ import {
27
+ DeletePolicyStoreCommandInput,
28
+ DeletePolicyStoreCommandOutput,
29
+ } from "./commands/DeletePolicyStoreCommand";
30
+ import {
31
+ DeletePolicyTemplateCommandInput,
32
+ DeletePolicyTemplateCommandOutput,
33
+ } from "./commands/DeletePolicyTemplateCommand";
34
+ import {
35
+ GetIdentitySourceCommandInput,
36
+ GetIdentitySourceCommandOutput,
37
+ } from "./commands/GetIdentitySourceCommand";
38
+ import {
39
+ GetPolicyCommandInput,
40
+ GetPolicyCommandOutput,
41
+ } from "./commands/GetPolicyCommand";
42
+ import {
43
+ GetPolicyStoreCommandInput,
44
+ GetPolicyStoreCommandOutput,
45
+ } from "./commands/GetPolicyStoreCommand";
46
+ import {
47
+ GetPolicyTemplateCommandInput,
48
+ GetPolicyTemplateCommandOutput,
49
+ } from "./commands/GetPolicyTemplateCommand";
50
+ import {
51
+ GetSchemaCommandInput,
52
+ GetSchemaCommandOutput,
53
+ } from "./commands/GetSchemaCommand";
54
+ import {
55
+ IsAuthorizedCommandInput,
56
+ IsAuthorizedCommandOutput,
57
+ } from "./commands/IsAuthorizedCommand";
58
+ import {
59
+ IsAuthorizedWithTokenCommandInput,
60
+ IsAuthorizedWithTokenCommandOutput,
61
+ } from "./commands/IsAuthorizedWithTokenCommand";
62
+ import {
63
+ ListIdentitySourcesCommandInput,
64
+ ListIdentitySourcesCommandOutput,
65
+ } from "./commands/ListIdentitySourcesCommand";
66
+ import {
67
+ ListPoliciesCommandInput,
68
+ ListPoliciesCommandOutput,
69
+ } from "./commands/ListPoliciesCommand";
70
+ import {
71
+ ListPolicyStoresCommandInput,
72
+ ListPolicyStoresCommandOutput,
73
+ } from "./commands/ListPolicyStoresCommand";
74
+ import {
75
+ ListPolicyTemplatesCommandInput,
76
+ ListPolicyTemplatesCommandOutput,
77
+ } from "./commands/ListPolicyTemplatesCommand";
78
+ import {
79
+ PutSchemaCommandInput,
80
+ PutSchemaCommandOutput,
81
+ } from "./commands/PutSchemaCommand";
82
+ import {
83
+ UpdateIdentitySourceCommandInput,
84
+ UpdateIdentitySourceCommandOutput,
85
+ } from "./commands/UpdateIdentitySourceCommand";
86
+ import {
87
+ UpdatePolicyCommandInput,
88
+ UpdatePolicyCommandOutput,
89
+ } from "./commands/UpdatePolicyCommand";
90
+ import {
91
+ UpdatePolicyStoreCommandInput,
92
+ UpdatePolicyStoreCommandOutput,
93
+ } from "./commands/UpdatePolicyStoreCommand";
94
+ import {
95
+ UpdatePolicyTemplateCommandInput,
96
+ UpdatePolicyTemplateCommandOutput,
97
+ } from "./commands/UpdatePolicyTemplateCommand";
98
+ import { VerifiedPermissionsClient } from "./VerifiedPermissionsClient";
99
+ export interface VerifiedPermissions {
100
+ createIdentitySource(
101
+ args: CreateIdentitySourceCommandInput,
102
+ options?: __HttpHandlerOptions
103
+ ): Promise<CreateIdentitySourceCommandOutput>;
104
+ createIdentitySource(
105
+ args: CreateIdentitySourceCommandInput,
106
+ cb: (err: any, data?: CreateIdentitySourceCommandOutput) => void
107
+ ): void;
108
+ createIdentitySource(
109
+ args: CreateIdentitySourceCommandInput,
110
+ options: __HttpHandlerOptions,
111
+ cb: (err: any, data?: CreateIdentitySourceCommandOutput) => void
112
+ ): void;
113
+ createPolicy(
114
+ args: CreatePolicyCommandInput,
115
+ options?: __HttpHandlerOptions
116
+ ): Promise<CreatePolicyCommandOutput>;
117
+ createPolicy(
118
+ args: CreatePolicyCommandInput,
119
+ cb: (err: any, data?: CreatePolicyCommandOutput) => void
120
+ ): void;
121
+ createPolicy(
122
+ args: CreatePolicyCommandInput,
123
+ options: __HttpHandlerOptions,
124
+ cb: (err: any, data?: CreatePolicyCommandOutput) => void
125
+ ): void;
126
+ createPolicyStore(
127
+ args: CreatePolicyStoreCommandInput,
128
+ options?: __HttpHandlerOptions
129
+ ): Promise<CreatePolicyStoreCommandOutput>;
130
+ createPolicyStore(
131
+ args: CreatePolicyStoreCommandInput,
132
+ cb: (err: any, data?: CreatePolicyStoreCommandOutput) => void
133
+ ): void;
134
+ createPolicyStore(
135
+ args: CreatePolicyStoreCommandInput,
136
+ options: __HttpHandlerOptions,
137
+ cb: (err: any, data?: CreatePolicyStoreCommandOutput) => void
138
+ ): void;
139
+ createPolicyTemplate(
140
+ args: CreatePolicyTemplateCommandInput,
141
+ options?: __HttpHandlerOptions
142
+ ): Promise<CreatePolicyTemplateCommandOutput>;
143
+ createPolicyTemplate(
144
+ args: CreatePolicyTemplateCommandInput,
145
+ cb: (err: any, data?: CreatePolicyTemplateCommandOutput) => void
146
+ ): void;
147
+ createPolicyTemplate(
148
+ args: CreatePolicyTemplateCommandInput,
149
+ options: __HttpHandlerOptions,
150
+ cb: (err: any, data?: CreatePolicyTemplateCommandOutput) => void
151
+ ): void;
152
+ deleteIdentitySource(
153
+ args: DeleteIdentitySourceCommandInput,
154
+ options?: __HttpHandlerOptions
155
+ ): Promise<DeleteIdentitySourceCommandOutput>;
156
+ deleteIdentitySource(
157
+ args: DeleteIdentitySourceCommandInput,
158
+ cb: (err: any, data?: DeleteIdentitySourceCommandOutput) => void
159
+ ): void;
160
+ deleteIdentitySource(
161
+ args: DeleteIdentitySourceCommandInput,
162
+ options: __HttpHandlerOptions,
163
+ cb: (err: any, data?: DeleteIdentitySourceCommandOutput) => void
164
+ ): void;
165
+ deletePolicy(
166
+ args: DeletePolicyCommandInput,
167
+ options?: __HttpHandlerOptions
168
+ ): Promise<DeletePolicyCommandOutput>;
169
+ deletePolicy(
170
+ args: DeletePolicyCommandInput,
171
+ cb: (err: any, data?: DeletePolicyCommandOutput) => void
172
+ ): void;
173
+ deletePolicy(
174
+ args: DeletePolicyCommandInput,
175
+ options: __HttpHandlerOptions,
176
+ cb: (err: any, data?: DeletePolicyCommandOutput) => void
177
+ ): void;
178
+ deletePolicyStore(
179
+ args: DeletePolicyStoreCommandInput,
180
+ options?: __HttpHandlerOptions
181
+ ): Promise<DeletePolicyStoreCommandOutput>;
182
+ deletePolicyStore(
183
+ args: DeletePolicyStoreCommandInput,
184
+ cb: (err: any, data?: DeletePolicyStoreCommandOutput) => void
185
+ ): void;
186
+ deletePolicyStore(
187
+ args: DeletePolicyStoreCommandInput,
188
+ options: __HttpHandlerOptions,
189
+ cb: (err: any, data?: DeletePolicyStoreCommandOutput) => void
190
+ ): void;
191
+ deletePolicyTemplate(
192
+ args: DeletePolicyTemplateCommandInput,
193
+ options?: __HttpHandlerOptions
194
+ ): Promise<DeletePolicyTemplateCommandOutput>;
195
+ deletePolicyTemplate(
196
+ args: DeletePolicyTemplateCommandInput,
197
+ cb: (err: any, data?: DeletePolicyTemplateCommandOutput) => void
198
+ ): void;
199
+ deletePolicyTemplate(
200
+ args: DeletePolicyTemplateCommandInput,
201
+ options: __HttpHandlerOptions,
202
+ cb: (err: any, data?: DeletePolicyTemplateCommandOutput) => void
203
+ ): void;
204
+ getIdentitySource(
205
+ args: GetIdentitySourceCommandInput,
206
+ options?: __HttpHandlerOptions
207
+ ): Promise<GetIdentitySourceCommandOutput>;
208
+ getIdentitySource(
209
+ args: GetIdentitySourceCommandInput,
210
+ cb: (err: any, data?: GetIdentitySourceCommandOutput) => void
211
+ ): void;
212
+ getIdentitySource(
213
+ args: GetIdentitySourceCommandInput,
214
+ options: __HttpHandlerOptions,
215
+ cb: (err: any, data?: GetIdentitySourceCommandOutput) => void
216
+ ): void;
217
+ getPolicy(
218
+ args: GetPolicyCommandInput,
219
+ options?: __HttpHandlerOptions
220
+ ): Promise<GetPolicyCommandOutput>;
221
+ getPolicy(
222
+ args: GetPolicyCommandInput,
223
+ cb: (err: any, data?: GetPolicyCommandOutput) => void
224
+ ): void;
225
+ getPolicy(
226
+ args: GetPolicyCommandInput,
227
+ options: __HttpHandlerOptions,
228
+ cb: (err: any, data?: GetPolicyCommandOutput) => void
229
+ ): void;
230
+ getPolicyStore(
231
+ args: GetPolicyStoreCommandInput,
232
+ options?: __HttpHandlerOptions
233
+ ): Promise<GetPolicyStoreCommandOutput>;
234
+ getPolicyStore(
235
+ args: GetPolicyStoreCommandInput,
236
+ cb: (err: any, data?: GetPolicyStoreCommandOutput) => void
237
+ ): void;
238
+ getPolicyStore(
239
+ args: GetPolicyStoreCommandInput,
240
+ options: __HttpHandlerOptions,
241
+ cb: (err: any, data?: GetPolicyStoreCommandOutput) => void
242
+ ): void;
243
+ getPolicyTemplate(
244
+ args: GetPolicyTemplateCommandInput,
245
+ options?: __HttpHandlerOptions
246
+ ): Promise<GetPolicyTemplateCommandOutput>;
247
+ getPolicyTemplate(
248
+ args: GetPolicyTemplateCommandInput,
249
+ cb: (err: any, data?: GetPolicyTemplateCommandOutput) => void
250
+ ): void;
251
+ getPolicyTemplate(
252
+ args: GetPolicyTemplateCommandInput,
253
+ options: __HttpHandlerOptions,
254
+ cb: (err: any, data?: GetPolicyTemplateCommandOutput) => void
255
+ ): void;
256
+ getSchema(
257
+ args: GetSchemaCommandInput,
258
+ options?: __HttpHandlerOptions
259
+ ): Promise<GetSchemaCommandOutput>;
260
+ getSchema(
261
+ args: GetSchemaCommandInput,
262
+ cb: (err: any, data?: GetSchemaCommandOutput) => void
263
+ ): void;
264
+ getSchema(
265
+ args: GetSchemaCommandInput,
266
+ options: __HttpHandlerOptions,
267
+ cb: (err: any, data?: GetSchemaCommandOutput) => void
268
+ ): void;
269
+ isAuthorized(
270
+ args: IsAuthorizedCommandInput,
271
+ options?: __HttpHandlerOptions
272
+ ): Promise<IsAuthorizedCommandOutput>;
273
+ isAuthorized(
274
+ args: IsAuthorizedCommandInput,
275
+ cb: (err: any, data?: IsAuthorizedCommandOutput) => void
276
+ ): void;
277
+ isAuthorized(
278
+ args: IsAuthorizedCommandInput,
279
+ options: __HttpHandlerOptions,
280
+ cb: (err: any, data?: IsAuthorizedCommandOutput) => void
281
+ ): void;
282
+ isAuthorizedWithToken(
283
+ args: IsAuthorizedWithTokenCommandInput,
284
+ options?: __HttpHandlerOptions
285
+ ): Promise<IsAuthorizedWithTokenCommandOutput>;
286
+ isAuthorizedWithToken(
287
+ args: IsAuthorizedWithTokenCommandInput,
288
+ cb: (err: any, data?: IsAuthorizedWithTokenCommandOutput) => void
289
+ ): void;
290
+ isAuthorizedWithToken(
291
+ args: IsAuthorizedWithTokenCommandInput,
292
+ options: __HttpHandlerOptions,
293
+ cb: (err: any, data?: IsAuthorizedWithTokenCommandOutput) => void
294
+ ): void;
295
+ listIdentitySources(
296
+ args: ListIdentitySourcesCommandInput,
297
+ options?: __HttpHandlerOptions
298
+ ): Promise<ListIdentitySourcesCommandOutput>;
299
+ listIdentitySources(
300
+ args: ListIdentitySourcesCommandInput,
301
+ cb: (err: any, data?: ListIdentitySourcesCommandOutput) => void
302
+ ): void;
303
+ listIdentitySources(
304
+ args: ListIdentitySourcesCommandInput,
305
+ options: __HttpHandlerOptions,
306
+ cb: (err: any, data?: ListIdentitySourcesCommandOutput) => void
307
+ ): void;
308
+ listPolicies(
309
+ args: ListPoliciesCommandInput,
310
+ options?: __HttpHandlerOptions
311
+ ): Promise<ListPoliciesCommandOutput>;
312
+ listPolicies(
313
+ args: ListPoliciesCommandInput,
314
+ cb: (err: any, data?: ListPoliciesCommandOutput) => void
315
+ ): void;
316
+ listPolicies(
317
+ args: ListPoliciesCommandInput,
318
+ options: __HttpHandlerOptions,
319
+ cb: (err: any, data?: ListPoliciesCommandOutput) => void
320
+ ): void;
321
+ listPolicyStores(
322
+ args: ListPolicyStoresCommandInput,
323
+ options?: __HttpHandlerOptions
324
+ ): Promise<ListPolicyStoresCommandOutput>;
325
+ listPolicyStores(
326
+ args: ListPolicyStoresCommandInput,
327
+ cb: (err: any, data?: ListPolicyStoresCommandOutput) => void
328
+ ): void;
329
+ listPolicyStores(
330
+ args: ListPolicyStoresCommandInput,
331
+ options: __HttpHandlerOptions,
332
+ cb: (err: any, data?: ListPolicyStoresCommandOutput) => void
333
+ ): void;
334
+ listPolicyTemplates(
335
+ args: ListPolicyTemplatesCommandInput,
336
+ options?: __HttpHandlerOptions
337
+ ): Promise<ListPolicyTemplatesCommandOutput>;
338
+ listPolicyTemplates(
339
+ args: ListPolicyTemplatesCommandInput,
340
+ cb: (err: any, data?: ListPolicyTemplatesCommandOutput) => void
341
+ ): void;
342
+ listPolicyTemplates(
343
+ args: ListPolicyTemplatesCommandInput,
344
+ options: __HttpHandlerOptions,
345
+ cb: (err: any, data?: ListPolicyTemplatesCommandOutput) => void
346
+ ): void;
347
+ putSchema(
348
+ args: PutSchemaCommandInput,
349
+ options?: __HttpHandlerOptions
350
+ ): Promise<PutSchemaCommandOutput>;
351
+ putSchema(
352
+ args: PutSchemaCommandInput,
353
+ cb: (err: any, data?: PutSchemaCommandOutput) => void
354
+ ): void;
355
+ putSchema(
356
+ args: PutSchemaCommandInput,
357
+ options: __HttpHandlerOptions,
358
+ cb: (err: any, data?: PutSchemaCommandOutput) => void
359
+ ): void;
360
+ updateIdentitySource(
361
+ args: UpdateIdentitySourceCommandInput,
362
+ options?: __HttpHandlerOptions
363
+ ): Promise<UpdateIdentitySourceCommandOutput>;
364
+ updateIdentitySource(
365
+ args: UpdateIdentitySourceCommandInput,
366
+ cb: (err: any, data?: UpdateIdentitySourceCommandOutput) => void
367
+ ): void;
368
+ updateIdentitySource(
369
+ args: UpdateIdentitySourceCommandInput,
370
+ options: __HttpHandlerOptions,
371
+ cb: (err: any, data?: UpdateIdentitySourceCommandOutput) => void
372
+ ): void;
373
+ updatePolicy(
374
+ args: UpdatePolicyCommandInput,
375
+ options?: __HttpHandlerOptions
376
+ ): Promise<UpdatePolicyCommandOutput>;
377
+ updatePolicy(
378
+ args: UpdatePolicyCommandInput,
379
+ cb: (err: any, data?: UpdatePolicyCommandOutput) => void
380
+ ): void;
381
+ updatePolicy(
382
+ args: UpdatePolicyCommandInput,
383
+ options: __HttpHandlerOptions,
384
+ cb: (err: any, data?: UpdatePolicyCommandOutput) => void
385
+ ): void;
386
+ updatePolicyStore(
387
+ args: UpdatePolicyStoreCommandInput,
388
+ options?: __HttpHandlerOptions
389
+ ): Promise<UpdatePolicyStoreCommandOutput>;
390
+ updatePolicyStore(
391
+ args: UpdatePolicyStoreCommandInput,
392
+ cb: (err: any, data?: UpdatePolicyStoreCommandOutput) => void
393
+ ): void;
394
+ updatePolicyStore(
395
+ args: UpdatePolicyStoreCommandInput,
396
+ options: __HttpHandlerOptions,
397
+ cb: (err: any, data?: UpdatePolicyStoreCommandOutput) => void
398
+ ): void;
399
+ updatePolicyTemplate(
400
+ args: UpdatePolicyTemplateCommandInput,
401
+ options?: __HttpHandlerOptions
402
+ ): Promise<UpdatePolicyTemplateCommandOutput>;
403
+ updatePolicyTemplate(
404
+ args: UpdatePolicyTemplateCommandInput,
405
+ cb: (err: any, data?: UpdatePolicyTemplateCommandOutput) => void
406
+ ): void;
407
+ updatePolicyTemplate(
408
+ args: UpdatePolicyTemplateCommandInput,
409
+ options: __HttpHandlerOptions,
410
+ cb: (err: any, data?: UpdatePolicyTemplateCommandOutput) => void
411
+ ): void;
412
+ }
413
+ export declare class VerifiedPermissions
414
+ extends VerifiedPermissionsClient
415
+ implements VerifiedPermissions {}
@@ -0,0 +1,259 @@
1
+ import {
2
+ RegionInputConfig,
3
+ RegionResolvedConfig,
4
+ } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
9
+ import {
10
+ HostHeaderInputConfig,
11
+ HostHeaderResolvedConfig,
12
+ } from "@aws-sdk/middleware-host-header";
13
+ import {
14
+ RetryInputConfig,
15
+ RetryResolvedConfig,
16
+ } from "@aws-sdk/middleware-retry";
17
+ import {
18
+ AwsAuthInputConfig,
19
+ AwsAuthResolvedConfig,
20
+ } from "@aws-sdk/middleware-signing";
21
+ import {
22
+ UserAgentInputConfig,
23
+ UserAgentResolvedConfig,
24
+ } from "@aws-sdk/middleware-user-agent";
25
+ import {
26
+ Client as __Client,
27
+ DefaultsMode as __DefaultsMode,
28
+ SmithyConfiguration as __SmithyConfiguration,
29
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
30
+ } from "@aws-sdk/smithy-client";
31
+ import {
32
+ BodyLengthCalculator as __BodyLengthCalculator,
33
+ ChecksumConstructor as __ChecksumConstructor,
34
+ Credentials as __Credentials,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider,
39
+ UrlParser as __UrlParser,
40
+ UserAgent as __UserAgent,
41
+ } from "@aws-sdk/types";
42
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
43
+ import {
44
+ Decoder as __Decoder,
45
+ Encoder as __Encoder,
46
+ Provider as __Provider,
47
+ StreamCollector as __StreamCollector,
48
+ } from "@smithy/types";
49
+ import {
50
+ CreateIdentitySourceCommandInput,
51
+ CreateIdentitySourceCommandOutput,
52
+ } from "./commands/CreateIdentitySourceCommand";
53
+ import {
54
+ CreatePolicyCommandInput,
55
+ CreatePolicyCommandOutput,
56
+ } from "./commands/CreatePolicyCommand";
57
+ import {
58
+ CreatePolicyStoreCommandInput,
59
+ CreatePolicyStoreCommandOutput,
60
+ } from "./commands/CreatePolicyStoreCommand";
61
+ import {
62
+ CreatePolicyTemplateCommandInput,
63
+ CreatePolicyTemplateCommandOutput,
64
+ } from "./commands/CreatePolicyTemplateCommand";
65
+ import {
66
+ DeleteIdentitySourceCommandInput,
67
+ DeleteIdentitySourceCommandOutput,
68
+ } from "./commands/DeleteIdentitySourceCommand";
69
+ import {
70
+ DeletePolicyCommandInput,
71
+ DeletePolicyCommandOutput,
72
+ } from "./commands/DeletePolicyCommand";
73
+ import {
74
+ DeletePolicyStoreCommandInput,
75
+ DeletePolicyStoreCommandOutput,
76
+ } from "./commands/DeletePolicyStoreCommand";
77
+ import {
78
+ DeletePolicyTemplateCommandInput,
79
+ DeletePolicyTemplateCommandOutput,
80
+ } from "./commands/DeletePolicyTemplateCommand";
81
+ import {
82
+ GetIdentitySourceCommandInput,
83
+ GetIdentitySourceCommandOutput,
84
+ } from "./commands/GetIdentitySourceCommand";
85
+ import {
86
+ GetPolicyCommandInput,
87
+ GetPolicyCommandOutput,
88
+ } from "./commands/GetPolicyCommand";
89
+ import {
90
+ GetPolicyStoreCommandInput,
91
+ GetPolicyStoreCommandOutput,
92
+ } from "./commands/GetPolicyStoreCommand";
93
+ import {
94
+ GetPolicyTemplateCommandInput,
95
+ GetPolicyTemplateCommandOutput,
96
+ } from "./commands/GetPolicyTemplateCommand";
97
+ import {
98
+ GetSchemaCommandInput,
99
+ GetSchemaCommandOutput,
100
+ } from "./commands/GetSchemaCommand";
101
+ import {
102
+ IsAuthorizedCommandInput,
103
+ IsAuthorizedCommandOutput,
104
+ } from "./commands/IsAuthorizedCommand";
105
+ import {
106
+ IsAuthorizedWithTokenCommandInput,
107
+ IsAuthorizedWithTokenCommandOutput,
108
+ } from "./commands/IsAuthorizedWithTokenCommand";
109
+ import {
110
+ ListIdentitySourcesCommandInput,
111
+ ListIdentitySourcesCommandOutput,
112
+ } from "./commands/ListIdentitySourcesCommand";
113
+ import {
114
+ ListPoliciesCommandInput,
115
+ ListPoliciesCommandOutput,
116
+ } from "./commands/ListPoliciesCommand";
117
+ import {
118
+ ListPolicyStoresCommandInput,
119
+ ListPolicyStoresCommandOutput,
120
+ } from "./commands/ListPolicyStoresCommand";
121
+ import {
122
+ ListPolicyTemplatesCommandInput,
123
+ ListPolicyTemplatesCommandOutput,
124
+ } from "./commands/ListPolicyTemplatesCommand";
125
+ import {
126
+ PutSchemaCommandInput,
127
+ PutSchemaCommandOutput,
128
+ } from "./commands/PutSchemaCommand";
129
+ import {
130
+ UpdateIdentitySourceCommandInput,
131
+ UpdateIdentitySourceCommandOutput,
132
+ } from "./commands/UpdateIdentitySourceCommand";
133
+ import {
134
+ UpdatePolicyCommandInput,
135
+ UpdatePolicyCommandOutput,
136
+ } from "./commands/UpdatePolicyCommand";
137
+ import {
138
+ UpdatePolicyStoreCommandInput,
139
+ UpdatePolicyStoreCommandOutput,
140
+ } from "./commands/UpdatePolicyStoreCommand";
141
+ import {
142
+ UpdatePolicyTemplateCommandInput,
143
+ UpdatePolicyTemplateCommandOutput,
144
+ } from "./commands/UpdatePolicyTemplateCommand";
145
+ import {
146
+ ClientInputEndpointParameters,
147
+ ClientResolvedEndpointParameters,
148
+ EndpointParameters,
149
+ } from "./endpoint/EndpointParameters";
150
+ export { __Client };
151
+ export type ServiceInputTypes =
152
+ | CreateIdentitySourceCommandInput
153
+ | CreatePolicyCommandInput
154
+ | CreatePolicyStoreCommandInput
155
+ | CreatePolicyTemplateCommandInput
156
+ | DeleteIdentitySourceCommandInput
157
+ | DeletePolicyCommandInput
158
+ | DeletePolicyStoreCommandInput
159
+ | DeletePolicyTemplateCommandInput
160
+ | GetIdentitySourceCommandInput
161
+ | GetPolicyCommandInput
162
+ | GetPolicyStoreCommandInput
163
+ | GetPolicyTemplateCommandInput
164
+ | GetSchemaCommandInput
165
+ | IsAuthorizedCommandInput
166
+ | IsAuthorizedWithTokenCommandInput
167
+ | ListIdentitySourcesCommandInput
168
+ | ListPoliciesCommandInput
169
+ | ListPolicyStoresCommandInput
170
+ | ListPolicyTemplatesCommandInput
171
+ | PutSchemaCommandInput
172
+ | UpdateIdentitySourceCommandInput
173
+ | UpdatePolicyCommandInput
174
+ | UpdatePolicyStoreCommandInput
175
+ | UpdatePolicyTemplateCommandInput;
176
+ export type ServiceOutputTypes =
177
+ | CreateIdentitySourceCommandOutput
178
+ | CreatePolicyCommandOutput
179
+ | CreatePolicyStoreCommandOutput
180
+ | CreatePolicyTemplateCommandOutput
181
+ | DeleteIdentitySourceCommandOutput
182
+ | DeletePolicyCommandOutput
183
+ | DeletePolicyStoreCommandOutput
184
+ | DeletePolicyTemplateCommandOutput
185
+ | GetIdentitySourceCommandOutput
186
+ | GetPolicyCommandOutput
187
+ | GetPolicyStoreCommandOutput
188
+ | GetPolicyTemplateCommandOutput
189
+ | GetSchemaCommandOutput
190
+ | IsAuthorizedCommandOutput
191
+ | IsAuthorizedWithTokenCommandOutput
192
+ | ListIdentitySourcesCommandOutput
193
+ | ListPoliciesCommandOutput
194
+ | ListPolicyStoresCommandOutput
195
+ | ListPolicyTemplatesCommandOutput
196
+ | PutSchemaCommandOutput
197
+ | UpdateIdentitySourceCommandOutput
198
+ | UpdatePolicyCommandOutput
199
+ | UpdatePolicyStoreCommandOutput
200
+ | UpdatePolicyTemplateCommandOutput;
201
+ export interface ClientDefaults
202
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
203
+ requestHandler?: __HttpHandler;
204
+ sha256?: __ChecksumConstructor | __HashConstructor;
205
+ urlParser?: __UrlParser;
206
+ bodyLengthChecker?: __BodyLengthCalculator;
207
+ streamCollector?: __StreamCollector;
208
+ base64Decoder?: __Decoder;
209
+ base64Encoder?: __Encoder;
210
+ utf8Decoder?: __Decoder;
211
+ utf8Encoder?: __Encoder;
212
+ runtime?: string;
213
+ disableHostPrefix?: boolean;
214
+ serviceId?: string;
215
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
216
+ useFipsEndpoint?: boolean | __Provider<boolean>;
217
+ region?: string | __Provider<string>;
218
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
219
+ defaultUserAgentProvider?: Provider<__UserAgent>;
220
+ maxAttempts?: number | __Provider<number>;
221
+ retryMode?: string | __Provider<string>;
222
+ logger?: __Logger;
223
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
224
+ }
225
+ export type VerifiedPermissionsClientConfigType = Partial<
226
+ __SmithyConfiguration<__HttpHandlerOptions>
227
+ > &
228
+ ClientDefaults &
229
+ RegionInputConfig &
230
+ EndpointInputConfig<EndpointParameters> &
231
+ RetryInputConfig &
232
+ HostHeaderInputConfig &
233
+ AwsAuthInputConfig &
234
+ UserAgentInputConfig &
235
+ ClientInputEndpointParameters;
236
+ export interface VerifiedPermissionsClientConfig
237
+ extends VerifiedPermissionsClientConfigType {}
238
+ export type VerifiedPermissionsClientResolvedConfigType =
239
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
240
+ Required<ClientDefaults> &
241
+ RegionResolvedConfig &
242
+ EndpointResolvedConfig<EndpointParameters> &
243
+ RetryResolvedConfig &
244
+ HostHeaderResolvedConfig &
245
+ AwsAuthResolvedConfig &
246
+ UserAgentResolvedConfig &
247
+ ClientResolvedEndpointParameters;
248
+ export interface VerifiedPermissionsClientResolvedConfig
249
+ extends VerifiedPermissionsClientResolvedConfigType {}
250
+ export declare class VerifiedPermissionsClient extends __Client<
251
+ __HttpHandlerOptions,
252
+ ServiceInputTypes,
253
+ ServiceOutputTypes,
254
+ VerifiedPermissionsClientResolvedConfig
255
+ > {
256
+ readonly config: VerifiedPermissionsClientResolvedConfig;
257
+ constructor(configuration: VerifiedPermissionsClientConfig);
258
+ destroy(): void;
259
+ }