Skip to content

Type definitions#

Index > DirectoryService > Type definitions

Auto-generated documentation for DirectoryService type annotations stubs module mypy-boto3-ds.

AcceptSharedDirectoryRequestRequestTypeDef#

# AcceptSharedDirectoryRequestRequestTypeDef definition

class AcceptSharedDirectoryRequestRequestTypeDef(TypedDict):
    SharedDirectoryId: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

SharedDirectoryTypeDef#

# SharedDirectoryTypeDef definition

class SharedDirectoryTypeDef(TypedDict):
    OwnerAccountId: NotRequired[str],
    OwnerDirectoryId: NotRequired[str],
    ShareMethod: NotRequired[ShareMethodType],  # (1)
    SharedAccountId: NotRequired[str],
    SharedDirectoryId: NotRequired[str],
    ShareStatus: NotRequired[ShareStatusType],  # (2)
    ShareNotes: NotRequired[str],
    CreatedDateTime: NotRequired[datetime],
    LastUpdatedDateTime: NotRequired[datetime],
  1. See ShareMethodType
  2. See ShareStatusType

IpRouteTypeDef#

# IpRouteTypeDef definition

class IpRouteTypeDef(TypedDict):
    CidrIp: NotRequired[str],
    Description: NotRequired[str],

DirectoryVpcSettingsTypeDef#

# DirectoryVpcSettingsTypeDef definition

class DirectoryVpcSettingsTypeDef(TypedDict):
    VpcId: str,
    SubnetIds: Sequence[str],

TagTypeDef#

# TagTypeDef definition

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

AttributeTypeDef#

# AttributeTypeDef definition

class AttributeTypeDef(TypedDict):
    Name: NotRequired[str],
    Value: NotRequired[str],

CancelSchemaExtensionRequestRequestTypeDef#

# CancelSchemaExtensionRequestRequestTypeDef definition

class CancelSchemaExtensionRequestRequestTypeDef(TypedDict):
    DirectoryId: str,
    SchemaExtensionId: str,

CertificateInfoTypeDef#

# CertificateInfoTypeDef definition

class CertificateInfoTypeDef(TypedDict):
    CertificateId: NotRequired[str],
    CommonName: NotRequired[str],
    State: NotRequired[CertificateStateType],  # (1)
    ExpiryDateTime: NotRequired[datetime],
    Type: NotRequired[CertificateTypeType],  # (2)
  1. See CertificateStateType
  2. See CertificateTypeType

ClientCertAuthSettingsTypeDef#

# ClientCertAuthSettingsTypeDef definition

class ClientCertAuthSettingsTypeDef(TypedDict):
    OCSPUrl: NotRequired[str],

ClientAuthenticationSettingInfoTypeDef#

# ClientAuthenticationSettingInfoTypeDef definition

class ClientAuthenticationSettingInfoTypeDef(TypedDict):
    Type: NotRequired[ClientAuthenticationTypeType],  # (1)
    Status: NotRequired[ClientAuthenticationStatusType],  # (2)
    LastUpdatedDateTime: NotRequired[datetime],
  1. See ClientAuthenticationTypeType
  2. See ClientAuthenticationStatusType

ConditionalForwarderTypeDef#

# ConditionalForwarderTypeDef definition

class ConditionalForwarderTypeDef(TypedDict):
    RemoteDomainName: NotRequired[str],
    DnsIpAddrs: NotRequired[List[str]],
    ReplicationScope: NotRequired[ReplicationScopeType],  # (1)
  1. See ReplicationScopeType

DirectoryConnectSettingsTypeDef#

# DirectoryConnectSettingsTypeDef definition

class DirectoryConnectSettingsTypeDef(TypedDict):
    VpcId: str,
    SubnetIds: Sequence[str],
    CustomerDnsIps: Sequence[str],
    CustomerUserName: str,

CreateAliasRequestRequestTypeDef#

# CreateAliasRequestRequestTypeDef definition

class CreateAliasRequestRequestTypeDef(TypedDict):
    DirectoryId: str,
    Alias: str,

CreateConditionalForwarderRequestRequestTypeDef#

# CreateConditionalForwarderRequestRequestTypeDef definition

class CreateConditionalForwarderRequestRequestTypeDef(TypedDict):
    DirectoryId: str,
    RemoteDomainName: str,
    DnsIpAddrs: Sequence[str],

CreateLogSubscriptionRequestRequestTypeDef#

# CreateLogSubscriptionRequestRequestTypeDef definition

class CreateLogSubscriptionRequestRequestTypeDef(TypedDict):
    DirectoryId: str,
    LogGroupName: str,

CreateSnapshotRequestRequestTypeDef#

# CreateSnapshotRequestRequestTypeDef definition

class CreateSnapshotRequestRequestTypeDef(TypedDict):
    DirectoryId: str,
    Name: NotRequired[str],

CreateTrustRequestRequestTypeDef#

# CreateTrustRequestRequestTypeDef definition

class CreateTrustRequestRequestTypeDef(TypedDict):
    DirectoryId: str,
    RemoteDomainName: str,
    TrustPassword: str,
    TrustDirection: TrustDirectionType,  # (1)
    TrustType: NotRequired[TrustTypeType],  # (2)
    ConditionalForwarderIpAddrs: NotRequired[Sequence[str]],
    SelectiveAuth: NotRequired[SelectiveAuthType],  # (3)
  1. See