Skip to content

Type definitions#

Index > ACMPCA > Type definitions

Auto-generated documentation for ACMPCA type annotations stubs module mypy-boto3-acm-pca.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

CustomAttributeTypeDef#

# CustomAttributeTypeDef definition

class CustomAttributeTypeDef(TypedDict):
    ObjectIdentifier: str,
    Value: str,

AccessMethodTypeDef#

# AccessMethodTypeDef definition

class AccessMethodTypeDef(TypedDict):
    CustomObjectIdentifier: NotRequired[str],
    AccessMethodType: NotRequired[AccessMethodTypeType],  # (1)
  1. See AccessMethodTypeType

CreateCertificateAuthorityAuditReportRequestRequestTypeDef#

# CreateCertificateAuthorityAuditReportRequestRequestTypeDef definition

class CreateCertificateAuthorityAuditReportRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    S3BucketName: str,
    AuditReportResponseFormat: AuditReportResponseFormatType,  # (1)
  1. See AuditReportResponseFormatType

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: NotRequired[str],

CreatePermissionRequestRequestTypeDef#

# CreatePermissionRequestRequestTypeDef definition

class CreatePermissionRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    Principal: str,
    Actions: Sequence[ActionTypeType],  # (1)
    SourceAccount: NotRequired[str],
  1. See ActionTypeType

CrlDistributionPointExtensionConfigurationTypeDef#

# CrlDistributionPointExtensionConfigurationTypeDef definition

class CrlDistributionPointExtensionConfigurationTypeDef(TypedDict):
    OmitExtension: bool,

KeyUsageTypeDef#

# KeyUsageTypeDef definition

class KeyUsageTypeDef(TypedDict):
    DigitalSignature: NotRequired[bool],
    NonRepudiation: NotRequired[bool],
    KeyEncipherment: NotRequired[bool],
    DataEncipherment: NotRequired[bool],
    KeyAgreement: NotRequired[bool],
    KeyCertSign: NotRequired[bool],
    CRLSign: NotRequired[bool],
    EncipherOnly: NotRequired[bool],
    DecipherOnly: NotRequired[bool],

CustomExtensionTypeDef#

# CustomExtensionTypeDef definition

class CustomExtensionTypeDef(TypedDict):
    ObjectIdentifier: str,
    Value: str,
    Critical: NotRequired[bool],

DeleteCertificateAuthorityRequestRequestTypeDef#

# DeleteCertificateAuthorityRequestRequestTypeDef definition

class DeleteCertificateAuthorityRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    PermanentDeletionTimeInDays: NotRequired[int],

DeletePermissionRequestRequestTypeDef#

# DeletePermissionRequestRequestTypeDef definition

class DeletePermissionRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    Principal: str,
    SourceAccount: NotRequired[str],

DeletePolicyRequestRequestTypeDef#

# DeletePolicyRequestRequestTypeDef definition

class DeletePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeCertificateAuthorityAuditReportRequestRequestTypeDef#

# DescribeCertificateAuthorityAuditReportRequestRequestTypeDef definition

class DescribeCertificateAuthorityAuditReportRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    AuditReportId: str,

DescribeCertificateAuthorityRequestRequestTypeDef#

# DescribeCertificateAuthorityRequestRequestTypeDef definition

class DescribeCertificateAuthorityRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,

EdiPartyNameTypeDef#

# EdiPartyNameTypeDef definition

class EdiPartyNameTypeDef(TypedDict):
    PartyName: str,
    NameAssigner: NotRequired[str],

ExtendedKeyUsageTypeDef#

# ExtendedKeyUsageTypeDef definition

class ExtendedKeyUsageTypeDef(TypedDict):
    ExtendedKeyUsageType: NotRequired[ExtendedKeyUsageTypeType],  # (1)
    ExtendedKeyUsageObjectIdentifier: NotRequired[str],
  1. See ExtendedKeyUsageTypeType

OtherNameTypeDef#

# OtherNameTypeDef definition

class OtherNameTypeDef(TypedDict):
    TypeId: str,
    Value: str,

GetCertificateAuthorityCertificateRequestRequestTypeDef#

# GetCertificateAuthorityCertificateRequestRequestTypeDef definition

class GetCertificateAuthorityCertificateRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,

GetCertificateAuthorityCsrRequestRequestTypeDef#

# GetCertificateAuthorityCsrRequestRequestTypeDef definition

class GetCertificateAuthorityCsrRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,

GetCertificateRequestRequestTypeDef#

# GetCertificateRequestRequestTypeDef definition

class GetCertificateRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    CertificateArn: str,

GetPolicyRequestRequestTypeDef#

# GetPolicyRequestRequestTypeDef definition

class GetPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ValidityTypeDef#

# ValidityTypeDef definition

class ValidityTypeDef(TypedDict):
    Value: int,
    Type: ValidityPeriodTypeType,  # (1)
  1. See ValidityPeriodTypeType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListCertificateAuthoritiesRequestRequestTypeDef#

# ListCertificateAuthoritiesRequestRequestTypeDef definition

class ListCertificateAuthoritiesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    ResourceOwner: NotRequired[ResourceOwnerType],  # (1)
  1. See ResourceOwnerType

ListPermissionsRequestRequestTypeDef#

# ListPermissionsRequestRequestTypeDef definition

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

PermissionTypeDef#

# PermissionTypeDef definition

class PermissionTypeDef(TypedDict):
    CertificateAuthorityArn: NotRequired[str],
    CreatedAt: NotRequired[datetime],
    Principal: NotRequired[str],
    SourceAccount: NotRequired[str],
    Actions: NotRequired[List[ActionTypeType]],  # (1)
    Policy: NotRequired[str],
  1. See ActionTypeType

ListTagsRequestRequestTypeDef#

# ListTagsRequestRequestTypeDef definition

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

OcspConfigurationTypeDef#

# OcspConfigurationTypeDef definition

class OcspConfigurationTypeDef(TypedDict):
    Enabled: bool,
    OcspCustomCname: NotRequired[str],

QualifierTypeDef#

# QualifierTypeDef definition

class QualifierTypeDef(TypedDict):
    CpsUri: str,

PutPolicyRequestRequestTypeDef#

# PutPolicyRequestRequestTypeDef definition

class PutPolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Policy: str,

RestoreCertificateAuthorityRequestRequestTypeDef#

# RestoreCertificateAuthorityRequestRequestTypeDef definition

class RestoreCertificateAuthorityRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,

RevokeCertificateRequestRequestTypeDef#

# RevokeCertificateRequestRequestTypeDef definition

class RevokeCertificateRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    CertificateSerial: str,
    RevocationReason: RevocationReasonType,  # (1)
  1. See RevocationReasonType

ASN1SubjectPaginatorTypeDef#

# ASN1SubjectPaginatorTypeDef definition

class ASN1SubjectPaginatorTypeDef(TypedDict):
    Country: NotRequired[str],
    Organization: NotRequired[str],
    OrganizationalUnit: NotRequired[str],
    DistinguishedNameQualifier: NotRequired[str],
    State: NotRequired[str],
    CommonName: NotRequired[str],
    SerialNumber: NotRequired[str],
    Locality: NotRequired[str],
    Title: NotRequired[str],
    Surname: NotRequired[str],
    GivenName: NotRequired[str],
    Initials: NotRequired[str],
    Pseudonym: NotRequired[str],
    GenerationQualifier: NotRequired[str],
    CustomAttributes: NotRequired[List[CustomAttributeTypeDef]],  # (1)
  1. See CustomAttributeTypeDef

ASN1SubjectTypeDef#

# ASN1SubjectTypeDef definition

class ASN1SubjectTypeDef(TypedDict):
    Country: NotRequired[str],
    Organization: NotRequired[str],
    OrganizationalUnit: NotRequired[str],
    DistinguishedNameQualifier: NotRequired[str],
    State: NotRequired[str],
    CommonName: NotRequired[str],
    SerialNumber: NotRequired[str],
    Locality: NotRequired[str],
    Title: NotRequired[str],
    Surname: NotRequired[str],
    GivenName: NotRequired[str],
    Initials: NotRequired[str],
    Pseudonym: NotRequired[str],
    GenerationQualifier: NotRequired[str],
    CustomAttributes: NotRequired[Sequence[CustomAttributeTypeDef]],  # (1)
  1. See CustomAttributeTypeDef

ImportCertificateAuthorityCertificateRequestRequestTypeDef#

# ImportCertificateAuthorityCertificateRequestRequestTypeDef definition

class ImportCertificateAuthorityCertificateRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    Certificate: Union[str, bytes, IO[Any], StreamingBody],
    CertificateChain: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],

CreateCertificateAuthorityAuditReportResponseTypeDef#

# CreateCertificateAuthorityAuditReportResponseTypeDef definition

class CreateCertificateAuthorityAuditReportResponseTypeDef(TypedDict):
    AuditReportId: str,
    S3Key: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateCertificateAuthorityResponseTypeDef#

# CreateCertificateAuthorityResponseTypeDef definition

class CreateCertificateAuthorityResponseTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeCertificateAuthorityAuditReportResponseTypeDef#

# DescribeCertificateAuthorityAuditReportResponseTypeDef definition

class DescribeCertificateAuthorityAuditReportResponseTypeDef(TypedDict):
    AuditReportStatus: AuditReportStatusType,  # (1)
    S3BucketName: str,
    S3Key: str,
    CreatedAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AuditReportStatusType
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetCertificateAuthorityCertificateResponseTypeDef#

# GetCertificateAuthorityCertificateResponseTypeDef definition

class GetCertificateAuthorityCertificateResponseTypeDef(TypedDict):
    Certificate: str,
    CertificateChain: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetCertificateAuthorityCsrResponseTypeDef#

# GetCertificateAuthorityCsrResponseTypeDef definition

class GetCertificateAuthorityCsrResponseTypeDef(TypedDict):
    Csr: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetCertificateResponseTypeDef#

# GetCertificateResponseTypeDef definition

class GetCertificateResponseTypeDef(TypedDict):
    Certificate: str,
    CertificateChain: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPolicyResponseTypeDef#

# GetPolicyResponseTypeDef definition

class GetPolicyResponseTypeDef(TypedDict):
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

IssueCertificateResponseTypeDef#

# IssueCertificateResponseTypeDef definition

class IssueCertificateResponseTypeDef(TypedDict):
    CertificateArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsResponseTypeDef#

# ListTagsResponseTypeDef definition

class ListTagsResponseTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagCertificateAuthorityRequestRequestTypeDef#

# TagCertificateAuthorityRequestRequestTypeDef definition

class TagCertificateAuthorityRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

UntagCertificateAuthorityRequestRequestTypeDef#

# UntagCertificateAuthorityRequestRequestTypeDef definition

class UntagCertificateAuthorityRequestRequestTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CrlConfigurationTypeDef#

# CrlConfigurationTypeDef definition

class CrlConfigurationTypeDef(TypedDict):
    Enabled: bool,
    ExpirationInDays: NotRequired[int],
    CustomCname: NotRequired[str],
    S3BucketName: NotRequired[str],
    S3ObjectAcl: NotRequired[S3ObjectAclType],  # (1)
    CrlDistributionPointExtensionConfiguration: NotRequired[CrlDistributionPointExtensionConfigurationTypeDef],  # (2)
  1. See S3ObjectAclType
  2. See CrlDistributionPointExtensionConfigurationTypeDef

DescribeCertificateAuthorityAuditReportRequestAuditReportCreatedWaitTypeDef#

# DescribeCertificateAuthorityAuditReportRequestAuditReportCreatedWaitTypeDef definition

class DescribeCertificateAuthorityAuditReportRequestAuditReportCreatedWaitTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    AuditReportId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetCertificateAuthorityCsrRequestCertificateAuthorityCSRCreatedWaitTypeDef#

# GetCertificateAuthorityCsrRequestCertificateAuthorityCSRCreatedWaitTypeDef definition

class GetCertificateAuthorityCsrRequestCertificateAuthorityCSRCreatedWaitTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetCertificateRequestCertificateIssuedWaitTypeDef#

# GetCertificateRequestCertificateIssuedWaitTypeDef definition

class GetCertificateRequestCertificateIssuedWaitTypeDef(TypedDict):
    CertificateAuthorityArn: str,
    CertificateArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

ListCertificateAuthoritiesRequestListCertificateAuthoritiesPaginateTypeDef#

# ListCertificateAuthoritiesRequestListCertificateAuthoritiesPaginateTypeDef definition

class ListCertificateAuthoritiesRequestListCertificateAuthoritiesPaginateTypeDef(TypedDict):
    ResourceOwner: NotRequired[ResourceOwnerType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ResourceOwnerType
  2. See PaginatorConfigTypeDef

ListPermissionsRequestListPermissionsPaginateTypeDef#

# ListPermissionsRequestListPermissionsPaginateTypeDef definition

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

ListTagsRequestListTagsPaginateTypeDef#

# ListTagsRequestListTagsPaginateTypeDef definition

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

ListPermissionsResponseTypeDef#

# ListPermissionsResponseTypeDef definition

class ListPermissionsResponseTypeDef(TypedDict):
    Permissions: List[PermissionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PermissionTypeDef
  2. See ResponseMetadataTypeDef

PolicyQualifierInfoTypeDef#

# PolicyQualifierInfoTypeDef definition

class PolicyQualifierInfoTypeDef(TypedDict):
    PolicyQualifierId: PolicyQualifierIdType,  # (1)
    Qualifier: QualifierTypeDef,  # (2)
  1. See PolicyQualifierIdType
  2. See QualifierTypeDef

GeneralNamePaginatorTypeDef#

# GeneralNamePaginatorTypeDef definition

class GeneralNamePaginatorTypeDef(TypedDict):
    OtherName: NotRequired[OtherNameTypeDef],  # (1)
    Rfc822Name: NotRequired[str],
    DnsName: NotRequired[str],
    DirectoryName: NotRequired[ASN1SubjectPaginatorTypeDef],  # (2)
    EdiPartyName: NotRequired[EdiPartyNameTypeDef],  # (3)
    UniformResourceIdentifier: NotRequired[str],
    IpAddress: NotRequired[str],
    RegisteredId: NotRequired[str],
  1. See OtherNameTypeDef
  2. See ASN1SubjectPaginatorTypeDef
  3. See EdiPartyNameTypeDef

GeneralNameTypeDef#

# GeneralNameTypeDef definition

class GeneralNameTypeDef(TypedDict):
    OtherName: NotRequired[OtherNameTypeDef],  # (1)
    Rfc822Name: NotRequired[str],
    DnsName: NotRequired[str],
    DirectoryName: NotRequired[ASN1SubjectTypeDef],  # (2)
    EdiPartyName: NotRequired[EdiPartyNameTypeDef],  # (3)
    UniformResourceIdentifier: NotRequired[str],
    IpAddress: NotRequired[str],
    RegisteredId: NotRequired[str],
  1. See OtherNameTypeDef
  2. See ASN1SubjectTypeDef
  3. See EdiPartyNameTypeDef

RevocationConfigurationTypeDef#

# RevocationConfigurationTypeDef definition

class RevocationConfigurationTypeDef(TypedDict):
    CrlConfiguration: NotRequired[CrlConfigurationTypeDef],  # (1)
    OcspConfiguration: NotRequired[O