@aws-sdk/client-verifiedpermissions 3.540.0 → 3.550.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/README.md +8 -0
- package/dist-cjs/index.js +165 -6
- package/dist-es/VerifiedPermissions.js +2 -0
- package/dist-es/commands/BatchIsAuthorizedWithTokenCommand.js +25 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +56 -0
- package/dist-es/protocols/Aws_json1_0.js +71 -0
- package/dist-types/VerifiedPermissions.d.ts +7 -0
- package/dist-types/VerifiedPermissionsClient.d.ts +3 -2
- package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +285 -0
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +3 -0
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +3 -0
- package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +4 -9
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +3 -0
- package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +267 -12
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/VerifiedPermissions.d.ts +17 -0
- package/dist-types/ts3.4/VerifiedPermissionsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/BatchIsAuthorizedWithTokenCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +6 -6
|
@@ -292,6 +292,50 @@ export declare class ValidationException extends __BaseException {
|
|
|
292
292
|
*/
|
|
293
293
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
294
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* <p>A list of user groups and entities from an Amazon Cognito user pool identity
|
|
297
|
+
* source.</p>
|
|
298
|
+
* <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfiguration.html">CognitoUserPoolConfiguration</a> structure and is a request parameter in <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>.</p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
export interface CognitoGroupConfiguration {
|
|
302
|
+
/**
|
|
303
|
+
* <p>The name of the schema entity type that's mapped to the user pool group. Defaults
|
|
304
|
+
* to <code>AWS::CognitoGroup</code>.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
groupEntityType: string | undefined;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* <p>A list of user groups and entities from an Amazon Cognito user pool identity
|
|
311
|
+
* source.</p>
|
|
312
|
+
* <p>This data type is part of an <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfigurationItem.html">CognitoUserPoolConfigurationDetail</a> structure and is a response parameter to
|
|
313
|
+
* <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
export interface CognitoGroupConfigurationDetail {
|
|
317
|
+
/**
|
|
318
|
+
* <p>The name of the schema entity type that's mapped to the user pool group. Defaults
|
|
319
|
+
* to <code>AWS::CognitoGroup</code>.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
groupEntityType?: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* <p>A list of user groups and entities from an Amazon Cognito user pool identity
|
|
326
|
+
* source.</p>
|
|
327
|
+
* <p>This data type is part of an <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfigurationDetail.html">CognitoUserPoolConfigurationItem</a> structure and is a response parameter to
|
|
328
|
+
* <a href="http://forums.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
export interface CognitoGroupConfigurationItem {
|
|
332
|
+
/**
|
|
333
|
+
* <p>The name of the schema entity type that's mapped to the user pool group. Defaults
|
|
334
|
+
* to <code>AWS::CognitoGroup</code>.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
groupEntityType?: string;
|
|
338
|
+
}
|
|
295
339
|
/**
|
|
296
340
|
* <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
|
|
297
341
|
* as an identity provider for Verified Permissions.</p>
|
|
@@ -320,6 +364,12 @@ export interface CognitoUserPoolConfiguration {
|
|
|
320
364
|
* @public
|
|
321
365
|
*/
|
|
322
366
|
clientIds?: string[];
|
|
367
|
+
/**
|
|
368
|
+
* <p>The configuration of the user groups from an Amazon Cognito user pool identity
|
|
369
|
+
* source.</p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
groupConfiguration?: CognitoGroupConfiguration;
|
|
323
373
|
}
|
|
324
374
|
/**
|
|
325
375
|
* <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
|
|
@@ -358,6 +408,12 @@ export interface CognitoUserPoolConfigurationDetail {
|
|
|
358
408
|
* @public
|
|
359
409
|
*/
|
|
360
410
|
issuer: string | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* <p>The configuration of the user groups from an Amazon Cognito user pool identity
|
|
413
|
+
* source.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
groupConfiguration?: CognitoGroupConfigurationDetail;
|
|
361
417
|
}
|
|
362
418
|
/**
|
|
363
419
|
* <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
|
|
@@ -396,6 +452,12 @@ export interface CognitoUserPoolConfigurationItem {
|
|
|
396
452
|
* @public
|
|
397
453
|
*/
|
|
398
454
|
issuer: string | undefined;
|
|
455
|
+
/**
|
|
456
|
+
* <p>The configuration of the user groups from an Amazon Cognito user pool identity
|
|
457
|
+
* source.</p>
|
|
458
|
+
* @public
|
|
459
|
+
*/
|
|
460
|
+
groupConfiguration?: CognitoGroupConfigurationItem;
|
|
399
461
|
}
|
|
400
462
|
/**
|
|
401
463
|
* <p>Contains configuration information used when creating a new identity source.</p>
|
|
@@ -420,7 +482,7 @@ export declare namespace Configuration {
|
|
|
420
482
|
* and one or more application client IDs.</p>
|
|
421
483
|
* <p>Example:
|
|
422
484
|
* <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
|
423
|
-
*
|
|
485
|
+
* ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}\}</code>
|
|
424
486
|
* </p>
|
|
425
487
|
* @public
|
|
426
488
|
*/
|
|
@@ -458,7 +520,7 @@ export declare namespace ConfigurationDetail {
|
|
|
458
520
|
* and one or more application client IDs.</p>
|
|
459
521
|
* <p>Example:
|
|
460
522
|
* <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
|
461
|
-
* ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}</code>
|
|
523
|
+
* ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}\}</code>
|
|
462
524
|
* </p>
|
|
463
525
|
* @public
|
|
464
526
|
*/
|
|
@@ -496,7 +558,7 @@ export declare namespace ConfigurationItem {
|
|
|
496
558
|
* and one or more application client IDs.</p>
|
|
497
559
|
* <p>Example:
|
|
498
560
|
* <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
|
499
|
-
* ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}</code>
|
|
561
|
+
* ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}\}</code>
|
|
500
562
|
* </p>
|
|
501
563
|
* @public
|
|
502
564
|
*/
|
|
@@ -1709,6 +1771,19 @@ export interface ListIdentitySourcesOutput {
|
|
|
1709
1771
|
*/
|
|
1710
1772
|
identitySources: IdentitySourceItem[] | undefined;
|
|
1711
1773
|
}
|
|
1774
|
+
/**
|
|
1775
|
+
* <p>A list of user groups and entities from an Amazon Cognito user pool identity
|
|
1776
|
+
* source.</p>
|
|
1777
|
+
* @public
|
|
1778
|
+
*/
|
|
1779
|
+
export interface UpdateCognitoGroupConfiguration {
|
|
1780
|
+
/**
|
|
1781
|
+
* <p>The name of the schema entity type that's mapped to the user pool group. Defaults
|
|
1782
|
+
* to <code>AWS::CognitoGroup</code>.</p>
|
|
1783
|
+
* @public
|
|
1784
|
+
*/
|
|
1785
|
+
groupEntityType: string | undefined;
|
|
1786
|
+
}
|
|
1712
1787
|
/**
|
|
1713
1788
|
* <p>Contains configuration details of a Amazon Cognito user pool for use with an identity source.</p>
|
|
1714
1789
|
* @public
|
|
@@ -1725,6 +1800,12 @@ export interface UpdateCognitoUserPoolConfiguration {
|
|
|
1725
1800
|
* @public
|
|
1726
1801
|
*/
|
|
1727
1802
|
clientIds?: string[];
|
|
1803
|
+
/**
|
|
1804
|
+
* <p>The configuration of the user groups from an Amazon Cognito user pool identity
|
|
1805
|
+
* source.</p>
|
|
1806
|
+
* @public
|
|
1807
|
+
*/
|
|
1808
|
+
groupConfiguration?: UpdateCognitoGroupConfiguration;
|
|
1728
1809
|
}
|
|
1729
1810
|
/**
|
|
1730
1811
|
* <p>Contains an updated configuration to replace the configuration in an existing
|
|
@@ -1874,6 +1955,11 @@ export interface IsAuthorizedWithTokenOutput {
|
|
|
1874
1955
|
* @public
|
|
1875
1956
|
*/
|
|
1876
1957
|
errors: EvaluationErrorItem[] | undefined;
|
|
1958
|
+
/**
|
|
1959
|
+
* <p>The identifier of the principal in the ID or access token.</p>
|
|
1960
|
+
* @public
|
|
1961
|
+
*/
|
|
1962
|
+
principal?: EntityIdentifier;
|
|
1877
1963
|
}
|
|
1878
1964
|
/**
|
|
1879
1965
|
* <p>Contains information about a filter to refine policies returned in a query.</p>
|
|
@@ -2850,13 +2936,39 @@ export interface BatchIsAuthorizedInputItem {
|
|
|
2850
2936
|
*/
|
|
2851
2937
|
principal?: EntityIdentifier;
|
|
2852
2938
|
/**
|
|
2853
|
-
* <p>Specifies the requested action to be authorized. For example,
|
|
2854
|
-
*
|
|
2939
|
+
* <p>Specifies the requested action to be authorized. For example,
|
|
2940
|
+
* <code>PhotoFlash::ReadPhoto</code>.</p>
|
|
2855
2941
|
* @public
|
|
2856
2942
|
*/
|
|
2857
2943
|
action?: ActionIdentifier;
|
|
2858
2944
|
/**
|
|
2859
|
-
* <p>Specifies the resource
|
|
2945
|
+
* <p>Specifies the resource that you want an authorization decision for. For example,
|
|
2946
|
+
* <code>PhotoFlash::Photo</code>.</p>
|
|
2947
|
+
* @public
|
|
2948
|
+
*/
|
|
2949
|
+
resource?: EntityIdentifier;
|
|
2950
|
+
/**
|
|
2951
|
+
* <p>Specifies additional context that can be used to make more granular authorization
|
|
2952
|
+
* decisions.</p>
|
|
2953
|
+
* @public
|
|
2954
|
+
*/
|
|
2955
|
+
context?: ContextDefinition;
|
|
2956
|
+
}
|
|
2957
|
+
/**
|
|
2958
|
+
* <p>An authorization request that you include in a <code>BatchIsAuthorizedWithToken</code>
|
|
2959
|
+
* API request.</p>
|
|
2960
|
+
* @public
|
|
2961
|
+
*/
|
|
2962
|
+
export interface BatchIsAuthorizedWithTokenInputItem {
|
|
2963
|
+
/**
|
|
2964
|
+
* <p>Specifies the requested action to be authorized. For example,
|
|
2965
|
+
* <code>PhotoFlash::ReadPhoto</code>.</p>
|
|
2966
|
+
* @public
|
|
2967
|
+
*/
|
|
2968
|
+
action?: ActionIdentifier;
|
|
2969
|
+
/**
|
|
2970
|
+
* <p>Specifies the resource that you want an authorization decision for. For example,
|
|
2971
|
+
* <code>PhotoFlash::Photo</code>.</p>
|
|
2860
2972
|
* @public
|
|
2861
2973
|
*/
|
|
2862
2974
|
resource?: EntityIdentifier;
|
|
@@ -2895,8 +3007,41 @@ export interface BatchIsAuthorizedOutputItem {
|
|
|
2895
3007
|
*/
|
|
2896
3008
|
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
2897
3009
|
/**
|
|
2898
|
-
* <p>Errors that occurred while making an authorization decision
|
|
2899
|
-
*
|
|
3010
|
+
* <p>Errors that occurred while making an authorization decision. For example, a policy
|
|
3011
|
+
* might reference an entity or attribute that doesn't exist in the request.</p>
|
|
3012
|
+
* @public
|
|
3013
|
+
*/
|
|
3014
|
+
errors: EvaluationErrorItem[] | undefined;
|
|
3015
|
+
}
|
|
3016
|
+
/**
|
|
3017
|
+
* <p>The decision, based on policy evaluation, from an individual authorization request in a
|
|
3018
|
+
* <code>BatchIsAuthorizedWithToken</code> API request.</p>
|
|
3019
|
+
* @public
|
|
3020
|
+
*/
|
|
3021
|
+
export interface BatchIsAuthorizedWithTokenOutputItem {
|
|
3022
|
+
/**
|
|
3023
|
+
* <p>The authorization request that initiated the decision.</p>
|
|
3024
|
+
* @public
|
|
3025
|
+
*/
|
|
3026
|
+
request: BatchIsAuthorizedWithTokenInputItem | undefined;
|
|
3027
|
+
/**
|
|
3028
|
+
* <p>An authorization decision that indicates if the authorization request should be allowed
|
|
3029
|
+
* or denied.</p>
|
|
3030
|
+
* @public
|
|
3031
|
+
*/
|
|
3032
|
+
decision: Decision | undefined;
|
|
3033
|
+
/**
|
|
3034
|
+
* <p>The list of determining policies used to make the authorization decision. For example,
|
|
3035
|
+
* if there are two matching policies, where one is a forbid and the other is a permit, then
|
|
3036
|
+
* the forbid policy will be the determining policy. In the case of multiple matching permit
|
|
3037
|
+
* policies then there would be multiple determining policies. In the case that no policies
|
|
3038
|
+
* match, and hence the response is DENY, there would be no determining policies.</p>
|
|
3039
|
+
* @public
|
|
3040
|
+
*/
|
|
3041
|
+
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
3042
|
+
/**
|
|
3043
|
+
* <p>Errors that occurred while making an authorization decision. For example, a policy might
|
|
3044
|
+
* reference an entity or attribute that doesn't exist in the request.</p>
|
|
2900
3045
|
* @public
|
|
2901
3046
|
*/
|
|
2902
3047
|
errors: EvaluationErrorItem[] | undefined;
|
|
@@ -2948,6 +3093,22 @@ export interface BatchIsAuthorizedOutput {
|
|
|
2948
3093
|
*/
|
|
2949
3094
|
results: BatchIsAuthorizedOutputItem[] | undefined;
|
|
2950
3095
|
}
|
|
3096
|
+
/**
|
|
3097
|
+
* @public
|
|
3098
|
+
*/
|
|
3099
|
+
export interface BatchIsAuthorizedWithTokenOutput {
|
|
3100
|
+
/**
|
|
3101
|
+
* <p>The identifier of the principal in the ID or access token.</p>
|
|
3102
|
+
* @public
|
|
3103
|
+
*/
|
|
3104
|
+
principal?: EntityIdentifier;
|
|
3105
|
+
/**
|
|
3106
|
+
* <p>A series of <code>Allow</code> or <code>Deny</code> decisions for each request, and
|
|
3107
|
+
* the policies that produced them.</p>
|
|
3108
|
+
* @public
|
|
3109
|
+
*/
|
|
3110
|
+
results: BatchIsAuthorizedWithTokenOutputItem[] | undefined;
|
|
3111
|
+
}
|
|
2951
3112
|
/**
|
|
2952
3113
|
* @public
|
|
2953
3114
|
*/
|
|
@@ -3042,9 +3203,10 @@ export interface IsAuthorizedWithTokenInput {
|
|
|
3042
3203
|
/**
|
|
3043
3204
|
* <p>Specifies the list of resources and their associated attributes that Verified Permissions can examine
|
|
3044
3205
|
* when evaluating the policies. </p>
|
|
3045
|
-
* <
|
|
3046
|
-
* <p>You can include only resource and action entities
|
|
3047
|
-
* include
|
|
3206
|
+
* <important>
|
|
3207
|
+
* <p>You can't include principals in this parameter, only resource and action entities.
|
|
3208
|
+
* This parameter can't include any entities of a type that matches the user or group
|
|
3209
|
+
* entity types that you defined in your identity source.</p>
|
|
3048
3210
|
* <ul>
|
|
3049
3211
|
* <li>
|
|
3050
3212
|
* <p>The <code>IsAuthorizedWithToken</code> operation takes principal
|
|
@@ -3059,7 +3221,7 @@ export interface IsAuthorizedWithTokenInput {
|
|
|
3059
3221
|
* and <code>EntityType</code>. </p>
|
|
3060
3222
|
* </li>
|
|
3061
3223
|
* </ul>
|
|
3062
|
-
* </
|
|
3224
|
+
* </important>
|
|
3063
3225
|
* @public
|
|
3064
3226
|
*/
|
|
3065
3227
|
entities?: EntitiesDefinition;
|
|
@@ -3090,6 +3252,67 @@ export interface BatchIsAuthorizedInput {
|
|
|
3090
3252
|
*/
|
|
3091
3253
|
requests: BatchIsAuthorizedInputItem[] | undefined;
|
|
3092
3254
|
}
|
|
3255
|
+
/**
|
|
3256
|
+
* @public
|
|
3257
|
+
*/
|
|
3258
|
+
export interface BatchIsAuthorizedWithTokenInput {
|
|
3259
|
+
/**
|
|
3260
|
+
* <p>Specifies the ID of the policy store. Policies in this policy store will be used to make an
|
|
3261
|
+
* authorization decision for the input.</p>
|
|
3262
|
+
* @public
|
|
3263
|
+
*/
|
|
3264
|
+
policyStoreId: string | undefined;
|
|
3265
|
+
/**
|
|
3266
|
+
* <p>Specifies an identity (ID) token for the principal that you want to authorize in each
|
|
3267
|
+
* request. This token is provided to you by the identity provider (IdP) associated with
|
|
3268
|
+
* the specified identity source. You must specify either an <code>accessToken</code>, an
|
|
3269
|
+
* <code>identityToken</code>, or both.</p>
|
|
3270
|
+
* <p>Must be an ID token. Verified Permissions returns an error if the <code>token_use</code> claim in the
|
|
3271
|
+
* submitted token isn't <code>id</code>.</p>
|
|
3272
|
+
* @public
|
|
3273
|
+
*/
|
|
3274
|
+
identityToken?: string;
|
|
3275
|
+
/**
|
|
3276
|
+
* <p>Specifies an access token for the principal that you want to authorize in each
|
|
3277
|
+
* request. This token is provided to you by the identity provider (IdP) associated with
|
|
3278
|
+
* the specified identity source. You must specify either an <code>accessToken</code>, an
|
|
3279
|
+
* <code>identityToken</code>, or both.</p>
|
|
3280
|
+
* <p>Must be an access token. Verified Permissions returns an error if the <code>token_use</code> claim in
|
|
3281
|
+
* the submitted token isn't <code>access</code>.</p>
|
|
3282
|
+
* @public
|
|
3283
|
+
*/
|
|
3284
|
+
accessToken?: string;
|
|
3285
|
+
/**
|
|
3286
|
+
* <p>Specifies the list of resources and their associated attributes that Verified Permissions can examine
|
|
3287
|
+
* when evaluating the policies. </p>
|
|
3288
|
+
* <important>
|
|
3289
|
+
* <p>You can't include principals in this parameter, only resource and action entities.
|
|
3290
|
+
* This parameter can't include any entities of a type that matches the user or group
|
|
3291
|
+
* entity types that you defined in your identity source.</p>
|
|
3292
|
+
* <ul>
|
|
3293
|
+
* <li>
|
|
3294
|
+
* <p>The <code>BatchIsAuthorizedWithToken</code> operation takes principal
|
|
3295
|
+
* attributes from <b>
|
|
3296
|
+
* <i>only</i>
|
|
3297
|
+
* </b>
|
|
3298
|
+
* the <code>identityToken</code> or <code>accessToken</code> passed to the
|
|
3299
|
+
* operation.</p>
|
|
3300
|
+
* </li>
|
|
3301
|
+
* <li>
|
|
3302
|
+
* <p>For action entities, you can include only their <code>Identifier</code>
|
|
3303
|
+
* and <code>EntityType</code>. </p>
|
|
3304
|
+
* </li>
|
|
3305
|
+
* </ul>
|
|
3306
|
+
* </important>
|
|
3307
|
+
* @public
|
|
3308
|
+
*/
|
|
3309
|
+
entities?: EntitiesDefinition;
|
|
3310
|
+
/**
|
|
3311
|
+
* <p>An array of up to 30 requests that you want Verified Permissions to evaluate.</p>
|
|
3312
|
+
* @public
|
|
3313
|
+
*/
|
|
3314
|
+
requests: BatchIsAuthorizedWithTokenInputItem[] | undefined;
|
|
3315
|
+
}
|
|
3093
3316
|
/**
|
|
3094
3317
|
* @internal
|
|
3095
3318
|
*/
|
|
@@ -3102,6 +3325,18 @@ export declare const EntityIdentifierFilterSensitiveLog: (obj: EntityIdentifier)
|
|
|
3102
3325
|
* @internal
|
|
3103
3326
|
*/
|
|
3104
3327
|
export declare const EvaluationErrorItemFilterSensitiveLog: (obj: EvaluationErrorItem) => any;
|
|
3328
|
+
/**
|
|
3329
|
+
* @internal
|
|
3330
|
+
*/
|
|
3331
|
+
export declare const CognitoGroupConfigurationFilterSensitiveLog: (obj: CognitoGroupConfiguration) => any;
|
|
3332
|
+
/**
|
|
3333
|
+
* @internal
|
|
3334
|
+
*/
|
|
3335
|
+
export declare const CognitoGroupConfigurationDetailFilterSensitiveLog: (obj: CognitoGroupConfigurationDetail) => any;
|
|
3336
|
+
/**
|
|
3337
|
+
* @internal
|
|
3338
|
+
*/
|
|
3339
|
+
export declare const CognitoGroupConfigurationItemFilterSensitiveLog: (obj: CognitoGroupConfigurationItem) => any;
|
|
3105
3340
|
/**
|
|
3106
3341
|
* @internal
|
|
3107
3342
|
*/
|
|
@@ -3218,6 +3453,10 @@ export declare const IdentitySourceItemFilterSensitiveLog: (obj: IdentitySourceI
|
|
|
3218
3453
|
* @internal
|
|
3219
3454
|
*/
|
|
3220
3455
|
export declare const ListIdentitySourcesOutputFilterSensitiveLog: (obj: ListIdentitySourcesOutput) => any;
|
|
3456
|
+
/**
|
|
3457
|
+
* @internal
|
|
3458
|
+
*/
|
|
3459
|
+
export declare const UpdateCognitoGroupConfigurationFilterSensitiveLog: (obj: UpdateCognitoGroupConfiguration) => any;
|
|
3221
3460
|
/**
|
|
3222
3461
|
* @internal
|
|
3223
3462
|
*/
|
|
@@ -3334,10 +3573,18 @@ export declare const EntityItemFilterSensitiveLog: (obj: EntityItem) => any;
|
|
|
3334
3573
|
* @internal
|
|
3335
3574
|
*/
|
|
3336
3575
|
export declare const BatchIsAuthorizedInputItemFilterSensitiveLog: (obj: BatchIsAuthorizedInputItem) => any;
|
|
3576
|
+
/**
|
|
3577
|
+
* @internal
|
|
3578
|
+
*/
|
|
3579
|
+
export declare const BatchIsAuthorizedWithTokenInputItemFilterSensitiveLog: (obj: BatchIsAuthorizedWithTokenInputItem) => any;
|
|
3337
3580
|
/**
|
|
3338
3581
|
* @internal
|
|
3339
3582
|
*/
|
|
3340
3583
|
export declare const BatchIsAuthorizedOutputItemFilterSensitiveLog: (obj: BatchIsAuthorizedOutputItem) => any;
|
|
3584
|
+
/**
|
|
3585
|
+
* @internal
|
|
3586
|
+
*/
|
|
3587
|
+
export declare const BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog: (obj: BatchIsAuthorizedWithTokenOutputItem) => any;
|
|
3341
3588
|
/**
|
|
3342
3589
|
* @internal
|
|
3343
3590
|
*/
|
|
@@ -3346,6 +3593,10 @@ export declare const EntitiesDefinitionFilterSensitiveLog: (obj: EntitiesDefinit
|
|
|
3346
3593
|
* @internal
|
|
3347
3594
|
*/
|
|
3348
3595
|
export declare const BatchIsAuthorizedOutputFilterSensitiveLog: (obj: BatchIsAuthorizedOutput) => any;
|
|
3596
|
+
/**
|
|
3597
|
+
* @internal
|
|
3598
|
+
*/
|
|
3599
|
+
export declare const BatchIsAuthorizedWithTokenOutputFilterSensitiveLog: (obj: BatchIsAuthorizedWithTokenOutput) => any;
|
|
3349
3600
|
/**
|
|
3350
3601
|
* @internal
|
|
3351
3602
|
*/
|
|
@@ -3358,3 +3609,7 @@ export declare const IsAuthorizedWithTokenInputFilterSensitiveLog: (obj: IsAutho
|
|
|
3358
3609
|
* @internal
|
|
3359
3610
|
*/
|
|
3360
3611
|
export declare const BatchIsAuthorizedInputFilterSensitiveLog: (obj: BatchIsAuthorizedInput) => any;
|
|
3612
|
+
/**
|
|
3613
|
+
* @internal
|
|
3614
|
+
*/
|
|
3615
|
+
export declare const BatchIsAuthorizedWithTokenInputFilterSensitiveLog: (obj: BatchIsAuthorizedWithTokenInput) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { BatchIsAuthorizedCommandInput, BatchIsAuthorizedCommandOutput } from "../commands/BatchIsAuthorizedCommand";
|
|
4
|
+
import { BatchIsAuthorizedWithTokenCommandInput, BatchIsAuthorizedWithTokenCommandOutput } from "../commands/BatchIsAuthorizedWithTokenCommand";
|
|
4
5
|
import { CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput } from "../commands/CreateIdentitySourceCommand";
|
|
5
6
|
import { CreatePolicyCommandInput, CreatePolicyCommandOutput } from "../commands/CreatePolicyCommand";
|
|
6
7
|
import { CreatePolicyStoreCommandInput, CreatePolicyStoreCommandOutput } from "../commands/CreatePolicyStoreCommand";
|
|
@@ -29,6 +30,10 @@ import { UpdatePolicyTemplateCommandInput, UpdatePolicyTemplateCommandOutput } f
|
|
|
29
30
|
* serializeAws_json1_0BatchIsAuthorizedCommand
|
|
30
31
|
*/
|
|
31
32
|
export declare const se_BatchIsAuthorizedCommand: (input: BatchIsAuthorizedCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
|
+
/**
|
|
34
|
+
* serializeAws_json1_0BatchIsAuthorizedWithTokenCommand
|
|
35
|
+
*/
|
|
36
|
+
export declare const se_BatchIsAuthorizedWithTokenCommand: (input: BatchIsAuthorizedWithTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
37
|
/**
|
|
33
38
|
* serializeAws_json1_0CreateIdentitySourceCommand
|
|
34
39
|
*/
|
|
@@ -129,6 +134,10 @@ export declare const se_UpdatePolicyTemplateCommand: (input: UpdatePolicyTemplat
|
|
|
129
134
|
* deserializeAws_json1_0BatchIsAuthorizedCommand
|
|
130
135
|
*/
|
|
131
136
|
export declare const de_BatchIsAuthorizedCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchIsAuthorizedCommandOutput>;
|
|
137
|
+
/**
|
|
138
|
+
* deserializeAws_json1_0BatchIsAuthorizedWithTokenCommand
|
|
139
|
+
*/
|
|
140
|
+
export declare const de_BatchIsAuthorizedWithTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchIsAuthorizedWithTokenCommandOutput>;
|
|
132
141
|
/**
|
|
133
142
|
* deserializeAws_json1_0CreateIdentitySourceCommand
|
|
134
143
|
*/
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
BatchIsAuthorizedCommandInput,
|
|
4
4
|
BatchIsAuthorizedCommandOutput,
|
|
5
5
|
} from "./commands/BatchIsAuthorizedCommand";
|
|
6
|
+
import {
|
|
7
|
+
BatchIsAuthorizedWithTokenCommandInput,
|
|
8
|
+
BatchIsAuthorizedWithTokenCommandOutput,
|
|
9
|
+
} from "./commands/BatchIsAuthorizedWithTokenCommand";
|
|
6
10
|
import {
|
|
7
11
|
CreateIdentitySourceCommandInput,
|
|
8
12
|
CreateIdentitySourceCommandOutput,
|
|
@@ -114,6 +118,19 @@ export interface VerifiedPermissions {
|
|
|
114
118
|
options: __HttpHandlerOptions,
|
|
115
119
|
cb: (err: any, data?: BatchIsAuthorizedCommandOutput) => void
|
|
116
120
|
): void;
|
|
121
|
+
batchIsAuthorizedWithToken(
|
|
122
|
+
args: BatchIsAuthorizedWithTokenCommandInput,
|
|
123
|
+
options?: __HttpHandlerOptions
|
|
124
|
+
): Promise<BatchIsAuthorizedWithTokenCommandOutput>;
|
|
125
|
+
batchIsAuthorizedWithToken(
|
|
126
|
+
args: BatchIsAuthorizedWithTokenCommandInput,
|
|
127
|
+
cb: (err: any, data?: BatchIsAuthorizedWithTokenCommandOutput) => void
|
|
128
|
+
): void;
|
|
129
|
+
batchIsAuthorizedWithToken(
|
|
130
|
+
args: BatchIsAuthorizedWithTokenCommandInput,
|
|
131
|
+
options: __HttpHandlerOptions,
|
|
132
|
+
cb: (err: any, data?: BatchIsAuthorizedWithTokenCommandOutput) => void
|
|
133
|
+
): void;
|
|
117
134
|
createIdentitySource(
|
|
118
135
|
args: CreateIdentitySourceCommandInput,
|
|
119
136
|
options?: __HttpHandlerOptions
|
|
@@ -49,6 +49,10 @@ import {
|
|
|
49
49
|
BatchIsAuthorizedCommandInput,
|
|
50
50
|
BatchIsAuthorizedCommandOutput,
|
|
51
51
|
} from "./commands/BatchIsAuthorizedCommand";
|
|
52
|
+
import {
|
|
53
|
+
BatchIsAuthorizedWithTokenCommandInput,
|
|
54
|
+
BatchIsAuthorizedWithTokenCommandOutput,
|
|
55
|
+
} from "./commands/BatchIsAuthorizedWithTokenCommand";
|
|
52
56
|
import {
|
|
53
57
|
CreateIdentitySourceCommandInput,
|
|
54
58
|
CreateIdentitySourceCommandOutput,
|
|
@@ -154,6 +158,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
154
158
|
export { __Client };
|
|
155
159
|
export type ServiceInputTypes =
|
|
156
160
|
| BatchIsAuthorizedCommandInput
|
|
161
|
+
| BatchIsAuthorizedWithTokenCommandInput
|
|
157
162
|
| CreateIdentitySourceCommandInput
|
|
158
163
|
| CreatePolicyCommandInput
|
|
159
164
|
| CreatePolicyStoreCommandInput
|
|
@@ -180,6 +185,7 @@ export type ServiceInputTypes =
|
|
|
180
185
|
| UpdatePolicyTemplateCommandInput;
|
|
181
186
|
export type ServiceOutputTypes =
|
|
182
187
|
| BatchIsAuthorizedCommandOutput
|
|
188
|
+
| BatchIsAuthorizedWithTokenCommandOutput
|
|
183
189
|
| CreateIdentitySourceCommandOutput
|
|
184
190
|
| CreatePolicyCommandOutput
|
|
185
191
|
| CreatePolicyStoreCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchIsAuthorizedWithTokenInput,
|
|
5
|
+
BatchIsAuthorizedWithTokenOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
VerifiedPermissionsClientResolvedConfig,
|
|
11
|
+
} from "../VerifiedPermissionsClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface BatchIsAuthorizedWithTokenCommandInput
|
|
14
|
+
extends BatchIsAuthorizedWithTokenInput {}
|
|
15
|
+
export interface BatchIsAuthorizedWithTokenCommandOutput
|
|
16
|
+
extends BatchIsAuthorizedWithTokenOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const BatchIsAuthorizedWithTokenCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: BatchIsAuthorizedWithTokenCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
BatchIsAuthorizedWithTokenCommandInput,
|
|
23
|
+
BatchIsAuthorizedWithTokenCommandOutput,
|
|
24
|
+
VerifiedPermissionsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: BatchIsAuthorizedWithTokenCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
BatchIsAuthorizedWithTokenCommandInput,
|
|
32
|
+
BatchIsAuthorizedWithTokenCommandOutput,
|
|
33
|
+
VerifiedPermissionsClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class BatchIsAuthorizedWithTokenCommand extends BatchIsAuthorizedWithTokenCommand_base {}
|