@aws-sdk/client-verifiedpermissions 3.687.0 → 3.692.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-types/models/models_0.d.ts +137 -137
- package/dist-types/ts3.4/models/models_0.d.ts +137 -137
- package/package.json +35 -35
|
@@ -35,13 +35,13 @@ export interface BatchGetPolicyErrorItem {
|
|
|
35
35
|
message: string | undefined;
|
|
36
36
|
}
|
|
37
37
|
export interface StaticPolicyDefinitionDetail {
|
|
38
|
-
description?: string;
|
|
38
|
+
description?: string | undefined;
|
|
39
39
|
statement: string | undefined;
|
|
40
40
|
}
|
|
41
41
|
export interface TemplateLinkedPolicyDefinitionDetail {
|
|
42
42
|
policyTemplateId: string | undefined;
|
|
43
|
-
principal?: EntityIdentifier;
|
|
44
|
-
resource?: EntityIdentifier;
|
|
43
|
+
principal?: EntityIdentifier | undefined;
|
|
44
|
+
resource?: EntityIdentifier | undefined;
|
|
45
45
|
}
|
|
46
46
|
export type PolicyDefinitionDetail =
|
|
47
47
|
| PolicyDefinitionDetail.StaticMember
|
|
@@ -101,8 +101,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
101
101
|
$retryable: {
|
|
102
102
|
throttling: boolean;
|
|
103
103
|
};
|
|
104
|
-
serviceCode?: string;
|
|
105
|
-
quotaCode?: string;
|
|
104
|
+
serviceCode?: string | undefined;
|
|
105
|
+
quotaCode?: string | undefined;
|
|
106
106
|
constructor(
|
|
107
107
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
108
108
|
);
|
|
@@ -114,7 +114,7 @@ export interface ValidationExceptionField {
|
|
|
114
114
|
export declare class ValidationException extends __BaseException {
|
|
115
115
|
readonly name: "ValidationException";
|
|
116
116
|
readonly $fault: "client";
|
|
117
|
-
fieldList?: ValidationExceptionField[];
|
|
117
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
118
118
|
constructor(
|
|
119
119
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
120
120
|
);
|
|
@@ -151,39 +151,39 @@ export interface CognitoGroupConfiguration {
|
|
|
151
151
|
groupEntityType: string | undefined;
|
|
152
152
|
}
|
|
153
153
|
export interface CognitoGroupConfigurationDetail {
|
|
154
|
-
groupEntityType?: string;
|
|
154
|
+
groupEntityType?: string | undefined;
|
|
155
155
|
}
|
|
156
156
|
export interface CognitoGroupConfigurationItem {
|
|
157
|
-
groupEntityType?: string;
|
|
157
|
+
groupEntityType?: string | undefined;
|
|
158
158
|
}
|
|
159
159
|
export interface CognitoUserPoolConfiguration {
|
|
160
160
|
userPoolArn: string | undefined;
|
|
161
|
-
clientIds?: string[];
|
|
162
|
-
groupConfiguration?: CognitoGroupConfiguration;
|
|
161
|
+
clientIds?: string[] | undefined;
|
|
162
|
+
groupConfiguration?: CognitoGroupConfiguration | undefined;
|
|
163
163
|
}
|
|
164
164
|
export interface CognitoUserPoolConfigurationDetail {
|
|
165
165
|
userPoolArn: string | undefined;
|
|
166
166
|
clientIds: string[] | undefined;
|
|
167
167
|
issuer: string | undefined;
|
|
168
|
-
groupConfiguration?: CognitoGroupConfigurationDetail;
|
|
168
|
+
groupConfiguration?: CognitoGroupConfigurationDetail | undefined;
|
|
169
169
|
}
|
|
170
170
|
export interface CognitoUserPoolConfigurationItem {
|
|
171
171
|
userPoolArn: string | undefined;
|
|
172
172
|
clientIds: string[] | undefined;
|
|
173
173
|
issuer: string | undefined;
|
|
174
|
-
groupConfiguration?: CognitoGroupConfigurationItem;
|
|
174
|
+
groupConfiguration?: CognitoGroupConfigurationItem | undefined;
|
|
175
175
|
}
|
|
176
176
|
export interface OpenIdConnectGroupConfiguration {
|
|
177
177
|
groupClaim: string | undefined;
|
|
178
178
|
groupEntityType: string | undefined;
|
|
179
179
|
}
|
|
180
180
|
export interface OpenIdConnectAccessTokenConfiguration {
|
|
181
|
-
principalIdClaim?: string;
|
|
182
|
-
audiences?: string[];
|
|
181
|
+
principalIdClaim?: string | undefined;
|
|
182
|
+
audiences?: string[] | undefined;
|
|
183
183
|
}
|
|
184
184
|
export interface OpenIdConnectIdentityTokenConfiguration {
|
|
185
|
-
principalIdClaim?: string;
|
|
186
|
-
clientIds?: string[];
|
|
185
|
+
principalIdClaim?: string | undefined;
|
|
186
|
+
clientIds?: string[] | undefined;
|
|
187
187
|
}
|
|
188
188
|
export type OpenIdConnectTokenSelection =
|
|
189
189
|
| OpenIdConnectTokenSelection.AccessTokenOnlyMember
|
|
@@ -217,8 +217,8 @@ export declare namespace OpenIdConnectTokenSelection {
|
|
|
217
217
|
}
|
|
218
218
|
export interface OpenIdConnectConfiguration {
|
|
219
219
|
issuer: string | undefined;
|
|
220
|
-
entityIdPrefix?: string;
|
|
221
|
-
groupConfiguration?: OpenIdConnectGroupConfiguration;
|
|
220
|
+
entityIdPrefix?: string | undefined;
|
|
221
|
+
groupConfiguration?: OpenIdConnectGroupConfiguration | undefined;
|
|
222
222
|
tokenSelection: OpenIdConnectTokenSelection | undefined;
|
|
223
223
|
}
|
|
224
224
|
export type Configuration =
|
|
@@ -253,12 +253,12 @@ export interface OpenIdConnectGroupConfigurationDetail {
|
|
|
253
253
|
groupEntityType: string | undefined;
|
|
254
254
|
}
|
|
255
255
|
export interface OpenIdConnectAccessTokenConfigurationDetail {
|
|
256
|
-
principalIdClaim?: string;
|
|
257
|
-
audiences?: string[];
|
|
256
|
+
principalIdClaim?: string | undefined;
|
|
257
|
+
audiences?: string[] | undefined;
|
|
258
258
|
}
|
|
259
259
|
export interface OpenIdConnectIdentityTokenConfigurationDetail {
|
|
260
|
-
principalIdClaim?: string;
|
|
261
|
-
clientIds?: string[];
|
|
260
|
+
principalIdClaim?: string | undefined;
|
|
261
|
+
clientIds?: string[] | undefined;
|
|
262
262
|
}
|
|
263
263
|
export type OpenIdConnectTokenSelectionDetail =
|
|
264
264
|
| OpenIdConnectTokenSelectionDetail.AccessTokenOnlyMember
|
|
@@ -294,8 +294,8 @@ export declare namespace OpenIdConnectTokenSelectionDetail {
|
|
|
294
294
|
}
|
|
295
295
|
export interface OpenIdConnectConfigurationDetail {
|
|
296
296
|
issuer: string | undefined;
|
|
297
|
-
entityIdPrefix?: string;
|
|
298
|
-
groupConfiguration?: OpenIdConnectGroupConfigurationDetail;
|
|
297
|
+
entityIdPrefix?: string | undefined;
|
|
298
|
+
groupConfiguration?: OpenIdConnectGroupConfigurationDetail | undefined;
|
|
299
299
|
tokenSelection: OpenIdConnectTokenSelectionDetail | undefined;
|
|
300
300
|
}
|
|
301
301
|
export type ConfigurationDetail =
|
|
@@ -332,12 +332,12 @@ export interface OpenIdConnectGroupConfigurationItem {
|
|
|
332
332
|
groupEntityType: string | undefined;
|
|
333
333
|
}
|
|
334
334
|
export interface OpenIdConnectAccessTokenConfigurationItem {
|
|
335
|
-
principalIdClaim?: string;
|
|
336
|
-
audiences?: string[];
|
|
335
|
+
principalIdClaim?: string | undefined;
|
|
336
|
+
audiences?: string[] | undefined;
|
|
337
337
|
}
|
|
338
338
|
export interface OpenIdConnectIdentityTokenConfigurationItem {
|
|
339
|
-
principalIdClaim?: string;
|
|
340
|
-
clientIds?: string[];
|
|
339
|
+
principalIdClaim?: string | undefined;
|
|
340
|
+
clientIds?: string[] | undefined;
|
|
341
341
|
}
|
|
342
342
|
export type OpenIdConnectTokenSelectionItem =
|
|
343
343
|
| OpenIdConnectTokenSelectionItem.AccessTokenOnlyMember
|
|
@@ -373,8 +373,8 @@ export declare namespace OpenIdConnectTokenSelectionItem {
|
|
|
373
373
|
}
|
|
374
374
|
export interface OpenIdConnectConfigurationItem {
|
|
375
375
|
issuer: string | undefined;
|
|
376
|
-
entityIdPrefix?: string;
|
|
377
|
-
groupConfiguration?: OpenIdConnectGroupConfigurationItem;
|
|
376
|
+
entityIdPrefix?: string | undefined;
|
|
377
|
+
groupConfiguration?: OpenIdConnectGroupConfigurationItem | undefined;
|
|
378
378
|
tokenSelection: OpenIdConnectTokenSelectionItem | undefined;
|
|
379
379
|
}
|
|
380
380
|
export type ConfigurationItem =
|
|
@@ -417,10 +417,10 @@ export declare class ConflictException extends __BaseException {
|
|
|
417
417
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
418
418
|
}
|
|
419
419
|
export interface CreateIdentitySourceInput {
|
|
420
|
-
clientToken?: string;
|
|
420
|
+
clientToken?: string | undefined;
|
|
421
421
|
policyStoreId: string | undefined;
|
|
422
422
|
configuration: Configuration | undefined;
|
|
423
|
-
principalEntityType?: string;
|
|
423
|
+
principalEntityType?: string | undefined;
|
|
424
424
|
}
|
|
425
425
|
export interface CreateIdentitySourceOutput {
|
|
426
426
|
createdDate: Date | undefined;
|
|
@@ -431,22 +431,22 @@ export interface CreateIdentitySourceOutput {
|
|
|
431
431
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
432
432
|
readonly name: "ServiceQuotaExceededException";
|
|
433
433
|
readonly $fault: "client";
|
|
434
|
-
resourceId?: string;
|
|
434
|
+
resourceId?: string | undefined;
|
|
435
435
|
resourceType: ResourceType | undefined;
|
|
436
|
-
serviceCode?: string;
|
|
437
|
-
quotaCode?: string;
|
|
436
|
+
serviceCode?: string | undefined;
|
|
437
|
+
quotaCode?: string | undefined;
|
|
438
438
|
constructor(
|
|
439
439
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
440
440
|
);
|
|
441
441
|
}
|
|
442
442
|
export interface StaticPolicyDefinition {
|
|
443
|
-
description?: string;
|
|
443
|
+
description?: string | undefined;
|
|
444
444
|
statement: string | undefined;
|
|
445
445
|
}
|
|
446
446
|
export interface TemplateLinkedPolicyDefinition {
|
|
447
447
|
policyTemplateId: string | undefined;
|
|
448
|
-
principal?: EntityIdentifier;
|
|
449
|
-
resource?: EntityIdentifier;
|
|
448
|
+
principal?: EntityIdentifier | undefined;
|
|
449
|
+
resource?: EntityIdentifier | undefined;
|
|
450
450
|
}
|
|
451
451
|
export type PolicyDefinition =
|
|
452
452
|
| PolicyDefinition.StaticMember
|
|
@@ -476,7 +476,7 @@ export declare namespace PolicyDefinition {
|
|
|
476
476
|
const visit: <T>(value: PolicyDefinition, visitor: Visitor<T>) => T;
|
|
477
477
|
}
|
|
478
478
|
export interface CreatePolicyInput {
|
|
479
|
-
clientToken?: string;
|
|
479
|
+
clientToken?: string | undefined;
|
|
480
480
|
policyStoreId: string | undefined;
|
|
481
481
|
definition: PolicyDefinition | undefined;
|
|
482
482
|
}
|
|
@@ -489,12 +489,12 @@ export interface CreatePolicyOutput {
|
|
|
489
489
|
policyStoreId: string | undefined;
|
|
490
490
|
policyId: string | undefined;
|
|
491
491
|
policyType: PolicyType | undefined;
|
|
492
|
-
principal?: EntityIdentifier;
|
|
493
|
-
resource?: EntityIdentifier;
|
|
494
|
-
actions?: ActionIdentifier[];
|
|
492
|
+
principal?: EntityIdentifier | undefined;
|
|
493
|
+
resource?: EntityIdentifier | undefined;
|
|
494
|
+
actions?: ActionIdentifier[] | undefined;
|
|
495
495
|
createdDate: Date | undefined;
|
|
496
496
|
lastUpdatedDate: Date | undefined;
|
|
497
|
-
effect?: PolicyEffect;
|
|
497
|
+
effect?: PolicyEffect | undefined;
|
|
498
498
|
}
|
|
499
499
|
export declare const ValidationMode: {
|
|
500
500
|
readonly OFF: "OFF";
|
|
@@ -506,9 +506,9 @@ export interface ValidationSettings {
|
|
|
506
506
|
mode: ValidationMode | undefined;
|
|
507
507
|
}
|
|
508
508
|
export interface CreatePolicyStoreInput {
|
|
509
|
-
clientToken?: string;
|
|
509
|
+
clientToken?: string | undefined;
|
|
510
510
|
validationSettings: ValidationSettings | undefined;
|
|
511
|
-
description?: string;
|
|
511
|
+
description?: string | undefined;
|
|
512
512
|
}
|
|
513
513
|
export interface CreatePolicyStoreOutput {
|
|
514
514
|
policyStoreId: string | undefined;
|
|
@@ -517,9 +517,9 @@ export interface CreatePolicyStoreOutput {
|
|
|
517
517
|
lastUpdatedDate: Date | undefined;
|
|
518
518
|
}
|
|
519
519
|
export interface CreatePolicyTemplateInput {
|
|
520
|
-
clientToken?: string;
|
|
520
|
+
clientToken?: string | undefined;
|
|
521
521
|
policyStoreId: string | undefined;
|
|
522
|
-
description?: string;
|
|
522
|
+
description?: string | undefined;
|
|
523
523
|
statement: string | undefined;
|
|
524
524
|
}
|
|
525
525
|
export interface CreatePolicyTemplateOutput {
|
|
@@ -583,19 +583,19 @@ export declare const OpenIdIssuer: {
|
|
|
583
583
|
};
|
|
584
584
|
export type OpenIdIssuer = (typeof OpenIdIssuer)[keyof typeof OpenIdIssuer];
|
|
585
585
|
export interface IdentitySourceDetails {
|
|
586
|
-
clientIds?: string[];
|
|
587
|
-
userPoolArn?: string;
|
|
588
|
-
discoveryUrl?: string;
|
|
589
|
-
openIdIssuer?: OpenIdIssuer;
|
|
586
|
+
clientIds?: string[] | undefined;
|
|
587
|
+
userPoolArn?: string | undefined;
|
|
588
|
+
discoveryUrl?: string | undefined;
|
|
589
|
+
openIdIssuer?: OpenIdIssuer | undefined;
|
|
590
590
|
}
|
|
591
591
|
export interface GetIdentitySourceOutput {
|
|
592
592
|
createdDate: Date | undefined;
|
|
593
|
-
details?: IdentitySourceDetails;
|
|
593
|
+
details?: IdentitySourceDetails | undefined;
|
|
594
594
|
identitySourceId: string | undefined;
|
|
595
595
|
lastUpdatedDate: Date | undefined;
|
|
596
596
|
policyStoreId: string | undefined;
|
|
597
597
|
principalEntityType: string | undefined;
|
|
598
|
-
configuration?: ConfigurationDetail;
|
|
598
|
+
configuration?: ConfigurationDetail | undefined;
|
|
599
599
|
}
|
|
600
600
|
export interface GetPolicyInput {
|
|
601
601
|
policyStoreId: string | undefined;
|
|
@@ -605,13 +605,13 @@ export interface GetPolicyOutput {
|
|
|
605
605
|
policyStoreId: string | undefined;
|
|
606
606
|
policyId: string | undefined;
|
|
607
607
|
policyType: PolicyType | undefined;
|
|
608
|
-
principal?: EntityIdentifier;
|
|
609
|
-
resource?: EntityIdentifier;
|
|
610
|
-
actions?: ActionIdentifier[];
|
|
608
|
+
principal?: EntityIdentifier | undefined;
|
|
609
|
+
resource?: EntityIdentifier | undefined;
|
|
610
|
+
actions?: ActionIdentifier[] | undefined;
|
|
611
611
|
definition: PolicyDefinitionDetail | undefined;
|
|
612
612
|
createdDate: Date | undefined;
|
|
613
613
|
lastUpdatedDate: Date | undefined;
|
|
614
|
-
effect?: PolicyEffect;
|
|
614
|
+
effect?: PolicyEffect | undefined;
|
|
615
615
|
}
|
|
616
616
|
export interface GetPolicyStoreInput {
|
|
617
617
|
policyStoreId: string | undefined;
|
|
@@ -622,7 +622,7 @@ export interface GetPolicyStoreOutput {
|
|
|
622
622
|
validationSettings: ValidationSettings | undefined;
|
|
623
623
|
createdDate: Date | undefined;
|
|
624
624
|
lastUpdatedDate: Date | undefined;
|
|
625
|
-
description?: string;
|
|
625
|
+
description?: string | undefined;
|
|
626
626
|
}
|
|
627
627
|
export interface GetPolicyTemplateInput {
|
|
628
628
|
policyStoreId: string | undefined;
|
|
@@ -631,7 +631,7 @@ export interface GetPolicyTemplateInput {
|
|
|
631
631
|
export interface GetPolicyTemplateOutput {
|
|
632
632
|
policyStoreId: string | undefined;
|
|
633
633
|
policyTemplateId: string | undefined;
|
|
634
|
-
description?: string;
|
|
634
|
+
description?: string | undefined;
|
|
635
635
|
statement: string | undefined;
|
|
636
636
|
createdDate: Date | undefined;
|
|
637
637
|
lastUpdatedDate: Date | undefined;
|
|
@@ -644,34 +644,34 @@ export interface GetSchemaOutput {
|
|
|
644
644
|
schema: string | undefined;
|
|
645
645
|
createdDate: Date | undefined;
|
|
646
646
|
lastUpdatedDate: Date | undefined;
|
|
647
|
-
namespaces?: string[];
|
|
647
|
+
namespaces?: string[] | undefined;
|
|
648
648
|
}
|
|
649
649
|
export interface IdentitySourceFilter {
|
|
650
|
-
principalEntityType?: string;
|
|
650
|
+
principalEntityType?: string | undefined;
|
|
651
651
|
}
|
|
652
652
|
export interface ListIdentitySourcesInput {
|
|
653
653
|
policyStoreId: string | undefined;
|
|
654
|
-
nextToken?: string;
|
|
655
|
-
maxResults?: number;
|
|
656
|
-
filters?: IdentitySourceFilter[];
|
|
654
|
+
nextToken?: string | undefined;
|
|
655
|
+
maxResults?: number | undefined;
|
|
656
|
+
filters?: IdentitySourceFilter[] | undefined;
|
|
657
657
|
}
|
|
658
658
|
export interface IdentitySourceItemDetails {
|
|
659
|
-
clientIds?: string[];
|
|
660
|
-
userPoolArn?: string;
|
|
661
|
-
discoveryUrl?: string;
|
|
662
|
-
openIdIssuer?: OpenIdIssuer;
|
|
659
|
+
clientIds?: string[] | undefined;
|
|
660
|
+
userPoolArn?: string | undefined;
|
|
661
|
+
discoveryUrl?: string | undefined;
|
|
662
|
+
openIdIssuer?: OpenIdIssuer | undefined;
|
|
663
663
|
}
|
|
664
664
|
export interface IdentitySourceItem {
|
|
665
665
|
createdDate: Date | undefined;
|
|
666
|
-
details?: IdentitySourceItemDetails;
|
|
666
|
+
details?: IdentitySourceItemDetails | undefined;
|
|
667
667
|
identitySourceId: string | undefined;
|
|
668
668
|
lastUpdatedDate: Date | undefined;
|
|
669
669
|
policyStoreId: string | undefined;
|
|
670
670
|
principalEntityType: string | undefined;
|
|
671
|
-
configuration?: ConfigurationItem;
|
|
671
|
+
configuration?: ConfigurationItem | undefined;
|
|
672
672
|
}
|
|
673
673
|
export interface ListIdentitySourcesOutput {
|
|
674
|
-
nextToken?: string;
|
|
674
|
+
nextToken?: string | undefined;
|
|
675
675
|
identitySources: IdentitySourceItem[] | undefined;
|
|
676
676
|
}
|
|
677
677
|
export interface UpdateCognitoGroupConfiguration {
|
|
@@ -679,20 +679,20 @@ export interface UpdateCognitoGroupConfiguration {
|
|
|
679
679
|
}
|
|
680
680
|
export interface UpdateCognitoUserPoolConfiguration {
|
|
681
681
|
userPoolArn: string | undefined;
|
|
682
|
-
clientIds?: string[];
|
|
683
|
-
groupConfiguration?: UpdateCognitoGroupConfiguration;
|
|
682
|
+
clientIds?: string[] | undefined;
|
|
683
|
+
groupConfiguration?: UpdateCognitoGroupConfiguration | undefined;
|
|
684
684
|
}
|
|
685
685
|
export interface UpdateOpenIdConnectGroupConfiguration {
|
|
686
686
|
groupClaim: string | undefined;
|
|
687
687
|
groupEntityType: string | undefined;
|
|
688
688
|
}
|
|
689
689
|
export interface UpdateOpenIdConnectAccessTokenConfiguration {
|
|
690
|
-
principalIdClaim?: string;
|
|
691
|
-
audiences?: string[];
|
|
690
|
+
principalIdClaim?: string | undefined;
|
|
691
|
+
audiences?: string[] | undefined;
|
|
692
692
|
}
|
|
693
693
|
export interface UpdateOpenIdConnectIdentityTokenConfiguration {
|
|
694
|
-
principalIdClaim?: string;
|
|
695
|
-
clientIds?: string[];
|
|
694
|
+
principalIdClaim?: string | undefined;
|
|
695
|
+
clientIds?: string[] | undefined;
|
|
696
696
|
}
|
|
697
697
|
export type UpdateOpenIdConnectTokenSelection =
|
|
698
698
|
| UpdateOpenIdConnectTokenSelection.AccessTokenOnlyMember
|
|
@@ -728,8 +728,8 @@ export declare namespace UpdateOpenIdConnectTokenSelection {
|
|
|
728
728
|
}
|
|
729
729
|
export interface UpdateOpenIdConnectConfiguration {
|
|
730
730
|
issuer: string | undefined;
|
|
731
|
-
entityIdPrefix?: string;
|
|
732
|
-
groupConfiguration?: UpdateOpenIdConnectGroupConfiguration;
|
|
731
|
+
entityIdPrefix?: string | undefined;
|
|
732
|
+
groupConfiguration?: UpdateOpenIdConnectGroupConfiguration | undefined;
|
|
733
733
|
tokenSelection: UpdateOpenIdConnectTokenSelection | undefined;
|
|
734
734
|
}
|
|
735
735
|
export type UpdateConfiguration =
|
|
@@ -765,7 +765,7 @@ export interface UpdateIdentitySourceInput {
|
|
|
765
765
|
policyStoreId: string | undefined;
|
|
766
766
|
identitySourceId: string | undefined;
|
|
767
767
|
updateConfiguration: UpdateConfiguration | undefined;
|
|
768
|
-
principalEntityType?: string;
|
|
768
|
+
principalEntityType?: string | undefined;
|
|
769
769
|
}
|
|
770
770
|
export interface UpdateIdentitySourceOutput {
|
|
771
771
|
createdDate: Date | undefined;
|
|
@@ -782,27 +782,27 @@ export interface IsAuthorizedWithTokenOutput {
|
|
|
782
782
|
decision: Decision | undefined;
|
|
783
783
|
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
784
784
|
errors: EvaluationErrorItem[] | undefined;
|
|
785
|
-
principal?: EntityIdentifier;
|
|
785
|
+
principal?: EntityIdentifier | undefined;
|
|
786
786
|
}
|
|
787
787
|
export interface PolicyFilter {
|
|
788
|
-
principal?: EntityReference;
|
|
789
|
-
resource?: EntityReference;
|
|
790
|
-
policyType?: PolicyType;
|
|
791
|
-
policyTemplateId?: string;
|
|
788
|
+
principal?: EntityReference | undefined;
|
|
789
|
+
resource?: EntityReference | undefined;
|
|
790
|
+
policyType?: PolicyType | undefined;
|
|
791
|
+
policyTemplateId?: string | undefined;
|
|
792
792
|
}
|
|
793
793
|
export interface ListPoliciesInput {
|
|
794
794
|
policyStoreId: string | undefined;
|
|
795
|
-
nextToken?: string;
|
|
796
|
-
maxResults?: number;
|
|
797
|
-
filter?: PolicyFilter;
|
|
795
|
+
nextToken?: string | undefined;
|
|
796
|
+
maxResults?: number | undefined;
|
|
797
|
+
filter?: PolicyFilter | undefined;
|
|
798
798
|
}
|
|
799
799
|
export interface StaticPolicyDefinitionItem {
|
|
800
|
-
description?: string;
|
|
800
|
+
description?: string | undefined;
|
|
801
801
|
}
|
|
802
802
|
export interface TemplateLinkedPolicyDefinitionItem {
|
|
803
803
|
policyTemplateId: string | undefined;
|
|
804
|
-
principal?: EntityIdentifier;
|
|
805
|
-
resource?: EntityIdentifier;
|
|
804
|
+
principal?: EntityIdentifier | undefined;
|
|
805
|
+
resource?: EntityIdentifier | undefined;
|
|
806
806
|
}
|
|
807
807
|
export type PolicyDefinitionItem =
|
|
808
808
|
| PolicyDefinitionItem.StaticMember
|
|
@@ -835,51 +835,51 @@ export interface PolicyItem {
|
|
|
835
835
|
policyStoreId: string | undefined;
|
|
836
836
|
policyId: string | undefined;
|
|
837
837
|
policyType: PolicyType | undefined;
|
|
838
|
-
principal?: EntityIdentifier;
|
|
839
|
-
resource?: EntityIdentifier;
|
|
840
|
-
actions?: ActionIdentifier[];
|
|
838
|
+
principal?: EntityIdentifier | undefined;
|
|
839
|
+
resource?: EntityIdentifier | undefined;
|
|
840
|
+
actions?: ActionIdentifier[] | undefined;
|
|
841
841
|
definition: PolicyDefinitionItem | undefined;
|
|
842
842
|
createdDate: Date | undefined;
|
|
843
843
|
lastUpdatedDate: Date | undefined;
|
|
844
|
-
effect?: PolicyEffect;
|
|
844
|
+
effect?: PolicyEffect | undefined;
|
|
845
845
|
}
|
|
846
846
|
export interface ListPoliciesOutput {
|
|
847
|
-
nextToken?: string;
|
|
847
|
+
nextToken?: string | undefined;
|
|
848
848
|
policies: PolicyItem[] | undefined;
|
|
849
849
|
}
|
|
850
850
|
export interface ListPolicyStoresInput {
|
|
851
|
-
nextToken?: string;
|
|
852
|
-
maxResults?: number;
|
|
851
|
+
nextToken?: string | undefined;
|
|
852
|
+
maxResults?: number | undefined;
|
|
853
853
|
}
|
|
854
854
|
export interface PolicyStoreItem {
|
|
855
855
|
policyStoreId: string | undefined;
|
|
856
856
|
arn: string | undefined;
|
|
857
857
|
createdDate: Date | undefined;
|
|
858
|
-
lastUpdatedDate?: Date;
|
|
859
|
-
description?: string;
|
|
858
|
+
lastUpdatedDate?: Date | undefined;
|
|
859
|
+
description?: string | undefined;
|
|
860
860
|
}
|
|
861
861
|
export interface ListPolicyStoresOutput {
|
|
862
|
-
nextToken?: string;
|
|
862
|
+
nextToken?: string | undefined;
|
|
863
863
|
policyStores: PolicyStoreItem[] | undefined;
|
|
864
864
|
}
|
|
865
865
|
export interface ListPolicyTemplatesInput {
|
|
866
866
|
policyStoreId: string | undefined;
|
|
867
|
-
nextToken?: string;
|
|
868
|
-
maxResults?: number;
|
|
867
|
+
nextToken?: string | undefined;
|
|
868
|
+
maxResults?: number | undefined;
|
|
869
869
|
}
|
|
870
870
|
export interface PolicyTemplateItem {
|
|
871
871
|
policyStoreId: string | undefined;
|
|
872
872
|
policyTemplateId: string | undefined;
|
|
873
|
-
description?: string;
|
|
873
|
+
description?: string | undefined;
|
|
874
874
|
createdDate: Date | undefined;
|
|
875
875
|
lastUpdatedDate: Date | undefined;
|
|
876
876
|
}
|
|
877
877
|
export interface ListPolicyTemplatesOutput {
|
|
878
|
-
nextToken?: string;
|
|
878
|
+
nextToken?: string | undefined;
|
|
879
879
|
policyTemplates: PolicyTemplateItem[] | undefined;
|
|
880
880
|
}
|
|
881
881
|
export interface UpdateStaticPolicyDefinition {
|
|
882
|
-
description?: string;
|
|
882
|
+
description?: string | undefined;
|
|
883
883
|
statement: string | undefined;
|
|
884
884
|
}
|
|
885
885
|
export type UpdatePolicyDefinition =
|
|
@@ -909,17 +909,17 @@ export interface UpdatePolicyOutput {
|
|
|
909
909
|
policyStoreId: string | undefined;
|
|
910
910
|
policyId: string | undefined;
|
|
911
911
|
policyType: PolicyType | undefined;
|
|
912
|
-
principal?: EntityIdentifier;
|
|
913
|
-
resource?: EntityIdentifier;
|
|
914
|
-
actions?: ActionIdentifier[];
|
|
912
|
+
principal?: EntityIdentifier | undefined;
|
|
913
|
+
resource?: EntityIdentifier | undefined;
|
|
914
|
+
actions?: ActionIdentifier[] | undefined;
|
|
915
915
|
createdDate: Date | undefined;
|
|
916
916
|
lastUpdatedDate: Date | undefined;
|
|
917
|
-
effect?: PolicyEffect;
|
|
917
|
+
effect?: PolicyEffect | undefined;
|
|
918
918
|
}
|
|
919
919
|
export interface UpdatePolicyTemplateInput {
|
|
920
920
|
policyStoreId: string | undefined;
|
|
921
921
|
policyTemplateId: string | undefined;
|
|
922
|
-
description?: string;
|
|
922
|
+
description?: string | undefined;
|
|
923
923
|
statement: string | undefined;
|
|
924
924
|
}
|
|
925
925
|
export interface UpdatePolicyTemplateOutput {
|
|
@@ -959,7 +959,7 @@ export interface PutSchemaOutput {
|
|
|
959
959
|
export interface UpdatePolicyStoreInput {
|
|
960
960
|
policyStoreId: string | undefined;
|
|
961
961
|
validationSettings: ValidationSettings | undefined;
|
|
962
|
-
description?: string;
|
|
962
|
+
description?: string | undefined;
|
|
963
963
|
}
|
|
964
964
|
export interface UpdatePolicyStoreOutput {
|
|
965
965
|
policyStoreId: string | undefined;
|
|
@@ -1110,19 +1110,19 @@ export declare namespace ContextDefinition {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
export interface EntityItem {
|
|
1112
1112
|
identifier: EntityIdentifier | undefined;
|
|
1113
|
-
attributes?: Record<string, AttributeValue
|
|
1114
|
-
parents?: EntityIdentifier[];
|
|
1113
|
+
attributes?: Record<string, AttributeValue> | undefined;
|
|
1114
|
+
parents?: EntityIdentifier[] | undefined;
|
|
1115
1115
|
}
|
|
1116
1116
|
export interface BatchIsAuthorizedInputItem {
|
|
1117
|
-
principal?: EntityIdentifier;
|
|
1118
|
-
action?: ActionIdentifier;
|
|
1119
|
-
resource?: EntityIdentifier;
|
|
1120
|
-
context?: ContextDefinition;
|
|
1117
|
+
principal?: EntityIdentifier | undefined;
|
|
1118
|
+
action?: ActionIdentifier | undefined;
|
|
1119
|
+
resource?: EntityIdentifier | undefined;
|
|
1120
|
+
context?: ContextDefinition | undefined;
|
|
1121
1121
|
}
|
|
1122
1122
|
export interface BatchIsAuthorizedWithTokenInputItem {
|
|
1123
|
-
action?: ActionIdentifier;
|
|
1124
|
-
resource?: EntityIdentifier;
|
|
1125
|
-
context?: ContextDefinition;
|
|
1123
|
+
action?: ActionIdentifier | undefined;
|
|
1124
|
+
resource?: EntityIdentifier | undefined;
|
|
1125
|
+
context?: ContextDefinition | undefined;
|
|
1126
1126
|
}
|
|
1127
1127
|
export interface BatchIsAuthorizedOutputItem {
|
|
1128
1128
|
request: BatchIsAuthorizedInputItem | undefined;
|
|
@@ -1158,36 +1158,36 @@ export interface BatchIsAuthorizedOutput {
|
|
|
1158
1158
|
results: BatchIsAuthorizedOutputItem[] | undefined;
|
|
1159
1159
|
}
|
|
1160
1160
|
export interface BatchIsAuthorizedWithTokenOutput {
|
|
1161
|
-
principal?: EntityIdentifier;
|
|
1161
|
+
principal?: EntityIdentifier | undefined;
|
|
1162
1162
|
results: BatchIsAuthorizedWithTokenOutputItem[] | undefined;
|
|
1163
1163
|
}
|
|
1164
1164
|
export interface IsAuthorizedInput {
|
|
1165
1165
|
policyStoreId: string | undefined;
|
|
1166
|
-
principal?: EntityIdentifier;
|
|
1167
|
-
action?: ActionIdentifier;
|
|
1168
|
-
resource?: EntityIdentifier;
|
|
1169
|
-
context?: ContextDefinition;
|
|
1170
|
-
entities?: EntitiesDefinition;
|
|
1166
|
+
principal?: EntityIdentifier | undefined;
|
|
1167
|
+
action?: ActionIdentifier | undefined;
|
|
1168
|
+
resource?: EntityIdentifier | undefined;
|
|
1169
|
+
context?: ContextDefinition | undefined;
|
|
1170
|
+
entities?: EntitiesDefinition | undefined;
|
|
1171
1171
|
}
|
|
1172
1172
|
export interface IsAuthorizedWithTokenInput {
|
|
1173
1173
|
policyStoreId: string | undefined;
|
|
1174
|
-
identityToken?: string;
|
|
1175
|
-
accessToken?: string;
|
|
1176
|
-
action?: ActionIdentifier;
|
|
1177
|
-
resource?: EntityIdentifier;
|
|
1178
|
-
context?: ContextDefinition;
|
|
1179
|
-
entities?: EntitiesDefinition;
|
|
1174
|
+
identityToken?: string | undefined;
|
|
1175
|
+
accessToken?: string | undefined;
|
|
1176
|
+
action?: ActionIdentifier | undefined;
|
|
1177
|
+
resource?: EntityIdentifier | undefined;
|
|
1178
|
+
context?: ContextDefinition | undefined;
|
|
1179
|
+
entities?: EntitiesDefinition | undefined;
|
|
1180
1180
|
}
|
|
1181
1181
|
export interface BatchIsAuthorizedInput {
|
|
1182
1182
|
policyStoreId: string | undefined;
|
|
1183
|
-
entities?: EntitiesDefinition;
|
|
1183
|
+
entities?: EntitiesDefinition | undefined;
|
|
1184
1184
|
requests: BatchIsAuthorizedInputItem[] | undefined;
|
|
1185
1185
|
}
|
|
1186
1186
|
export interface BatchIsAuthorizedWithTokenInput {
|
|
1187
1187
|
policyStoreId: string | undefined;
|
|
1188
|
-
identityToken?: string;
|
|
1189
|
-
accessToken?: string;
|
|
1190
|
-
entities?: EntitiesDefinition;
|
|
1188
|
+
identityToken?: string | undefined;
|
|
1189
|
+
accessToken?: string | undefined;
|
|
1190
|
+
entities?: EntitiesDefinition | undefined;
|
|
1191
1191
|
requests: BatchIsAuthorizedWithTokenInputItem[] | undefined;
|
|
1192
1192
|
}
|
|
1193
1193
|
export declare const ActionIdentifierFilterSensitiveLog: (
|