@aws-sdk/client-verifiedpermissions 3.775.0 → 3.782.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 (28) hide show
  1. package/dist-types/commands/BatchGetPolicyCommand.d.ts +39 -39
  2. package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +93 -93
  3. package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +74 -74
  4. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +14 -14
  5. package/dist-types/commands/CreatePolicyCommand.d.ts +58 -60
  6. package/dist-types/commands/CreatePolicyStoreCommand.d.ts +10 -10
  7. package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +19 -11
  8. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +8 -5
  9. package/dist-types/commands/DeletePolicyCommand.d.ts +8 -5
  10. package/dist-types/commands/DeletePolicyStoreCommand.d.ts +7 -4
  11. package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +8 -5
  12. package/dist-types/commands/GetIdentitySourceCommand.d.ts +15 -15
  13. package/dist-types/commands/GetPolicyCommand.d.ts +17 -17
  14. package/dist-types/commands/GetPolicyStoreCommand.d.ts +10 -10
  15. package/dist-types/commands/GetPolicyTemplateCommand.d.ts +17 -11
  16. package/dist-types/commands/GetSchemaCommand.d.ts +34 -13
  17. package/dist-types/commands/IsAuthorizedCommand.d.ts +34 -35
  18. package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +22 -22
  19. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +15 -15
  20. package/dist-types/commands/ListPoliciesCommand.d.ts +90 -92
  21. package/dist-types/commands/ListPolicyStoresCommand.d.ts +11 -11
  22. package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +15 -15
  23. package/dist-types/commands/PutSchemaCommand.d.ts +15 -15
  24. package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +13 -13
  25. package/dist-types/commands/UpdatePolicyCommand.d.ts +16 -16
  26. package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +10 -10
  27. package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +24 -16
  28. package/package.json +5 -5
@@ -199,35 +199,35 @@ declare const UpdateIdentitySourceCommand_base: {
199
199
  * @throws {@link VerifiedPermissionsServiceException}
200
200
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
201
201
  *
202
- * @public
202
+ *
203
203
  * @example UpdateIdentitySource
204
204
  * ```javascript
205
205
  * // The following example updates the configuration of the specified identity source with a new configuration.
206
206
  * const input = {
207
- * "identitySourceId": "ISEXAMPLEabcdefg111111",
208
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
209
- * "updateConfiguration": {
210
- * "cognitoUserPoolConfiguration": {
211
- * "clientIds": [
207
+ * identitySourceId: "ISEXAMPLEabcdefg111111",
208
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
209
+ * updateConfiguration: {
210
+ * cognitoUserPoolConfiguration: {
211
+ * clientIds: [
212
212
  * "a1b2c3d4e5f6g7h8i9j0kalbmc"
213
213
  * ],
214
- * "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
214
+ * userPoolArn: "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
215
215
  * }
216
216
  * }
217
217
  * };
218
218
  * const command = new UpdateIdentitySourceCommand(input);
219
219
  * const response = await client.send(command);
220
- * /* response ==
220
+ * /* response is
221
221
  * {
222
- * "createdDate": "2023-05-19T20:30:28.173926Z",
223
- * "identitySourceId": "ISEXAMPLEabcdefg111111",
224
- * "lastUpdatedDate": "2023-05-22T20:45:59.962216Z",
225
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
222
+ * createdDate: "2023-05-19T20:30:28.173926Z",
223
+ * identitySourceId: "ISEXAMPLEabcdefg111111",
224
+ * lastUpdatedDate: "2023-05-22T20:45:59.962216Z",
225
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
226
226
  * }
227
227
  * *\/
228
- * // example id: example-1
229
228
  * ```
230
229
  *
230
+ * @public
231
231
  */
232
232
  export declare class UpdateIdentitySourceCommand extends UpdateIdentitySourceCommand_base {
233
233
  /** @internal type navigation helper, not in runtime. */
@@ -233,37 +233,37 @@ declare const UpdatePolicyCommand_base: {
233
233
  * @throws {@link VerifiedPermissionsServiceException}
234
234
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
235
235
  *
236
- * @public
236
+ *
237
237
  * @example UpdatePolicy
238
238
  * ```javascript
239
239
  * // The following example replaces the definition of the specified static policy with a new one.
240
240
  * const input = {
241
- * "definition": {
242
- * "static": {
243
- * "statement": "permit(principal, action, resource in Album::\"public_folder\");"
241
+ * definition: {
242
+ * static: {
243
+ * statement: `permit(principal, action, resource in Album::"public_folder");`
244
244
  * }
245
245
  * },
246
- * "policyId": "9wYxMpljbbZQb5fcZHyJhY",
247
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
246
+ * policyId: "9wYxMpljbbZQb5fcZHyJhY",
247
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
248
248
  * };
249
249
  * const command = new UpdatePolicyCommand(input);
250
250
  * const response = await client.send(command);
251
- * /* response ==
251
+ * /* response is
252
252
  * {
253
- * "createdDate": "2024-08-12T18:20:50.99Z",
254
- * "lastUpdatedDate": "2024-08-12T18:20:50.99Z",
255
- * "policyId": "9wYxMpljbbZQb5fcZHyJhY",
256
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
257
- * "policyType": "STATIC",
258
- * "resource": {
259
- * "entityId": "public_folder",
260
- * "entityType": "Album"
253
+ * createdDate: "2024-08-12T18:20:50.99Z",
254
+ * lastUpdatedDate: "2024-08-12T18:20:50.99Z",
255
+ * policyId: "9wYxMpljbbZQb5fcZHyJhY",
256
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
257
+ * policyType: "STATIC",
258
+ * resource: {
259
+ * entityId: "public_folder",
260
+ * entityType: "Album"
261
261
  * }
262
262
  * }
263
263
  * *\/
264
- * // example id: example-1
265
264
  * ```
266
265
  *
266
+ * @public
267
267
  */
268
268
  export declare class UpdatePolicyCommand extends UpdatePolicyCommand_base {
269
269
  /** @internal type navigation helper, not in runtime. */
@@ -167,29 +167,29 @@ declare const UpdatePolicyStoreCommand_base: {
167
167
  * @throws {@link VerifiedPermissionsServiceException}
168
168
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
169
169
  *
170
- * @public
170
+ *
171
171
  * @example UpdatePolicyStore
172
172
  * ```javascript
173
173
  * // The following example turns off the validation settings for a policy store.
174
174
  * const input = {
175
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
176
- * "validationSettings": {
177
- * "mode": "OFF"
175
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
176
+ * validationSettings: {
177
+ * mode: "OFF"
178
178
  * }
179
179
  * };
180
180
  * const command = new UpdatePolicyStoreCommand(input);
181
181
  * const response = await client.send(command);
182
- * /* response ==
182
+ * /* response is
183
183
  * {
184
- * "arn": "arn:aws:verifiedpermissions::123456789012:policy-store/C7v5xMplfFH3i3e4Jrzb1a",
185
- * "createdDate": "2023-05-17T18:36:10.134448Z",
186
- * "lastUpdatedDate": "2023-05-23T18:18:12.443083Z",
187
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
184
+ * arn: "arn:aws:verifiedpermissions::123456789012:policy-store/C7v5xMplfFH3i3e4Jrzb1a",
185
+ * createdDate: "2023-05-17T18:36:10.134448Z",
186
+ * lastUpdatedDate: "2023-05-23T18:18:12.443083Z",
187
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
188
188
  * }
189
189
  * *\/
190
- * // example id: example-1
191
190
  * ```
192
191
  *
192
+ * @public
193
193
  */
194
194
  export declare class UpdatePolicyStoreCommand extends UpdatePolicyStoreCommand_base {
195
195
  /** @internal type navigation helper, not in runtime. */
@@ -172,34 +172,42 @@ declare const UpdatePolicyTemplateCommand_base: {
172
172
  * @throws {@link VerifiedPermissionsServiceException}
173
173
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
174
174
  *
175
- * @public
175
+ *
176
176
  * @example UpdatePolicyTemplate
177
177
  * ```javascript
178
178
  * // The following example updates a policy template with both a new description and a new policy body. The effect, principal, and resource are the same as the original policy template. Only the action in the head, and the when and unless clauses can be different.
179
- * //
180
- * // Note
181
- * // The JSON in the parameters of this operation are strings that can contain embedded quotation marks (") within the outermost quotation mark pair. This requires that you stringify the JSON object by preceding all embedded quotation marks with a backslash character ( \" ) and combining all lines into a single text line with no line breaks.
182
- * //
183
- * // Example strings might be displayed wrapped across multiple lines here for readability, but the operation requires the parameters be submitted as single line strings.
179
+ *
180
+ * Note
181
+ * The JSON in the parameters of this operation are strings that can contain embedded quotation marks (") within the outermost quotation mark pair. This requires that you stringify the JSON object by preceding all embedded quotation marks with a backslash character ( \" ) and combining all lines into a single text line with no line breaks.
182
+ *
183
+ * Example strings might be displayed wrapped across multiple lines here for readability, but the operation requires the parameters be submitted as single line strings.
184
184
  * const input = {
185
- * "description": "My updated template description",
186
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
187
- * "policyTemplateId": "PTEXAMPLEabcdefg111111",
188
- * "statement": "\"ResearchAccess\"\npermit(\nprincipal in ?principal,\naction == Action::\"view\",\nresource in ?resource\"\n)\nwhen {\nprincipal has department && principal.department == \"research\"\n};"
185
+ * description: "My updated template description",
186
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
187
+ * policyTemplateId: "PTEXAMPLEabcdefg111111",
188
+ * statement: `"ResearchAccess"
189
+ * permit(
190
+ * principal in ?principal,
191
+ * action == Action::"view",
192
+ * resource in ?resource"
193
+ * )
194
+ * when {
195
+ * principal has department && principal.department == "research"
196
+ * };`
189
197
  * };
190
198
  * const command = new UpdatePolicyTemplateCommand(input);
191
199
  * const response = await client.send(command);
192
- * /* response ==
200
+ * /* response is
193
201
  * {
194
- * "createdDate": "2023-05-17T18:58:48.795411Z",
195
- * "lastUpdatedDate": "2023-05-17T19:18:48.870209Z",
196
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
197
- * "policyTemplateId": "PTEXAMPLEabcdefg111111"
202
+ * createdDate: "2023-05-17T18:58:48.795411Z",
203
+ * lastUpdatedDate: "2023-05-17T19:18:48.870209Z",
204
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
205
+ * policyTemplateId: "PTEXAMPLEabcdefg111111"
198
206
  * }
199
207
  * *\/
200
- * // example id: example-1
201
208
  * ```
202
209
  *
210
+ * @public
203
211
  */
204
212
  export declare class UpdatePolicyTemplateCommand extends UpdatePolicyTemplateCommand_base {
205
213
  /** @internal type navigation helper, not in runtime. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-verifiedpermissions",
3
3
  "description": "AWS SDK for JavaScript Verifiedpermissions Client for Node.js, Browser and React Native",
4
- "version": "3.775.0",
4
+ "version": "3.782.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-verifiedpermissions",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.782.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.782.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.782.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",