Skip to content

Type definitions#

Index > EFS > Type definitions

Auto-generated documentation for EFS type annotations stubs module mypy-boto3-efs.

PosixUserUnionTypeDef#

# PosixUserUnionTypeDef definition

PosixUserUnionTypeDef = Union[
    PosixUserTypeDef,  # (1)
    PosixUserExtraOutputTypeDef,  # (2)
]
  1. See PosixUserTypeDef
  2. See PosixUserExtraOutputTypeDef

PosixUserOutputTypeDef#

# PosixUserOutputTypeDef definition

class PosixUserOutputTypeDef(TypedDict):
    Uid: int,
    Gid: int,
    SecondaryGids: NotRequired[List[int]],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

BackupPolicyTypeDef#

# BackupPolicyTypeDef definition

class BackupPolicyTypeDef(TypedDict):
    Status: StatusType,  # (1)
  1. See StatusType

PosixUserTypeDef#

# PosixUserTypeDef definition

class PosixUserTypeDef(TypedDict):
    Uid: int,
    Gid: int,
    SecondaryGids: NotRequired[Sequence[int]],

CreateMountTargetRequestRequestTypeDef#

# CreateMountTargetRequestRequestTypeDef definition

class CreateMountTargetRequestRequestTypeDef(TypedDict):
    FileSystemId: str,
    SubnetId: str,
    IpAddress: NotRequired[str],
    SecurityGroups: NotRequired[Sequence[str]],

DestinationToCreateTypeDef#

# DestinationToCreateTypeDef definition

class DestinationToCreateTypeDef(TypedDict):
    Region: NotRequired[str],
    AvailabilityZoneName: NotRequired[str],
    KmsKeyId: NotRequired[str],
    FileSystemId: NotRequired[str],

CreationInfoTypeDef#

# CreationInfoTypeDef definition

class CreationInfoTypeDef(TypedDict):
    OwnerUid: int,
    OwnerGid: int,
    Permissions: str,

DeleteAccessPointRequestRequestTypeDef#

# DeleteAccessPointRequestRequestTypeDef definition

class DeleteAccessPointRequestRequestTypeDef(TypedDict):
    AccessPointId: str,

DeleteFileSystemPolicyRequestRequestTypeDef#

# DeleteFileSystemPolicyRequestRequestTypeDef definition

class DeleteFileSystemPolicyRequestRequestTypeDef(TypedDict):
    FileSystemId: str,

DeleteFileSystemRequestRequestTypeDef#

# DeleteFileSystemRequestRequestTypeDef definition

class DeleteFileSystemRequestRequestTypeDef(TypedDict):
    FileSystemId: str,

DeleteMountTargetRequestRequestTypeDef#

# DeleteMountTargetRequestRequestTypeDef definition

class DeleteMountTargetRequestRequestTypeDef(TypedDict):
    MountTargetId: str,

DeleteReplicationConfigurationRequestRequestTypeDef#

# DeleteReplicationConfigurationRequestRequestTypeDef definition

class DeleteReplicationConfigurationRequestRequestTypeDef(TypedDict):
    SourceFileSystemId: str,

DeleteTagsRequestRequestTypeDef#

# DeleteTagsRequestRequestTypeDef definition

class DeleteTagsRequestRequestTypeDef(TypedDict):
    FileSystemId: str,
    TagKeys: Sequence[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeAccessPointsRequestRequestTypeDef#

# DescribeAccessPointsRequestRequestTypeDef definition

class DescribeAccessPointsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    AccessPointId: NotRequired[str],
    FileSystemId: NotRequired[str],

DescribeAccountPreferencesRequestRequestTypeDef#

# DescribeAccountPreferencesRequestRequestTypeDef definition

class DescribeAccountPreferencesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ResourceIdPreferenceTypeDef#

# ResourceIdPreferenceTypeDef definition

class ResourceIdPreferenceTypeDef(TypedDict):
    ResourceIdType: NotRequired[ResourceIdTypeType],  # (1)
    Resources: NotRequired[List[ResourceType]],  # (2)
  1. See ResourceIdTypeType
  2. See ResourceType

DescribeBackupPolicyRequestRequestTypeDef#

# DescribeBackupPolicyRequestRequestTypeDef definition

class DescribeBackupPolicyRequestRequestTypeDef(TypedDict):
    FileSystemId: str,

DescribeFileSystemPolicyRequestRequestTypeDef#

# DescribeFileSystemPolicyRequestRequestTypeDef definition

class DescribeFileSystemPolicyRequestRequestTypeDef(TypedDict):
    FileSystemId: str,

DescribeFileSystemsRequestRequestTypeDef#

# DescribeFileSystemsRequestRequestTypeDef definition

class DescribeFileSystemsRequestRequestTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    Marker: NotRequired[str],
    CreationToken: NotRequired[str],
    FileSystemId: NotRequired[str],

DescribeLifecycleConfigurationRequestRequestTypeDef#

# DescribeLifecycleConfigurationRequestRequestTypeDef definition

class DescribeLifecycleConfigurationRequestRequestTypeDef(TypedDict):
    FileSystemId: str,

DescribeMountTargetSecurityGroupsRequestRequestTypeDef#

# DescribeMountTargetSecurityGroupsRequestRequestTypeDef definition

class DescribeMountTargetSecurityGroupsRequestRequestTypeDef(TypedDict):
    MountTargetId: str,

DescribeMountTargetsRequestRequestTypeDef#

# DescribeMountTargetsRequestRequestTypeDef definition

class DescribeMountTargetsRequestRequestTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    Marker: NotRequired[str],
    FileSystemId: NotRequired[str],
    MountTargetId: NotRequired[str],
    AccessPointId: NotRequired[str],

MountTargetDescriptionTypeDef#

# MountTargetDescriptionTypeDef definition

class MountTargetDescriptionTypeDef(TypedDict):
    MountTargetId: str,
    FileSystemId: str,
    SubnetId: str,
    LifeCycleState: LifeCycleStateType,  # (1)
    OwnerId: NotRequired[str],
    IpAddress: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    AvailabilityZoneName: NotRequired[str],
    VpcId: NotRequired[str],
  1. See LifeCycleStateType

DescribeReplicationConfigurationsRequestRequestTypeDef#

# DescribeReplicationConfigurationsRequestRequestTypeDef definition

class DescribeReplicationConfigurationsRequestRequestTypeDef(TypedDict):
    FileSystemId: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

DescribeTagsRequestRequestTypeDef#

# DescribeTagsRequestRequestTypeDef definition

class DescribeTagsRequestRequestTypeDef(TypedDict):
    FileSystemId: str,
    MaxItems: NotRequired[int],
    Marker: NotRequired[str],

DestinationTypeDef#

# DestinationTypeDef definition

class DestinationTypeDef(TypedDict):
    Status: ReplicationStatusType,  # (1)
    FileSystemId: str,
    Region: str,
    LastReplicatedTimestamp: NotRequired[datetime],
  1. See ReplicationStatusType

FileSystemProtectionDescriptionTypeDef#

# FileSystemProtectionDescriptionTypeDef definition

class FileSystemProtectionDescriptionTypeDef(TypedDict):
    ReplicationOverwriteProtection: NotRequired[ReplicationOverwriteProtectionType],  # (1)
  1. See ReplicationOverwriteProtectionType

FileSystemSizeTypeDef#

# FileSystemSizeTypeDef definition

class FileSystemSizeTypeDef(TypedDict):
    Value: int,
    Timestamp: NotRequired[datetime],
    ValueInIA: NotRequired[int],
    ValueInStandard: NotRequired[int],
    ValueInArchive: NotRequired[int],

LifecyclePolicyTypeDef#

# LifecyclePolicyTypeDef definition

class LifecyclePolicyTypeDef(TypedDict):
    TransitionToIA: NotRequired[TransitionToIARulesType],  # (1)
    TransitionToPrimaryStorageClass: NotRequired[TransitionToPrimaryStorageClassRulesType],  # (2)
    TransitionToArchive: NotRequired[TransitionToArchiveRulesType],  # (3)
  1. See TransitionToIARulesType
  2. See TransitionToPrimaryStorageClassRulesType
  3. See TransitionToArchiveRulesType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],