CloudFrontClient#
Index > CloudFront > CloudFrontClient
Auto-generated documentation for CloudFront type annotations stubs module mypy-boto3-cloudfront.
CloudFrontClient#
Type annotations and code completion for boto3.client("cloudfront")
.
boto3 documentation
# CloudFrontClient usage example
from boto3.session import Session
from mypy_boto3_cloudfront.client import CloudFrontClient
def get_cloudfront_client() -> CloudFrontClient:
return Session().client("cloudfront")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("cloudfront").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("cloudfront")
try:
do_something(client)
except (
client.exceptions.AccessDenied,
client.exceptions.BatchTooLarge,
client.exceptions.CNAMEAlreadyExists,
client.exceptions.CachePolicyAlreadyExists,
client.exceptions.CachePolicyInUse,
client.exceptions.CannotChangeImmutablePublicKeyFields,
client.exceptions.CannotDeleteEntityWhileInUse,
client.exceptions.CannotUpdateEntityWhileInUse,
client.exceptions.ClientError,
client.exceptions.CloudFrontOriginAccessIdentityAlreadyExists,
client.exceptions.CloudFrontOriginAccessIdentityInUse,
client.exceptions.ContinuousDeploymentPolicyAlreadyExists,
client.exceptions.ContinuousDeploymentPolicyInUse,
client.exceptions.DistributionAlreadyExists,
client.exceptions.DistributionNotDisabled,
client.exceptions.EntityAlreadyExists,
client.exceptions.EntityLimitExceeded,
client.exceptions.EntityNotFound,
client.exceptions.EntitySizeLimitExceeded,
client.exceptions.FieldLevelEncryptionConfigAlreadyExists,
client.exceptions.FieldLevelEncryptionConfigInUse,
client.exceptions.FieldLevelEncryptionProfileAlreadyExists,
client.exceptions.FieldLevelEncryptionProfileInUse,
client.exceptions.FieldLevelEncryptionProfileSizeExceeded,
client.exceptions.FunctionAlreadyExists,
client.exceptions.FunctionInUse,
client.exceptions.FunctionSizeLimitExceeded,
client.exceptions.IllegalDelete,
client.exceptions.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,
client.exceptions.IllegalOriginAccessConfiguration,
client.exceptions.IllegalUpdate,
client.exceptions.InconsistentQuantities,
client.exceptions.InvalidArgument,
client.exceptions.InvalidAssociation,
client.exceptions.InvalidDefaultRootObject,
client.exceptions.InvalidDomainNameForOriginAccessControl,
client.exceptions.InvalidErrorCode,
client.exceptions.InvalidForwardCookies,
client.exceptions.InvalidFunctionAssociation,
client.exceptions.InvalidGeoRestrictionParameter,
client.exceptions.InvalidHeadersForS3Origin,
client.exceptions.InvalidIfMatchVersion,
client.exceptions.InvalidLambdaFunctionAssociation,
client.exceptions.InvalidLocationCode,
client.exceptions.InvalidMinimumProtocolVersion,
client.exceptions.InvalidOrigin,
client.exceptions.InvalidOriginAccessControl,
client.exceptions.InvalidOriginAccessIdentity,
client.exceptions.InvalidOriginKeepaliveTimeout,
client.exceptions.InvalidOriginReadTimeout,
client.exceptions.InvalidProtocolSettings,
client.exceptions.InvalidQueryStringParameters,
client.exceptions.InvalidRelativePath,
client.exceptions.InvalidRequiredProtocol,
client.exceptions.InvalidResponseCode,
client.exceptions.InvalidTTLOrder,
client.exceptions.InvalidTagging,
client.exceptions.InvalidViewerCertificate,
client.exceptions.InvalidWebACLId,
client.exceptions.KeyGroupAlreadyExists,
client.exceptions.MissingBody,
client.exceptions.MonitoringSubscriptionAlreadyExists,
client.exceptions.NoSuchCachePolicy,
client.exceptions.NoSuchCloudFrontOriginAccessIdentity,
client.exceptions.NoSuchContinuousDeploymentPolicy,
client.exceptions.NoSuchDistribution,
client.exceptions.NoSuchFieldLevelEncryptionConfig,
client.exceptions.NoSuchFieldLevelEncryptionProfile,
client.exceptions.NoSuchFunctionExists,
client.exceptions.NoSuchInvalidation,
client.exceptions.NoSuchMonitoringSubscription,
client.exceptions.NoSuchOrigin,
client.exceptions.NoSuchOriginAccessControl,
client.exceptions.NoSuchOriginRequestPolicy,
client.exceptions.NoSuchPublicKey,
client.exceptions.NoSuchRealtimeLogConfig,
client.exceptions.NoSuchResource,
client.exceptions.NoSuchResponseHeadersPolicy,
client.exceptions.NoSuchStreamingDistribution,
client.exceptions.OriginAccessControlAlreadyExists,
client.exceptions.OriginAccessControlInUse,
client.exceptions.OriginRequestPolicyAlreadyExists,
client.exceptions.OriginRequestPolicyInUse,
client.exceptions.PreconditionFailed,
client.exceptions.PublicKeyAlreadyExists,
client.exceptions.PublicKeyInUse,
client.exceptions.QueryArgProfileEmpty,
client.exceptions.RealtimeLogConfigAlreadyExists,
client.exceptions.RealtimeLogConfigInUse,
client.exceptions.RealtimeLogConfigOwnerMismatch,
client.exceptions.ResourceInUse,
client.exceptions.ResourceNotDisabled,
client.exceptions.ResponseHeadersPolicyAlreadyExists,
client.exceptions.ResponseHeadersPolicyInUse,
client.exceptions.StagingDistributionInUse,
client.exceptions.StreamingDistributionAlreadyExists,
client.exceptions.StreamingDistributionNotDisabled,
client.exceptions.TestFunctionFailed,
client.exceptions.TooLongCSPInResponseHeadersPolicy,
client.exceptions.TooManyCacheBehaviors,
client.exceptions.TooManyCachePolicies,
client.exceptions.TooManyCertificates,
client.exceptions.TooManyCloudFrontOriginAccessIdentities,
client.exceptions.TooManyContinuousDeploymentPolicies,
client.exceptions.TooManyCookieNamesInWhiteList,
client.exceptions.TooManyCookiesInCachePolicy,
client.exceptions.TooManyCookiesInOriginRequestPolicy,
client.exceptions.TooManyCustomHeadersInResponseHeadersPolicy,
client.exceptions.TooManyDistributionCNAMEs,
client.exceptions.TooManyDistributions,
client.exceptions.TooManyDistributionsAssociatedToCachePolicy,
client.exceptions.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig,
client.exceptions.TooManyDistributionsAssociatedToKeyGroup,
client.exceptions.TooManyDistributionsAssociatedToOriginAccessControl,
client.exceptions.TooManyDistributionsAssociatedToOriginRequestPolicy,
client.exceptions.TooManyDistributionsAssociatedToResponseHeadersPolicy,
client.exceptions.TooManyDistributionsWithFunctionAssociations,
client.exceptions.TooManyDistributionsWithLambdaAssociations,
client.exceptions.TooManyDistributionsWithSingleFunctionARN,
client.exceptions.TooManyFieldLevelEncryptionConfigs,
client.exceptions.TooManyFieldLevelEncryptionContentTypeProfiles,
client.exceptions.TooManyFieldLevelEncryptionEncryptionEntities,
client.exceptions.TooManyFieldLevelEncryptionFieldPatterns,
client.exceptions.TooManyFieldLevelEncryptionProfiles,
client.exceptions.TooManyFieldLevelEncryptionQueryArgProfiles,
client.exceptions.TooManyFunctionAssociations,
client.exceptions.TooManyFunctions,
client.exceptions.TooManyHeadersInCachePolicy,
client.exceptions.TooManyHeadersInForwardedValues,
client.exceptions.TooManyHeadersInOriginRequestPolicy,
client.exceptions.TooManyInvalidationsInProgress,
client.exceptions.TooManyKeyGroups,
client.exceptions.TooManyKeyGroupsAssociatedToDistribution,
client.exceptions.TooManyLambdaFunctionAssociations,
client.exceptions.TooManyOriginAccessControls,
client.exceptions.TooManyOriginCustomHeaders,
client.exceptions.TooManyOriginGroupsPerDistribution,
client.exceptions.TooManyOriginRequestPolicies,
client.exceptions.TooManyOrigins,
client.exceptions.TooManyPublicKeys,
client.exceptions.TooManyPublicKeysInKeyGroup,
client.exceptions.TooManyQueryStringParameters,
client.exceptions.TooManyQueryStringsInCachePolicy,
client.exceptions.TooManyQueryStringsInOriginRequestPolicy,
client.exceptions.TooManyRealtimeLogConfigs,
client.exceptions.TooManyRemoveHeadersInResponseHeadersPolicy,
client.exceptions.TooManyResponseHeadersPolicies,
client.exceptions.TooManyStreamingDistributionCNAMEs,
client.exceptions.TooManyStreamingDistributions,
client.exceptions.TooManyTrustedSigners,
client.exceptions.TrustedKeyGroupDoesNotExist,
client.exceptions.TrustedSignerDoesNotExist,
client.exceptions.UnsupportedOperation,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_cloudfront.client import Exceptions
def handle_error(exc: Exceptions.AccessDenied) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("cloudfront").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("cloudfront").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
associate_alias#
The Type annotations and code completion for Associates the WAF web ACL with a distribution tenant. Type annotations and code completion for Associates the WAF web ACL with a distribution. Type annotations and code completion for Creates a staging distribution using the configuration of the provided primary
distribution. Type annotations and code completion for Creates an Anycast static IP list. Type annotations and code completion for Creates a cache policy. Type annotations and code completion for Creates a new origin access identity. Type annotations and code completion for Creates a connection group. Type annotations and code completion for Creates a continuous deployment policy that distributes traffic for a custom
domain name to two different CloudFront distributions. Type annotations and code completion for Creates a CloudFront distribution. Type annotations and code completion for Creates a distribution tenant. Type annotations and code completion for Create a new distribution with tags. Type annotations and code completion for Create a new field-level encryption configuration. Type annotations and code completion for Create a field-level encryption profile. Type annotations and code completion for Creates a CloudFront function. Type annotations and code completion for Create a new invalidation. Type annotations and code completion for Creates an invalidation for a distribution tenant. Type annotations and code completion for Creates a key group that you can use with CloudFront
signed URLs and signed cookies. Type annotations and code completion for Specifies the key value store resource to add to your account. Type annotations and code completion for Enables or disables additional Amazon CloudWatch metrics for the specified
CloudFront distribution. Type annotations and code completion for Creates a new origin access control in CloudFront. Type annotations and code completion for Creates an origin request policy. Type annotations and code completion for Uploads a public key to CloudFront that you can use with signed
URLs and signed cookies, or with <a
href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.... Type annotations and code completion for Creates a real-time log configuration. Type annotations and code completion for Creates a response headers policy. Type annotations and code completion for This API is deprecated. Type annotations and code completion for This API is deprecated. Type annotations and code completion for Create an Amazon CloudFront VPC origin. Type annotations and code completion for Deletes an Anycast static IP list. Type annotations and code completion for Deletes a cache policy. Type annotations and code completion for Delete an origin access identity. Type annotations and code completion for Deletes a connection group. Type annotations and code completion for Deletes a continuous deployment policy. Type annotations and code completion for Delete a distribution. Type annotations and code completion for Deletes a distribution tenant. Type annotations and code completion for Remove a field-level encryption configuration. Type annotations and code completion for Remove a field-level encryption profile. Type annotations and code completion for Deletes a CloudFront function. Type annotations and code completion for Deletes a key group. Type annotations and code completion for Specifies the key value store to delete. Type annotations and code completion for Disables additional CloudWatch metrics for the specified CloudFront
distribution. Type annotations and code completion for Deletes a CloudFront origin access control. Type annotations and code completion for Deletes an origin request policy. Type annotations and code completion for Remove a public key you previously added to CloudFront. Type annotations and code completion for Deletes a real-time log configuration. Type annotations and code completion for Deletes a response headers policy. Type annotations and code completion for Delete a streaming distribution. Type annotations and code completion for Delete an Amazon CloudFront VPC origin. Type annotations and code completion for Gets configuration information and metadata about a CloudFront function, but
not the function's code. Type annotations and code completion for Specifies the key value store and its configuration. Type annotations and code completion for Disassociates a distribution tenant from the WAF web ACL. Type annotations and code completion for Disassociates a distribution from the WAF web ACL. Type annotations and code completion for Gets an Anycast static IP list. Type annotations and code completion for Gets a cache policy, including the following metadata:. Type annotations and code completion for Gets a cache policy configuration. Type annotations and code completion for Get the information about an origin access identity. Type annotations and code completion for Get the configuration information about an origin access identity. Type annotations and code completion for Gets information about a connection group. Type annotations and code completion for Gets information about a connection group by using the endpoint that you
specify. Type annotations and code completion for Gets a continuous deployment policy, including metadata (the policy's
identifier and the date and time when the policy was last modified). Type annotations and code completion for Gets configuration information about a continuous deployment policy. Type annotations and code completion for Get the information about a distribution. Type annotations and code completion for Get the configuration information about a distribution. Type annotations and code completion for Gets information about a distribution tenant. Type annotations and code completion for Gets information about a distribution tenant by the associated domain. Type annotations and code completion for Get the field-level encryption configuration information. Type annotations and code completion for Get the field-level encryption configuration information. Type annotations and code completion for Get the field-level encryption profile information. Type annotations and code completion for Get the field-level encryption profile configuration information. Type annotations and code completion for Gets the code of a CloudFront function. Type annotations and code completion for Get the information about an invalidation. Type annotations and code completion for Gets information about a specific invalidation for a distribution tenant. Type annotations and code completion for Gets a key group, including the date and time when the key group was last
modified. Type annotations and code completion for Gets a key group configuration. Type annotations and code completion for Gets details about the CloudFront managed ACM certificate. Type annotations and code completion for Gets information about whether additional CloudWatch metrics are enabled for
the specified CloudFront distribution. Type annotations and code completion for Gets a CloudFront origin access control, including its unique identifier. Type annotations and code completion for Gets a CloudFront origin access control configuration. Type annotations and code completion for Gets an origin request policy, including the following metadata:. Type annotations and code completion for Gets an origin request policy configuration. Type annotations and code completion for Gets a public key. Type annotations and code completion for Gets a public key configuration. Type annotations and code completion for Gets a real-time log configuration. Type annotations and code completion for Gets a response headers policy, including metadata (the policy's identifier and
the date and time when the policy was last modified). Type annotations and code completion for Gets a response headers policy configuration. Type annotations and code completion for Gets information about a specified RTMP distribution, including the
distribution configuration. Type annotations and code completion for Get the configuration information about a streaming distribution. Type annotations and code completion for Get the details of an Amazon CloudFront VPC origin. Type annotations and code completion for Lists your Anycast static IP lists. Type annotations and code completion for Gets a list of cache policies. Type annotations and code completion for Lists origin access identities. Type annotations and code completion for The Type annotations and code completion for Lists the connection groups in your Amazon Web Services account. Type annotations and code completion for Gets a list of the continuous deployment policies in your Amazon Web Services
account. Type annotations and code completion for Lists the distribution tenants in your Amazon Web Services account. Type annotations and code completion for Lists distribution tenants by the customization that you specify. Type annotations and code completion for List CloudFront distributions. Type annotations and code completion for Lists the distributions in your account that are associated with the specified
Type annotations and code completion for Gets a list of distribution IDs for distributions that have a cache behavior
that's associated with the specified cache policy. Type annotations and code completion for Lists the distributions by the connection mode that you specify. Type annotations and code completion for Gets a list of distribution IDs for distributions that have a cache behavior
that references the specified key group. Type annotations and code completion for Gets a list of distribution IDs for distributions that have a cache behavior
that's associated with the specified origin request policy. Type annotations and code completion for Gets a list of distributions that have a cache behavior that's associated with
the specified real-time log configuration. Type annotations and code completion for Gets a list of distribution IDs for distributions that have a cache behavior
that's associated with the specified response headers policy. Type annotations and code completion for List CloudFront distributions by their VPC origin ID. Type annotations and code completion for List the distributions that are associated with a specified WAF web ACL. Type annotations and code completion for We recommend that you use the Type annotations and code completion for List all field-level encryption configurations that have been created in
CloudFront for this account. Type annotations and code completion for Request a list of field-level encryption profiles that have been created in
CloudFront for this account. Type annotations and code completion for Gets a list of all CloudFront functions in your Amazon Web Services account. Type annotations and code completion for Lists invalidation batches. Type annotations and code completion for Lists the invalidations for a distribution tenant. Type annotations and code completion for Gets a list of key groups. Type annotations and code completion for Specifies the key value stores to list. Type annotations and code completion for Gets the list of CloudFront origin access controls (OACs) in this Amazon Web
Services account. Type annotations and code completion for Gets a list of origin request policies. Type annotations and code completion for List all public keys that have been added to CloudFront for this account. Type annotations and code completion for Gets a list of real-time log configurations. Type annotations and code completion for Gets a list of response headers policies. Type annotations and code completion for List streaming distributions. Type annotations and code completion for List tags for a CloudFront resource. Type annotations and code completion for List the CloudFront VPC origins in your account. Type annotations and code completion for Publishes a CloudFront function by copying the function code from the
Type annotations and code completion for Add tags to a CloudFront resource. Type annotations and code completion for Tests a CloudFront function. Type annotations and code completion for Remove tags from a CloudFront resource. Type annotations and code completion for Updates a cache policy configuration. Type annotations and code completion for Update an origin access identity. Type annotations and code completion for Updates a connection group. Type annotations and code completion for Updates a continuous deployment policy. Type annotations and code completion for Updates the configuration for a CloudFront distribution. Type annotations and code completion for Updates a distribution tenant. Type annotations and code completion for Copies the staging distribution's configuration to its corresponding primary
distribution. Type annotations and code completion for We recommend that you use the Type annotations and code completion for Update a field-level encryption configuration. Type annotations and code completion for Update a field-level encryption profile. Type annotations and code completion for Updates a CloudFront function. Type annotations and code completion for Updates a key group. Type annotations and code completion for Specifies the key value store to update. Type annotations and code completion for Updates a CloudFront origin access control. Type annotations and code completion for Updates an origin request policy configuration. Type annotations and code completion for Update public key information. Type annotations and code completion for Updates a real-time log configuration. Type annotations and code completion for Updates a response headers policy. Type annotations and code completion for Update a streaming distribution. Type annotations and code completion for Update an Amazon CloudFront VPC origin in your account. Type annotations and code completion for Verify the DNS configuration for your domain names. Type annotations and code completion for Type annotations and code completion for Type annotations and code completion for AssociateAlias
API operation only supports standard
distributions.boto3.client("cloudfront").associate_alias
method.
boto3 documentation# associate_alias method definition
def associate_alias(
self,
*,
TargetDistributionId: str,
Alias: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# associate_alias method usage example with argument unpacking
kwargs: AssociateAliasRequestTypeDef = { # (1)
"TargetDistributionId": ...,
"Alias": ...,
}
parent.associate_alias(**kwargs)
associate_distribution_tenant_web_acl#
boto3.client("cloudfront").associate_distribution_tenant_web_acl
method.
boto3 documentation# associate_distribution_tenant_web_acl method definition
def associate_distribution_tenant_web_acl(
self,
*,
Id: str,
WebACLArn: str,
IfMatch: str = ...,
) -> AssociateDistributionTenantWebACLResultTypeDef: # (1)
...
# associate_distribution_tenant_web_acl method usage example with argument unpacking
kwargs: AssociateDistributionTenantWebACLRequestTypeDef = { # (1)
"Id": ...,
"WebACLArn": ...,
}
parent.associate_distribution_tenant_web_acl(**kwargs)
associate_distribution_web_acl#
boto3.client("cloudfront").associate_distribution_web_acl
method.
boto3 documentation# associate_distribution_web_acl method definition
def associate_distribution_web_acl(
self,
*,
Id: str,
WebACLArn: str,
IfMatch: str = ...,
) -> AssociateDistributionWebACLResultTypeDef: # (1)
...
# associate_distribution_web_acl method usage example with argument unpacking
kwargs: AssociateDistributionWebACLRequestTypeDef = { # (1)
"Id": ...,
"WebACLArn": ...,
}
parent.associate_distribution_web_acl(**kwargs)
copy_distribution#
boto3.client("cloudfront").copy_distribution
method.
boto3 documentation# copy_distribution method definition
def copy_distribution(
self,
*,
PrimaryDistributionId: str,
CallerReference: str,
Staging: bool = ...,
IfMatch: str = ...,
Enabled: bool = ...,
) -> CopyDistributionResultTypeDef: # (1)
...
# copy_distribution method usage example with argument unpacking
kwargs: CopyDistributionRequestTypeDef = { # (1)
"PrimaryDistributionId": ...,
"CallerReference": ...,
}
parent.copy_distribution(**kwargs)
create_anycast_ip_list#
boto3.client("cloudfront").create_anycast_ip_list
method.
boto3 documentation# create_anycast_ip_list method definition
def create_anycast_ip_list(
self,
*,
Name: str,
IpCount: int,
Tags: TagsUnionTypeDef = ..., # (1)
) -> CreateAnycastIpListResultTypeDef: # (2)
...
# create_anycast_ip_list method usage example with argument unpacking
kwargs: CreateAnycastIpListRequestTypeDef = { # (1)
"Name": ...,
"IpCount": ...,
}
parent.create_anycast_ip_list(**kwargs)
create_cache_policy#
boto3.client("cloudfront").create_cache_policy
method.
boto3 documentation# create_cache_policy method definition
def create_cache_policy(
self,
*,
CachePolicyConfig: CachePolicyConfigUnionTypeDef, # (1)
) -> CreateCachePolicyResultTypeDef: # (2)
...
# create_cache_policy method usage example with argument unpacking
kwargs: CreateCachePolicyRequestTypeDef = { # (1)
"CachePolicyConfig": ...,
}
parent.create_cache_policy(**kwargs)
create_cloud_front_origin_access_identity#
boto3.client("cloudfront").create_cloud_front_origin_access_identity
method.
boto3 documentation# create_cloud_front_origin_access_identity method definition
def create_cloud_front_origin_access_identity(
self,
*,
CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfigTypeDef, # (1)
) -> CreateCloudFrontOriginAccessIdentityResultTypeDef: # (2)
...
# create_cloud_front_origin_access_identity method usage example with argument unpacking
kwargs: CreateCloudFrontOriginAccessIdentityRequestTypeDef = { # (1)
"CloudFrontOriginAccessIdentityConfig": ...,
}
parent.create_cloud_front_origin_access_identity(**kwargs)
create_connection_group#
boto3.client("cloudfront").create_connection_group
method.
boto3 documentation# create_connection_group method definition
def create_connection_group(
self,
*,
Name: str,
Ipv6Enabled: bool = ...,
Tags: TagsUnionTypeDef = ..., # (1)
AnycastIpListId: str = ...,
Enabled: bool = ...,
) -> CreateConnectionGroupResultTypeDef: # (2)
...
# create_connection_group method usage example with argument unpacking
kwargs: CreateConnectionGroupRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_connection_group(**kwargs)
create_continuous_deployment_policy#
boto3.client("cloudfront").create_continuous_deployment_policy
method.
boto3 documentation# create_continuous_deployment_policy method definition
def create_continuous_deployment_policy(
self,
*,
ContinuousDeploymentPolicyConfig: ContinuousDeploymentPolicyConfigUnionTypeDef, # (1)
) -> CreateContinuousDeploymentPolicyResultTypeDef: # (2)
...
# create_continuous_deployment_policy method usage example with argument unpacking
kwargs: CreateContinuousDeploymentPolicyRequestTypeDef = { # (1)
"ContinuousDeploymentPolicyConfig": ...,
}
parent.create_continuous_deployment_policy(**kwargs)
create_distribution#
boto3.client("cloudfront").create_distribution
method.
boto3 documentation# create_distribution method definition
def create_distribution(
self,
*,
DistributionConfig: DistributionConfigUnionTypeDef, # (1)
) -> CreateDistributionResultTypeDef: # (2)
...
# create_distribution method usage example with argument unpacking
kwargs: CreateDistributionRequestTypeDef = { # (1)
"DistributionConfig": ...,
}
parent.create_distribution(**kwargs)
create_distribution_tenant#
boto3.client("cloudfront").create_distribution_tenant
method.
boto3 documentation# create_distribution_tenant method definition
def create_distribution_tenant(
self,
*,
DistributionId: str,
Name: str,
Domains: Sequence[DomainItemTypeDef], # (1)
Tags: TagsUnionTypeDef = ..., # (2)
Customizations: CustomizationsUnionTypeDef = ..., # (3)
Parameters: Sequence[ParameterTypeDef] = ..., # (4)
ConnectionGroupId: str = ...,
ManagedCertificateRequest: ManagedCertificateRequestTypeDef = ..., # (5)
Enabled: bool = ...,
) -> CreateDistributionTenantResultTypeDef: # (6)
...
Sequence[DomainItemTypeDef]
Sequence[ParameterTypeDef]
# create_distribution_tenant method usage example with argument unpacking
kwargs: CreateDistributionTenantRequestTypeDef = { # (1)
"DistributionId": ...,
"Name": ...,
"Domains": ...,
}
parent.create_distribution_tenant(**kwargs)
create_distribution_with_tags#
boto3.client("cloudfront").create_distribution_with_tags
method.
boto3 documentation# create_distribution_with_tags method definition
def create_distribution_with_tags(
self,
*,
DistributionConfigWithTags: DistributionConfigWithTagsTypeDef, # (1)
) -> CreateDistributionWithTagsResultTypeDef: # (2)
...
# create_distribution_with_tags method usage example with argument unpacking
kwargs: CreateDistributionWithTagsRequestTypeDef = { # (1)
"DistributionConfigWithTags": ...,
}
parent.create_distribution_with_tags(**kwargs)
create_field_level_encryption_config#
boto3.client("cloudfront").create_field_level_encryption_config
method.
boto3 documentation# create_field_level_encryption_config method definition
def create_field_level_encryption_config(
self,
*,
FieldLevelEncryptionConfig: FieldLevelEncryptionConfigUnionTypeDef, # (1)
) -> CreateFieldLevelEncryptionConfigResultTypeDef: # (2)
...
# create_field_level_encryption_config method usage example with argument unpacking
kwargs: CreateFieldLevelEncryptionConfigRequestTypeDef = { # (1)
"FieldLevelEncryptionConfig": ...,
}
parent.create_field_level_encryption_config(**kwargs)
create_field_level_encryption_profile#
boto3.client("cloudfront").create_field_level_encryption_profile
method.
boto3 documentation# create_field_level_encryption_profile method definition
def create_field_level_encryption_profile(
self,
*,
FieldLevelEncryptionProfileConfig: FieldLevelEncryptionProfileConfigUnionTypeDef, # (1)
) -> CreateFieldLevelEncryptionProfileResultTypeDef: # (2)
...
# create_field_level_encryption_profile method usage example with argument unpacking
kwargs: CreateFieldLevelEncryptionProfileRequestTypeDef = { # (1)
"FieldLevelEncryptionProfileConfig": ...,
}
parent.create_field_level_encryption_profile(**kwargs)
create_function#
boto3.client("cloudfront").create_function
method.
boto3 documentation# create_function method definition
def create_function(
self,
*,
Name: str,
FunctionConfig: FunctionConfigUnionTypeDef, # (1)
FunctionCode: BlobTypeDef,
) -> CreateFunctionResultTypeDef: # (2)
...
# create_function method usage example with argument unpacking
kwargs: CreateFunctionRequestTypeDef = { # (1)
"Name": ...,
"FunctionConfig": ...,
"FunctionCode": ...,
}
parent.create_function(**kwargs)
create_invalidation#
boto3.client("cloudfront").create_invalidation
method.
boto3 documentation# create_invalidation method definition
def create_invalidation(
self,
*,
DistributionId: str,
InvalidationBatch: InvalidationBatchUnionTypeDef, # (1)
) -> CreateInvalidationResultTypeDef: # (2)
...
# create_invalidation method usage example with argument unpacking
kwargs: CreateInvalidationRequestTypeDef = { # (1)
"DistributionId": ...,
"InvalidationBatch": ...,
}
parent.create_invalidation(**kwargs)
create_invalidation_for_distribution_tenant#
boto3.client("cloudfront").create_invalidation_for_distribution_tenant
method.
boto3 documentation# create_invalidation_for_distribution_tenant method definition
def create_invalidation_for_distribution_tenant(
self,
*,
Id: str,
InvalidationBatch: InvalidationBatchUnionTypeDef, # (1)
) -> CreateInvalidationForDistributionTenantResultTypeDef: # (2)
...
# create_invalidation_for_distribution_tenant method usage example with argument unpacking
kwargs: CreateInvalidationForDistributionTenantRequestTypeDef = { # (1)
"Id": ...,
"InvalidationBatch": ...,
}
parent.create_invalidation_for_distribution_tenant(**kwargs)
create_key_group#
boto3.client("cloudfront").create_key_group
method.
boto3 documentation# create_key_group method definition
def create_key_group(
self,
*,
KeyGroupConfig: KeyGroupConfigUnionTypeDef, # (1)
) -> CreateKeyGroupResultTypeDef: # (2)
...
# create_key_group method usage example with argument unpacking
kwargs: CreateKeyGroupRequestTypeDef = { # (1)
"KeyGroupConfig": ...,
}
parent.create_key_group(**kwargs)
create_key_value_store#
boto3.client("cloudfront").create_key_value_store
method.
boto3 documentation# create_key_value_store method definition
def create_key_value_store(
self,
*,
Name: str,
Comment: str = ...,
ImportSource: ImportSourceTypeDef = ..., # (1)
) -> CreateKeyValueStoreResultTypeDef: # (2)
...
# create_key_value_store method usage example with argument unpacking
kwargs: CreateKeyValueStoreRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_key_value_store(**kwargs)
create_monitoring_subscription#
boto3.client("cloudfront").create_monitoring_subscription
method.
boto3 documentation# create_monitoring_subscription method definition
def create_monitoring_subscription(
self,
*,
DistributionId: str,
MonitoringSubscription: MonitoringSubscriptionTypeDef, # (1)
) -> CreateMonitoringSubscriptionResultTypeDef: # (2)
...
# create_monitoring_subscription method usage example with argument unpacking
kwargs: CreateMonitoringSubscriptionRequestTypeDef = { # (1)
"DistributionId": ...,
"MonitoringSubscription": ...,
}
parent.create_monitoring_subscription(**kwargs)
create_origin_access_control#
boto3.client("cloudfront").create_origin_access_control
method.
boto3 documentation# create_origin_access_control method definition
def create_origin_access_control(
self,
*,
OriginAccessControlConfig: OriginAccessControlConfigTypeDef, # (1)
) -> CreateOriginAccessControlResultTypeDef: # (2)
...
# create_origin_access_control method usage example with argument unpacking
kwargs: CreateOriginAccessControlRequestTypeDef = { # (1)
"OriginAccessControlConfig": ...,
}
parent.create_origin_access_control(**kwargs)
create_origin_request_policy#
boto3.client("cloudfront").create_origin_request_policy
method.
boto3 documentation# create_origin_request_policy method definition
def create_origin_request_policy(
self,
*,
OriginRequestPolicyConfig: OriginRequestPolicyConfigUnionTypeDef, # (1)
) -> CreateOriginRequestPolicyResultTypeDef: # (2)
...
# create_origin_request_policy method usage example with argument unpacking
kwargs: CreateOriginRequestPolicyRequestTypeDef = { # (1)
"OriginRequestPolicyConfig": ...,
}
parent.create_origin_request_policy(**kwargs)
create_public_key#
boto3.client("cloudfront").create_public_key
method.
boto3 documentation# create_public_key method definition
def create_public_key(
self,
*,
PublicKeyConfig: PublicKeyConfigTypeDef, # (1)
) -> CreatePublicKeyResultTypeDef: # (2)
...
# create_public_key method usage example with argument unpacking
kwargs: CreatePublicKeyRequestTypeDef = { # (1)
"PublicKeyConfig": ...,
}
parent.create_public_key(**kwargs)
create_realtime_log_config#
boto3.client("cloudfront").create_realtime_log_config
method.
boto3 documentation# create_realtime_log_config method definition
def create_realtime_log_config(
self,
*,
EndPoints: Sequence[EndPointTypeDef], # (1)
Fields: Sequence[str],
Name: str,
SamplingRate: int,
) -> CreateRealtimeLogConfigResultTypeDef: # (2)
...
Sequence[EndPointTypeDef]
# create_realtime_log_config method usage example with argument unpacking
kwargs: CreateRealtimeLogConfigRequestTypeDef = { # (1)
"EndPoints": ...,
"Fields": ...,
"Name": ...,
"SamplingRate": ...,
}
parent.create_realtime_log_config(**kwargs)
create_response_headers_policy#
boto3.client("cloudfront").create_response_headers_policy
method.
boto3 documentation# create_response_headers_policy method definition
def create_response_headers_policy(
self,
*,
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfigUnionTypeDef, # (1)
) -> CreateResponseHeadersPolicyResultTypeDef: # (2)
...
# create_response_headers_policy method usage example with argument unpacking
kwargs: CreateResponseHeadersPolicyRequestTypeDef = { # (1)
"ResponseHeadersPolicyConfig": ...,
}
parent.create_response_headers_policy(**kwargs)
create_streaming_distribution#
boto3.client("cloudfront").create_streaming_distribution
method.
boto3 documentation# create_streaming_distribution method definition
def create_streaming_distribution(
self,
*,
StreamingDistributionConfig: StreamingDistributionConfigUnionTypeDef, # (1)
) -> CreateStreamingDistributionResultTypeDef: # (2)
...
# create_streaming_distribution method usage example with argument unpacking
kwargs: CreateStreamingDistributionRequestTypeDef = { # (1)
"StreamingDistributionConfig": ...,
}
parent.create_streaming_distribution(**kwargs)
create_streaming_distribution_with_tags#
boto3.client("cloudfront").create_streaming_distribution_with_tags
method.
boto3 documentation# create_streaming_distribution_with_tags method definition
def create_streaming_distribution_with_tags(
self,
*,
StreamingDistributionConfigWithTags: StreamingDistributionConfigWithTagsTypeDef, # (1)
) -> CreateStreamingDistributionWithTagsResultTypeDef: # (2)
...
# create_streaming_distribution_with_tags method usage example with argument unpacking
kwargs: CreateStreamingDistributionWithTagsRequestTypeDef = { # (1)
"StreamingDistributionConfigWithTags": ...,
}
parent.create_streaming_distribution_with_tags(**kwargs)
create_vpc_origin#
boto3.client("cloudfront").create_vpc_origin
method.
boto3 documentation# create_vpc_origin method definition
def create_vpc_origin(
self,
*,
VpcOriginEndpointConfig: VpcOriginEndpointConfigUnionTypeDef, # (1)
Tags: TagsUnionTypeDef = ..., # (2)
) -> CreateVpcOriginResultTypeDef: # (3)
...
# create_vpc_origin method usage example with argument unpacking
kwargs: CreateVpcOriginRequestTypeDef = { # (1)
"VpcOriginEndpointConfig": ...,
}
parent.create_vpc_origin(**kwargs)
delete_anycast_ip_list#
boto3.client("cloudfront").delete_anycast_ip_list
method.
boto3 documentation# delete_anycast_ip_list method definition
def delete_anycast_ip_list(
self,
*,
Id: str,
IfMatch: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_anycast_ip_list method usage example with argument unpacking
kwargs: DeleteAnycastIpListRequestTypeDef = { # (1)
"Id": ...,
"IfMatch": ...,
}
parent.delete_anycast_ip_list(**kwargs)
delete_cache_policy#
boto3.client("cloudfront").delete_cache_policy
method.
boto3 documentation# delete_cache_policy method definition
def delete_cache_policy(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_cache_policy method usage example with argument unpacking
kwargs: DeleteCachePolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_cache_policy(**kwargs)
delete_cloud_front_origin_access_identity#
boto3.client("cloudfront").delete_cloud_front_origin_access_identity
method.
boto3 documentation# delete_cloud_front_origin_access_identity method definition
def delete_cloud_front_origin_access_identity(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_cloud_front_origin_access_identity method usage example with argument unpacking
kwargs: DeleteCloudFrontOriginAccessIdentityRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_cloud_front_origin_access_identity(**kwargs)
delete_connection_group#
boto3.client("cloudfront").delete_connection_group
method.
boto3 documentation# delete_connection_group method definition
def delete_connection_group(
self,
*,
Id: str,
IfMatch: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_connection_group method usage example with argument unpacking
kwargs: DeleteConnectionGroupRequestTypeDef = { # (1)
"Id": ...,
"IfMatch": ...,
}
parent.delete_connection_group(**kwargs)
delete_continuous_deployment_policy#
boto3.client("cloudfront").delete_continuous_deployment_policy
method.
boto3 documentation# delete_continuous_deployment_policy method definition
def delete_continuous_deployment_policy(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_continuous_deployment_policy method usage example with argument unpacking
kwargs: DeleteContinuousDeploymentPolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_continuous_deployment_policy(**kwargs)
delete_distribution#
boto3.client("cloudfront").delete_distribution
method.
boto3 documentation# delete_distribution method definition
def delete_distribution(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_distribution method usage example with argument unpacking
kwargs: DeleteDistributionRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_distribution(**kwargs)
delete_distribution_tenant#
boto3.client("cloudfront").delete_distribution_tenant
method.
boto3 documentation# delete_distribution_tenant method definition
def delete_distribution_tenant(
self,
*,
Id: str,
IfMatch: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_distribution_tenant method usage example with argument unpacking
kwargs: DeleteDistributionTenantRequestTypeDef = { # (1)
"Id": ...,
"IfMatch": ...,
}
parent.delete_distribution_tenant(**kwargs)
delete_field_level_encryption_config#
boto3.client("cloudfront").delete_field_level_encryption_config
method.
boto3 documentation# delete_field_level_encryption_config method definition
def delete_field_level_encryption_config(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_field_level_encryption_config method usage example with argument unpacking
kwargs: DeleteFieldLevelEncryptionConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_field_level_encryption_config(**kwargs)
delete_field_level_encryption_profile#
boto3.client("cloudfront").delete_field_level_encryption_profile
method.
boto3 documentation# delete_field_level_encryption_profile method definition
def delete_field_level_encryption_profile(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_field_level_encryption_profile method usage example with argument unpacking
kwargs: DeleteFieldLevelEncryptionProfileRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_field_level_encryption_profile(**kwargs)
delete_function#
boto3.client("cloudfront").delete_function
method.
boto3 documentation# delete_function method definition
def delete_function(
self,
*,
Name: str,
IfMatch: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_function method usage example with argument unpacking
kwargs: DeleteFunctionRequestTypeDef = { # (1)
"Name": ...,
"IfMatch": ...,
}
parent.delete_function(**kwargs)
delete_key_group#
boto3.client("cloudfront").delete_key_group
method.
boto3 documentation# delete_key_group method definition
def delete_key_group(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_key_group method usage example with argument unpacking
kwargs: DeleteKeyGroupRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_key_group(**kwargs)
delete_key_value_store#
boto3.client("cloudfront").delete_key_value_store
method.
boto3 documentation# delete_key_value_store method definition
def delete_key_value_store(
self,
*,
Name: str,
IfMatch: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_key_value_store method usage example with argument unpacking
kwargs: DeleteKeyValueStoreRequestTypeDef = { # (1)
"Name": ...,
"IfMatch": ...,
}
parent.delete_key_value_store(**kwargs)
delete_monitoring_subscription#
boto3.client("cloudfront").delete_monitoring_subscription
method.
boto3 documentation# delete_monitoring_subscription method definition
def delete_monitoring_subscription(
self,
*,
DistributionId: str,
) -> Dict[str, Any]:
...
# delete_monitoring_subscription method usage example with argument unpacking
kwargs: DeleteMonitoringSubscriptionRequestTypeDef = { # (1)
"DistributionId": ...,
}
parent.delete_monitoring_subscription(**kwargs)
delete_origin_access_control#
boto3.client("cloudfront").delete_origin_access_control
method.
boto3 documentation# delete_origin_access_control method definition
def delete_origin_access_control(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_origin_access_control method usage example with argument unpacking
kwargs: DeleteOriginAccessControlRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_origin_access_control(**kwargs)
delete_origin_request_policy#
boto3.client("cloudfront").delete_origin_request_policy
method.
boto3 documentation# delete_origin_request_policy method definition
def delete_origin_request_policy(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_origin_request_policy method usage example with argument unpacking
kwargs: DeleteOriginRequestPolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_origin_request_policy(**kwargs)
delete_public_key#
boto3.client("cloudfront").delete_public_key
method.
boto3 documentation# delete_public_key method definition
def delete_public_key(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_public_key method usage example with argument unpacking
kwargs: DeletePublicKeyRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_public_key(**kwargs)
delete_realtime_log_config#
boto3.client("cloudfront").delete_realtime_log_config
method.
boto3 documentation# delete_realtime_log_config method definition
def delete_realtime_log_config(
self,
*,
Name: str = ...,
ARN: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_realtime_log_config method usage example with argument unpacking
kwargs: DeleteRealtimeLogConfigRequestTypeDef = { # (1)
"Name": ...,
}
parent.delete_realtime_log_config(**kwargs)
delete_response_headers_policy#
boto3.client("cloudfront").delete_response_headers_policy
method.
boto3 documentation# delete_response_headers_policy method definition
def delete_response_headers_policy(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_response_headers_policy method usage example with argument unpacking
kwargs: DeleteResponseHeadersPolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_response_headers_policy(**kwargs)
delete_streaming_distribution#
boto3.client("cloudfront").delete_streaming_distribution
method.
boto3 documentation# delete_streaming_distribution method definition
def delete_streaming_distribution(
self,
*,
Id: str,
IfMatch: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_streaming_distribution method usage example with argument unpacking
kwargs: DeleteStreamingDistributionRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_streaming_distribution(**kwargs)
delete_vpc_origin#
boto3.client("cloudfront").delete_vpc_origin
method.
boto3 documentation# delete_vpc_origin method definition
def delete_vpc_origin(
self,
*,
Id: str,
IfMatch: str,
) -> DeleteVpcOriginResultTypeDef: # (1)
...
# delete_vpc_origin method usage example with argument unpacking
kwargs: DeleteVpcOriginRequestTypeDef = { # (1)
"Id": ...,
"IfMatch": ...,
}
parent.delete_vpc_origin(**kwargs)
describe_function#
boto3.client("cloudfront").describe_function
method.
boto3 documentation# describe_function method definition
def describe_function(
self,
*,
Name: str,
Stage: FunctionStageType = ..., # (1)
) -> DescribeFunctionResultTypeDef: # (2)
...
# describe_function method usage example with argument unpacking
kwargs: DescribeFunctionRequestTypeDef = { # (1)
"Name": ...,
}
parent.describe_function(**kwargs)
describe_key_value_store#
boto3.client("cloudfront").describe_key_value_store
method.
boto3 documentation# describe_key_value_store method definition
def describe_key_value_store(
self,
*,
Name: str,
) -> DescribeKeyValueStoreResultTypeDef: # (1)
...
# describe_key_value_store method usage example with argument unpacking
kwargs: DescribeKeyValueStoreRequestTypeDef = { # (1)
"Name": ...,
}
parent.describe_key_value_store(**kwargs)
disassociate_distribution_tenant_web_acl#
boto3.client("cloudfront").disassociate_distribution_tenant_web_acl
method.
boto3 documentation# disassociate_distribution_tenant_web_acl method definition
def disassociate_distribution_tenant_web_acl(
self,
*,
Id: str,
IfMatch: str = ...,
) -> DisassociateDistributionTenantWebACLResultTypeDef: # (1)
...
# disassociate_distribution_tenant_web_acl method usage example with argument unpacking
kwargs: DisassociateDistributionTenantWebACLRequestTypeDef = { # (1)
"Id": ...,
}
parent.disassociate_distribution_tenant_web_acl(**kwargs)
disassociate_distribution_web_acl#
boto3.client("cloudfront").disassociate_distribution_web_acl
method.
boto3 documentation# disassociate_distribution_web_acl method definition
def disassociate_distribution_web_acl(
self,
*,
Id: str,
IfMatch: str = ...,
) -> DisassociateDistributionWebACLResultTypeDef: # (1)
...
# disassociate_distribution_web_acl method usage example with argument unpacking
kwargs: DisassociateDistributionWebACLRequestTypeDef = { # (1)
"Id": ...,
}
parent.disassociate_distribution_web_acl(**kwargs)
get_anycast_ip_list#
boto3.client("cloudfront").get_anycast_ip_list
method.
boto3 documentation# get_anycast_ip_list method definition
def get_anycast_ip_list(
self,
*,
Id: str,
) -> GetAnycastIpListResultTypeDef: # (1)
...
# get_anycast_ip_list method usage example with argument unpacking
kwargs: GetAnycastIpListRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_anycast_ip_list(**kwargs)
get_cache_policy#
boto3.client("cloudfront").get_cache_policy
method.
boto3 documentation# get_cache_policy method definition
def get_cache_policy(
self,
*,
Id: str,
) -> GetCachePolicyResultTypeDef: # (1)
...
# get_cache_policy method usage example with argument unpacking
kwargs: GetCachePolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_cache_policy(**kwargs)
get_cache_policy_config#
boto3.client("cloudfront").get_cache_policy_config
method.
boto3 documentation# get_cache_policy_config method definition
def get_cache_policy_config(
self,
*,
Id: str,
) -> GetCachePolicyConfigResultTypeDef: # (1)
...
# get_cache_policy_config method usage example with argument unpacking
kwargs: GetCachePolicyConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_cache_policy_config(**kwargs)
get_cloud_front_origin_access_identity#
boto3.client("cloudfront").get_cloud_front_origin_access_identity
method.
boto3 documentation# get_cloud_front_origin_access_identity method definition
def get_cloud_front_origin_access_identity(
self,
*,
Id: str,
) -> GetCloudFrontOriginAccessIdentityResultTypeDef: # (1)
...
# get_cloud_front_origin_access_identity method usage example with argument unpacking
kwargs: GetCloudFrontOriginAccessIdentityRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_cloud_front_origin_access_identity(**kwargs)
get_cloud_front_origin_access_identity_config#
boto3.client("cloudfront").get_cloud_front_origin_access_identity_config
method.
boto3 documentation# get_cloud_front_origin_access_identity_config method definition
def get_cloud_front_origin_access_identity_config(
self,
*,
Id: str,
) -> GetCloudFrontOriginAccessIdentityConfigResultTypeDef: # (1)
...
# get_cloud_front_origin_access_identity_config method usage example with argument unpacking
kwargs: GetCloudFrontOriginAccessIdentityConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_cloud_front_origin_access_identity_config(**kwargs)
get_connection_group#
boto3.client("cloudfront").get_connection_group
method.
boto3 documentation# get_connection_group method definition
def get_connection_group(
self,
*,
Identifier: str,
) -> GetConnectionGroupResultTypeDef: # (1)
...
# get_connection_group method usage example with argument unpacking
kwargs: GetConnectionGroupRequestTypeDef = { # (1)
"Identifier": ...,
}
parent.get_connection_group(**kwargs)
get_connection_group_by_routing_endpoint#
boto3.client("cloudfront").get_connection_group_by_routing_endpoint
method.
boto3 documentation# get_connection_group_by_routing_endpoint method definition
def get_connection_group_by_routing_endpoint(
self,
*,
RoutingEndpoint: str,
) -> GetConnectionGroupByRoutingEndpointResultTypeDef: # (1)
...
# get_connection_group_by_routing_endpoint method usage example with argument unpacking
kwargs: GetConnectionGroupByRoutingEndpointRequestTypeDef = { # (1)
"RoutingEndpoint": ...,
}
parent.get_connection_group_by_routing_endpoint(**kwargs)
get_continuous_deployment_policy#
boto3.client("cloudfront").get_continuous_deployment_policy
method.
boto3 documentation# get_continuous_deployment_policy method definition
def get_continuous_deployment_policy(
self,
*,
Id: str,
) -> GetContinuousDeploymentPolicyResultTypeDef: # (1)
...
# get_continuous_deployment_policy method usage example with argument unpacking
kwargs: GetContinuousDeploymentPolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_continuous_deployment_policy(**kwargs)
get_continuous_deployment_policy_config#
boto3.client("cloudfront").get_continuous_deployment_policy_config
method.
boto3 documentation# get_continuous_deployment_policy_config method definition
def get_continuous_deployment_policy_config(
self,
*,
Id: str,
) -> GetContinuousDeploymentPolicyConfigResultTypeDef: # (1)
...
# get_continuous_deployment_policy_config method usage example with argument unpacking
kwargs: GetContinuousDeploymentPolicyConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_continuous_deployment_policy_config(**kwargs)
get_distribution#
boto3.client("cloudfront").get_distribution
method.
boto3 documentation# get_distribution method definition
def get_distribution(
self,
*,
Id: str,
) -> GetDistributionResultTypeDef: # (1)
...
# get_distribution method usage example with argument unpacking
kwargs: GetDistributionRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_distribution(**kwargs)
get_distribution_config#
boto3.client("cloudfront").get_distribution_config
method.
boto3 documentation# get_distribution_config method definition
def get_distribution_config(
self,
*,
Id: str,
) -> GetDistributionConfigResultTypeDef: # (1)
...
# get_distribution_config method usage example with argument unpacking
kwargs: GetDistributionConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_distribution_config(**kwargs)
get_distribution_tenant#
boto3.client("cloudfront").get_distribution_tenant
method.
boto3 documentation# get_distribution_tenant method definition
def get_distribution_tenant(
self,
*,
Identifier: str,
) -> GetDistributionTenantResultTypeDef: # (1)
...
# get_distribution_tenant method usage example with argument unpacking
kwargs: GetDistributionTenantRequestTypeDef = { # (1)
"Identifier": ...,
}
parent.get_distribution_tenant(**kwargs)
get_distribution_tenant_by_domain#
boto3.client("cloudfront").get_distribution_tenant_by_domain
method.
boto3 documentation# get_distribution_tenant_by_domain method definition
def get_distribution_tenant_by_domain(
self,
*,
Domain: str,
) -> GetDistributionTenantByDomainResultTypeDef: # (1)
...
# get_distribution_tenant_by_domain method usage example with argument unpacking
kwargs: GetDistributionTenantByDomainRequestTypeDef = { # (1)
"Domain": ...,
}
parent.get_distribution_tenant_by_domain(**kwargs)
get_field_level_encryption#
boto3.client("cloudfront").get_field_level_encryption
method.
boto3 documentation# get_field_level_encryption method definition
def get_field_level_encryption(
self,
*,
Id: str,
) -> GetFieldLevelEncryptionResultTypeDef: # (1)
...
# get_field_level_encryption method usage example with argument unpacking
kwargs: GetFieldLevelEncryptionRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_field_level_encryption(**kwargs)
get_field_level_encryption_config#
boto3.client("cloudfront").get_field_level_encryption_config
method.
boto3 documentation# get_field_level_encryption_config method definition
def get_field_level_encryption_config(
self,
*,
Id: str,
) -> GetFieldLevelEncryptionConfigResultTypeDef: # (1)
...
# get_field_level_encryption_config method usage example with argument unpacking
kwargs: GetFieldLevelEncryptionConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_field_level_encryption_config(**kwargs)
get_field_level_encryption_profile#
boto3.client("cloudfront").get_field_level_encryption_profile
method.
boto3 documentation# get_field_level_encryption_profile method definition
def get_field_level_encryption_profile(
self,
*,
Id: str,
) -> GetFieldLevelEncryptionProfileResultTypeDef: # (1)
...
# get_field_level_encryption_profile method usage example with argument unpacking
kwargs: GetFieldLevelEncryptionProfileRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_field_level_encryption_profile(**kwargs)
get_field_level_encryption_profile_config#
boto3.client("cloudfront").get_field_level_encryption_profile_config
method.
boto3 documentation# get_field_level_encryption_profile_config method definition
def get_field_level_encryption_profile_config(
self,
*,
Id: str,
) -> GetFieldLevelEncryptionProfileConfigResultTypeDef: # (1)
...
# get_field_level_encryption_profile_config method usage example with argument unpacking
kwargs: GetFieldLevelEncryptionProfileConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_field_level_encryption_profile_config(**kwargs)
get_function#
boto3.client("cloudfront").get_function
method.
boto3 documentation# get_function method definition
def get_function(
self,
*,
Name: str,
Stage: FunctionStageType = ..., # (1)
) -> GetFunctionResultTypeDef: # (2)
...
# get_function method usage example with argument unpacking
kwargs: GetFunctionRequestTypeDef = { # (1)
"Name": ...,
}
parent.get_function(**kwargs)
get_invalidation#
boto3.client("cloudfront").get_invalidation
method.
boto3 documentation# get_invalidation method definition
def get_invalidation(
self,
*,
DistributionId: str,
Id: str,
) -> GetInvalidationResultTypeDef: # (1)
...
# get_invalidation method usage example with argument unpacking
kwargs: GetInvalidationRequestTypeDef = { # (1)
"DistributionId": ...,
"Id": ...,
}
parent.get_invalidation(**kwargs)
get_invalidation_for_distribution_tenant#
boto3.client("cloudfront").get_invalidation_for_distribution_tenant
method.
boto3 documentation# get_invalidation_for_distribution_tenant method definition
def get_invalidation_for_distribution_tenant(
self,
*,
DistributionTenantId: str,
Id: str,
) -> GetInvalidationForDistributionTenantResultTypeDef: # (1)
...
# get_invalidation_for_distribution_tenant method usage example with argument unpacking
kwargs: GetInvalidationForDistributionTenantRequestTypeDef = { # (1)
"DistributionTenantId": ...,
"Id": ...,
}
parent.get_invalidation_for_distribution_tenant(**kwargs)
get_key_group#
boto3.client("cloudfront").get_key_group
method.
boto3 documentation# get_key_group method definition
def get_key_group(
self,
*,
Id: str,
) -> GetKeyGroupResultTypeDef: # (1)
...
# get_key_group method usage example with argument unpacking
kwargs: GetKeyGroupRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_key_group(**kwargs)
get_key_group_config#
boto3.client("cloudfront").get_key_group_config
method.
boto3 documentation# get_key_group_config method definition
def get_key_group_config(
self,
*,
Id: str,
) -> GetKeyGroupConfigResultTypeDef: # (1)
...
# get_key_group_config method usage example with argument unpacking
kwargs: GetKeyGroupConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_key_group_config(**kwargs)
get_managed_certificate_details#
boto3.client("cloudfront").get_managed_certificate_details
method.
boto3 documentation# get_managed_certificate_details method definition
def get_managed_certificate_details(
self,
*,
Identifier: str,
) -> GetManagedCertificateDetailsResultTypeDef: # (1)
...
# get_managed_certificate_details method usage example with argument unpacking
kwargs: GetManagedCertificateDetailsRequestTypeDef = { # (1)
"Identifier": ...,
}
parent.get_managed_certificate_details(**kwargs)
get_monitoring_subscription#
boto3.client("cloudfront").get_monitoring_subscription
method.
boto3 documentation# get_monitoring_subscription method definition
def get_monitoring_subscription(
self,
*,
DistributionId: str,
) -> GetMonitoringSubscriptionResultTypeDef: # (1)
...
# get_monitoring_subscription method usage example with argument unpacking
kwargs: GetMonitoringSubscriptionRequestTypeDef = { # (1)
"DistributionId": ...,
}
parent.get_monitoring_subscription(**kwargs)
get_origin_access_control#
boto3.client("cloudfront").get_origin_access_control
method.
boto3 documentation# get_origin_access_control method definition
def get_origin_access_control(
self,
*,
Id: str,
) -> GetOriginAccessControlResultTypeDef: # (1)
...
# get_origin_access_control method usage example with argument unpacking
kwargs: GetOriginAccessControlRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_origin_access_control(**kwargs)
get_origin_access_control_config#
boto3.client("cloudfront").get_origin_access_control_config
method.
boto3 documentation# get_origin_access_control_config method definition
def get_origin_access_control_config(
self,
*,
Id: str,
) -> GetOriginAccessControlConfigResultTypeDef: # (1)
...
# get_origin_access_control_config method usage example with argument unpacking
kwargs: GetOriginAccessControlConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_origin_access_control_config(**kwargs)
get_origin_request_policy#
boto3.client("cloudfront").get_origin_request_policy
method.
boto3 documentation# get_origin_request_policy method definition
def get_origin_request_policy(
self,
*,
Id: str,
) -> GetOriginRequestPolicyResultTypeDef: # (1)
...
# get_origin_request_policy method usage example with argument unpacking
kwargs: GetOriginRequestPolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_origin_request_policy(**kwargs)
get_origin_request_policy_config#
boto3.client("cloudfront").get_origin_request_policy_config
method.
boto3 documentation# get_origin_request_policy_config method definition
def get_origin_request_policy_config(
self,
*,
Id: str,
) -> GetOriginRequestPolicyConfigResultTypeDef: # (1)
...
# get_origin_request_policy_config method usage example with argument unpacking
kwargs: GetOriginRequestPolicyConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_origin_request_policy_config(**kwargs)
get_public_key#
boto3.client("cloudfront").get_public_key
method.
boto3 documentation# get_public_key method definition
def get_public_key(
self,
*,
Id: str,
) -> GetPublicKeyResultTypeDef: # (1)
...
# get_public_key method usage example with argument unpacking
kwargs: GetPublicKeyRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_public_key(**kwargs)
get_public_key_config#
boto3.client("cloudfront").get_public_key_config
method.
boto3 documentation# get_public_key_config method definition
def get_public_key_config(
self,
*,
Id: str,
) -> GetPublicKeyConfigResultTypeDef: # (1)
...
# get_public_key_config method usage example with argument unpacking
kwargs: GetPublicKeyConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_public_key_config(**kwargs)
get_realtime_log_config#
boto3.client("cloudfront").get_realtime_log_config
method.
boto3 documentation# get_realtime_log_config method definition
def get_realtime_log_config(
self,
*,
Name: str = ...,
ARN: str = ...,
) -> GetRealtimeLogConfigResultTypeDef: # (1)
...
# get_realtime_log_config method usage example with argument unpacking
kwargs: GetRealtimeLogConfigRequestTypeDef = { # (1)
"Name": ...,
}
parent.get_realtime_log_config(**kwargs)
get_response_headers_policy#
boto3.client("cloudfront").get_response_headers_policy
method.
boto3 documentation# get_response_headers_policy method definition
def get_response_headers_policy(
self,
*,
Id: str,
) -> GetResponseHeadersPolicyResultTypeDef: # (1)
...
# get_response_headers_policy method usage example with argument unpacking
kwargs: GetResponseHeadersPolicyRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_response_headers_policy(**kwargs)
get_response_headers_policy_config#
boto3.client("cloudfront").get_response_headers_policy_config
method.
boto3 documentation# get_response_headers_policy_config method definition
def get_response_headers_policy_config(
self,
*,
Id: str,
) -> GetResponseHeadersPolicyConfigResultTypeDef: # (1)
...
# get_response_headers_policy_config method usage example with argument unpacking
kwargs: GetResponseHeadersPolicyConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_response_headers_policy_config(**kwargs)
get_streaming_distribution#
boto3.client("cloudfront").get_streaming_distribution
method.
boto3 documentation# get_streaming_distribution method definition
def get_streaming_distribution(
self,
*,
Id: str,
) -> GetStreamingDistributionResultTypeDef: # (1)
...
# get_streaming_distribution method usage example with argument unpacking
kwargs: GetStreamingDistributionRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_streaming_distribution(**kwargs)
get_streaming_distribution_config#
boto3.client("cloudfront").get_streaming_distribution_config
method.
boto3 documentation# get_streaming_distribution_config method definition
def get_streaming_distribution_config(
self,
*,
Id: str,
) -> GetStreamingDistributionConfigResultTypeDef: # (1)
...
# get_streaming_distribution_config method usage example with argument unpacking
kwargs: GetStreamingDistributionConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_streaming_distribution_config(**kwargs)
get_vpc_origin#
boto3.client("cloudfront").get_vpc_origin
method.
boto3 documentation# get_vpc_origin method definition
def get_vpc_origin(
self,
*,
Id: str,
) -> GetVpcOriginResultTypeDef: # (1)
...
# get_vpc_origin method usage example with argument unpacking
kwargs: GetVpcOriginRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_vpc_origin(**kwargs)
list_anycast_ip_lists#
boto3.client("cloudfront").list_anycast_ip_lists
method.
boto3 documentation# list_anycast_ip_lists method definition
def list_anycast_ip_lists(
self,
*,
Marker: str = ...,
MaxItems: int = ...,
) -> ListAnycastIpListsResultTypeDef: # (1)
...
# list_anycast_ip_lists method usage example with argument unpacking
kwargs: ListAnycastIpListsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_anycast_ip_lists(**kwargs)
list_cache_policies#
boto3.client("cloudfront").list_cache_policies
method.
boto3 documentation# list_cache_policies method definition
def list_cache_policies(
self,
*,
Type: CachePolicyTypeType = ..., # (1)
Marker: str = ...,
MaxItems: str = ...,
) -> ListCachePoliciesResultTypeDef: # (2)
...
# list_cache_policies method usage example with argument unpacking
kwargs: ListCachePoliciesRequestTypeDef = { # (1)
"Type": ...,
}
parent.list_cache_policies(**kwargs)
list_cloud_front_origin_access_identities#
boto3.client("cloudfront").list_cloud_front_origin_access_identities
method.
boto3 documentation# list_cloud_front_origin_access_identities method definition
def list_cloud_front_origin_access_identities(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListCloudFrontOriginAccessIdentitiesResultTypeDef: # (1)
...
# list_cloud_front_origin_access_identities method usage example with argument unpacking
kwargs: ListCloudFrontOriginAccessIdentitiesRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_cloud_front_origin_access_identities(**kwargs)
list_conflicting_aliases#
ListConflictingAliases
API operation only supports
standard distributions.boto3.client("cloudfront").list_conflicting_aliases
method.
boto3 documentation# list_conflicting_aliases method definition
def list_conflicting_aliases(
self,
*,
DistributionId: str,
Alias: str,
Marker: str = ...,
MaxItems: int = ...,
) -> ListConflictingAliasesResultTypeDef: # (1)
...
# list_conflicting_aliases method usage example with argument unpacking
kwargs: ListConflictingAliasesRequestTypeDef = { # (1)
"DistributionId": ...,
"Alias": ...,
}
parent.list_conflicting_aliases(**kwargs)
list_connection_groups#
boto3.client("cloudfront").list_connection_groups
method.
boto3 documentation# list_connection_groups method definition
def list_connection_groups(
self,
*,
AssociationFilter: ConnectionGroupAssociationFilterTypeDef = ..., # (1)
Marker: str = ...,
MaxItems: int = ...,
) -> ListConnectionGroupsResultTypeDef: # (2)
...
# list_connection_groups method usage example with argument unpacking
kwargs: ListConnectionGroupsRequestTypeDef = { # (1)
"AssociationFilter": ...,
}
parent.list_connection_groups(**kwargs)
list_continuous_deployment_policies#
boto3.client("cloudfront").list_continuous_deployment_policies
method.
boto3 documentation# list_continuous_deployment_policies method definition
def list_continuous_deployment_policies(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListContinuousDeploymentPoliciesResultTypeDef: # (1)
...
# list_continuous_deployment_policies method usage example with argument unpacking
kwargs: ListContinuousDeploymentPoliciesRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_continuous_deployment_policies(**kwargs)
list_distribution_tenants#
boto3.client("cloudfront").list_distribution_tenants
method.
boto3 documentation# list_distribution_tenants method definition
def list_distribution_tenants(
self,
*,
AssociationFilter: DistributionTenantAssociationFilterTypeDef = ..., # (1)
Marker: str = ...,
MaxItems: int = ...,
) -> ListDistributionTenantsResultTypeDef: # (2)
...
# list_distribution_tenants method usage example with argument unpacking
kwargs: ListDistributionTenantsRequestTypeDef = { # (1)
"AssociationFilter": ...,
}
parent.list_distribution_tenants(**kwargs)
list_distribution_tenants_by_customization#
boto3.client("cloudfront").list_distribution_tenants_by_customization
method.
boto3 documentation# list_distribution_tenants_by_customization method definition
def list_distribution_tenants_by_customization(
self,
*,
WebACLArn: str = ...,
CertificateArn: str = ...,
Marker: str = ...,
MaxItems: int = ...,
) -> ListDistributionTenantsByCustomizationResultTypeDef: # (1)
...
# list_distribution_tenants_by_customization method usage example with argument unpacking
kwargs: ListDistributionTenantsByCustomizationRequestTypeDef = { # (1)
"WebACLArn": ...,
}
parent.list_distribution_tenants_by_customization(**kwargs)
list_distributions#
boto3.client("cloudfront").list_distributions
method.
boto3 documentation# list_distributions method definition
def list_distributions(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsResultTypeDef: # (1)
...
# list_distributions method usage example with argument unpacking
kwargs: ListDistributionsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_distributions(**kwargs)
list_distributions_by_anycast_ip_list_id#
AnycastIpListId
.boto3.client("cloudfront").list_distributions_by_anycast_ip_list_id
method.
boto3 documentation# list_distributions_by_anycast_ip_list_id method definition
def list_distributions_by_anycast_ip_list_id(
self,
*,
AnycastIpListId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsByAnycastIpListIdResultTypeDef: # (1)
...
# list_distributions_by_anycast_ip_list_id method usage example with argument unpacking
kwargs: ListDistributionsByAnycastIpListIdRequestTypeDef = { # (1)
"AnycastIpListId": ...,
}
parent.list_distributions_by_anycast_ip_list_id(**kwargs)
list_distributions_by_cache_policy_id#
boto3.client("cloudfront").list_distributions_by_cache_policy_id
method.
boto3 documentation# list_distributions_by_cache_policy_id method definition
def list_distributions_by_cache_policy_id(
self,
*,
CachePolicyId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsByCachePolicyIdResultTypeDef: # (1)
...
# list_distributions_by_cache_policy_id method usage example with argument unpacking
kwargs: ListDistributionsByCachePolicyIdRequestTypeDef = { # (1)
"CachePolicyId": ...,
}
parent.list_distributions_by_cache_policy_id(**kwargs)
list_distributions_by_connection_mode#
boto3.client("cloudfront").list_distributions_by_connection_mode
method.
boto3 documentation# list_distributions_by_connection_mode method definition
def list_distributions_by_connection_mode(
self,
*,
ConnectionMode: ConnectionModeType, # (1)
Marker: str = ...,
MaxItems: int = ...,
) -> ListDistributionsByConnectionModeResultTypeDef: # (2)
...
# list_distributions_by_connection_mode method usage example with argument unpacking
kwargs: ListDistributionsByConnectionModeRequestTypeDef = { # (1)
"ConnectionMode": ...,
}
parent.list_distributions_by_connection_mode(**kwargs)
list_distributions_by_key_group#
boto3.client("cloudfront").list_distributions_by_key_group
method.
boto3 documentation# list_distributions_by_key_group method definition
def list_distributions_by_key_group(
self,
*,
KeyGroupId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsByKeyGroupResultTypeDef: # (1)
...
# list_distributions_by_key_group method usage example with argument unpacking
kwargs: ListDistributionsByKeyGroupRequestTypeDef = { # (1)
"KeyGroupId": ...,
}
parent.list_distributions_by_key_group(**kwargs)
list_distributions_by_origin_request_policy_id#
boto3.client("cloudfront").list_distributions_by_origin_request_policy_id
method.
boto3 documentation# list_distributions_by_origin_request_policy_id method definition
def list_distributions_by_origin_request_policy_id(
self,
*,
OriginRequestPolicyId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsByOriginRequestPolicyIdResultTypeDef: # (1)
...
# list_distributions_by_origin_request_policy_id method usage example with argument unpacking
kwargs: ListDistributionsByOriginRequestPolicyIdRequestTypeDef = { # (1)
"OriginRequestPolicyId": ...,
}
parent.list_distributions_by_origin_request_policy_id(**kwargs)
list_distributions_by_realtime_log_config#
boto3.client("cloudfront").list_distributions_by_realtime_log_config
method.
boto3 documentation# list_distributions_by_realtime_log_config method definition
def list_distributions_by_realtime_log_config(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
RealtimeLogConfigName: str = ...,
RealtimeLogConfigArn: str = ...,
) -> ListDistributionsByRealtimeLogConfigResultTypeDef: # (1)
...
# list_distributions_by_realtime_log_config method usage example with argument unpacking
kwargs: ListDistributionsByRealtimeLogConfigRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_distributions_by_realtime_log_config(**kwargs)
list_distributions_by_response_headers_policy_id#
boto3.client("cloudfront").list_distributions_by_response_headers_policy_id
method.
boto3 documentation# list_distributions_by_response_headers_policy_id method definition
def list_distributions_by_response_headers_policy_id(
self,
*,
ResponseHeadersPolicyId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsByResponseHeadersPolicyIdResultTypeDef: # (1)
...
# list_distributions_by_response_headers_policy_id method usage example with argument unpacking
kwargs: ListDistributionsByResponseHeadersPolicyIdRequestTypeDef = { # (1)
"ResponseHeadersPolicyId": ...,
}
parent.list_distributions_by_response_headers_policy_id(**kwargs)
list_distributions_by_vpc_origin_id#
boto3.client("cloudfront").list_distributions_by_vpc_origin_id
method.
boto3 documentation# list_distributions_by_vpc_origin_id method definition
def list_distributions_by_vpc_origin_id(
self,
*,
VpcOriginId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsByVpcOriginIdResultTypeDef: # (1)
...
# list_distributions_by_vpc_origin_id method usage example with argument unpacking
kwargs: ListDistributionsByVpcOriginIdRequestTypeDef = { # (1)
"VpcOriginId": ...,
}
parent.list_distributions_by_vpc_origin_id(**kwargs)
list_distributions_by_web_acl_id#
boto3.client("cloudfront").list_distributions_by_web_acl_id
method.
boto3 documentation# list_distributions_by_web_acl_id method definition
def list_distributions_by_web_acl_id(
self,
*,
WebACLId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListDistributionsByWebACLIdResultTypeDef: # (1)
...
# list_distributions_by_web_acl_id method usage example with argument unpacking
kwargs: ListDistributionsByWebACLIdRequestTypeDef = { # (1)
"WebACLId": ...,
}
parent.list_distributions_by_web_acl_id(**kwargs)
list_domain_conflicts#
ListDomainConflicts
API
operation to check for domain conflicts, as it supports both standard
distributions and distribution tenants.boto3.client("cloudfront").list_domain_conflicts
method.
boto3 documentation# list_domain_conflicts method definition
def list_domain_conflicts(
self,
*,
Domain: str,
DomainControlValidationResource: DistributionResourceIdTypeDef, # (1)
MaxItems: int = ...,
Marker: str = ...,
) -> ListDomainConflictsResultTypeDef: # (2)
...
# list_domain_conflicts method usage example with argument unpacking
kwargs: ListDomainConflictsRequestTypeDef = { # (1)
"Domain": ...,
"DomainControlValidationResource": ...,
}
parent.list_domain_conflicts(**kwargs)
list_field_level_encryption_configs#
boto3.client("cloudfront").list_field_level_encryption_configs
method.
boto3 documentation# list_field_level_encryption_configs method definition
def list_field_level_encryption_configs(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListFieldLevelEncryptionConfigsResultTypeDef: # (1)
...
# list_field_level_encryption_configs method usage example with argument unpacking
kwargs: ListFieldLevelEncryptionConfigsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_field_level_encryption_configs(**kwargs)
list_field_level_encryption_profiles#
boto3.client("cloudfront").list_field_level_encryption_profiles
method.
boto3 documentation# list_field_level_encryption_profiles method definition
def list_field_level_encryption_profiles(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListFieldLevelEncryptionProfilesResultTypeDef: # (1)
...
# list_field_level_encryption_profiles method usage example with argument unpacking
kwargs: ListFieldLevelEncryptionProfilesRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_field_level_encryption_profiles(**kwargs)
list_functions#
boto3.client("cloudfront").list_functions
method.
boto3 documentation# list_functions method definition
def list_functions(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
Stage: FunctionStageType = ..., # (1)
) -> ListFunctionsResultTypeDef: # (2)
...
# list_functions method usage example with argument unpacking
kwargs: ListFunctionsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_functions(**kwargs)
list_invalidations#
boto3.client("cloudfront").list_invalidations
method.
boto3 documentation# list_invalidations method definition
def list_invalidations(
self,
*,
DistributionId: str,
Marker: str = ...,
MaxItems: str = ...,
) -> ListInvalidationsResultTypeDef: # (1)
...
# list_invalidations method usage example with argument unpacking
kwargs: ListInvalidationsRequestTypeDef = { # (1)
"DistributionId": ...,
}
parent.list_invalidations(**kwargs)
list_invalidations_for_distribution_tenant#
boto3.client("cloudfront").list_invalidations_for_distribution_tenant
method.
boto3 documentation# list_invalidations_for_distribution_tenant method definition
def list_invalidations_for_distribution_tenant(
self,
*,
Id: str,
Marker: str = ...,
MaxItems: int = ...,
) -> ListInvalidationsForDistributionTenantResultTypeDef: # (1)
...
# list_invalidations_for_distribution_tenant method usage example with argument unpacking
kwargs: ListInvalidationsForDistributionTenantRequestTypeDef = { # (1)
"Id": ...,
}
parent.list_invalidations_for_distribution_tenant(**kwargs)
list_key_groups#
boto3.client("cloudfront").list_key_groups
method.
boto3 documentation# list_key_groups method definition
def list_key_groups(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListKeyGroupsResultTypeDef: # (1)
...
# list_key_groups method usage example with argument unpacking
kwargs: ListKeyGroupsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_key_groups(**kwargs)
list_key_value_stores#
boto3.client("cloudfront").list_key_value_stores
method.
boto3 documentation# list_key_value_stores method definition
def list_key_value_stores(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
Status: str = ...,
) -> ListKeyValueStoresResultTypeDef: # (1)
...
# list_key_value_stores method usage example with argument unpacking
kwargs: ListKeyValueStoresRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_key_value_stores(**kwargs)
list_origin_access_controls#
boto3.client("cloudfront").list_origin_access_controls
method.
boto3 documentation# list_origin_access_controls method definition
def list_origin_access_controls(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListOriginAccessControlsResultTypeDef: # (1)
...
# list_origin_access_controls method usage example with argument unpacking
kwargs: ListOriginAccessControlsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_origin_access_controls(**kwargs)
list_origin_request_policies#
boto3.client("cloudfront").list_origin_request_policies
method.
boto3 documentation# list_origin_request_policies method definition
def list_origin_request_policies(
self,
*,
Type: OriginRequestPolicyTypeType = ..., # (1)
Marker: str = ...,
MaxItems: str = ...,
) -> ListOriginRequestPoliciesResultTypeDef: # (2)
...
# list_origin_request_policies method usage example with argument unpacking
kwargs: ListOriginRequestPoliciesRequestTypeDef = { # (1)
"Type": ...,
}
parent.list_origin_request_policies(**kwargs)
list_public_keys#
boto3.client("cloudfront").list_public_keys
method.
boto3 documentation# list_public_keys method definition
def list_public_keys(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListPublicKeysResultTypeDef: # (1)
...
# list_public_keys method usage example with argument unpacking
kwargs: ListPublicKeysRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_public_keys(**kwargs)
list_realtime_log_configs#
boto3.client("cloudfront").list_realtime_log_configs
method.
boto3 documentation# list_realtime_log_configs method definition
def list_realtime_log_configs(
self,
*,
MaxItems: str = ...,
Marker: str = ...,
) -> ListRealtimeLogConfigsResultTypeDef: # (1)
...
# list_realtime_log_configs method usage example with argument unpacking
kwargs: ListRealtimeLogConfigsRequestTypeDef = { # (1)
"MaxItems": ...,
}
parent.list_realtime_log_configs(**kwargs)
list_response_headers_policies#
boto3.client("cloudfront").list_response_headers_policies
method.
boto3 documentation# list_response_headers_policies method definition
def list_response_headers_policies(
self,
*,
Type: ResponseHeadersPolicyTypeType = ..., # (1)
Marker: str = ...,
MaxItems: str = ...,
) -> ListResponseHeadersPoliciesResultTypeDef: # (2)
...
# list_response_headers_policies method usage example with argument unpacking
kwargs: ListResponseHeadersPoliciesRequestTypeDef = { # (1)
"Type": ...,
}
parent.list_response_headers_policies(**kwargs)
list_streaming_distributions#
boto3.client("cloudfront").list_streaming_distributions
method.
boto3 documentation# list_streaming_distributions method definition
def list_streaming_distributions(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListStreamingDistributionsResultTypeDef: # (1)
...
# list_streaming_distributions method usage example with argument unpacking
kwargs: ListStreamingDistributionsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_streaming_distributions(**kwargs)
list_tags_for_resource#
boto3.client("cloudfront").list_tags_for_resource
method.
boto3 documentation# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
Resource: str,
) -> ListTagsForResourceResultTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestTypeDef = { # (1)
"Resource": ...,
}
parent.list_tags_for_resource(**kwargs)
list_vpc_origins#
boto3.client("cloudfront").list_vpc_origins
method.
boto3 documentation# list_vpc_origins method definition
def list_vpc_origins(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListVpcOriginsResultTypeDef: # (1)
...
# list_vpc_origins method usage example with argument unpacking
kwargs: ListVpcOriginsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_vpc_origins(**kwargs)
publish_function#
DEVELOPMENT
stage to LIVE
.boto3.client("cloudfront").publish_function
method.
boto3 documentation# publish_function method definition
def publish_function(
self,
*,
Name: str,
IfMatch: str,
) -> PublishFunctionResultTypeDef: # (1)
...
# publish_function method usage example with argument unpacking
kwargs: PublishFunctionRequestTypeDef = { # (1)
"Name": ...,
"IfMatch": ...,
}
parent.publish_function(**kwargs)
tag_resource#
boto3.client("cloudfront").tag_resource
method.
boto3 documentation# tag_resource method definition
def tag_resource(
self,
*,
Resource: str,
Tags: TagsUnionTypeDef, # (1)
) -> EmptyResponseMetadataTypeDef: # (2)
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestTypeDef = { # (1)
"Resource": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
test_function#
boto3.client("cloudfront").test_function
method.
boto3 documentation# test_function method definition
def test_function(
self,
*,
Name: str,
IfMatch: str,
EventObject: BlobTypeDef,
Stage: FunctionStageType = ..., # (1)
) -> TestFunctionResultTypeDef: # (2)
...
# test_function method usage example with argument unpacking
kwargs: TestFunctionRequestTypeDef = { # (1)
"Name": ...,
"IfMatch": ...,
"EventObject": ...,
}
parent.test_function(**kwargs)
untag_resource#
boto3.client("cloudfront").untag_resource
method.
boto3 documentation# untag_resource method definition
def untag_resource(
self,
*,
Resource: str,
TagKeys: TagKeysTypeDef, # (1)
) -> EmptyResponseMetadataTypeDef: # (2)
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestTypeDef = { # (1)
"Resource": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_cache_policy#
boto3.client("cloudfront").update_cache_policy
method.
boto3 documentation# update_cache_policy method definition
def update_cache_policy(
self,
*,
CachePolicyConfig: CachePolicyConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateCachePolicyResultTypeDef: # (2)
...
# update_cache_policy method usage example with argument unpacking
kwargs: UpdateCachePolicyRequestTypeDef = { # (1)
"CachePolicyConfig": ...,
"Id": ...,
}
parent.update_cache_policy(**kwargs)
update_cloud_front_origin_access_identity#
boto3.client("cloudfront").update_cloud_front_origin_access_identity
method.
boto3 documentation# update_cloud_front_origin_access_identity method definition
def update_cloud_front_origin_access_identity(
self,
*,
CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfigTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateCloudFrontOriginAccessIdentityResultTypeDef: # (2)
...
# update_cloud_front_origin_access_identity method usage example with argument unpacking
kwargs: UpdateCloudFrontOriginAccessIdentityRequestTypeDef = { # (1)
"CloudFrontOriginAccessIdentityConfig": ...,
"Id": ...,
}
parent.update_cloud_front_origin_access_identity(**kwargs)
update_connection_group#
boto3.client("cloudfront").update_connection_group
method.
boto3 documentation# update_connection_group method definition
def update_connection_group(
self,
*,
Id: str,
IfMatch: str,
Ipv6Enabled: bool = ...,
AnycastIpListId: str = ...,
Enabled: bool = ...,
) -> UpdateConnectionGroupResultTypeDef: # (1)
...
# update_connection_group method usage example with argument unpacking
kwargs: UpdateConnectionGroupRequestTypeDef = { # (1)
"Id": ...,
"IfMatch": ...,
}
parent.update_connection_group(**kwargs)
update_continuous_deployment_policy#
boto3.client("cloudfront").update_continuous_deployment_policy
method.
boto3 documentation# update_continuous_deployment_policy method definition
def update_continuous_deployment_policy(
self,
*,
ContinuousDeploymentPolicyConfig: ContinuousDeploymentPolicyConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateContinuousDeploymentPolicyResultTypeDef: # (2)
...
# update_continuous_deployment_policy method usage example with argument unpacking
kwargs: UpdateContinuousDeploymentPolicyRequestTypeDef = { # (1)
"ContinuousDeploymentPolicyConfig": ...,
"Id": ...,
}
parent.update_continuous_deployment_policy(**kwargs)
update_distribution#
boto3.client("cloudfront").update_distribution
method.
boto3 documentation# update_distribution method definition
def update_distribution(
self,
*,
DistributionConfig: DistributionConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateDistributionResultTypeDef: # (2)
...
# update_distribution method usage example with argument unpacking
kwargs: UpdateDistributionRequestTypeDef = { # (1)
"DistributionConfig": ...,
"Id": ...,
}
parent.update_distribution(**kwargs)
update_distribution_tenant#
boto3.client("cloudfront").update_distribution_tenant
method.
boto3 documentation# update_distribution_tenant method definition
def update_distribution_tenant(
self,
*,
Id: str,
IfMatch: str,
DistributionId: str = ...,
Domains: Sequence[DomainItemTypeDef] = ..., # (1)
Customizations: CustomizationsUnionTypeDef = ..., # (2)
Parameters: Sequence[ParameterTypeDef] = ..., # (3)
ConnectionGroupId: str = ...,
ManagedCertificateRequest: ManagedCertificateRequestTypeDef = ..., # (4)
Enabled: bool = ...,
) -> UpdateDistributionTenantResultTypeDef: # (5)
...
Sequence[DomainItemTypeDef]
Sequence[ParameterTypeDef]
# update_distribution_tenant method usage example with argument unpacking
kwargs: UpdateDistributionTenantRequestTypeDef = { # (1)
"Id": ...,
"IfMatch": ...,
}
parent.update_distribution_tenant(**kwargs)
update_distribution_with_staging_config#
boto3.client("cloudfront").update_distribution_with_staging_config
method.
boto3 documentation# update_distribution_with_staging_config method definition
def update_distribution_with_staging_config(
self,
*,
Id: str,
StagingDistributionId: str = ...,
IfMatch: str = ...,
) -> UpdateDistributionWithStagingConfigResultTypeDef: # (1)
...
# update_distribution_with_staging_config method usage example with argument unpacking
kwargs: UpdateDistributionWithStagingConfigRequestTypeDef = { # (1)
"Id": ...,
}
parent.update_distribution_with_staging_config(**kwargs)
update_domain_association#
UpdateDomainAssociation
API operation to move a domain association, as it supports both standard
distributions and distribution tenants.boto3.client("cloudfront").update_domain_association
method.
boto3 documentation# update_domain_association method definition
def update_domain_association(
self,
*,
Domain: str,
TargetResource: DistributionResourceIdTypeDef, # (1)
IfMatch: str = ...,
) -> UpdateDomainAssociationResultTypeDef: # (2)
...
# update_domain_association method usage example with argument unpacking
kwargs: UpdateDomainAssociationRequestTypeDef = { # (1)
"Domain": ...,
"TargetResource": ...,
}
parent.update_domain_association(**kwargs)
update_field_level_encryption_config#
boto3.client("cloudfront").update_field_level_encryption_config
method.
boto3 documentation# update_field_level_encryption_config method definition
def update_field_level_encryption_config(
self,
*,
FieldLevelEncryptionConfig: FieldLevelEncryptionConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateFieldLevelEncryptionConfigResultTypeDef: # (2)
...
# update_field_level_encryption_config method usage example with argument unpacking
kwargs: UpdateFieldLevelEncryptionConfigRequestTypeDef = { # (1)
"FieldLevelEncryptionConfig": ...,
"Id": ...,
}
parent.update_field_level_encryption_config(**kwargs)
update_field_level_encryption_profile#
boto3.client("cloudfront").update_field_level_encryption_profile
method.
boto3 documentation# update_field_level_encryption_profile method definition
def update_field_level_encryption_profile(
self,
*,
FieldLevelEncryptionProfileConfig: FieldLevelEncryptionProfileConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateFieldLevelEncryptionProfileResultTypeDef: # (2)
...
# update_field_level_encryption_profile method usage example with argument unpacking
kwargs: UpdateFieldLevelEncryptionProfileRequestTypeDef = { # (1)
"FieldLevelEncryptionProfileConfig": ...,
"Id": ...,
}
parent.update_field_level_encryption_profile(**kwargs)
update_function#
boto3.client("cloudfront").update_function
method.
boto3 documentation# update_function method definition
def update_function(
self,
*,
Name: str,
IfMatch: str,
FunctionConfig: FunctionConfigUnionTypeDef, # (1)
FunctionCode: BlobTypeDef,
) -> UpdateFunctionResultTypeDef: # (2)
...
# update_function method usage example with argument unpacking
kwargs: UpdateFunctionRequestTypeDef = { # (1)
"Name": ...,
"IfMatch": ...,
"FunctionConfig": ...,
"FunctionCode": ...,
}
parent.update_function(**kwargs)
update_key_group#
boto3.client("cloudfront").update_key_group
method.
boto3 documentation# update_key_group method definition
def update_key_group(
self,
*,
KeyGroupConfig: KeyGroupConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateKeyGroupResultTypeDef: # (2)
...
# update_key_group method usage example with argument unpacking
kwargs: UpdateKeyGroupRequestTypeDef = { # (1)
"KeyGroupConfig": ...,
"Id": ...,
}
parent.update_key_group(**kwargs)
update_key_value_store#
boto3.client("cloudfront").update_key_value_store
method.
boto3 documentation# update_key_value_store method definition
def update_key_value_store(
self,
*,
Name: str,
Comment: str,
IfMatch: str,
) -> UpdateKeyValueStoreResultTypeDef: # (1)
...
# update_key_value_store method usage example with argument unpacking
kwargs: UpdateKeyValueStoreRequestTypeDef = { # (1)
"Name": ...,
"Comment": ...,
"IfMatch": ...,
}
parent.update_key_value_store(**kwargs)
update_origin_access_control#
boto3.client("cloudfront").update_origin_access_control
method.
boto3 documentation# update_origin_access_control method definition
def update_origin_access_control(
self,
*,
OriginAccessControlConfig: OriginAccessControlConfigTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateOriginAccessControlResultTypeDef: # (2)
...
# update_origin_access_control method usage example with argument unpacking
kwargs: UpdateOriginAccessControlRequestTypeDef = { # (1)
"OriginAccessControlConfig": ...,
"Id": ...,
}
parent.update_origin_access_control(**kwargs)
update_origin_request_policy#
boto3.client("cloudfront").update_origin_request_policy
method.
boto3 documentation# update_origin_request_policy method definition
def update_origin_request_policy(
self,
*,
OriginRequestPolicyConfig: OriginRequestPolicyConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateOriginRequestPolicyResultTypeDef: # (2)
...
# update_origin_request_policy method usage example with argument unpacking
kwargs: UpdateOriginRequestPolicyRequestTypeDef = { # (1)
"OriginRequestPolicyConfig": ...,
"Id": ...,
}
parent.update_origin_request_policy(**kwargs)
update_public_key#
boto3.client("cloudfront").update_public_key
method.
boto3 documentation# update_public_key method definition
def update_public_key(
self,
*,
PublicKeyConfig: PublicKeyConfigTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdatePublicKeyResultTypeDef: # (2)
...
# update_public_key method usage example with argument unpacking
kwargs: UpdatePublicKeyRequestTypeDef = { # (1)
"PublicKeyConfig": ...,
"Id": ...,
}
parent.update_public_key(**kwargs)
update_realtime_log_config#
boto3.client("cloudfront").update_realtime_log_config
method.
boto3 documentation# update_realtime_log_config method definition
def update_realtime_log_config(
self,
*,
EndPoints: Sequence[EndPointTypeDef] = ..., # (1)
Fields: Sequence[str] = ...,
Name: str = ...,
ARN: str = ...,
SamplingRate: int = ...,
) -> UpdateRealtimeLogConfigResultTypeDef: # (2)
...
Sequence[EndPointTypeDef]
# update_realtime_log_config method usage example with argument unpacking
kwargs: UpdateRealtimeLogConfigRequestTypeDef = { # (1)
"EndPoints": ...,
}
parent.update_realtime_log_config(**kwargs)
update_response_headers_policy#
boto3.client("cloudfront").update_response_headers_policy
method.
boto3 documentation# update_response_headers_policy method definition
def update_response_headers_policy(
self,
*,
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateResponseHeadersPolicyResultTypeDef: # (2)
...
# update_response_headers_policy method usage example with argument unpacking
kwargs: UpdateResponseHeadersPolicyRequestTypeDef = { # (1)
"ResponseHeadersPolicyConfig": ...,
"Id": ...,
}
parent.update_response_headers_policy(**kwargs)
update_streaming_distribution#
boto3.client("cloudfront").update_streaming_distribution
method.
boto3 documentation# update_streaming_distribution method definition
def update_streaming_distribution(
self,
*,
StreamingDistributionConfig: StreamingDistributionConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str = ...,
) -> UpdateStreamingDistributionResultTypeDef: # (2)
...
# update_streaming_distribution method usage example with argument unpacking
kwargs: UpdateStreamingDistributionRequestTypeDef = { # (1)
"StreamingDistributionConfig": ...,
"Id": ...,
}
parent.update_streaming_distribution(**kwargs)
update_vpc_origin#
boto3.client("cloudfront").update_vpc_origin
method.
boto3 documentation# update_vpc_origin method definition
def update_vpc_origin(
self,
*,
VpcOriginEndpointConfig: VpcOriginEndpointConfigUnionTypeDef, # (1)
Id: str,
IfMatch: str,
) -> UpdateVpcOriginResultTypeDef: # (2)
...
# update_vpc_origin method usage example with argument unpacking
kwargs: UpdateVpcOriginRequestTypeDef = { # (1)
"VpcOriginEndpointConfig": ...,
"Id": ...,
"IfMatch": ...,
}
parent.update_vpc_origin(**kwargs)
verify_dns_configuration#
boto3.client("cloudfront").verify_dns_configuration
method.
boto3 documentation# verify_dns_configuration method definition
def verify_dns_configuration(
self,
*,
Identifier: str,
Domain: str = ...,
) -> VerifyDnsConfigurationResultTypeDef: # (1)
...
# verify_dns_configuration method usage example with argument unpacking
kwargs: VerifyDnsConfigurationRequestTypeDef = { # (1)
"Identifier": ...,
}
parent.verify_dns_configuration(**kwargs)
get_paginator#
boto3.client("cloudfront").get_paginator
method with overloads.
client.get_paginator("list_cloud_front_origin_access_identities")
-> ListCloudFrontOriginAccessIdentitiesPaginatorclient.get_paginator("list_connection_groups")
-> ListConnectionGroupsPaginatorclient.get_paginator("list_distribution_tenants_by_customization")
-> ListDistributionTenantsByCustomizationPaginatorclient.get_paginator("list_distribution_tenants")
-> ListDistributionTenantsPaginatorclient.get_paginator("list_distributions_by_connection_mode")
-> ListDistributionsByConnectionModePaginatorclient.get_paginator("list_distributions")
-> ListDistributionsPaginatorclient.get_paginator("list_domain_conflicts")
-> ListDomainConflictsPaginatorclient.get_paginator("list_invalidations_for_distribution_tenant")
-> ListInvalidationsForDistributionTenantPaginatorclient.get_paginator("list_invalidations")
-> ListInvalidationsPaginatorclient.get_paginator("list_key_value_stores")
-> ListKeyValueStoresPaginatorclient.get_paginator("list_origin_access_controls")
-> ListOriginAccessControlsPaginatorclient.get_paginator("list_public_keys")
-> ListPublicKeysPaginatorclient.get_paginator("list_streaming_distributions")
-> ListStreamingDistributionsPaginatorget_waiter#
boto3.client("cloudfront").get_waiter
method with overloads.
client.get_waiter("distribution_deployed")
-> DistributionDeployedWaiterclient.get_waiter("invalidation_completed")
-> InvalidationCompletedWaiterclient.get_waiter("invalidation_for_distribution_tenant_completed")
-> InvalidationForDistributionTenantCompletedWaiterclient.get_waiter("streaming_distribution_deployed")
-> StreamingDistributionDeployedWaiter