Skip to content

Typed dictionaries

Index > CloudFront > Typed dictionaries

Auto-generated documentation for CloudFront type annotations stubs module mypy-boto3-cloudfront.

AliasICPRecordalTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import AliasICPRecordalTypeDef

def get_value() -> AliasICPRecordalTypeDef:
    return {
        "CNAME": ...,
    }
Definition
class AliasICPRecordalTypeDef(TypedDict):
    CNAME: NotRequired[str],
    ICPRecordalStatus: NotRequired[ICPRecordalStatusType],  # (1)
  1. See ICPRecordalStatusType

AliasesTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import AliasesTypeDef

def get_value() -> AliasesTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class AliasesTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

CachedMethodsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import CachedMethodsTypeDef

def get_value() -> CachedMethodsTypeDef:
    return {
        "Quantity": ...,
        "Items": ...,
    }
Definition
class CachedMethodsTypeDef(TypedDict):
    Quantity: int,
    Items: Sequence[MethodType],  # (1)
  1. See MethodType

AssociateAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import AssociateAliasRequestRequestTypeDef

def get_value() -> AssociateAliasRequestRequestTypeDef:
    return {
        "TargetDistributionId": ...,
        "Alias": ...,
    }
Definition
class AssociateAliasRequestRequestTypeDef(TypedDict):
    TargetDistributionId: str,
    Alias: str,

TrustedKeyGroupsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import TrustedKeyGroupsTypeDef

def get_value() -> TrustedKeyGroupsTypeDef:
    return {
        "Enabled": ...,
        "Quantity": ...,
    }
Definition
class TrustedKeyGroupsTypeDef(TypedDict):
    Enabled: bool,
    Quantity: int,
    Items: NotRequired[Sequence[str]],

TrustedSignersTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import TrustedSignersTypeDef

def get_value() -> TrustedSignersTypeDef:
    return {
        "Enabled": ...,
        "Quantity": ...,
    }
Definition
class TrustedSignersTypeDef(TypedDict):
    Enabled: bool,
    Quantity: int,
    Items: NotRequired[Sequence[str]],

CookieNamesTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import CookieNamesTypeDef

def get_value() -> CookieNamesTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class CookieNamesTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

HeadersTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import HeadersTypeDef

def get_value() -> HeadersTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class HeadersTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

QueryStringNamesTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import QueryStringNamesTypeDef

def get_value() -> QueryStringNamesTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class QueryStringNamesTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

CloudFrontOriginAccessIdentityConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import CloudFrontOriginAccessIdentityConfigTypeDef

def get_value() -> CloudFrontOriginAccessIdentityConfigTypeDef:
    return {
        "CallerReference": ...,
        "Comment": ...,
    }
Definition
class CloudFrontOriginAccessIdentityConfigTypeDef(TypedDict):
    CallerReference: str,
    Comment: str,

CloudFrontOriginAccessIdentitySummaryTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import CloudFrontOriginAccessIdentitySummaryTypeDef

def get_value() -> CloudFrontOriginAccessIdentitySummaryTypeDef:
    return {
        "Id": ...,
        "S3CanonicalUserId": ...,
        "Comment": ...,
    }
Definition
class CloudFrontOriginAccessIdentitySummaryTypeDef(TypedDict):
    Id: str,
    S3CanonicalUserId: str,
    Comment: str,

ConflictingAliasTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ConflictingAliasTypeDef

def get_value() -> ConflictingAliasTypeDef:
    return {
        "Alias": ...,
    }
Definition
class ConflictingAliasTypeDef(TypedDict):
    Alias: NotRequired[str],
    DistributionId: NotRequired[str],
    AccountId: NotRequired[str],

ContentTypeProfileTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ContentTypeProfileTypeDef

def get_value() -> ContentTypeProfileTypeDef:
    return {
        "Format": ...,
        "ContentType": ...,
    }
Definition
class ContentTypeProfileTypeDef(TypedDict):
    Format: FormatType,  # (1)
    ContentType: str,
    ProfileId: NotRequired[str],
  1. See FormatType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

FunctionConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import FunctionConfigTypeDef

def get_value() -> FunctionConfigTypeDef:
    return {
        "Comment": ...,
        "Runtime": ...,
    }
Definition
class FunctionConfigTypeDef(TypedDict):
    Comment: str,
    Runtime: FunctionRuntimeType,  # (1)
  1. See FunctionRuntimeType

KeyGroupConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import KeyGroupConfigTypeDef

def get_value() -> KeyGroupConfigTypeDef:
    return {
        "Name": ...,
        "Items": ...,
    }
Definition
class KeyGroupConfigTypeDef(TypedDict):
    Name: str,
    Items: Sequence[str],
    Comment: NotRequired[str],

OriginAccessControlConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import OriginAccessControlConfigTypeDef

def get_value() -> OriginAccessControlConfigTypeDef:
    return {
        "Name": ...,
        "Description": ...,
        "SigningProtocol": ...,
        "SigningBehavior": ...,
        "OriginAccessControlOriginType": ...,
    }
Definition
class OriginAccessControlConfigTypeDef(TypedDict):
    Name: str,
    Description: str,
    SigningProtocol: OriginAccessControlSigningProtocolsType,  # (1)
    SigningBehavior: OriginAccessControlSigningBehaviorsType,  # (2)
    OriginAccessControlOriginType: OriginAccessControlOriginTypesType,  # (3)
  1. See OriginAccessControlSigningProtocolsType
  2. See OriginAccessControlSigningBehaviorsType
  3. See OriginAccessControlOriginTypesType

PublicKeyConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import PublicKeyConfigTypeDef

def get_value() -> PublicKeyConfigTypeDef:
    return {
        "CallerReference": ...,
        "Name": ...,
        "EncodedKey": ...,
    }
Definition
class PublicKeyConfigTypeDef(TypedDict):
    CallerReference: str,
    Name: str,
    EncodedKey: str,
    Comment: NotRequired[str],

CustomErrorResponseTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import CustomErrorResponseTypeDef

def get_value() -> CustomErrorResponseTypeDef:
    return {
        "ErrorCode": ...,
    }
Definition
class CustomErrorResponseTypeDef(TypedDict):
    ErrorCode: int,
    ResponsePagePath: NotRequired[str],
    ResponseCode: NotRequired[str],
    ErrorCachingMinTTL: NotRequired[int],

OriginCustomHeaderTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import OriginCustomHeaderTypeDef

def get_value() -> OriginCustomHeaderTypeDef:
    return {
        "HeaderName": ...,
        "HeaderValue": ...,
    }
Definition
class OriginCustomHeaderTypeDef(TypedDict):
    HeaderName: str,
    HeaderValue: str,

OriginSslProtocolsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import OriginSslProtocolsTypeDef

def get_value() -> OriginSslProtocolsTypeDef:
    return {
        "Quantity": ...,
        "Items": ...,
    }
Definition
class OriginSslProtocolsTypeDef(TypedDict):
    Quantity: int,
    Items: Sequence[SslProtocolType],  # (1)
  1. See SslProtocolType

DeleteCachePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteCachePolicyRequestRequestTypeDef

def get_value() -> DeleteCachePolicyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteCachePolicyRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteCloudFrontOriginAccessIdentityRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteCloudFrontOriginAccessIdentityRequestRequestTypeDef

def get_value() -> DeleteCloudFrontOriginAccessIdentityRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteCloudFrontOriginAccessIdentityRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteDistributionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteDistributionRequestRequestTypeDef

def get_value() -> DeleteDistributionRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteDistributionRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteFieldLevelEncryptionConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteFieldLevelEncryptionConfigRequestRequestTypeDef

def get_value() -> DeleteFieldLevelEncryptionConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteFieldLevelEncryptionConfigRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteFieldLevelEncryptionProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteFieldLevelEncryptionProfileRequestRequestTypeDef

def get_value() -> DeleteFieldLevelEncryptionProfileRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteFieldLevelEncryptionProfileRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteFunctionRequestRequestTypeDef

def get_value() -> DeleteFunctionRequestRequestTypeDef:
    return {
        "Name": ...,
        "IfMatch": ...,
    }
Definition
class DeleteFunctionRequestRequestTypeDef(TypedDict):
    Name: str,
    IfMatch: str,

DeleteKeyGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteKeyGroupRequestRequestTypeDef

def get_value() -> DeleteKeyGroupRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteKeyGroupRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteMonitoringSubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteMonitoringSubscriptionRequestRequestTypeDef

def get_value() -> DeleteMonitoringSubscriptionRequestRequestTypeDef:
    return {
        "DistributionId": ...,
    }
Definition
class DeleteMonitoringSubscriptionRequestRequestTypeDef(TypedDict):
    DistributionId: str,

DeleteOriginAccessControlRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteOriginAccessControlRequestRequestTypeDef

def get_value() -> DeleteOriginAccessControlRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteOriginAccessControlRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteOriginRequestPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteOriginRequestPolicyRequestRequestTypeDef

def get_value() -> DeleteOriginRequestPolicyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteOriginRequestPolicyRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeletePublicKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeletePublicKeyRequestRequestTypeDef

def get_value() -> DeletePublicKeyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeletePublicKeyRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteRealtimeLogConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteRealtimeLogConfigRequestRequestTypeDef

def get_value() -> DeleteRealtimeLogConfigRequestRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class DeleteRealtimeLogConfigRequestRequestTypeDef(TypedDict):
    Name: NotRequired[str],
    ARN: NotRequired[str],

DeleteResponseHeadersPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteResponseHeadersPolicyRequestRequestTypeDef

def get_value() -> DeleteResponseHeadersPolicyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteResponseHeadersPolicyRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DeleteStreamingDistributionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DeleteStreamingDistributionRequestRequestTypeDef

def get_value() -> DeleteStreamingDistributionRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteStreamingDistributionRequestRequestTypeDef(TypedDict):
    Id: str,
    IfMatch: NotRequired[str],

DescribeFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DescribeFunctionRequestRequestTypeDef

def get_value() -> DescribeFunctionRequestRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class DescribeFunctionRequestRequestTypeDef(TypedDict):
    Name: str,
    Stage: NotRequired[FunctionStageType],  # (1)
  1. See FunctionStageType

LoggingConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import LoggingConfigTypeDef

def get_value() -> LoggingConfigTypeDef:
    return {
        "Enabled": ...,
        "IncludeCookies": ...,
        "Bucket": ...,
        "Prefix": ...,
    }
Definition
class LoggingConfigTypeDef(TypedDict):
    Enabled: bool,
    IncludeCookies: bool,
    Bucket: str,
    Prefix: str,

ViewerCertificateTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ViewerCertificateTypeDef

def get_value() -> ViewerCertificateTypeDef:
    return {
        "CloudFrontDefaultCertificate": ...,
    }
Definition
class ViewerCertificateTypeDef(TypedDict):
    CloudFrontDefaultCertificate: NotRequired[bool],
    IAMCertificateId: NotRequired[str],
    ACMCertificateArn: NotRequired[str],
    SSLSupportMethod: NotRequired[SSLSupportMethodType],  # (1)
    MinimumProtocolVersion: NotRequired[MinimumProtocolVersionType],  # (2)
    Certificate: NotRequired[str],
    CertificateSource: NotRequired[CertificateSourceType],  # (3)
  1. See SSLSupportMethodType
  2. See MinimumProtocolVersionType
  3. See CertificateSourceType

DistributionIdListTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import DistributionIdListTypeDef

def get_value() -> DistributionIdListTypeDef:
    return {
        "Marker": ...,
        "MaxItems": ...,
        "IsTruncated": ...,
        "Quantity": ...,
    }
Definition
class DistributionIdListTypeDef(TypedDict):
    Marker: str,
    MaxItems: int,
    IsTruncated: bool,
    Quantity: int,
    NextMarker: NotRequired[str],
    Items: NotRequired[List[str]],

FieldPatternsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import FieldPatternsTypeDef

def get_value() -> FieldPatternsTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class FieldPatternsTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

KinesisStreamConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import KinesisStreamConfigTypeDef

def get_value() -> KinesisStreamConfigTypeDef:
    return {
        "RoleARN": ...,
        "StreamARN": ...,
    }
Definition
class KinesisStreamConfigTypeDef(TypedDict):
    RoleARN: str,
    StreamARN: str,

QueryStringCacheKeysTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import QueryStringCacheKeysTypeDef

def get_value() -> QueryStringCacheKeysTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class QueryStringCacheKeysTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

FunctionAssociationTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import FunctionAssociationTypeDef

def get_value() -> FunctionAssociationTypeDef:
    return {
        "FunctionARN": ...,
        "EventType": ...,
    }
Definition
class FunctionAssociationTypeDef(TypedDict):
    FunctionARN: str,
    EventType: EventTypeType,  # (1)
  1. See EventTypeType

FunctionMetadataTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import FunctionMetadataTypeDef

def get_value() -> FunctionMetadataTypeDef:
    return {
        "FunctionARN": ...,
        "LastModifiedTime": ...,
    }
Definition
class FunctionMetadataTypeDef(TypedDict):
    FunctionARN: str,
    LastModifiedTime: datetime,
    Stage: NotRequired[FunctionStageType],  # (1)
    CreatedTime: NotRequired[datetime],
  1. See FunctionStageType

GeoRestrictionTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GeoRestrictionTypeDef

def get_value() -> GeoRestrictionTypeDef:
    return {
        "RestrictionType": ...,
        "Quantity": ...,
    }
Definition
class GeoRestrictionTypeDef(TypedDict):
    RestrictionType: GeoRestrictionTypeType,  # (1)
    Quantity: int,
    Items: NotRequired[Sequence[str]],
  1. See GeoRestrictionTypeType

GetCachePolicyConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetCachePolicyConfigRequestRequestTypeDef

def get_value() -> GetCachePolicyConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetCachePolicyConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetCachePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetCachePolicyRequestRequestTypeDef

def get_value() -> GetCachePolicyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetCachePolicyRequestRequestTypeDef(TypedDict):
    Id: str,

GetCloudFrontOriginAccessIdentityConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetCloudFrontOriginAccessIdentityConfigRequestRequestTypeDef

def get_value() -> GetCloudFrontOriginAccessIdentityConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetCloudFrontOriginAccessIdentityConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetCloudFrontOriginAccessIdentityRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetCloudFrontOriginAccessIdentityRequestRequestTypeDef

def get_value() -> GetCloudFrontOriginAccessIdentityRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetCloudFrontOriginAccessIdentityRequestRequestTypeDef(TypedDict):
    Id: str,

GetDistributionConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetDistributionConfigRequestRequestTypeDef

def get_value() -> GetDistributionConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetDistributionConfigRequestRequestTypeDef(TypedDict):
    Id: str,

WaiterConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

GetDistributionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetDistributionRequestRequestTypeDef

def get_value() -> GetDistributionRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetDistributionRequestRequestTypeDef(TypedDict):
    Id: str,

GetFieldLevelEncryptionConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetFieldLevelEncryptionConfigRequestRequestTypeDef

def get_value() -> GetFieldLevelEncryptionConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetFieldLevelEncryptionConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetFieldLevelEncryptionProfileConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetFieldLevelEncryptionProfileConfigRequestRequestTypeDef

def get_value() -> GetFieldLevelEncryptionProfileConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetFieldLevelEncryptionProfileConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetFieldLevelEncryptionProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetFieldLevelEncryptionProfileRequestRequestTypeDef

def get_value() -> GetFieldLevelEncryptionProfileRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetFieldLevelEncryptionProfileRequestRequestTypeDef(TypedDict):
    Id: str,

GetFieldLevelEncryptionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetFieldLevelEncryptionRequestRequestTypeDef

def get_value() -> GetFieldLevelEncryptionRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetFieldLevelEncryptionRequestRequestTypeDef(TypedDict):
    Id: str,

GetFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetFunctionRequestRequestTypeDef

def get_value() -> GetFunctionRequestRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class GetFunctionRequestRequestTypeDef(TypedDict):
    Name: str,
    Stage: NotRequired[FunctionStageType],  # (1)
  1. See FunctionStageType

GetInvalidationRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetInvalidationRequestRequestTypeDef

def get_value() -> GetInvalidationRequestRequestTypeDef:
    return {
        "DistributionId": ...,
        "Id": ...,
    }
Definition
class GetInvalidationRequestRequestTypeDef(TypedDict):
    DistributionId: str,
    Id: str,

GetKeyGroupConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetKeyGroupConfigRequestRequestTypeDef

def get_value() -> GetKeyGroupConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetKeyGroupConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetKeyGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetKeyGroupRequestRequestTypeDef

def get_value() -> GetKeyGroupRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetKeyGroupRequestRequestTypeDef(TypedDict):
    Id: str,

GetMonitoringSubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetMonitoringSubscriptionRequestRequestTypeDef

def get_value() -> GetMonitoringSubscriptionRequestRequestTypeDef:
    return {
        "DistributionId": ...,
    }
Definition
class GetMonitoringSubscriptionRequestRequestTypeDef(TypedDict):
    DistributionId: str,

GetOriginAccessControlConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetOriginAccessControlConfigRequestRequestTypeDef

def get_value() -> GetOriginAccessControlConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetOriginAccessControlConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetOriginAccessControlRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetOriginAccessControlRequestRequestTypeDef

def get_value() -> GetOriginAccessControlRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetOriginAccessControlRequestRequestTypeDef(TypedDict):
    Id: str,

GetOriginRequestPolicyConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetOriginRequestPolicyConfigRequestRequestTypeDef

def get_value() -> GetOriginRequestPolicyConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetOriginRequestPolicyConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetOriginRequestPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetOriginRequestPolicyRequestRequestTypeDef

def get_value() -> GetOriginRequestPolicyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetOriginRequestPolicyRequestRequestTypeDef(TypedDict):
    Id: str,

GetPublicKeyConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetPublicKeyConfigRequestRequestTypeDef

def get_value() -> GetPublicKeyConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetPublicKeyConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetPublicKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetPublicKeyRequestRequestTypeDef

def get_value() -> GetPublicKeyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetPublicKeyRequestRequestTypeDef(TypedDict):
    Id: str,

GetRealtimeLogConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetRealtimeLogConfigRequestRequestTypeDef

def get_value() -> GetRealtimeLogConfigRequestRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class GetRealtimeLogConfigRequestRequestTypeDef(TypedDict):
    Name: NotRequired[str],
    ARN: NotRequired[str],

GetResponseHeadersPolicyConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetResponseHeadersPolicyConfigRequestRequestTypeDef

def get_value() -> GetResponseHeadersPolicyConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetResponseHeadersPolicyConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetResponseHeadersPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetResponseHeadersPolicyRequestRequestTypeDef

def get_value() -> GetResponseHeadersPolicyRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetResponseHeadersPolicyRequestRequestTypeDef(TypedDict):
    Id: str,

GetStreamingDistributionConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetStreamingDistributionConfigRequestRequestTypeDef

def get_value() -> GetStreamingDistributionConfigRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetStreamingDistributionConfigRequestRequestTypeDef(TypedDict):
    Id: str,

GetStreamingDistributionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import GetStreamingDistributionRequestRequestTypeDef

def get_value() -> GetStreamingDistributionRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class GetStreamingDistributionRequestRequestTypeDef(TypedDict):
    Id: str,

PathsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import PathsTypeDef

def get_value() -> PathsTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class PathsTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

InvalidationSummaryTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import InvalidationSummaryTypeDef

def get_value() -> InvalidationSummaryTypeDef:
    return {
        "Id": ...,
        "CreateTime": ...,
        "Status": ...,
    }
Definition
class InvalidationSummaryTypeDef(TypedDict):
    Id: str,
    CreateTime: datetime,
    Status: str,

KeyPairIdsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import KeyPairIdsTypeDef

def get_value() -> KeyPairIdsTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class KeyPairIdsTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[List[str]],

LambdaFunctionAssociationTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import LambdaFunctionAssociationTypeDef

def get_value() -> LambdaFunctionAssociationTypeDef:
    return {
        "LambdaFunctionARN": ...,
        "EventType": ...,
    }
Definition
class LambdaFunctionAssociationTypeDef(TypedDict):
    LambdaFunctionARN: str,
    EventType: EventTypeType,  # (1)
    IncludeBody: NotRequired[bool],
  1. See EventTypeType

ListCachePoliciesRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListCachePoliciesRequestRequestTypeDef

def get_value() -> ListCachePoliciesRequestRequestTypeDef:
    return {
        "Type": ...,
    }
Definition
class ListCachePoliciesRequestRequestTypeDef(TypedDict):
    Type: NotRequired[CachePolicyTypeType],  # (1)
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],
  1. See CachePolicyTypeType

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListCloudFrontOriginAccessIdentitiesRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListCloudFrontOriginAccessIdentitiesRequestRequestTypeDef

def get_value() -> ListCloudFrontOriginAccessIdentitiesRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListCloudFrontOriginAccessIdentitiesRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListConflictingAliasesRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListConflictingAliasesRequestRequestTypeDef

def get_value() -> ListConflictingAliasesRequestRequestTypeDef:
    return {
        "DistributionId": ...,
        "Alias": ...,
    }
Definition
class ListConflictingAliasesRequestRequestTypeDef(TypedDict):
    DistributionId: str,
    Alias: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListDistributionsByCachePolicyIdRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListDistributionsByCachePolicyIdRequestRequestTypeDef

def get_value() -> ListDistributionsByCachePolicyIdRequestRequestTypeDef:
    return {
        "CachePolicyId": ...,
    }
Definition
class ListDistributionsByCachePolicyIdRequestRequestTypeDef(TypedDict):
    CachePolicyId: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListDistributionsByKeyGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListDistributionsByKeyGroupRequestRequestTypeDef

def get_value() -> ListDistributionsByKeyGroupRequestRequestTypeDef:
    return {
        "KeyGroupId": ...,
    }
Definition
class ListDistributionsByKeyGroupRequestRequestTypeDef(TypedDict):
    KeyGroupId: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListDistributionsByOriginRequestPolicyIdRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListDistributionsByOriginRequestPolicyIdRequestRequestTypeDef

def get_value() -> ListDistributionsByOriginRequestPolicyIdRequestRequestTypeDef:
    return {
        "OriginRequestPolicyId": ...,
    }
Definition
class ListDistributionsByOriginRequestPolicyIdRequestRequestTypeDef(TypedDict):
    OriginRequestPolicyId: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListDistributionsByRealtimeLogConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListDistributionsByRealtimeLogConfigRequestRequestTypeDef

def get_value() -> ListDistributionsByRealtimeLogConfigRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListDistributionsByRealtimeLogConfigRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],
    RealtimeLogConfigName: NotRequired[str],
    RealtimeLogConfigArn: NotRequired[str],

ListDistributionsByResponseHeadersPolicyIdRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListDistributionsByResponseHeadersPolicyIdRequestRequestTypeDef

def get_value() -> ListDistributionsByResponseHeadersPolicyIdRequestRequestTypeDef:
    return {
        "ResponseHeadersPolicyId": ...,
    }
Definition
class ListDistributionsByResponseHeadersPolicyIdRequestRequestTypeDef(TypedDict):
    ResponseHeadersPolicyId: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListDistributionsByWebACLIdRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListDistributionsByWebACLIdRequestRequestTypeDef

def get_value() -> ListDistributionsByWebACLIdRequestRequestTypeDef:
    return {
        "WebACLId": ...,
    }
Definition
class ListDistributionsByWebACLIdRequestRequestTypeDef(TypedDict):
    WebACLId: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListDistributionsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListDistributionsRequestRequestTypeDef

def get_value() -> ListDistributionsRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListDistributionsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListFieldLevelEncryptionConfigsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListFieldLevelEncryptionConfigsRequestRequestTypeDef

def get_value() -> ListFieldLevelEncryptionConfigsRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListFieldLevelEncryptionConfigsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListFieldLevelEncryptionProfilesRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListFieldLevelEncryptionProfilesRequestRequestTypeDef

def get_value() -> ListFieldLevelEncryptionProfilesRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListFieldLevelEncryptionProfilesRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListFunctionsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListFunctionsRequestRequestTypeDef

def get_value() -> ListFunctionsRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListFunctionsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],
    Stage: NotRequired[FunctionStageType],  # (1)
  1. See FunctionStageType

ListInvalidationsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListInvalidationsRequestRequestTypeDef

def get_value() -> ListInvalidationsRequestRequestTypeDef:
    return {
        "DistributionId": ...,
    }
Definition
class ListInvalidationsRequestRequestTypeDef(TypedDict):
    DistributionId: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListKeyGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListKeyGroupsRequestRequestTypeDef

def get_value() -> ListKeyGroupsRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListKeyGroupsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListOriginAccessControlsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListOriginAccessControlsRequestRequestTypeDef

def get_value() -> ListOriginAccessControlsRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListOriginAccessControlsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListOriginRequestPoliciesRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListOriginRequestPoliciesRequestRequestTypeDef

def get_value() -> ListOriginRequestPoliciesRequestRequestTypeDef:
    return {
        "Type": ...,
    }
Definition
class ListOriginRequestPoliciesRequestRequestTypeDef(TypedDict):
    Type: NotRequired[OriginRequestPolicyTypeType],  # (1)
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],
  1. See OriginRequestPolicyTypeType

ListPublicKeysRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListPublicKeysRequestRequestTypeDef

def get_value() -> ListPublicKeysRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListPublicKeysRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListRealtimeLogConfigsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListRealtimeLogConfigsRequestRequestTypeDef

def get_value() -> ListRealtimeLogConfigsRequestRequestTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class ListRealtimeLogConfigsRequestRequestTypeDef(TypedDict):
    MaxItems: NotRequired[str],
    Marker: NotRequired[str],

ListResponseHeadersPoliciesRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListResponseHeadersPoliciesRequestRequestTypeDef

def get_value() -> ListResponseHeadersPoliciesRequestRequestTypeDef:
    return {
        "Type": ...,
    }
Definition
class ListResponseHeadersPoliciesRequestRequestTypeDef(TypedDict):
    Type: NotRequired[ResponseHeadersPolicyTypeType],  # (1)
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],
  1. See ResponseHeadersPolicyTypeType

ListStreamingDistributionsRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListStreamingDistributionsRequestRequestTypeDef

def get_value() -> ListStreamingDistributionsRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListStreamingDistributionsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "Resource": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    Resource: str,

RealtimeMetricsSubscriptionConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import RealtimeMetricsSubscriptionConfigTypeDef

def get_value() -> RealtimeMetricsSubscriptionConfigTypeDef:
    return {
        "RealtimeMetricsSubscriptionStatus": ...,
    }
Definition
class RealtimeMetricsSubscriptionConfigTypeDef(TypedDict):
    RealtimeMetricsSubscriptionStatus: RealtimeMetricsSubscriptionStatusType,  # (1)
  1. See RealtimeMetricsSubscriptionStatusType

OriginAccessControlSummaryTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import OriginAccessControlSummaryTypeDef

def get_value() -> OriginAccessControlSummaryTypeDef:
    return {
        "Id": ...,
        "Description": ...,
        "Name": ...,
        "SigningProtocol": ...,
        "SigningBehavior": ...,
        "OriginAccessControlOriginType": ...,
    }
Definition
class OriginAccessControlSummaryTypeDef(TypedDict):
    Id: str,
    Description: str,
    Name: str,
    SigningProtocol: OriginAccessControlSigningProtocolsType,  # (1)
    SigningBehavior: OriginAccessControlSigningBehaviorsType,  # (2)
    OriginAccessControlOriginType: OriginAccessControlOriginTypesType,  # (3)
  1. See OriginAccessControlSigningProtocolsType
  2. See OriginAccessControlSigningBehaviorsType
  3. See OriginAccessControlOriginTypesType

StatusCodesTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import StatusCodesTypeDef

def get_value() -> StatusCodesTypeDef:
    return {
        "Quantity": ...,
        "Items": ...,
    }
Definition
class StatusCodesTypeDef(TypedDict):
    Quantity: int,
    Items: Sequence[int],

OriginGroupMemberTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import OriginGroupMemberTypeDef

def get_value() -> OriginGroupMemberTypeDef:
    return {
        "OriginId": ...,
    }
Definition
class OriginGroupMemberTypeDef(TypedDict):
    OriginId: str,

OriginShieldTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import OriginShieldTypeDef

def get_value() -> OriginShieldTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class OriginShieldTypeDef(TypedDict):
    Enabled: bool,
    OriginShieldRegion: NotRequired[str],

S3OriginConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import S3OriginConfigTypeDef

def get_value() -> S3OriginConfigTypeDef:
    return {
        "OriginAccessIdentity": ...,
    }
Definition
class S3OriginConfigTypeDef(TypedDict):
    OriginAccessIdentity: str,

PublicKeySummaryTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import PublicKeySummaryTypeDef

def get_value() -> PublicKeySummaryTypeDef:
    return {
        "Id": ...,
        "Name": ...,
        "CreatedTime": ...,
        "EncodedKey": ...,
    }
Definition
class PublicKeySummaryTypeDef(TypedDict):
    Id: str,
    Name: str,
    CreatedTime: datetime,
    EncodedKey: str,
    Comment: NotRequired[str],

PublishFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import PublishFunctionRequestRequestTypeDef

def get_value() -> PublishFunctionRequestRequestTypeDef:
    return {
        "Name": ...,
        "IfMatch": ...,
    }
Definition
class PublishFunctionRequestRequestTypeDef(TypedDict):
    Name: str,
    IfMatch: str,

QueryArgProfileTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import QueryArgProfileTypeDef

def get_value() -> QueryArgProfileTypeDef:
    return {
        "QueryArg": ...,
        "ProfileId": ...,
    }
Definition
class QueryArgProfileTypeDef(TypedDict):
    QueryArg: str,
    ProfileId: str,

ResponseHeadersPolicyAccessControlAllowHeadersTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyAccessControlAllowHeadersTypeDef

def get_value() -> ResponseHeadersPolicyAccessControlAllowHeadersTypeDef:
    return {
        "Quantity": ...,
        "Items": ...,
    }
Definition
class ResponseHeadersPolicyAccessControlAllowHeadersTypeDef(TypedDict):
    Quantity: int,
    Items: Sequence[str],

ResponseHeadersPolicyAccessControlAllowMethodsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyAccessControlAllowMethodsTypeDef

def get_value() -> ResponseHeadersPolicyAccessControlAllowMethodsTypeDef:
    return {
        "Quantity": ...,
        "Items": ...,
    }
Definition
class ResponseHeadersPolicyAccessControlAllowMethodsTypeDef(TypedDict):
    Quantity: int,
    Items: Sequence[ResponseHeadersPolicyAccessControlAllowMethodsValuesType],  # (1)
  1. See ResponseHeadersPolicyAccessControlAllowMethodsValuesType

ResponseHeadersPolicyAccessControlAllowOriginsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyAccessControlAllowOriginsTypeDef

def get_value() -> ResponseHeadersPolicyAccessControlAllowOriginsTypeDef:
    return {
        "Quantity": ...,
        "Items": ...,
    }
Definition
class ResponseHeadersPolicyAccessControlAllowOriginsTypeDef(TypedDict):
    Quantity: int,
    Items: Sequence[str],

ResponseHeadersPolicyAccessControlExposeHeadersTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyAccessControlExposeHeadersTypeDef

def get_value() -> ResponseHeadersPolicyAccessControlExposeHeadersTypeDef:
    return {
        "Quantity": ...,
    }
Definition
class ResponseHeadersPolicyAccessControlExposeHeadersTypeDef(TypedDict):
    Quantity: int,
    Items: NotRequired[Sequence[str]],

ResponseHeadersPolicyServerTimingHeadersConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyServerTimingHeadersConfigTypeDef

def get_value() -> ResponseHeadersPolicyServerTimingHeadersConfigTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ResponseHeadersPolicyServerTimingHeadersConfigTypeDef(TypedDict):
    Enabled: bool,
    SamplingRate: NotRequired[float],

ResponseHeadersPolicyContentSecurityPolicyTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyContentSecurityPolicyTypeDef

def get_value() -> ResponseHeadersPolicyContentSecurityPolicyTypeDef:
    return {
        "Override": ...,
        "ContentSecurityPolicy": ...,
    }
Definition
class ResponseHeadersPolicyContentSecurityPolicyTypeDef(TypedDict):
    Override: bool,
    ContentSecurityPolicy: str,

ResponseHeadersPolicyContentTypeOptionsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyContentTypeOptionsTypeDef

def get_value() -> ResponseHeadersPolicyContentTypeOptionsTypeDef:
    return {
        "Override": ...,
    }
Definition
class ResponseHeadersPolicyContentTypeOptionsTypeDef(TypedDict):
    Override: bool,

ResponseHeadersPolicyCustomHeaderTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyCustomHeaderTypeDef

def get_value() -> ResponseHeadersPolicyCustomHeaderTypeDef:
    return {
        "Header": ...,
        "Value": ...,
        "Override": ...,
    }
Definition
class ResponseHeadersPolicyCustomHeaderTypeDef(TypedDict):
    Header: str,
    Value: str,
    Override: bool,

ResponseHeadersPolicyFrameOptionsTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyFrameOptionsTypeDef

def get_value() -> ResponseHeadersPolicyFrameOptionsTypeDef:
    return {
        "Override": ...,
        "FrameOption": ...,
    }
Definition
class ResponseHeadersPolicyFrameOptionsTypeDef(TypedDict):
    Override: bool,
    FrameOption: FrameOptionsListType,  # (1)
  1. See FrameOptionsListType

ResponseHeadersPolicyReferrerPolicyTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyReferrerPolicyTypeDef

def get_value() -> ResponseHeadersPolicyReferrerPolicyTypeDef:
    return {
        "Override": ...,
        "ReferrerPolicy": ...,
    }
Definition
class ResponseHeadersPolicyReferrerPolicyTypeDef(TypedDict):
    Override: bool,
    ReferrerPolicy: ReferrerPolicyListType,  # (1)
  1. See ReferrerPolicyListType

ResponseHeadersPolicyStrictTransportSecurityTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyStrictTransportSecurityTypeDef

def get_value() -> ResponseHeadersPolicyStrictTransportSecurityTypeDef:
    return {
        "Override": ...,
        "AccessControlMaxAgeSec": ...,
    }
Definition
class ResponseHeadersPolicyStrictTransportSecurityTypeDef(TypedDict):
    Override: bool,
    AccessControlMaxAgeSec: int,
    IncludeSubdomains: NotRequired[bool],
    Preload: NotRequired[bool],

ResponseHeadersPolicyXSSProtectionTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import ResponseHeadersPolicyXSSProtectionTypeDef

def get_value() -> ResponseHeadersPolicyXSSProtectionTypeDef:
    return {
        "Override": ...,
        "Protection": ...,
    }
Definition
class ResponseHeadersPolicyXSSProtectionTypeDef(TypedDict):
    Override: bool,
    Protection: bool,
    ModeBlock: NotRequired[bool],
    ReportUri: NotRequired[str],

S3OriginTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import S3OriginTypeDef

def get_value() -> S3OriginTypeDef:
    return {
        "DomainName": ...,
        "OriginAccessIdentity": ...,
    }
Definition
class S3OriginTypeDef(TypedDict):
    DomainName: str,
    OriginAccessIdentity: str,

StreamingLoggingConfigTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import StreamingLoggingConfigTypeDef

def get_value() -> StreamingLoggingConfigTypeDef:
    return {
        "Enabled": ...,
        "Bucket": ...,
        "Prefix": ...,
    }
Definition
class StreamingLoggingConfigTypeDef(TypedDict):
    Enabled: bool,
    Bucket: str,
    Prefix: str,

TagKeysTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import TagKeysTypeDef

def get_value() -> TagKeysTypeDef:
    return {
        "Items": ...,
    }
Definition
class TagKeysTypeDef(TypedDict):
    Items: NotRequired[Sequence[str]],

TagTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

TestFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_cloudfront.type_defs import TestFunctionRequestRequestTypeDef