Skip to content

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)
]
  1. See AttributeValueTypeDef
  2. See AttributeValueOutputTypeDef

ContextDefinitionUnionTypeDef#

# ContextDefinitionUnionTypeDef definition

ContextDefinitionUnionTypeDef = Union[
    ContextDefinitionTypeDef,  # (1)
    ContextDefinitionOutputTypeDef,  # (2)
]
  1. See ContextDefinitionTypeDef
  2. See ContextDefinitionOutputTypeDef

BatchIsAuthorizedInputItemUnionTypeDef#

# BatchIsAuthorizedInputItemUnionTypeDef definition

BatchIsAuthorizedInputItemUnionTypeDef = Union[
    BatchIsAuthorizedInputItemTypeDef,  # (1)
    BatchIsAuthorizedInputItemOutputTypeDef,  # (2)
]
  1. See BatchIsAuthorizedInputItemTypeDef
  2. See BatchIsAuthorizedInputItemOutputTypeDef

BatchIsAuthorizedWithTokenInputItemUnionTypeDef#

# BatchIsAuthorizedWithTokenInputItemUnionTypeDef definition

BatchIsAuthorizedWithTokenInputItemUnionTypeDef = Union[
    BatchIsAuthorizedWithTokenInputItemTypeDef,  # (1)
    BatchIsAuthorizedWithTokenInputItemOutputTypeDef,  # (2)
]
  1. See BatchIsAuthorizedWithTokenInputItemTypeDef
  2. See BatchIsAuthorizedWithTokenInputItemOutputTypeDef

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,
  1. See BatchGetPolicyErrorCodeType

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)
  1. See ValidationModeType

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)
  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)
  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],
  1. See EntityIdentifierTypeDef

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],
  1. See EntityIdentifierTypeDef

EntityReferenceTypeDef#

# EntityReferenceTypeDef definition

class EntityReferenceTypeDef(TypedDict):
    unspecified: NotRequired[bool],
    identifier: NotRequired[EntityIdentifierTypeDef],  # (1)
  1. See EntityIdentifierTypeDef

TemplateLinkedPolicyDefinitionDetailTypeDef#

# TemplateLinkedPolicyDefinitionDetailTypeDef definition

class TemplateLinkedPolicyDefinitionDetailTypeDef(TypedDict):
    policyTemplateId: str,
    principal: NotRequired[EntityIdentifierTypeDef],  # (1)
    resource: NotRequired[EntityIdentifierTypeDef],  # (1)
  1. See EntityIdentifierTypeDef
  2. See EntityIdentifierTypeDef

TemplateLinkedPolicyDefinitionItemTypeDef#

# TemplateLinkedPolicyDefinitionItemTypeDef definition

class TemplateLinkedPolicyDefinitionItemTypeDef(TypedDict):
    policyTemplateId: str,
    principal: NotRequired[EntityIdentifierTypeDef],  # (1)
    resource: NotRequired[EntityIdentifierTypeDef],  # (1)
  1. See EntityIdentifierTypeDef
  2. See EntityIdentifierTypeDef

TemplateLinkedPolicyDefinitionTypeDef#

# TemplateLinkedPolicyDefinitionTypeDef definition

class TemplateLinkedPolicyDefinitionTypeDef(TypedDict):
    policyTemplateId: str,
    principal: NotRequired[EntityIdentifierTypeDef],  # (1)
    resource: NotRequired[EntityIdentifierTypeDef],  # (1)
  1. See EntityIdentifierTypeDef
  2. See EntityIdentifierTypeDef

BatchGetPolicyInputRequestTypeDef#

# BatchGetPolicyInputRequestTypeDef definition

class BatchGetPolicyInputRequestTypeDef(TypedDict):
    requests: Sequence[BatchGetPolicyInputItemTypeDef],  # (1)
  1. See BatchGetPolicyInputItemTypeDef

CreateIdentitySourceOutputTypeDef#

# CreateIdentitySourceOutputTypeDef definition

class CreateIdentitySourceOutputTypeDef(TypedDict):
    createdDate: datetime,
    identitySourceId: str,
    lastUpdatedDate: datetime,
    policyStoreId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

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)
  1. See PolicyTypeType
  2. See EntityIdentifierTypeDef
  3. See EntityIdentifierTypeDef
  4. See ActionIdentifierTypeDef
  5. See PolicyEffectType
  6. See ResponseMetadataTypeDef

CreatePolicyStoreOutputTypeDef#

# CreatePolicyStoreOutputTypeDef definition

class CreatePolicyStoreOutputTypeDef(TypedDict):
    policyStoreId: str,
    arn: str,
    createdDate: datetime,
    lastUpdatedDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreatePolicyTemplateOutputTypeDef#

# CreatePolicyTemplateOutputTypeDef definition

class CreatePolicyTemplateOutputTypeDef(TypedDict):
    policyStoreId: str,
    policyTemplateId: str,
    createdDate: datetime,
    lastUpdatedDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPolicyTemplateOutputTypeDef#

# GetPolicyTemplateOutputTypeDef definition

class GetPolicyTemplateOutputTypeDef(TypedDict):
    policyStoreId: str,
    policyTemplateId: str,
    description: str,
    statement: str,
    createdDate: datetime,
    lastUpdatedDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetSchemaOutputTypeDef#

# GetSchemaOutputTypeDef definition

class GetSchemaOutputTypeDef(TypedDict):
    policyStoreId: str,
    schema: str,
    createdDate: datetime,
    lastUpdatedDate: datetime,
    namespaces: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutSchemaOutputTypeDef#

# PutSchemaOutputTypeDef definition

class PutSchemaOutputTypeDef(TypedDict):
    policyStoreId: str,
    namespaces: list[str],
    createdDate: datetime,
    lastUpdatedDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateIdentitySourceOutputTypeDef#

# UpdateIdentitySourceOutputTypeDef definition

class UpdateIdentitySourceOutputTypeDef(TypedDict):
    createdDate: datetime,
    identitySourceId: str,
    lastUpdatedDate: datetime,
    policyStoreId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

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)
  1. See PolicyTypeType
  2. See EntityIdentifierTypeDef
  3. See EntityIdentifierTypeDef
  4. See ActionIdentifierTypeDef
  5. See PolicyEffectType
  6. See ResponseMetadataTypeDef

UpdatePolicyStoreOutputTypeDef#

# UpdatePolicyStoreOutputTypeDef definition

class UpdatePolicyStoreOutputTypeDef(TypedDict):
    policyStoreId: str,
    arn: str,
    createdDate: datetime,
    lastUpdatedDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdatePolicyTemplateOutputTypeDef#

# UpdatePolicyTemplateOutputTypeDef definition

class UpdatePolicyTemplateOutputTypeDef(TypedDict):
    policyStoreId: str,
    policyTemplateId: str,
    createdDate: datetime,
    lastUpdatedDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

IsAuthorizedOutputTypeDef#

# IsAuthorizedOutputTypeDef definition

class IsAuthorizedOutputTypeDef(TypedDict):
    decision: DecisionType,  # (1)
    determiningPolicies: list[DeterminingPolicyItemTypeDef],  # (2)
    errors: list[EvaluationErrorItemTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See DecisionType
  2. See DeterminingPolicyItemTypeDef
  3. See EvaluationErrorItemTypeDef
  4. 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)
  1. See DecisionType
  2. See DeterminingPolicyItemTypeDef
  3. See EvaluationErrorItemTypeDef
  4. See EntityIdentifierTypeDef
  5. See ResponseMetadataTypeDef

CognitoUserPoolConfigurationDetailTypeDef#

# CognitoUserPoolConfigurationDetailTypeDef definition

class CognitoUserPoolConfigurationDetailTypeDef(TypedDict):
    userPoolArn: str,
    clientIds: list[str],
    issuer: str,
    groupConfiguration: NotRequired[CognitoGroupConfigurationDetailTypeDef],  # (1)
  1. See CognitoGroupConfigurationDetailTypeDef

CognitoUserPoolConfigurationItemTypeDef#

# CognitoUserPoolConfigurationItemTypeDef definition

class CognitoUserPoolConfigurationItemTypeDef(TypedDict):
    userPoolArn: str,
    clientIds: list[str],
    issuer: str,
    groupConfiguration: NotRequired[CognitoGroupConfigurationItemTypeDef],  # (1)
  1. See CognitoGroupConfigurationItemTypeDef

CognitoUserPoolConfigurationTypeDef#

# CognitoUserPoolConfigurationTypeDef definition

class CognitoUserPoolConfigurationTypeDef(TypedDict):
    userPoolArn: str,
    clientIds: NotRequired[Sequence[str]],
    groupConfiguration: NotRequired[CognitoGroupConfigurationTypeDef],  # (1)
  1. See CognitoGroupConfigurationTypeDef

CreatePolicyStoreInputRequestTypeDef#

# CreatePolicyStoreInputRequestTypeDef definition

class CreatePolicyStoreInputRequestTypeDef(TypedDict):
    validationSettings: ValidationSettingsTypeDef,  # (1)
    clientToken: NotRequired[str],
    description: NotRequired[str],
  1. See ValidationSettingsTypeDef

GetPolicyStoreOutputTypeDef#

# GetPolicyStoreOutputTypeDef definition

class GetPolicyStoreOutputTypeDef(TypedDict):
    policyStoreId: str,
    arn: str,
    validationSettings: ValidationSettingsTypeDef,  # (1)
    createdDate: datetime,
    lastUpdatedDate: datetime,
    description: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ValidationSettingsTypeDef
  2. See ResponseMetadataTypeDef

UpdatePolicyStoreInputRequestTypeDef#

# UpdatePolicyStoreInputRequestTypeDef definition

class UpdatePolicyStoreInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    validationSettings: ValidationSettingsTypeDef,  # (1)
    description: NotRequired[str],
  1. See ValidationSettingsTypeDef

ListIdentitySourcesInputRequestTypeDef#

# ListIdentitySourcesInputRequestTypeDef definition

class ListIdentitySourcesInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filters: NotRequired[Sequence[IdentitySourceFilterTypeDef]],  # (1)
  1. See IdentitySourceFilterTypeDef

ListIdentitySourcesInputPaginateTypeDef#

# ListIdentitySourcesInputPaginateTypeDef definition

class ListIdentitySourcesInputPaginateTypeDef(TypedDict):
    policyStoreId: str,
    filters: NotRequired[Sequence[IdentitySourceFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See IdentitySourceFilterTypeDef
  2. See PaginatorConfigTypeDef

ListPolicyStoresInputPaginateTypeDef#

# ListPolicyStoresInputPaginateTypeDef definition

class ListPolicyStoresInputPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPolicyTemplatesInputPaginateTypeDef#

# ListPolicyTemplatesInputPaginateTypeDef definition

class ListPolicyTemplatesInputPaginateTypeDef(TypedDict):
    policyStoreId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPolicyStoresOutputTypeDef#

# ListPolicyStoresOutputTypeDef definition

class ListPolicyStoresOutputTypeDef(TypedDict):
    policyStores: list[PolicyStoreItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PolicyStoreItemTypeDef
  2. See ResponseMetadataTypeDef

ListPolicyTemplatesOutputTypeDef#

# ListPolicyTemplatesOutputTypeDef definition

class ListPolicyTemplatesOutputTypeDef(TypedDict):
    policyTemplates: list[PolicyTemplateItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PolicyTemplateItemTypeDef
  2. See ResponseMetadataTypeDef

OpenIdConnectTokenSelectionDetailTypeDef#

# OpenIdConnectTokenSelectionDetailTypeDef definition

class OpenIdConnectTokenSelectionDetailTypeDef(TypedDict):
    accessTokenOnly: NotRequired[OpenIdConnectAccessTokenConfigurationDetailTypeDef],  # (1)
    identityTokenOnly: NotRequired[OpenIdConnectIdentityTokenConfigurationDetailTypeDef],  # (2)
  1. See OpenIdConnectAccessTokenConfigurationDetailTypeDef
  2. See OpenIdConnectIdentityTokenConfigurationDetailTypeDef

OpenIdConnectTokenSelectionItemTypeDef#

# OpenIdConnectTokenSelectionItemTypeDef definition

class OpenIdConnectTokenSelectionItemTypeDef(TypedDict):
    accessTokenOnly: NotRequired[OpenIdConnectAccessTokenConfigurationItemTypeDef],  # (1)
    identityTokenOnly: NotRequired[OpenIdConnectIdentityTokenConfigurationItemTypeDef],  # (2)
  1. See OpenIdConnectAccessTokenConfigurationItemTypeDef
  2. See OpenIdConnectIdentityTokenConfigurationItemTypeDef

OpenIdConnectTokenSelectionTypeDef#

# OpenIdConnectTokenSelectionTypeDef definition

class OpenIdConnectTokenSelectionTypeDef(TypedDict):
    accessTokenOnly: NotRequired[OpenIdConnectAccessTokenConfigurationTypeDef],  # (1)
    identityTokenOnly: NotRequired[OpenIdConnectIdentityTokenConfigurationTypeDef],  # (2)
  1. See OpenIdConnectAccessTokenConfigurationTypeDef
  2. See OpenIdConnectIdentityTokenConfigurationTypeDef

PutSchemaInputRequestTypeDef#

# PutSchemaInputRequestTypeDef definition

class PutSchemaInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    definition: SchemaDefinitionTypeDef,  # (1)
  1. See SchemaDefinitionTypeDef

UpdateCognitoUserPoolConfigurationTypeDef#

# UpdateCognitoUserPoolConfigurationTypeDef definition

class UpdateCognitoUserPoolConfigurationTypeDef(TypedDict):
    userPoolArn: str,
    clientIds: NotRequired[Sequence[str]],
    groupConfiguration: NotRequired[UpdateCognitoGroupConfigurationTypeDef],  # (1)
  1. See UpdateCognitoGroupConfigurationTypeDef

UpdateOpenIdConnectTokenSelectionTypeDef#

# UpdateOpenIdConnectTokenSelectionTypeDef definition

class UpdateOpenIdConnectTokenSelectionTypeDef(TypedDict):
    accessTokenOnly: NotRequired[UpdateOpenIdConnectAccessTokenConfigurationTypeDef],  # (1)
    identityTokenOnly: NotRequired[UpdateOpenIdConnectIdentityTokenConfigurationTypeDef],  # (2)
  1. See UpdateOpenIdConnectAccessTokenConfigurationTypeDef
  2. See UpdateOpenIdConnectIdentityTokenConfigurationTypeDef

UpdatePolicyDefinitionTypeDef#

# UpdatePolicyDefinitionTypeDef definition

class UpdatePolicyDefinitionTypeDef(TypedDict):
    static: NotRequired[UpdateStaticPolicyDefinitionTypeDef],  # (1)
  1. See UpdateStaticPolicyDefinitionTypeDef

ContextDefinitionOutputTypeDef#

# ContextDefinitionOutputTypeDef definition

class ContextDefinitionOutputTypeDef(TypedDict):
    contextMap: NotRequired[dict[str, AttributeValueOutputTypeDef]],  # (1)
  1. See AttributeValueOutputTypeDef

PolicyFilterTypeDef#

# PolicyFilterTypeDef definition

class PolicyFilterTypeDef(TypedDict):
    principal: NotRequired[EntityReferenceTypeDef],  # (1)
    resource: NotRequired[EntityReferenceTypeDef],  # (1)
    policyType: NotRequired[PolicyTypeType],  # (3)
    policyTemplateId: NotRequired[str],
  1. See EntityReferenceTypeDef
  2. See EntityReferenceTypeDef
  3. See PolicyTypeType

PolicyDefinitionDetailTypeDef#

# PolicyDefinitionDetailTypeDef definition

class PolicyDefinitionDetailTypeDef(TypedDict):
    static: NotRequired[StaticPolicyDefinitionDetailTypeDef],  # (1)
    templateLinked: NotRequired[TemplateLinkedPolicyDefinitionDetailTypeDef],  # (2)
  1. See StaticPolicyDefinitionDetailTypeDef
  2. See TemplateLinkedPolicyDefinitionDetailTypeDef

PolicyDefinitionItemTypeDef#

# PolicyDefinitionItemTypeDef definition

class PolicyDefinitionItemTypeDef(TypedDict):
    static: NotRequired[StaticPolicyDefinitionItemTypeDef],  # (1)
    templateLinked: NotRequired[TemplateLinkedPolicyDefinitionItemTypeDef],  # (2)
  1. See StaticPolicyDefinitionItemTypeDef
  2. See TemplateLinkedPolicyDefinitionItemTypeDef

PolicyDefinitionTypeDef#

# PolicyDefinitionTypeDef definition

class PolicyDefinitionTypeDef(TypedDict):
    static: NotRequired[StaticPolicyDefinitionTypeDef],  # (1)
    templateLinked: NotRequired[TemplateLinkedPolicyDefinitionTypeDef],  # (2)
  1. See StaticPolicyDefinitionTypeDef
  2. See TemplateLinkedPolicyDefinitionTypeDef

OpenIdConnectConfigurationDetailTypeDef#

# OpenIdConnectConfigurationDetailTypeDef definition

class OpenIdConnectConfigurationDetailTypeDef(TypedDict):
    issuer: str,
    tokenSelection: OpenIdConnectTokenSelectionDetailTypeDef,  # (2)
    entityIdPrefix: NotRequired[str],
    groupConfiguration: NotRequired[OpenIdConnectGroupConfigurationDetailTypeDef],  # (1)
  1. See OpenIdConnectGroupConfigurationDetailTypeDef
  2. See OpenIdConnectTokenSelectionDetailTypeDef

OpenIdConnectConfigurationItemTypeDef#

# OpenIdConnectConfigurationItemTypeDef definition

class OpenIdConnectConfigurationItemTypeDef(TypedDict):
    issuer: str,
    tokenSelection: OpenIdConnectTokenSelectionItemTypeDef,  # (2)
    entityIdPrefix: NotRequired[str],
    groupConfiguration: NotRequired[OpenIdConnectGroupConfigurationItemTypeDef],  # (1)
  1. See OpenIdConnectGroupConfigurationItemTypeDef
  2. See OpenIdConnectTokenSelectionItemTypeDef

OpenIdConnectConfigurationTypeDef#

# OpenIdConnectConfigurationTypeDef definition

class OpenIdConnectConfigurationTypeDef(TypedDict):
    issuer: str,
    tokenSelection: OpenIdConnectTokenSelectionTypeDef,  # (2)
    entityIdPrefix: NotRequired[str],
    groupConfiguration: NotRequired[OpenIdConnectGroupConfigurationTypeDef],  # (1)
  1. See OpenIdConnectGroupConfigurationTypeDef
  2. See OpenIdConnectTokenSelectionTypeDef

UpdateOpenIdConnectConfigurationTypeDef#

# UpdateOpenIdConnectConfigurationTypeDef definition

class UpdateOpenIdConnectConfigurationTypeDef(TypedDict):
    issuer: str,
    tokenSelection: UpdateOpenIdConnectTokenSelectionTypeDef,  # (2)
    entityIdPrefix: NotRequired[str],
    groupConfiguration: NotRequired[UpdateOpenIdConnectGroupConfigurationTypeDef],  # (1)
  1. See UpdateOpenIdConnectGroupConfigurationTypeDef
  2. See UpdateOpenIdConnectTokenSelectionTypeDef

UpdatePolicyInputRequestTypeDef#

# UpdatePolicyInputRequestTypeDef definition

class UpdatePolicyInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    policyId: str,
    definition: UpdatePolicyDefinitionTypeDef,  # (1)
  1. See UpdatePolicyDefinitionTypeDef

BatchIsAuthorizedInputItemOutputTypeDef#

# BatchIsAuthorizedInputItemOutputTypeDef definition

class BatchIsAuthorizedInputItemOutputTypeDef(TypedDict):
    principal: NotRequired[EntityIdentifierTypeDef],  # (1)
    action: NotRequired[ActionIdentifierTypeDef],  # (2)
    resource: NotRequired[EntityIdentifierTypeDef],  # (1)
    context: NotRequired[ContextDefinitionOutputTypeDef],  # (4)
  1. See EntityIdentifierTypeDef
  2. See ActionIdentifierTypeDef
  3. See EntityIdentifierTypeDef
  4. See ContextDefinitionOutputTypeDef

BatchIsAuthorizedWithTokenInputItemOutputTypeDef#

# BatchIsAuthorizedWithTokenInputItemOutputTypeDef definition

class BatchIsAuthorizedWithTokenInputItemOutputTypeDef(TypedDict):
    action: NotRequired[ActionIdentifierTypeDef],  # (1)
    resource: NotRequired[EntityIdentifierTypeDef],  # (2)
    context: NotRequired[ContextDefinitionOutputTypeDef],  # (3)
  1. See ActionIdentifierTypeDef
  2. See EntityIdentifierTypeDef
  3. See ContextDefinitionOutputTypeDef

ContextDefinitionTypeDef#

# ContextDefinitionTypeDef definition

class ContextDefinitionTypeDef(TypedDict):
    contextMap: NotRequired[Mapping[str, AttributeValueUnionTypeDef]],  # (1)
  1. See AttributeValueTypeDef AttributeValueOutputTypeDef

EntityItemTypeDef#

# EntityItemTypeDef definition

class EntityItemTypeDef(TypedDict):
    identifier: EntityIdentifierTypeDef,  # (1)
    attributes: NotRequired[Mapping[str, AttributeValueUnionTypeDef]],  # (2)
    parents: NotRequired[Sequence[EntityIdentifierTypeDef]],  # (3)
  1. See EntityIdentifierTypeDef
  2. See AttributeValueTypeDef AttributeValueOutputTypeDef
  3. See EntityIdentifierTypeDef

ListPoliciesInputPaginateTypeDef#

# ListPoliciesInputPaginateTypeDef definition

class ListPoliciesInputPaginateTypeDef(TypedDict):
    policyStoreId: str,
    filter: NotRequired[PolicyFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See PolicyFilterTypeDef
  2. See PaginatorConfigTypeDef

ListPoliciesInputRequestTypeDef#

# ListPoliciesInputRequestTypeDef definition

class ListPoliciesInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filter: NotRequired[PolicyFilterTypeDef],  # (1)
  1. See PolicyFilterTypeDef

BatchGetPolicyOutputItemTypeDef#

# BatchGetPolicyOutputItemTypeDef definition

class BatchGetPolicyOutputItemTypeDef(TypedDict):
    policyStoreId: str,
    policyId: str,
    policyType: PolicyTypeType,  # (1)
    definition: PolicyDefinitionDetailTypeDef,  # (2)
    createdDate: datetime,
    lastUpdatedDate: datetime,
  1. See PolicyTypeType
  2. See PolicyDefinitionDetailTypeDef

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)
  1. See PolicyTypeType
  2. See EntityIdentifierTypeDef
  3. See EntityIdentifierTypeDef
  4. See ActionIdentifierTypeDef
  5. See PolicyDefinitionDetailTypeDef
  6. See PolicyEffectType
  7. 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)
  1. See PolicyTypeType
  2. See EntityIdentifierTypeDef
  3. See EntityIdentifierTypeDef
  4. See ActionIdentifierTypeDef
  5. See PolicyDefinitionItemTypeDef
  6. See PolicyEffectType

CreatePolicyInputRequestTypeDef#

# CreatePolicyInputRequestTypeDef definition

class CreatePolicyInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    definition: PolicyDefinitionTypeDef,  # (1)
    clientToken: NotRequired[str],
  1. See PolicyDefinitionTypeDef

ConfigurationDetailTypeDef#

# ConfigurationDetailTypeDef definition

class ConfigurationDetailTypeDef(TypedDict):
    cognitoUserPoolConfiguration: NotRequired[CognitoUserPoolConfigurationDetailTypeDef],  # (1)
    openIdConnectConfiguration: NotRequired[OpenIdConnectConfigurationDetailTypeDef],  # (2)
  1. See CognitoUserPoolConfigurationDetailTypeDef
  2. See OpenIdConnectConfigurationDetailTypeDef

ConfigurationItemTypeDef#

# ConfigurationItemTypeDef definition

class ConfigurationItemTypeDef(TypedDict):
    cognitoUserPoolConfiguration: NotRequired[CognitoUserPoolConfigurationItemTypeDef],  # (1)
    openIdConnectConfiguration: NotRequired[OpenIdConnectConfigurationItemTypeDef],  # (2)
  1. See CognitoUserPoolConfigurationItemTypeDef
  2. See OpenIdConnectConfigurationItemTypeDef

ConfigurationTypeDef#

# ConfigurationTypeDef definition

class ConfigurationTypeDef(TypedDict):
    cognitoUserPoolConfiguration: NotRequired[CognitoUserPoolConfigurationTypeDef],  # (1)
    openIdConnectConfiguration: NotRequired[OpenIdConnectConfigurationTypeDef],  # (2)
  1. See CognitoUserPoolConfigurationTypeDef
  2. See OpenIdConnectConfigurationTypeDef

UpdateConfigurationTypeDef#

# UpdateConfigurationTypeDef definition

class UpdateConfigurationTypeDef(TypedDict):
    cognitoUserPoolConfiguration: NotRequired[UpdateCognitoUserPoolConfigurationTypeDef],  # (1)
    openIdConnectConfiguration: NotRequired[UpdateOpenIdConnectConfigurationTypeDef],  # (2)
  1. See UpdateCognitoUserPoolConfigurationTypeDef
  2. See UpdateOpenIdConnectConfigurationTypeDef

BatchIsAuthorizedOutputItemTypeDef#

# BatchIsAuthorizedOutputItemTypeDef definition

class BatchIsAuthorizedOutputItemTypeDef(TypedDict):
    request: BatchIsAuthorizedInputItemOutputTypeDef,  # (1)
    decision: DecisionType,  # (2)
    determiningPolicies: list[DeterminingPolicyItemTypeDef],  # (3)
    errors: list[EvaluationErrorItemTypeDef],  # (4)
  1. See BatchIsAuthorizedInputItemOutputTypeDef
  2. See DecisionType
  3. See DeterminingPolicyItemTypeDef
  4. See EvaluationErrorItemTypeDef

BatchIsAuthorizedWithTokenOutputItemTypeDef#

# BatchIsAuthorizedWithTokenOutputItemTypeDef definition

class BatchIsAuthorizedWithTokenOutputItemTypeDef(TypedDict):
    request: BatchIsAuthorizedWithTokenInputItemOutputTypeDef,  # (1)
    decision: DecisionType,  # (2)
    determiningPolicies: list[DeterminingPolicyItemTypeDef],  # (3)
    errors: list[EvaluationErrorItemTypeDef],  # (4)
  1. See BatchIsAuthorizedWithTokenInputItemOutputTypeDef
  2. See DecisionType
  3. See DeterminingPolicyItemTypeDef
  4. See EvaluationErrorItemTypeDef

EntitiesDefinitionTypeDef#

# EntitiesDefinitionTypeDef definition

class EntitiesDefinitionTypeDef(TypedDict):
    entityList: NotRequired[Sequence[EntityItemTypeDef]],  # (1)
  1. See EntityItemTypeDef

BatchGetPolicyOutputTypeDef#

# BatchGetPolicyOutputTypeDef definition

class BatchGetPolicyOutputTypeDef(TypedDict):
    results: list[BatchGetPolicyOutputItemTypeDef],  # (1)
    errors: list[BatchGetPolicyErrorItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchGetPolicyOutputItemTypeDef
  2. See BatchGetPolicyErrorItemTypeDef
  3. See ResponseMetadataTypeDef

ListPoliciesOutputTypeDef#

# ListPoliciesOutputTypeDef definition

class ListPoliciesOutputTypeDef(TypedDict):
    policies: list[PolicyItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PolicyItemTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See IdentitySourceDetailsTypeDef
  2. See ConfigurationDetailTypeDef
  3. See ResponseMetadataTypeDef

IdentitySourceItemTypeDef#

# IdentitySourceItemTypeDef definition

class IdentitySourceItemTypeDef(TypedDict):
    createdDate: datetime,
    identitySourceId: str,
    lastUpdatedDate: datetime,
    policyStoreId: str,
    principalEntityType: str,
    details: NotRequired[IdentitySourceItemDetailsTypeDef],  # (1)
    configuration: NotRequired[ConfigurationItemTypeDef],  # (2)
  1. See IdentitySourceItemDetailsTypeDef
  2. See ConfigurationItemTypeDef

CreateIdentitySourceInputRequestTypeDef#

# CreateIdentitySourceInputRequestTypeDef definition

class CreateIdentitySourceInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    configuration: ConfigurationTypeDef,  # (1)
    clientToken: NotRequired[str],
    principalEntityType: NotRequired[str],
  1. See ConfigurationTypeDef

UpdateIdentitySourceInputRequestTypeDef#

# UpdateIdentitySourceInputRequestTypeDef definition

class UpdateIdentitySourceInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    identitySourceId: str,
    updateConfiguration: UpdateConfigurationTypeDef,  # (1)
    principalEntityType: NotRequired[str],
  1. See UpdateConfigurationTypeDef

BatchIsAuthorizedOutputTypeDef#

# BatchIsAuthorizedOutputTypeDef definition

class BatchIsAuthorizedOutputTypeDef(TypedDict):
    results: list[BatchIsAuthorizedOutputItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchIsAuthorizedOutputItemTypeDef
  2. See ResponseMetadataTypeDef

BatchIsAuthorizedWithTokenOutputTypeDef#

# BatchIsAuthorizedWithTokenOutputTypeDef definition

class BatchIsAuthorizedWithTokenOutputTypeDef(TypedDict):
    principal: EntityIdentifierTypeDef,  # (1)
    results: list[BatchIsAuthorizedWithTokenOutputItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See EntityIdentifierTypeDef
  2. See BatchIsAuthorizedWithTokenOutputItemTypeDef
  3. See ResponseMetadataTypeDef

BatchIsAuthorizedInputItemTypeDef#

# BatchIsAuthorizedInputItemTypeDef definition

class BatchIsAuthorizedInputItemTypeDef(TypedDict):
    principal: NotRequired[EntityIdentifierTypeDef],  # (1)
    action: NotRequired[ActionIdentifierTypeDef],  # (2)
    resource: NotRequired[EntityIdentifierTypeDef],  # (1)
    context: NotRequired[ContextDefinitionUnionTypeDef],  # (4)
  1. See EntityIdentifierTypeDef
  2. See ActionIdentifierTypeDef
  3. See EntityIdentifierTypeDef
  4. See ContextDefinitionTypeDef ContextDefinitionOutputTypeDef

BatchIsAuthorizedWithTokenInputItemTypeDef#

# BatchIsAuthorizedWithTokenInputItemTypeDef definition

class BatchIsAuthorizedWithTokenInputItemTypeDef(TypedDict):
    action: NotRequired[ActionIdentifierTypeDef],  # (1)
    resource: NotRequired[EntityIdentifierTypeDef],  # (2)
    context: NotRequired[ContextDefinitionUnionTypeDef],  # (3)
  1. See ActionIdentifierTypeDef
  2. See EntityIdentifierTypeDef
  3. 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)
  1. See EntityIdentifierTypeDef
  2. See ActionIdentifierTypeDef
  3. See EntityIdentifierTypeDef
  4. See ContextDefinitionTypeDef
  5. 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)
  1. See ActionIdentifierTypeDef
  2. See EntityIdentifierTypeDef
  3. See ContextDefinitionTypeDef
  4. See EntitiesDefinitionTypeDef

ListIdentitySourcesOutputTypeDef#

# ListIdentitySourcesOutputTypeDef definition

class ListIdentitySourcesOutputTypeDef(TypedDict):
    identitySources: list[IdentitySourceItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See IdentitySourceItemTypeDef
  2. See ResponseMetadataTypeDef

BatchIsAuthorizedInputRequestTypeDef#

# BatchIsAuthorizedInputRequestTypeDef definition

class BatchIsAuthorizedInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    requests: Sequence[BatchIsAuthorizedInputItemUnionTypeDef],  # (1)
    entities: NotRequired[EntitiesDefinitionTypeDef],  # (2)
  1. See BatchIsAuthorizedInputItemTypeDef BatchIsAuthorizedInputItemOutputTypeDef
  2. See EntitiesDefinitionTypeDef

BatchIsAuthorizedWithTokenInputRequestTypeDef#

# BatchIsAuthorizedWithTokenInputRequestTypeDef definition

class BatchIsAuthorizedWithTokenInputRequestTypeDef(TypedDict):
    policyStoreId: str,
    requests: Sequence[BatchIsAuthorizedWithTokenInputItemUnionTypeDef],  # (1)
    identityToken: NotRequired[str],
    accessToken: NotRequired[str],
    entities: NotRequired[EntitiesDefinitionTypeDef],  # (2)
  1. See BatchIsAuthorizedWithTokenInputItemTypeDef BatchIsAuthorizedWithTokenInputItemOutputTypeDef
  2. See EntitiesDefinitionTypeDef