Skip to content

Type definitions#

Index > VerifiedPermissions > Type definitions

Auto-generated documentation for VerifiedPermissions type annotations stubs module mypy-boto3-verifiedpermissions.

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,

ContextDefinitionOutputTypeDef#

# ContextDefinitionOutputTypeDef definition

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

ContextDefinitionTypeDef#

# ContextDefinitionTypeDef definition

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

DeterminingPolicyItemTypeDef#

# DeterminingPolicyItemTypeDef definition

class DeterminingPolicyItemTypeDef(TypedDict):
    policyId: str,

EvaluationErrorItemTypeDef#

# EvaluationErrorItemTypeDef definition

class EvaluationErrorItemTypeDef(TypedDict):
    errorDescription: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[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],

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,

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]]],
  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[Dict[str, Any]]],
    record: NotRequired[Mapping[str, Dict[str, Any]]],
  1. See EntityIdentifierTypeDef

EntityItemTypeDef#

# EntityItemTypeDef definition

class EntityItemTypeDef(TypedDict):
    identifier: EntityIdentifierTypeDef,  # (1)
    attributes: NotRequired[Mapping[str, AttributeValueTypeDef]],  # (2)
    parents: NotRequired[Sequence[EntityIdentifierTypeDef]],  # (3)
  1. See EntityIdentifierTypeDef
  2. See AttributeValueTypeDef
  3. 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