Type definitions#
Index > VerifiedPermissions > Type definitions
Auto-generated documentation for VerifiedPermissions type annotations stubs module mypy-boto3-verifiedpermissions.
AttributeValueUnionTypeDef#
# AttributeValueUnionTypeDef definition
AttributeValueUnionTypeDef = Union[
AttributeValueTypeDef, # (1)
AttributeValueOutputTypeDef, # (2)
]
ContextDefinitionUnionTypeDef#
# ContextDefinitionUnionTypeDef definition
ContextDefinitionUnionTypeDef = Union[
ContextDefinitionTypeDef, # (1)
ContextDefinitionOutputTypeDef, # (2)
]
BatchIsAuthorizedInputItemUnionTypeDef#
# BatchIsAuthorizedInputItemUnionTypeDef definition
BatchIsAuthorizedInputItemUnionTypeDef = Union[
BatchIsAuthorizedInputItemTypeDef, # (1)
BatchIsAuthorizedInputItemOutputTypeDef, # (2)
]
BatchIsAuthorizedWithTokenInputItemUnionTypeDef#
# BatchIsAuthorizedWithTokenInputItemUnionTypeDef definition
BatchIsAuthorizedWithTokenInputItemUnionTypeDef = Union[
BatchIsAuthorizedWithTokenInputItemTypeDef, # (1)
BatchIsAuthorizedWithTokenInputItemOutputTypeDef, # (2)
]
ActionIdentifierTypeDef#
# ActionIdentifierTypeDef definition
class ActionIdentifierTypeDef(TypedDict):
actionType: str,
actionId: str,
EntityIdentifierTypeDef#
# EntityIdentifierTypeDef definition
class EntityIdentifierTypeDef(TypedDict):
entityType: str,
entityId: str,
BatchGetPolicyErrorItemTypeDef#
# BatchGetPolicyErrorItemTypeDef definition
class BatchGetPolicyErrorItemTypeDef(TypedDict):
code: BatchGetPolicyErrorCodeType, # (1)
policyStoreId: str,
policyId: str,
message: str,
BatchGetPolicyInputItemTypeDef#
# BatchGetPolicyInputItemTypeDef definition
class BatchGetPolicyInputItemTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeterminingPolicyItemTypeDef#
# DeterminingPolicyItemTypeDef definition
class DeterminingPolicyItemTypeDef(TypedDict):
policyId: str,
EvaluationErrorItemTypeDef#
# EvaluationErrorItemTypeDef definition
class EvaluationErrorItemTypeDef(TypedDict):
errorDescription: str,
CognitoGroupConfigurationDetailTypeDef#
# CognitoGroupConfigurationDetailTypeDef definition
class CognitoGroupConfigurationDetailTypeDef(TypedDict):
groupEntityType: NotRequired[str],
CognitoGroupConfigurationItemTypeDef#
# CognitoGroupConfigurationItemTypeDef definition
class CognitoGroupConfigurationItemTypeDef(TypedDict):
groupEntityType: NotRequired[str],
CognitoGroupConfigurationTypeDef#
# CognitoGroupConfigurationTypeDef definition
class CognitoGroupConfigurationTypeDef(TypedDict):
groupEntityType: str,
ValidationSettingsTypeDef#
# ValidationSettingsTypeDef definition
class ValidationSettingsTypeDef(TypedDict):
mode: ValidationModeType, # (1)
CreatePolicyTemplateInputRequestTypeDef#
# CreatePolicyTemplateInputRequestTypeDef definition
class CreatePolicyTemplateInputRequestTypeDef(TypedDict):
policyStoreId: str,
statement: str,
clientToken: NotRequired[str],
description: NotRequired[str],
DeleteIdentitySourceInputRequestTypeDef#
# DeleteIdentitySourceInputRequestTypeDef definition
class DeleteIdentitySourceInputRequestTypeDef(TypedDict):
policyStoreId: str,
identitySourceId: str,
DeletePolicyInputRequestTypeDef#
# DeletePolicyInputRequestTypeDef definition
class DeletePolicyInputRequestTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
DeletePolicyStoreInputRequestTypeDef#
# DeletePolicyStoreInputRequestTypeDef definition
class DeletePolicyStoreInputRequestTypeDef(TypedDict):
policyStoreId: str,
DeletePolicyTemplateInputRequestTypeDef#
# DeletePolicyTemplateInputRequestTypeDef definition
class DeletePolicyTemplateInputRequestTypeDef(TypedDict):
policyStoreId: str,
policyTemplateId: str,
GetIdentitySourceInputRequestTypeDef#
# GetIdentitySourceInputRequestTypeDef definition
class GetIdentitySourceInputRequestTypeDef(TypedDict):
policyStoreId: str,
identitySourceId: str,
IdentitySourceDetailsTypeDef#
# IdentitySourceDetailsTypeDef definition
class IdentitySourceDetailsTypeDef(TypedDict):
clientIds: NotRequired[List[str]],
userPoolArn: NotRequired[str],
discoveryUrl: NotRequired[str],
openIdIssuer: NotRequired[OpenIdIssuerType], # (1)
- See OpenIdIssuerType
GetPolicyInputRequestTypeDef#
# GetPolicyInputRequestTypeDef definition
class GetPolicyInputRequestTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
GetPolicyStoreInputRequestTypeDef#
# GetPolicyStoreInputRequestTypeDef definition
class GetPolicyStoreInputRequestTypeDef(TypedDict):
policyStoreId: str,
GetPolicyTemplateInputRequestTypeDef#
# GetPolicyTemplateInputRequestTypeDef definition
class GetPolicyTemplateInputRequestTypeDef(TypedDict):
policyStoreId: str,
policyTemplateId: str,
GetSchemaInputRequestTypeDef#
# GetSchemaInputRequestTypeDef definition
class GetSchemaInputRequestTypeDef(TypedDict):
policyStoreId: str,
IdentitySourceFilterTypeDef#
# IdentitySourceFilterTypeDef definition
class IdentitySourceFilterTypeDef(TypedDict):
principalEntityType: NotRequired[str],
IdentitySourceItemDetailsTypeDef#
# IdentitySourceItemDetailsTypeDef definition
class IdentitySourceItemDetailsTypeDef(TypedDict):
clientIds: NotRequired[List[str]],
userPoolArn: NotRequired[str],
discoveryUrl: NotRequired[str],
openIdIssuer: NotRequired[OpenIdIssuerType], # (1)
- See OpenIdIssuerType
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListPolicyStoresInputRequestTypeDef#
# ListPolicyStoresInputRequestTypeDef definition
class ListPolicyStoresInputRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
PolicyStoreItemTypeDef#
# PolicyStoreItemTypeDef definition
class PolicyStoreItemTypeDef(TypedDict):
policyStoreId: str,
arn: str,
createdDate: datetime,
lastUpdatedDate: NotRequired[datetime],
description: NotRequired[str],
ListPolicyTemplatesInputRequestTypeDef#
# ListPolicyTemplatesInputRequestTypeDef definition
class ListPolicyTemplatesInputRequestTypeDef(TypedDict):
policyStoreId: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
PolicyTemplateItemTypeDef#
# PolicyTemplateItemTypeDef definition
class PolicyTemplateItemTypeDef(TypedDict):
policyStoreId: str,
policyTemplateId: str,
createdDate: datetime,
lastUpdatedDate: datetime,
description: NotRequired[str],
OpenIdConnectAccessTokenConfigurationDetailTypeDef#
# OpenIdConnectAccessTokenConfigurationDetailTypeDef definition
class OpenIdConnectAccessTokenConfigurationDetailTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
audiences: NotRequired[List[str]],
OpenIdConnectAccessTokenConfigurationItemTypeDef#
# OpenIdConnectAccessTokenConfigurationItemTypeDef definition
class OpenIdConnectAccessTokenConfigurationItemTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
audiences: NotRequired[List[str]],
OpenIdConnectAccessTokenConfigurationTypeDef#
# OpenIdConnectAccessTokenConfigurationTypeDef definition
class OpenIdConnectAccessTokenConfigurationTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
audiences: NotRequired[Sequence[str]],
OpenIdConnectGroupConfigurationDetailTypeDef#
# OpenIdConnectGroupConfigurationDetailTypeDef definition
class OpenIdConnectGroupConfigurationDetailTypeDef(TypedDict):
groupClaim: str,
groupEntityType: str,
OpenIdConnectGroupConfigurationItemTypeDef#
# OpenIdConnectGroupConfigurationItemTypeDef definition
class OpenIdConnectGroupConfigurationItemTypeDef(TypedDict):
groupClaim: str,
groupEntityType: str,
OpenIdConnectGroupConfigurationTypeDef#
# OpenIdConnectGroupConfigurationTypeDef definition
class OpenIdConnectGroupConfigurationTypeDef(TypedDict):
groupClaim: str,
groupEntityType: str,
OpenIdConnectIdentityTokenConfigurationDetailTypeDef#
# OpenIdConnectIdentityTokenConfigurationDetailTypeDef definition
class OpenIdConnectIdentityTokenConfigurationDetailTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
clientIds: NotRequired[List[str]],
OpenIdConnectIdentityTokenConfigurationItemTypeDef#
# OpenIdConnectIdentityTokenConfigurationItemTypeDef definition
class OpenIdConnectIdentityTokenConfigurationItemTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
clientIds: NotRequired[List[str]],
OpenIdConnectIdentityTokenConfigurationTypeDef#
# OpenIdConnectIdentityTokenConfigurationTypeDef definition
class OpenIdConnectIdentityTokenConfigurationTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
clientIds: NotRequired[Sequence[str]],
StaticPolicyDefinitionDetailTypeDef#
# StaticPolicyDefinitionDetailTypeDef definition
class StaticPolicyDefinitionDetailTypeDef(TypedDict):
statement: str,
description: NotRequired[str],
StaticPolicyDefinitionItemTypeDef#
# StaticPolicyDefinitionItemTypeDef definition
class StaticPolicyDefinitionItemTypeDef(TypedDict):
description: NotRequired[str],
StaticPolicyDefinitionTypeDef#
# StaticPolicyDefinitionTypeDef definition
class StaticPolicyDefinitionTypeDef(TypedDict):
statement: str,
description: NotRequired[str],
SchemaDefinitionTypeDef#
# SchemaDefinitionTypeDef definition
class SchemaDefinitionTypeDef(TypedDict):
cedarJson: NotRequired[str],
UpdateCognitoGroupConfigurationTypeDef#
# UpdateCognitoGroupConfigurationTypeDef definition
class UpdateCognitoGroupConfigurationTypeDef(TypedDict):
groupEntityType: str,
UpdateOpenIdConnectAccessTokenConfigurationTypeDef#
# UpdateOpenIdConnectAccessTokenConfigurationTypeDef definition
class UpdateOpenIdConnectAccessTokenConfigurationTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
audiences: NotRequired[Sequence[str]],
UpdateOpenIdConnectGroupConfigurationTypeDef#
# UpdateOpenIdConnectGroupConfigurationTypeDef definition
class UpdateOpenIdConnectGroupConfigurationTypeDef(TypedDict):
groupClaim: str,
groupEntityType: str,
UpdateOpenIdConnectIdentityTokenConfigurationTypeDef#
# UpdateOpenIdConnectIdentityTokenConfigurationTypeDef definition
class UpdateOpenIdConnectIdentityTokenConfigurationTypeDef(TypedDict):
principalIdClaim: NotRequired[str],
clientIds: NotRequired[Sequence[str]],
UpdateStaticPolicyDefinitionTypeDef#
# UpdateStaticPolicyDefinitionTypeDef definition
class UpdateStaticPolicyDefinitionTypeDef(TypedDict):
statement: str,
description: NotRequired[str],
UpdatePolicyTemplateInputRequestTypeDef#
# UpdatePolicyTemplateInputRequestTypeDef definition
class UpdatePolicyTemplateInputRequestTypeDef(TypedDict):
policyStoreId: str,
policyTemplateId: str,
statement: str,
description: NotRequired[str],
AttributeValueOutputTypeDef#
# AttributeValueOutputTypeDef definition
class AttributeValueOutputTypeDef(TypedDict):
boolean: NotRequired[bool],
entityIdentifier: NotRequired[EntityIdentifierTypeDef], # (1)
long: NotRequired[int],
string: NotRequired[str],
set: NotRequired[List[Dict[str, Any]]],
record: NotRequired[Dict[str, Dict[str, Any]]],
ipaddr: NotRequired[str],
decimal: NotRequired[str],
AttributeValueTypeDef#
# AttributeValueTypeDef definition
class AttributeValueTypeDef(TypedDict):
boolean: NotRequired[bool],
entityIdentifier: NotRequired[EntityIdentifierTypeDef], # (1)
long: NotRequired[int],
string: NotRequired[str],
set: NotRequired[Sequence[Mapping[str, Any]]],
record: NotRequired[Mapping[str, Mapping[str, Any]]],
ipaddr: NotRequired[str],
decimal: NotRequired[str],
EntityReferenceTypeDef#
# EntityReferenceTypeDef definition
class EntityReferenceTypeDef(TypedDict):
unspecified: NotRequired[bool],
identifier: NotRequired[EntityIdentifierTypeDef], # (1)
TemplateLinkedPolicyDefinitionDetailTypeDef#
# TemplateLinkedPolicyDefinitionDetailTypeDef definition
class TemplateLinkedPolicyDefinitionDetailTypeDef(TypedDict):
policyTemplateId: str,
principal: NotRequired[EntityIdentifierTypeDef], # (1)
resource: NotRequired[EntityIdentifierTypeDef], # (1)
TemplateLinkedPolicyDefinitionItemTypeDef#
# TemplateLinkedPolicyDefinitionItemTypeDef definition
class TemplateLinkedPolicyDefinitionItemTypeDef(TypedDict):
policyTemplateId: str,
principal: NotRequired[EntityIdentifierTypeDef], # (1)
resource: NotRequired[EntityIdentifierTypeDef], # (1)
TemplateLinkedPolicyDefinitionTypeDef#
# TemplateLinkedPolicyDefinitionTypeDef definition
class TemplateLinkedPolicyDefinitionTypeDef(TypedDict):
policyTemplateId: str,
principal: NotRequired[EntityIdentifierTypeDef], # (1)
resource: NotRequired[EntityIdentifierTypeDef], # (1)
BatchGetPolicyInputRequestTypeDef#
# BatchGetPolicyInputRequestTypeDef definition
class BatchGetPolicyInputRequestTypeDef(TypedDict):
requests: Sequence[BatchGetPolicyInputItemTypeDef], # (1)
CreateIdentitySourceOutputTypeDef#
# CreateIdentitySourceOutputTypeDef definition
class CreateIdentitySourceOutputTypeDef(TypedDict):
createdDate: datetime,
identitySourceId: str,
lastUpdatedDate: datetime,
policyStoreId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreatePolicyOutputTypeDef#
# CreatePolicyOutputTypeDef definition
class CreatePolicyOutputTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
policyType: PolicyTypeType, # (1)
principal: EntityIdentifierTypeDef, # (2)
resource: EntityIdentifierTypeDef, # (2)
actions: List[ActionIdentifierTypeDef], # (4)
createdDate: datetime,
lastUpdatedDate: datetime,
effect: PolicyEffectType, # (5)
ResponseMetadata: ResponseMetadataTypeDef, # (6)
- See PolicyTypeType
- See EntityIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ActionIdentifierTypeDef
- See PolicyEffectType
- See ResponseMetadataTypeDef
CreatePolicyStoreOutputTypeDef#
# CreatePolicyStoreOutputTypeDef definition
class CreatePolicyStoreOutputTypeDef(TypedDict):
policyStoreId: str,
arn: str,
createdDate: datetime,
lastUpdatedDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreatePolicyTemplateOutputTypeDef#
# CreatePolicyTemplateOutputTypeDef definition
class CreatePolicyTemplateOutputTypeDef(TypedDict):
policyStoreId: str,
policyTemplateId: str,
createdDate: datetime,
lastUpdatedDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetPolicyTemplateOutputTypeDef#
# GetPolicyTemplateOutputTypeDef definition
class GetPolicyTemplateOutputTypeDef(TypedDict):
policyStoreId: str,
policyTemplateId: str,
description: str,
statement: str,
createdDate: datetime,
lastUpdatedDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetSchemaOutputTypeDef#
# GetSchemaOutputTypeDef definition
class GetSchemaOutputTypeDef(TypedDict):
policyStoreId: str,
schema: str,
createdDate: datetime,
lastUpdatedDate: datetime,
namespaces: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutSchemaOutputTypeDef#
# PutSchemaOutputTypeDef definition
class PutSchemaOutputTypeDef(TypedDict):
policyStoreId: str,
namespaces: List[str],
createdDate: datetime,
lastUpdatedDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateIdentitySourceOutputTypeDef#
# UpdateIdentitySourceOutputTypeDef definition
class UpdateIdentitySourceOutputTypeDef(TypedDict):
createdDate: datetime,
identitySourceId: str,
lastUpdatedDate: datetime,
policyStoreId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdatePolicyOutputTypeDef#
# UpdatePolicyOutputTypeDef definition
class UpdatePolicyOutputTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
policyType: PolicyTypeType, # (1)
principal: EntityIdentifierTypeDef, # (2)
resource: EntityIdentifierTypeDef, # (2)
actions: List[ActionIdentifierTypeDef], # (4)
createdDate: datetime,
lastUpdatedDate: datetime,
effect: PolicyEffectType, # (5)
ResponseMetadata: ResponseMetadataTypeDef, # (6)
- See PolicyTypeType
- See EntityIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ActionIdentifierTypeDef
- See PolicyEffectType
- See ResponseMetadataTypeDef
UpdatePolicyStoreOutputTypeDef#
# UpdatePolicyStoreOutputTypeDef definition
class UpdatePolicyStoreOutputTypeDef(TypedDict):
policyStoreId: str,
arn: str,
createdDate: datetime,
lastUpdatedDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdatePolicyTemplateOutputTypeDef#
# UpdatePolicyTemplateOutputTypeDef definition
class UpdatePolicyTemplateOutputTypeDef(TypedDict):
policyStoreId: str,
policyTemplateId: str,
createdDate: datetime,
lastUpdatedDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
IsAuthorizedOutputTypeDef#
# IsAuthorizedOutputTypeDef definition
class IsAuthorizedOutputTypeDef(TypedDict):
decision: DecisionType, # (1)
determiningPolicies: List[DeterminingPolicyItemTypeDef], # (2)
errors: List[EvaluationErrorItemTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See DecisionType
- See DeterminingPolicyItemTypeDef
- See EvaluationErrorItemTypeDef
- See ResponseMetadataTypeDef
IsAuthorizedWithTokenOutputTypeDef#
# IsAuthorizedWithTokenOutputTypeDef definition
class IsAuthorizedWithTokenOutputTypeDef(TypedDict):
decision: DecisionType, # (1)
determiningPolicies: List[DeterminingPolicyItemTypeDef], # (2)
errors: List[EvaluationErrorItemTypeDef], # (3)
principal: EntityIdentifierTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DecisionType
- See DeterminingPolicyItemTypeDef
- See EvaluationErrorItemTypeDef
- See EntityIdentifierTypeDef
- See ResponseMetadataTypeDef
CognitoUserPoolConfigurationDetailTypeDef#
# CognitoUserPoolConfigurationDetailTypeDef definition
class CognitoUserPoolConfigurationDetailTypeDef(TypedDict):
userPoolArn: str,
clientIds: List[str],
issuer: str,
groupConfiguration: NotRequired[CognitoGroupConfigurationDetailTypeDef], # (1)
CognitoUserPoolConfigurationItemTypeDef#
# CognitoUserPoolConfigurationItemTypeDef definition
class CognitoUserPoolConfigurationItemTypeDef(TypedDict):
userPoolArn: str,
clientIds: List[str],
issuer: str,
groupConfiguration: NotRequired[CognitoGroupConfigurationItemTypeDef], # (1)
CognitoUserPoolConfigurationTypeDef#
# CognitoUserPoolConfigurationTypeDef definition
class CognitoUserPoolConfigurationTypeDef(TypedDict):
userPoolArn: str,
clientIds: NotRequired[Sequence[str]],
groupConfiguration: NotRequired[CognitoGroupConfigurationTypeDef], # (1)
CreatePolicyStoreInputRequestTypeDef#
# CreatePolicyStoreInputRequestTypeDef definition
class CreatePolicyStoreInputRequestTypeDef(TypedDict):
validationSettings: ValidationSettingsTypeDef, # (1)
clientToken: NotRequired[str],
description: NotRequired[str],
GetPolicyStoreOutputTypeDef#
# GetPolicyStoreOutputTypeDef definition
class GetPolicyStoreOutputTypeDef(TypedDict):
policyStoreId: str,
arn: str,
validationSettings: ValidationSettingsTypeDef, # (1)
createdDate: datetime,
lastUpdatedDate: datetime,
description: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdatePolicyStoreInputRequestTypeDef#
# UpdatePolicyStoreInputRequestTypeDef definition
class UpdatePolicyStoreInputRequestTypeDef(TypedDict):
policyStoreId: str,
validationSettings: ValidationSettingsTypeDef, # (1)
description: NotRequired[str],
ListIdentitySourcesInputRequestTypeDef#
# ListIdentitySourcesInputRequestTypeDef definition
class ListIdentitySourcesInputRequestTypeDef(TypedDict):
policyStoreId: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
filters: NotRequired[Sequence[IdentitySourceFilterTypeDef]], # (1)
ListIdentitySourcesInputListIdentitySourcesPaginateTypeDef#
# ListIdentitySourcesInputListIdentitySourcesPaginateTypeDef definition
class ListIdentitySourcesInputListIdentitySourcesPaginateTypeDef(TypedDict):
policyStoreId: str,
filters: NotRequired[Sequence[IdentitySourceFilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListPolicyStoresInputListPolicyStoresPaginateTypeDef#
# ListPolicyStoresInputListPolicyStoresPaginateTypeDef definition
class ListPolicyStoresInputListPolicyStoresPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListPolicyTemplatesInputListPolicyTemplatesPaginateTypeDef#
# ListPolicyTemplatesInputListPolicyTemplatesPaginateTypeDef definition
class ListPolicyTemplatesInputListPolicyTemplatesPaginateTypeDef(TypedDict):
policyStoreId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListPolicyStoresOutputTypeDef#
# ListPolicyStoresOutputTypeDef definition
class ListPolicyStoresOutputTypeDef(TypedDict):
policyStores: List[PolicyStoreItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListPolicyTemplatesOutputTypeDef#
# ListPolicyTemplatesOutputTypeDef definition
class ListPolicyTemplatesOutputTypeDef(TypedDict):
policyTemplates: List[PolicyTemplateItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
OpenIdConnectTokenSelectionDetailTypeDef#
# OpenIdConnectTokenSelectionDetailTypeDef definition
class OpenIdConnectTokenSelectionDetailTypeDef(TypedDict):
accessTokenOnly: NotRequired[OpenIdConnectAccessTokenConfigurationDetailTypeDef], # (1)
identityTokenOnly: NotRequired[OpenIdConnectIdentityTokenConfigurationDetailTypeDef], # (2)
- See OpenIdConnectAccessTokenConfigurationDetailTypeDef
- See OpenIdConnectIdentityTokenConfigurationDetailTypeDef
OpenIdConnectTokenSelectionItemTypeDef#
# OpenIdConnectTokenSelectionItemTypeDef definition
class OpenIdConnectTokenSelectionItemTypeDef(TypedDict):
accessTokenOnly: NotRequired[OpenIdConnectAccessTokenConfigurationItemTypeDef], # (1)
identityTokenOnly: NotRequired[OpenIdConnectIdentityTokenConfigurationItemTypeDef], # (2)
- See OpenIdConnectAccessTokenConfigurationItemTypeDef
- See OpenIdConnectIdentityTokenConfigurationItemTypeDef
OpenIdConnectTokenSelectionTypeDef#
# OpenIdConnectTokenSelectionTypeDef definition
class OpenIdConnectTokenSelectionTypeDef(TypedDict):
accessTokenOnly: NotRequired[OpenIdConnectAccessTokenConfigurationTypeDef], # (1)
identityTokenOnly: NotRequired[OpenIdConnectIdentityTokenConfigurationTypeDef], # (2)
PutSchemaInputRequestTypeDef#
# PutSchemaInputRequestTypeDef definition
class PutSchemaInputRequestTypeDef(TypedDict):
policyStoreId: str,
definition: SchemaDefinitionTypeDef, # (1)
UpdateCognitoUserPoolConfigurationTypeDef#
# UpdateCognitoUserPoolConfigurationTypeDef definition
class UpdateCognitoUserPoolConfigurationTypeDef(TypedDict):
userPoolArn: str,
clientIds: NotRequired[Sequence[str]],
groupConfiguration: NotRequired[UpdateCognitoGroupConfigurationTypeDef], # (1)
UpdateOpenIdConnectTokenSelectionTypeDef#
# UpdateOpenIdConnectTokenSelectionTypeDef definition
class UpdateOpenIdConnectTokenSelectionTypeDef(TypedDict):
accessTokenOnly: NotRequired[UpdateOpenIdConnectAccessTokenConfigurationTypeDef], # (1)
identityTokenOnly: NotRequired[UpdateOpenIdConnectIdentityTokenConfigurationTypeDef], # (2)
- See UpdateOpenIdConnectAccessTokenConfigurationTypeDef
- See UpdateOpenIdConnectIdentityTokenConfigurationTypeDef
UpdatePolicyDefinitionTypeDef#
# UpdatePolicyDefinitionTypeDef definition
class UpdatePolicyDefinitionTypeDef(TypedDict):
static: NotRequired[UpdateStaticPolicyDefinitionTypeDef], # (1)
ContextDefinitionOutputTypeDef#
# ContextDefinitionOutputTypeDef definition
class ContextDefinitionOutputTypeDef(TypedDict):
contextMap: NotRequired[Dict[str, AttributeValueOutputTypeDef]], # (1)
PolicyFilterTypeDef#
# PolicyFilterTypeDef definition
class PolicyFilterTypeDef(TypedDict):
principal: NotRequired[EntityReferenceTypeDef], # (1)
resource: NotRequired[EntityReferenceTypeDef], # (1)
policyType: NotRequired[PolicyTypeType], # (3)
policyTemplateId: NotRequired[str],
PolicyDefinitionDetailTypeDef#
# PolicyDefinitionDetailTypeDef definition
class PolicyDefinitionDetailTypeDef(TypedDict):
static: NotRequired[StaticPolicyDefinitionDetailTypeDef], # (1)
templateLinked: NotRequired[TemplateLinkedPolicyDefinitionDetailTypeDef], # (2)
PolicyDefinitionItemTypeDef#
# PolicyDefinitionItemTypeDef definition
class PolicyDefinitionItemTypeDef(TypedDict):
static: NotRequired[StaticPolicyDefinitionItemTypeDef], # (1)
templateLinked: NotRequired[TemplateLinkedPolicyDefinitionItemTypeDef], # (2)
PolicyDefinitionTypeDef#
# PolicyDefinitionTypeDef definition
class PolicyDefinitionTypeDef(TypedDict):
static: NotRequired[StaticPolicyDefinitionTypeDef], # (1)
templateLinked: NotRequired[TemplateLinkedPolicyDefinitionTypeDef], # (2)
OpenIdConnectConfigurationDetailTypeDef#
# OpenIdConnectConfigurationDetailTypeDef definition
class OpenIdConnectConfigurationDetailTypeDef(TypedDict):
issuer: str,
tokenSelection: OpenIdConnectTokenSelectionDetailTypeDef, # (2)
entityIdPrefix: NotRequired[str],
groupConfiguration: NotRequired[OpenIdConnectGroupConfigurationDetailTypeDef], # (1)
OpenIdConnectConfigurationItemTypeDef#
# OpenIdConnectConfigurationItemTypeDef definition
class OpenIdConnectConfigurationItemTypeDef(TypedDict):
issuer: str,
tokenSelection: OpenIdConnectTokenSelectionItemTypeDef, # (2)
entityIdPrefix: NotRequired[str],
groupConfiguration: NotRequired[OpenIdConnectGroupConfigurationItemTypeDef], # (1)
OpenIdConnectConfigurationTypeDef#
# OpenIdConnectConfigurationTypeDef definition
class OpenIdConnectConfigurationTypeDef(TypedDict):
issuer: str,
tokenSelection: OpenIdConnectTokenSelectionTypeDef, # (2)
entityIdPrefix: NotRequired[str],
groupConfiguration: NotRequired[OpenIdConnectGroupConfigurationTypeDef], # (1)
UpdateOpenIdConnectConfigurationTypeDef#
# UpdateOpenIdConnectConfigurationTypeDef definition
class UpdateOpenIdConnectConfigurationTypeDef(TypedDict):
issuer: str,
tokenSelection: UpdateOpenIdConnectTokenSelectionTypeDef, # (2)
entityIdPrefix: NotRequired[str],
groupConfiguration: NotRequired[UpdateOpenIdConnectGroupConfigurationTypeDef], # (1)
UpdatePolicyInputRequestTypeDef#
# UpdatePolicyInputRequestTypeDef definition
class UpdatePolicyInputRequestTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
definition: UpdatePolicyDefinitionTypeDef, # (1)
BatchIsAuthorizedInputItemOutputTypeDef#
# BatchIsAuthorizedInputItemOutputTypeDef definition
class BatchIsAuthorizedInputItemOutputTypeDef(TypedDict):
principal: NotRequired[EntityIdentifierTypeDef], # (1)
action: NotRequired[ActionIdentifierTypeDef], # (2)
resource: NotRequired[EntityIdentifierTypeDef], # (1)
context: NotRequired[ContextDefinitionOutputTypeDef], # (4)
- See EntityIdentifierTypeDef
- See ActionIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ContextDefinitionOutputTypeDef
BatchIsAuthorizedWithTokenInputItemOutputTypeDef#
# BatchIsAuthorizedWithTokenInputItemOutputTypeDef definition
class BatchIsAuthorizedWithTokenInputItemOutputTypeDef(TypedDict):
action: NotRequired[ActionIdentifierTypeDef], # (1)
resource: NotRequired[EntityIdentifierTypeDef], # (2)
context: NotRequired[ContextDefinitionOutputTypeDef], # (3)
ContextDefinitionTypeDef#
# ContextDefinitionTypeDef definition
class ContextDefinitionTypeDef(TypedDict):
contextMap: NotRequired[Mapping[str, AttributeValueUnionTypeDef]], # (1)
EntityItemTypeDef#
# EntityItemTypeDef definition
class EntityItemTypeDef(TypedDict):
identifier: EntityIdentifierTypeDef, # (1)
attributes: NotRequired[Mapping[str, AttributeValueUnionTypeDef]], # (2)
parents: NotRequired[Sequence[EntityIdentifierTypeDef]], # (3)
- See EntityIdentifierTypeDef
- See AttributeValueTypeDef AttributeValueOutputTypeDef
- See EntityIdentifierTypeDef
ListPoliciesInputListPoliciesPaginateTypeDef#
# ListPoliciesInputListPoliciesPaginateTypeDef definition
class ListPoliciesInputListPoliciesPaginateTypeDef(TypedDict):
policyStoreId: str,
filter: NotRequired[PolicyFilterTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListPoliciesInputRequestTypeDef#
# ListPoliciesInputRequestTypeDef definition
class ListPoliciesInputRequestTypeDef(TypedDict):
policyStoreId: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
filter: NotRequired[PolicyFilterTypeDef], # (1)
BatchGetPolicyOutputItemTypeDef#
# BatchGetPolicyOutputItemTypeDef definition
class BatchGetPolicyOutputItemTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
policyType: PolicyTypeType, # (1)
definition: PolicyDefinitionDetailTypeDef, # (2)
createdDate: datetime,
lastUpdatedDate: datetime,
GetPolicyOutputTypeDef#
# GetPolicyOutputTypeDef definition
class GetPolicyOutputTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
policyType: PolicyTypeType, # (1)
principal: EntityIdentifierTypeDef, # (2)
resource: EntityIdentifierTypeDef, # (2)
actions: List[ActionIdentifierTypeDef], # (4)
definition: PolicyDefinitionDetailTypeDef, # (5)
createdDate: datetime,
lastUpdatedDate: datetime,
effect: PolicyEffectType, # (6)
ResponseMetadata: ResponseMetadataTypeDef, # (7)
- See PolicyTypeType
- See EntityIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ActionIdentifierTypeDef
- See PolicyDefinitionDetailTypeDef
- See PolicyEffectType
- See ResponseMetadataTypeDef
PolicyItemTypeDef#
# PolicyItemTypeDef definition
class PolicyItemTypeDef(TypedDict):
policyStoreId: str,
policyId: str,
policyType: PolicyTypeType, # (1)
definition: PolicyDefinitionItemTypeDef, # (5)
createdDate: datetime,
lastUpdatedDate: datetime,
principal: NotRequired[EntityIdentifierTypeDef], # (2)
resource: NotRequired[EntityIdentifierTypeDef], # (2)
actions: NotRequired[List[ActionIdentifierTypeDef]], # (4)
effect: NotRequired[PolicyEffectType], # (6)
- See PolicyTypeType
- See EntityIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ActionIdentifierTypeDef
- See PolicyDefinitionItemTypeDef
- See PolicyEffectType
CreatePolicyInputRequestTypeDef#
# CreatePolicyInputRequestTypeDef definition
class CreatePolicyInputRequestTypeDef(TypedDict):
policyStoreId: str,
definition: PolicyDefinitionTypeDef, # (1)
clientToken: NotRequired[str],
ConfigurationDetailTypeDef#
# ConfigurationDetailTypeDef definition
class ConfigurationDetailTypeDef(TypedDict):
cognitoUserPoolConfiguration: NotRequired[CognitoUserPoolConfigurationDetailTypeDef], # (1)
openIdConnectConfiguration: NotRequired[OpenIdConnectConfigurationDetailTypeDef], # (2)
ConfigurationItemTypeDef#
# ConfigurationItemTypeDef definition
class ConfigurationItemTypeDef(TypedDict):
cognitoUserPoolConfiguration: NotRequired[CognitoUserPoolConfigurationItemTypeDef], # (1)
openIdConnectConfiguration: NotRequired[OpenIdConnectConfigurationItemTypeDef], # (2)
ConfigurationTypeDef#
# ConfigurationTypeDef definition
class ConfigurationTypeDef(TypedDict):
cognitoUserPoolConfiguration: NotRequired[CognitoUserPoolConfigurationTypeDef], # (1)
openIdConnectConfiguration: NotRequired[OpenIdConnectConfigurationTypeDef], # (2)
UpdateConfigurationTypeDef#
# UpdateConfigurationTypeDef definition
class UpdateConfigurationTypeDef(TypedDict):
cognitoUserPoolConfiguration: NotRequired[UpdateCognitoUserPoolConfigurationTypeDef], # (1)
openIdConnectConfiguration: NotRequired[UpdateOpenIdConnectConfigurationTypeDef], # (2)
BatchIsAuthorizedOutputItemTypeDef#
# BatchIsAuthorizedOutputItemTypeDef definition
class BatchIsAuthorizedOutputItemTypeDef(TypedDict):
request: BatchIsAuthorizedInputItemOutputTypeDef, # (1)
decision: DecisionType, # (2)
determiningPolicies: List[DeterminingPolicyItemTypeDef], # (3)
errors: List[EvaluationErrorItemTypeDef], # (4)
- See BatchIsAuthorizedInputItemOutputTypeDef
- See DecisionType
- See DeterminingPolicyItemTypeDef
- See EvaluationErrorItemTypeDef
BatchIsAuthorizedWithTokenOutputItemTypeDef#
# BatchIsAuthorizedWithTokenOutputItemTypeDef definition
class BatchIsAuthorizedWithTokenOutputItemTypeDef(TypedDict):
request: BatchIsAuthorizedWithTokenInputItemOutputTypeDef, # (1)
decision: DecisionType, # (2)
determiningPolicies: List[DeterminingPolicyItemTypeDef], # (3)
errors: List[EvaluationErrorItemTypeDef], # (4)
- See BatchIsAuthorizedWithTokenInputItemOutputTypeDef
- See DecisionType
- See DeterminingPolicyItemTypeDef
- See EvaluationErrorItemTypeDef
EntitiesDefinitionTypeDef#
# EntitiesDefinitionTypeDef definition
class EntitiesDefinitionTypeDef(TypedDict):
entityList: NotRequired[Sequence[EntityItemTypeDef]], # (1)
BatchGetPolicyOutputTypeDef#
# BatchGetPolicyOutputTypeDef definition
class BatchGetPolicyOutputTypeDef(TypedDict):
results: List[BatchGetPolicyOutputItemTypeDef], # (1)
errors: List[BatchGetPolicyErrorItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ListPoliciesOutputTypeDef#
# ListPoliciesOutputTypeDef definition
class ListPoliciesOutputTypeDef(TypedDict):
policies: List[PolicyItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetIdentitySourceOutputTypeDef#
# GetIdentitySourceOutputTypeDef definition
class GetIdentitySourceOutputTypeDef(TypedDict):
createdDate: datetime,
details: IdentitySourceDetailsTypeDef, # (1)
identitySourceId: str,
lastUpdatedDate: datetime,
policyStoreId: str,
principalEntityType: str,
configuration: ConfigurationDetailTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
IdentitySourceItemTypeDef#
# IdentitySourceItemTypeDef definition
class IdentitySourceItemTypeDef(TypedDict):
createdDate: datetime,
identitySourceId: str,
lastUpdatedDate: datetime,
policyStoreId: str,
principalEntityType: str,
details: NotRequired[IdentitySourceItemDetailsTypeDef], # (1)
configuration: NotRequired[ConfigurationItemTypeDef], # (2)
CreateIdentitySourceInputRequestTypeDef#
# CreateIdentitySourceInputRequestTypeDef definition
class CreateIdentitySourceInputRequestTypeDef(TypedDict):
policyStoreId: str,
configuration: ConfigurationTypeDef, # (1)
clientToken: NotRequired[str],
principalEntityType: NotRequired[str],
UpdateIdentitySourceInputRequestTypeDef#
# UpdateIdentitySourceInputRequestTypeDef definition
class UpdateIdentitySourceInputRequestTypeDef(TypedDict):
policyStoreId: str,
identitySourceId: str,
updateConfiguration: UpdateConfigurationTypeDef, # (1)
principalEntityType: NotRequired[str],
BatchIsAuthorizedOutputTypeDef#
# BatchIsAuthorizedOutputTypeDef definition
class BatchIsAuthorizedOutputTypeDef(TypedDict):
results: List[BatchIsAuthorizedOutputItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchIsAuthorizedWithTokenOutputTypeDef#
# BatchIsAuthorizedWithTokenOutputTypeDef definition
class BatchIsAuthorizedWithTokenOutputTypeDef(TypedDict):
principal: EntityIdentifierTypeDef, # (1)
results: List[BatchIsAuthorizedWithTokenOutputItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See EntityIdentifierTypeDef
- See BatchIsAuthorizedWithTokenOutputItemTypeDef
- See ResponseMetadataTypeDef
BatchIsAuthorizedInputItemTypeDef#
# BatchIsAuthorizedInputItemTypeDef definition
class BatchIsAuthorizedInputItemTypeDef(TypedDict):
principal: NotRequired[EntityIdentifierTypeDef], # (1)
action: NotRequired[ActionIdentifierTypeDef], # (2)
resource: NotRequired[EntityIdentifierTypeDef], # (1)
context: NotRequired[ContextDefinitionUnionTypeDef], # (4)
- See EntityIdentifierTypeDef
- See ActionIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ContextDefinitionTypeDef ContextDefinitionOutputTypeDef
BatchIsAuthorizedWithTokenInputItemTypeDef#
# BatchIsAuthorizedWithTokenInputItemTypeDef definition
class BatchIsAuthorizedWithTokenInputItemTypeDef(TypedDict):
action: NotRequired[ActionIdentifierTypeDef], # (1)
resource: NotRequired[EntityIdentifierTypeDef], # (2)
context: NotRequired[ContextDefinitionUnionTypeDef], # (3)
- See ActionIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ContextDefinitionTypeDef ContextDefinitionOutputTypeDef
IsAuthorizedInputRequestTypeDef#
# IsAuthorizedInputRequestTypeDef definition
class IsAuthorizedInputRequestTypeDef(TypedDict):
policyStoreId: str,
principal: NotRequired[EntityIdentifierTypeDef], # (1)
action: NotRequired[ActionIdentifierTypeDef], # (2)
resource: NotRequired[EntityIdentifierTypeDef], # (1)
context: NotRequired[ContextDefinitionTypeDef], # (4)
entities: NotRequired[EntitiesDefinitionTypeDef], # (5)
- See EntityIdentifierTypeDef
- See ActionIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ContextDefinitionTypeDef
- See EntitiesDefinitionTypeDef
IsAuthorizedWithTokenInputRequestTypeDef#
# IsAuthorizedWithTokenInputRequestTypeDef definition
class IsAuthorizedWithTokenInputRequestTypeDef(TypedDict):
policyStoreId: str,
identityToken: NotRequired[str],
accessToken: NotRequired[str],
action: NotRequired[ActionIdentifierTypeDef], # (1)
resource: NotRequired[EntityIdentifierTypeDef], # (2)
context: NotRequired[ContextDefinitionTypeDef], # (3)
entities: NotRequired[EntitiesDefinitionTypeDef], # (4)
- See ActionIdentifierTypeDef
- See EntityIdentifierTypeDef
- See ContextDefinitionTypeDef
- See EntitiesDefinitionTypeDef
ListIdentitySourcesOutputTypeDef#
# ListIdentitySourcesOutputTypeDef definition
class ListIdentitySourcesOutputTypeDef(TypedDict):
identitySources: List[IdentitySourceItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
BatchIsAuthorizedInputRequestTypeDef#
# BatchIsAuthorizedInputRequestTypeDef definition
class BatchIsAuthorizedInputRequestTypeDef(TypedDict):
policyStoreId: str,
requests: Sequence[BatchIsAuthorizedInputItemUnionTypeDef], # (1)
entities: NotRequired[EntitiesDefinitionTypeDef], # (2)
- See BatchIsAuthorizedInputItemTypeDef BatchIsAuthorizedInputItemOutputTypeDef
- See EntitiesDefinitionTypeDef
BatchIsAuthorizedWithTokenInputRequestTypeDef#
# BatchIsAuthorizedWithTokenInputRequestTypeDef definition
class BatchIsAuthorizedWithTokenInputRequestTypeDef(TypedDict):
policyStoreId: str,
requests: Sequence[BatchIsAuthorizedWithTokenInputItemUnionTypeDef], # (1)
identityToken: NotRequired[str],
accessToken: NotRequired[str],
entities: NotRequired[EntitiesDefinitionTypeDef], # (2)