@aws-sdk/client-verifiedpermissions 3.774.0 → 3.777.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.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/VerifiedPermissionsClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/BatchGetPolicyCommand.d.ts +39 -39
- package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +93 -93
- package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +74 -74
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +14 -14
- package/dist-types/commands/CreatePolicyCommand.d.ts +58 -60
- package/dist-types/commands/CreatePolicyStoreCommand.d.ts +10 -10
- package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +19 -11
- package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +8 -5
- package/dist-types/commands/DeletePolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeletePolicyStoreCommand.d.ts +7 -4
- package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +8 -5
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +15 -15
- package/dist-types/commands/GetPolicyCommand.d.ts +17 -17
- package/dist-types/commands/GetPolicyStoreCommand.d.ts +10 -10
- package/dist-types/commands/GetPolicyTemplateCommand.d.ts +17 -11
- package/dist-types/commands/GetSchemaCommand.d.ts +34 -13
- package/dist-types/commands/IsAuthorizedCommand.d.ts +34 -35
- package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +22 -22
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +15 -15
- package/dist-types/commands/ListPoliciesCommand.d.ts +90 -92
- package/dist-types/commands/ListPolicyStoresCommand.d.ts +11 -11
- package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +15 -15
- package/dist-types/commands/PutSchemaCommand.d.ts +15 -15
- package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +13 -13
- package/dist-types/commands/UpdatePolicyCommand.d.ts +16 -16
- package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +10 -10
- package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +24 -16
- package/package.json +33 -33
|
@@ -195,36 +195,36 @@ declare const GetIdentitySourceCommand_base: {
|
|
|
195
195
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
196
196
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
197
197
|
*
|
|
198
|
-
*
|
|
198
|
+
*
|
|
199
199
|
* @example To retrieve details about an identity source
|
|
200
200
|
* ```javascript
|
|
201
201
|
* // The following example retrieves the details for the specified identity source.
|
|
202
202
|
* const input = {
|
|
203
|
-
*
|
|
204
|
-
*
|
|
203
|
+
* identitySourceId: "ISEXAMPLEabcdefg111111",
|
|
204
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
|
|
205
205
|
* };
|
|
206
206
|
* const command = new GetIdentitySourceCommand(input);
|
|
207
207
|
* const response = await client.send(command);
|
|
208
|
-
* /* response
|
|
208
|
+
* /* response is
|
|
209
209
|
* {
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
210
|
+
* createdDate: "2024-08-12T18:20:50.99Z",
|
|
211
|
+
* details: {
|
|
212
|
+
* clientIds: [
|
|
213
213
|
* "a1b2c3d4e5f6g7h8i9j0kalbmc"
|
|
214
214
|
* ],
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
215
|
+
* discoveryUrl: "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5",
|
|
216
|
+
* openIdIssuer: "COGNITO",
|
|
217
|
+
* userPoolArn: "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
|
|
218
218
|
* },
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
*
|
|
219
|
+
* identitySourceId: "ISEXAMPLEabcdefg111111",
|
|
220
|
+
* lastUpdatedDate: "2024-08-12T18:20:50.99Z",
|
|
221
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
222
|
+
* principalEntityType: "AWS::Cognito"
|
|
223
223
|
* }
|
|
224
224
|
* *\/
|
|
225
|
-
* // example id: example-1
|
|
226
225
|
* ```
|
|
227
226
|
*
|
|
227
|
+
* @public
|
|
228
228
|
*/
|
|
229
229
|
export declare class GetIdentitySourceCommand extends GetIdentitySourceCommand_base {
|
|
230
230
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -187,38 +187,38 @@ declare const GetPolicyCommand_base: {
|
|
|
187
187
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
188
188
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
189
189
|
*
|
|
190
|
-
*
|
|
190
|
+
*
|
|
191
191
|
* @example To retrieve details about a policy
|
|
192
192
|
* ```javascript
|
|
193
193
|
* // The following example retrieves information about the specified policy contained in the specified policy store. In this example, the requested policy is a template-linked policy, so it returns the ID of the policy template, and the specific principal and resource used by this policy.
|
|
194
194
|
* const input = {
|
|
195
|
-
*
|
|
196
|
-
*
|
|
195
|
+
* policyId: "9wYixMplbbZQb5fcZHyJhY",
|
|
196
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
|
|
197
197
|
* };
|
|
198
198
|
* const command = new GetPolicyCommand(input);
|
|
199
199
|
* const response = await client.send(command);
|
|
200
|
-
* /* response
|
|
200
|
+
* /* response is
|
|
201
201
|
* {
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
202
|
+
* createdDate: "2024-08-12T18:20:50.99Z",
|
|
203
|
+
* definition: {
|
|
204
|
+
* static: {
|
|
205
|
+
* description: "Grant everyone of janeFriends UserGroup access to the vacationFolder Album",
|
|
206
|
+
* statement: `permit(principal, action, resource in Album::"publicFolder");`
|
|
207
207
|
* }
|
|
208
208
|
* },
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
209
|
+
* lastUpdatedDate: "2024-08-12T18:20:50.99Z",
|
|
210
|
+
* policyId: "9wYxMpljbbZQb5fcZHyJhY",
|
|
211
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
212
|
+
* policyType: "STATIC",
|
|
213
|
+
* resource: {
|
|
214
|
+
* entityId: "publicFolder",
|
|
215
|
+
* entityType: "Album"
|
|
216
216
|
* }
|
|
217
217
|
* }
|
|
218
218
|
* *\/
|
|
219
|
-
* // example id: example-1
|
|
220
219
|
* ```
|
|
221
220
|
*
|
|
221
|
+
* @public
|
|
222
222
|
*/
|
|
223
223
|
export declare class GetPolicyCommand extends GetPolicyCommand_base {
|
|
224
224
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -157,29 +157,29 @@ declare const GetPolicyStoreCommand_base: {
|
|
|
157
157
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
158
158
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
159
159
|
*
|
|
160
|
-
*
|
|
160
|
+
*
|
|
161
161
|
* @example GetPolicyStore
|
|
162
162
|
* ```javascript
|
|
163
163
|
* // The following example retrieves details about the specified policy store.
|
|
164
164
|
* const input = {
|
|
165
|
-
*
|
|
165
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
|
|
166
166
|
* };
|
|
167
167
|
* const command = new GetPolicyStoreCommand(input);
|
|
168
168
|
* const response = await client.send(command);
|
|
169
|
-
* /* response
|
|
169
|
+
* /* response is
|
|
170
170
|
* {
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
171
|
+
* arn: "arn:aws:verifiedpermissions::123456789012:policy-store/C7v5xMplfFH3i3e4Jrzb1a",
|
|
172
|
+
* createdDate: "2024-08-12T18:20:50.99Z",
|
|
173
|
+
* lastUpdatedDate: "2024-08-12T18:20:50.99Z",
|
|
174
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
175
|
+
* validationSettings: {
|
|
176
|
+
* mode: "STRICT"
|
|
177
177
|
* }
|
|
178
178
|
* }
|
|
179
179
|
* *\/
|
|
180
|
-
* // example id: example-1
|
|
181
180
|
* ```
|
|
182
181
|
*
|
|
182
|
+
* @public
|
|
183
183
|
*/
|
|
184
184
|
export declare class GetPolicyStoreCommand extends GetPolicyStoreCommand_base {
|
|
185
185
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -156,29 +156,35 @@ declare const GetPolicyTemplateCommand_base: {
|
|
|
156
156
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
157
157
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
158
158
|
*
|
|
159
|
-
*
|
|
159
|
+
*
|
|
160
160
|
* @example GetPolicyTemplate
|
|
161
161
|
* ```javascript
|
|
162
162
|
* // The following example displays the details of the specified policy template.
|
|
163
163
|
* const input = {
|
|
164
|
-
*
|
|
165
|
-
*
|
|
164
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
165
|
+
* policyTemplateId: "PTEXAMPLEabcdefg111111"
|
|
166
166
|
* };
|
|
167
167
|
* const command = new GetPolicyTemplateCommand(input);
|
|
168
168
|
* const response = await client.send(command);
|
|
169
|
-
* /* response
|
|
169
|
+
* /* response is
|
|
170
170
|
* {
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
171
|
+
* createdDate: "2024-08-12T18:20:50.99Z",
|
|
172
|
+
* description: "Template for research dept",
|
|
173
|
+
* lastUpdatedDate: "2024-08-12T18:20:50.99Z",
|
|
174
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
175
|
+
* policyTemplateId: "PTEXAMPLEabcdefg111111",
|
|
176
|
+
* statement: `permit(
|
|
177
|
+
* principal ?principal,
|
|
178
|
+
* action == Action::"view",
|
|
179
|
+
* resource in ?resource
|
|
180
|
+
* ) when {
|
|
181
|
+
* principal has department && principal.department == "research"
|
|
182
|
+
* };`
|
|
177
183
|
* }
|
|
178
184
|
* *\/
|
|
179
|
-
* // example id: example-1
|
|
180
185
|
* ```
|
|
181
186
|
*
|
|
187
|
+
* @public
|
|
182
188
|
*/
|
|
183
189
|
export declare class GetPolicyTemplateCommand extends GetPolicyTemplateCommand_base {
|
|
184
190
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -156,31 +156,52 @@ declare const GetSchemaCommand_base: {
|
|
|
156
156
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
157
157
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
158
158
|
*
|
|
159
|
-
*
|
|
159
|
+
*
|
|
160
160
|
* @example GetSchema
|
|
161
161
|
* ```javascript
|
|
162
162
|
* // The following example retrieves the current schema stored in the specified policy store.
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
163
|
+
*
|
|
164
|
+
* Note
|
|
165
|
+
* 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.
|
|
166
|
+
*
|
|
167
|
+
* Example strings might be displayed wrapped across multiple lines here for readability, but the operation requires the parameters be submitted as single line strings.
|
|
168
168
|
* const input = {
|
|
169
|
-
*
|
|
169
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
|
|
170
170
|
* };
|
|
171
171
|
* const command = new GetSchemaCommand(input);
|
|
172
172
|
* const response = await client.send(command);
|
|
173
|
-
* /* response
|
|
173
|
+
* /* response is
|
|
174
174
|
* {
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
175
|
+
* createdDate: "2024-08-12T18:20:50.99Z",
|
|
176
|
+
* lastUpdatedDate: "2024-08-12T18:20:50.99Z",
|
|
177
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
178
|
+
* schema: `{
|
|
179
|
+
* "My::Application": {
|
|
180
|
+
* "actions": {
|
|
181
|
+
* "remoteAccess": {
|
|
182
|
+
* "appliesTo": {
|
|
183
|
+
* "principalTypes": ["Employee"]
|
|
184
|
+
* }
|
|
185
|
+
* }
|
|
186
|
+
* },
|
|
187
|
+
* "entityTypes": {
|
|
188
|
+
* "Employee": {
|
|
189
|
+
* "shape": {
|
|
190
|
+
* "attributes": {
|
|
191
|
+
* "jobLevel": { "type": "Long" },
|
|
192
|
+
* "name": { "type":"String" }
|
|
193
|
+
* },
|
|
194
|
+
* "type": "Record"
|
|
195
|
+
* }
|
|
196
|
+
* }
|
|
197
|
+
* }
|
|
198
|
+
* }
|
|
199
|
+
* }`
|
|
179
200
|
* }
|
|
180
201
|
* *\/
|
|
181
|
-
* // example id: example-1
|
|
182
202
|
* ```
|
|
183
203
|
*
|
|
204
|
+
* @public
|
|
184
205
|
*/
|
|
185
206
|
export declare class GetSchemaCommand extends GetSchemaCommand_base {
|
|
186
207
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -226,73 +226,72 @@ declare const IsAuthorizedCommand_base: {
|
|
|
226
226
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
227
227
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
228
228
|
*
|
|
229
|
-
*
|
|
229
|
+
*
|
|
230
230
|
* @example IsAuthorized - Example 1
|
|
231
231
|
* ```javascript
|
|
232
232
|
* // The following example requests an authorization decision for a principal of type User named Alice, who wants to perform the updatePhoto operation, on a resource of type Photo named VacationPhoto94.jpg.
|
|
233
|
-
*
|
|
234
|
-
*
|
|
233
|
+
*
|
|
234
|
+
* The response shows that the request was allowed by one policy.
|
|
235
235
|
* const input = {
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
236
|
+
* action: {
|
|
237
|
+
* actionId: "view",
|
|
238
|
+
* actionType: "Action"
|
|
239
239
|
* },
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
240
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
241
|
+
* principal: {
|
|
242
|
+
* entityId: "alice",
|
|
243
|
+
* entityType: "User"
|
|
244
244
|
* },
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
245
|
+
* resource: {
|
|
246
|
+
* entityId: "VacationPhoto94.jpg",
|
|
247
|
+
* entityType: "Photo"
|
|
248
248
|
* }
|
|
249
249
|
* };
|
|
250
250
|
* const command = new IsAuthorizedCommand(input);
|
|
251
251
|
* const response = await client.send(command);
|
|
252
|
-
* /* response
|
|
252
|
+
* /* response is
|
|
253
253
|
* {
|
|
254
|
-
* "
|
|
255
|
-
*
|
|
256
|
-
* "determiningPolicies": [
|
|
254
|
+
* decision: "ALLOW",
|
|
255
|
+
* determiningPolicies: [
|
|
257
256
|
* {
|
|
258
|
-
*
|
|
257
|
+
* policyId: "9wYxMpljbbZQb5fcZHyJhY"
|
|
259
258
|
* }
|
|
260
|
-
* ]
|
|
259
|
+
* ],
|
|
260
|
+
* errors: []
|
|
261
261
|
* }
|
|
262
262
|
* *\/
|
|
263
|
-
* // example id: example-1
|
|
264
263
|
* ```
|
|
265
264
|
*
|
|
266
265
|
* @example IsAuthorized - Example 2
|
|
267
266
|
* ```javascript
|
|
268
267
|
* // The following example is the same as the previous example, except that the principal is User::"bob", and the policy store doesn't contain any policy that allows that user access to Album::"alice_folder". The output infers that the Deny was implicit because the list of DeterminingPolicies is empty.
|
|
269
268
|
* const input = {
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
269
|
+
* action: {
|
|
270
|
+
* actionId: "view",
|
|
271
|
+
* actionType: "Action"
|
|
273
272
|
* },
|
|
274
|
-
*
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
273
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
274
|
+
* principal: {
|
|
275
|
+
* entityId: "bob",
|
|
276
|
+
* entityType: "User"
|
|
278
277
|
* },
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
278
|
+
* resource: {
|
|
279
|
+
* entityId: "VacationPhoto94.jpg",
|
|
280
|
+
* entityType: "Photo"
|
|
282
281
|
* }
|
|
283
282
|
* };
|
|
284
283
|
* const command = new IsAuthorizedCommand(input);
|
|
285
284
|
* const response = await client.send(command);
|
|
286
|
-
* /* response
|
|
285
|
+
* /* response is
|
|
287
286
|
* {
|
|
288
|
-
* "
|
|
289
|
-
*
|
|
290
|
-
*
|
|
287
|
+
* decision: "DENY",
|
|
288
|
+
* determiningPolicies: [],
|
|
289
|
+
* errors: []
|
|
291
290
|
* }
|
|
292
291
|
* *\/
|
|
293
|
-
* // example id: example-2
|
|
294
292
|
* ```
|
|
295
293
|
*
|
|
294
|
+
* @public
|
|
296
295
|
*/
|
|
297
296
|
export declare class IsAuthorizedCommand extends IsAuthorizedCommand_base {
|
|
298
297
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -236,44 +236,44 @@ declare const IsAuthorizedWithTokenCommand_base: {
|
|
|
236
236
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
237
237
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
238
238
|
*
|
|
239
|
-
*
|
|
239
|
+
*
|
|
240
240
|
* @example IsAuthorizedWithToken - Example 1
|
|
241
241
|
* ```javascript
|
|
242
242
|
* // The following example requests an authorization decision for a user who was authenticated by Amazon Cognito. The request uses the identity token provided by Amazon Cognito instead of the access token. In this example, the specified information store is configured to return principals as entities of type CognitoUser. The policy store contains a policy with the following statement.
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
243
|
+
*
|
|
244
|
+
* permit(
|
|
245
|
+
* principal == CognitoUser::"us-east-1_1a2b3c4d5|a1b2c3d4e5f6g7h8i9j0kalbmc",
|
|
246
|
+
* action,
|
|
247
|
+
* resource == Photo::"VacationPhoto94.jpg"
|
|
248
|
+
* );
|
|
249
249
|
* const input = {
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
250
|
+
* action: {
|
|
251
|
+
* actionId: "View",
|
|
252
|
+
* actionType: "Action"
|
|
253
253
|
* },
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
254
|
+
* identityToken: "EgZjxMPlbWUyBggAEEUYOdIBCDM3NDlqMGo3qAIAsAIA",
|
|
255
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
256
|
+
* resource: {
|
|
257
|
+
* entityId: "vacationPhoto94.jpg",
|
|
258
|
+
* entityType: "Photo"
|
|
259
259
|
* }
|
|
260
260
|
* };
|
|
261
261
|
* const command = new IsAuthorizedWithTokenCommand(input);
|
|
262
262
|
* const response = await client.send(command);
|
|
263
|
-
* /* response
|
|
263
|
+
* /* response is
|
|
264
264
|
* {
|
|
265
|
-
* "
|
|
266
|
-
*
|
|
267
|
-
* "determiningPolicies": [
|
|
265
|
+
* decision: "ALLOW",
|
|
266
|
+
* determiningPolicies: [
|
|
268
267
|
* {
|
|
269
|
-
*
|
|
268
|
+
* policyId: "9wYxMpljbbZQb5fcZHyJhY"
|
|
270
269
|
* }
|
|
271
|
-
* ]
|
|
270
|
+
* ],
|
|
271
|
+
* errors: []
|
|
272
272
|
* }
|
|
273
273
|
* *\/
|
|
274
|
-
* // example id: example-1
|
|
275
274
|
* ```
|
|
276
275
|
*
|
|
276
|
+
* @public
|
|
277
277
|
*/
|
|
278
278
|
export declare class IsAuthorizedWithTokenCommand extends IsAuthorizedWithTokenCommand_base {
|
|
279
279
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -206,39 +206,39 @@ declare const ListIdentitySourcesCommand_base: {
|
|
|
206
206
|
* @throws {@link VerifiedPermissionsServiceException}
|
|
207
207
|
* <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
|
|
208
208
|
*
|
|
209
|
-
*
|
|
209
|
+
*
|
|
210
210
|
* @example ListIdentitySources
|
|
211
211
|
* ```javascript
|
|
212
212
|
* // The following example request creates lists the identity sources currently defined in the specified policy store.
|
|
213
213
|
* const input = {
|
|
214
|
-
*
|
|
214
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
|
|
215
215
|
* };
|
|
216
216
|
* const command = new ListIdentitySourcesCommand(input);
|
|
217
217
|
* const response = await client.send(command);
|
|
218
|
-
* /* response
|
|
218
|
+
* /* response is
|
|
219
219
|
* {
|
|
220
|
-
*
|
|
220
|
+
* identitySources: [
|
|
221
221
|
* {
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
222
|
+
* createdDate: "2023-05-19T20:29:23.66812Z",
|
|
223
|
+
* details: {
|
|
224
|
+
* clientIds: [
|
|
225
225
|
* "a1b2c3d4e5f6g7h8i9j0kalbmc"
|
|
226
226
|
* ],
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
227
|
+
* discoveryUrl: "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5",
|
|
228
|
+
* openIdIssuer: "COGNITO",
|
|
229
|
+
* userPoolArn: "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
|
|
230
230
|
* },
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
*
|
|
231
|
+
* identitySourceId: "ISEXAMPLEabcdefg111111",
|
|
232
|
+
* lastUpdatedDate: "2023-05-19T20:29:23.66812Z",
|
|
233
|
+
* policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
|
|
234
|
+
* principalEntityType: "User"
|
|
235
235
|
* }
|
|
236
236
|
* ]
|
|
237
237
|
* }
|
|
238
238
|
* *\/
|
|
239
|
-
* // example id: example-1
|
|
240
239
|
* ```
|
|
241
240
|
*
|
|
241
|
+
* @public
|
|
242
242
|
*/
|
|
243
243
|
export declare class ListIdentitySourcesCommand extends ListIdentitySourcesCommand_base {
|
|
244
244
|
/** @internal type navigation helper, not in runtime. */
|