Learn R Programming

paws (version 0.1.12)

cloudfront: Amazon CloudFront

Description

This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.

Usage

cloudfront(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- cloudfront(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

create_cache_policyCreates a cache policy
create_cloud_front_origin_access_identityCreates a new origin access identity
create_distributionCreates a new web distribution
create_distribution_with_tagsCreate a new distribution with tags
create_field_level_encryption_configCreate a new field-level encryption configuration
create_field_level_encryption_profileCreate a field-level encryption profile
create_invalidationCreate a new invalidation
create_key_groupCreates a key group that you can use with CloudFront signed URLs and signed cookies
create_monitoring_subscriptionEnables additional CloudWatch metrics for the specified CloudFront distribution
create_origin_request_policyCreates an origin request policy
create_public_keyUploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption
create_realtime_log_configCreates a real-time log configuration
create_streaming_distributionThis API is deprecated
create_streaming_distribution_with_tagsThis API is deprecated
delete_cache_policyDeletes a cache policy
delete_cloud_front_origin_access_identityDelete an origin access identity
delete_distributionDelete a distribution
delete_field_level_encryption_configRemove a field-level encryption configuration
delete_field_level_encryption_profileRemove a field-level encryption profile
delete_key_groupDeletes a key group
delete_monitoring_subscriptionDisables additional CloudWatch metrics for the specified CloudFront distribution
delete_origin_request_policyDeletes an origin request policy
delete_public_keyRemove a public key you previously added to CloudFront
delete_realtime_log_configDeletes a real-time log configuration
delete_streaming_distributionDelete a streaming distribution
get_cache_policyGets a cache policy, including the following metadata:
get_cache_policy_configGets a cache policy configuration
get_cloud_front_origin_access_identityGet the information about an origin access identity
get_cloud_front_origin_access_identity_configGet the configuration information about an origin access identity
get_distributionGet the information about a distribution
get_distribution_configGet the configuration information about a distribution
get_field_level_encryptionGet the field-level encryption configuration information
get_field_level_encryption_configGet the field-level encryption configuration information
get_field_level_encryption_profileGet the field-level encryption profile information
get_field_level_encryption_profile_configGet the field-level encryption profile configuration information
get_invalidationGet the information about an invalidation
get_key_groupGets a key group, including the date and time when the key group was last modified
get_key_group_configGets a key group configuration
get_monitoring_subscriptionGets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution
get_origin_request_policyGets an origin request policy, including the following metadata:
get_origin_request_policy_configGets an origin request policy configuration
get_public_keyGets a public key
get_public_key_configGets a public key configuration
get_realtime_log_configGets a real-time log configuration
get_streaming_distributionGets information about a specified RTMP distribution, including the distribution configuration
get_streaming_distribution_configGet the configuration information about a streaming distribution
list_cache_policiesGets a list of cache policies
list_cloud_front_origin_access_identitiesLists origin access identities
list_distributionsList CloudFront distributions
list_distributions_by_cache_policy_idGets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified cache policy
list_distributions_by_key_groupGets a list of distribution IDs for distributions that have a cache behavior that references the specified key group
list_distributions_by_origin_request_policy_idGets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified origin request policy
list_distributions_by_realtime_log_configGets a list of distributions that have a cache behavior that’s associated with the specified real-time log configuration
list_distributions_by_web_acl_idList the distributions that are associated with a specified AWS WAF web ACL
list_field_level_encryption_configsList all field-level encryption configurations that have been created in CloudFront for this account
list_field_level_encryption_profilesRequest a list of field-level encryption profiles that have been created in CloudFront for this account
list_invalidationsLists invalidation batches
list_key_groupsGets a list of key groups
list_origin_request_policiesGets a list of origin request policies
list_public_keysList all public keys that have been added to CloudFront for this account
list_realtime_log_configsGets a list of real-time log configurations
list_streaming_distributionsList streaming distributions
list_tags_for_resourceList tags for a CloudFront resource
tag_resourceAdd tags to a CloudFront resource
untag_resourceRemove tags from a CloudFront resource
update_cache_policyUpdates a cache policy configuration
update_cloud_front_origin_access_identityUpdate an origin access identity
update_distributionUpdates the configuration for a web distribution
update_field_level_encryption_configUpdate a field-level encryption configuration
update_field_level_encryption_profileUpdate a field-level encryption profile
update_key_groupUpdates a key group
update_origin_request_policyUpdates an origin request policy configuration
update_public_keyUpdate public key information
update_realtime_log_configUpdates a real-time log configuration
update_streaming_distributionUpdate a streaming distribution

Examples

Run this code
if (FALSE) {
svc <- cloudfront()
svc$create_cache_policy(
  Foo = 123
)
}

Run the code above in your browser using DataLab