R/cloudfront_operations.R

Defines functions cloudfront_verify_dns_configuration cloudfront_update_vpc_origin cloudfront_update_trust_store cloudfront_update_streaming_distribution cloudfront_update_response_headers_policy cloudfront_update_realtime_log_config cloudfront_update_public_key cloudfront_update_origin_request_policy cloudfront_update_origin_access_control cloudfront_update_key_value_store cloudfront_update_key_group cloudfront_update_function cloudfront_update_field_level_encryption_profile cloudfront_update_field_level_encryption_config cloudfront_update_domain_association cloudfront_update_distribution_with_staging_config cloudfront_update_distribution_tenant cloudfront_update_distribution cloudfront_update_continuous_deployment_policy cloudfront_update_connection_group cloudfront_update_connection_function cloudfront_update_cloud_front_origin_access_identity cloudfront_update_cache_policy cloudfront_update_anycast_ip_list cloudfront_untag_resource cloudfront_test_function cloudfront_test_connection_function cloudfront_tag_resource cloudfront_put_resource_policy cloudfront_publish_function cloudfront_publish_connection_function cloudfront_list_vpc_origins cloudfront_list_trust_stores cloudfront_list_tags_for_resource cloudfront_list_streaming_distributions cloudfront_list_response_headers_policies cloudfront_list_realtime_log_configs cloudfront_list_public_keys cloudfront_list_origin_request_policies cloudfront_list_origin_access_controls cloudfront_list_key_value_stores cloudfront_list_key_groups cloudfront_list_invalidations_for_distribution_tenant cloudfront_list_invalidations cloudfront_list_functions cloudfront_list_field_level_encryption_profiles cloudfront_list_field_level_encryption_configs cloudfront_list_domain_conflicts cloudfront_list_distributions_by_web_acl_id cloudfront_list_distributions_by_vpc_origin_id cloudfront_list_distributions_by_trust_store cloudfront_list_distributions_by_response_headers_policy_id cloudfront_list_distributions_by_realtime_log_config cloudfront_list_distributions_by_owned_resource cloudfront_list_distributions_by_origin_request_policy_id cloudfront_list_distributions_by_key_group cloudfront_list_distributions_by_connection_mode cloudfront_list_distributions_by_connection_function cloudfront_list_distributions_by_cache_policy_id cloudfront_list_distributions_by_anycast_ip_list_id cloudfront_list_distributions cloudfront_list_distribution_tenants_by_customization cloudfront_list_distribution_tenants cloudfront_list_continuous_deployment_policies cloudfront_list_connection_groups cloudfront_list_connection_functions cloudfront_list_conflicting_aliases cloudfront_list_cloud_front_origin_access_identities cloudfront_list_cache_policies cloudfront_list_anycast_ip_lists cloudfront_get_vpc_origin cloudfront_get_trust_store cloudfront_get_streaming_distribution_config cloudfront_get_streaming_distribution cloudfront_get_response_headers_policy_config cloudfront_get_response_headers_policy cloudfront_get_resource_policy cloudfront_get_realtime_log_config cloudfront_get_public_key_config cloudfront_get_public_key cloudfront_get_origin_request_policy_config cloudfront_get_origin_request_policy cloudfront_get_origin_access_control_config cloudfront_get_origin_access_control cloudfront_get_monitoring_subscription cloudfront_get_managed_certificate_details cloudfront_get_key_group_config cloudfront_get_key_group cloudfront_get_invalidation_for_distribution_tenant cloudfront_get_invalidation cloudfront_get_function cloudfront_get_field_level_encryption_profile_config cloudfront_get_field_level_encryption_profile cloudfront_get_field_level_encryption_config cloudfront_get_field_level_encryption cloudfront_get_distribution_tenant_by_domain cloudfront_get_distribution_tenant cloudfront_get_distribution_config cloudfront_get_distribution cloudfront_get_continuous_deployment_policy_config cloudfront_get_continuous_deployment_policy cloudfront_get_connection_group_by_routing_endpoint cloudfront_get_connection_group cloudfront_get_connection_function cloudfront_get_cloud_front_origin_access_identity_config cloudfront_get_cloud_front_origin_access_identity cloudfront_get_cache_policy_config cloudfront_get_cache_policy cloudfront_get_anycast_ip_list cloudfront_disassociate_distribution_web_acl cloudfront_disassociate_distribution_tenant_web_acl cloudfront_describe_key_value_store cloudfront_describe_function cloudfront_describe_connection_function cloudfront_delete_vpc_origin cloudfront_delete_trust_store cloudfront_delete_streaming_distribution cloudfront_delete_response_headers_policy cloudfront_delete_resource_policy cloudfront_delete_realtime_log_config cloudfront_delete_public_key cloudfront_delete_origin_request_policy cloudfront_delete_origin_access_control cloudfront_delete_monitoring_subscription cloudfront_delete_key_value_store cloudfront_delete_key_group cloudfront_delete_function cloudfront_delete_field_level_encryption_profile cloudfront_delete_field_level_encryption_config cloudfront_delete_distribution_tenant cloudfront_delete_distribution cloudfront_delete_continuous_deployment_policy cloudfront_delete_connection_group cloudfront_delete_connection_function cloudfront_delete_cloud_front_origin_access_identity cloudfront_delete_cache_policy cloudfront_delete_anycast_ip_list cloudfront_create_vpc_origin cloudfront_create_trust_store cloudfront_create_streaming_distribution_with_tags cloudfront_create_streaming_distribution cloudfront_create_response_headers_policy cloudfront_create_realtime_log_config cloudfront_create_public_key cloudfront_create_origin_request_policy cloudfront_create_origin_access_control cloudfront_create_monitoring_subscription cloudfront_create_key_value_store cloudfront_create_key_group cloudfront_create_invalidation_for_distribution_tenant cloudfront_create_invalidation cloudfront_create_function cloudfront_create_field_level_encryption_profile cloudfront_create_field_level_encryption_config cloudfront_create_distribution_with_tags cloudfront_create_distribution_tenant cloudfront_create_distribution cloudfront_create_continuous_deployment_policy cloudfront_create_connection_group cloudfront_create_connection_function cloudfront_create_cloud_front_origin_access_identity cloudfront_create_cache_policy cloudfront_create_anycast_ip_list cloudfront_copy_distribution cloudfront_associate_distribution_web_acl cloudfront_associate_distribution_tenant_web_acl cloudfront_associate_alias

Documented in cloudfront_associate_alias cloudfront_associate_distribution_tenant_web_acl cloudfront_associate_distribution_web_acl cloudfront_copy_distribution cloudfront_create_anycast_ip_list cloudfront_create_cache_policy cloudfront_create_cloud_front_origin_access_identity cloudfront_create_connection_function cloudfront_create_connection_group cloudfront_create_continuous_deployment_policy cloudfront_create_distribution cloudfront_create_distribution_tenant cloudfront_create_distribution_with_tags cloudfront_create_field_level_encryption_config cloudfront_create_field_level_encryption_profile cloudfront_create_function cloudfront_create_invalidation cloudfront_create_invalidation_for_distribution_tenant cloudfront_create_key_group cloudfront_create_key_value_store cloudfront_create_monitoring_subscription cloudfront_create_origin_access_control cloudfront_create_origin_request_policy cloudfront_create_public_key cloudfront_create_realtime_log_config cloudfront_create_response_headers_policy cloudfront_create_streaming_distribution cloudfront_create_streaming_distribution_with_tags cloudfront_create_trust_store cloudfront_create_vpc_origin cloudfront_delete_anycast_ip_list cloudfront_delete_cache_policy cloudfront_delete_cloud_front_origin_access_identity cloudfront_delete_connection_function cloudfront_delete_connection_group cloudfront_delete_continuous_deployment_policy cloudfront_delete_distribution cloudfront_delete_distribution_tenant cloudfront_delete_field_level_encryption_config cloudfront_delete_field_level_encryption_profile cloudfront_delete_function cloudfront_delete_key_group cloudfront_delete_key_value_store cloudfront_delete_monitoring_subscription cloudfront_delete_origin_access_control cloudfront_delete_origin_request_policy cloudfront_delete_public_key cloudfront_delete_realtime_log_config cloudfront_delete_resource_policy cloudfront_delete_response_headers_policy cloudfront_delete_streaming_distribution cloudfront_delete_trust_store cloudfront_delete_vpc_origin cloudfront_describe_connection_function cloudfront_describe_function cloudfront_describe_key_value_store cloudfront_disassociate_distribution_tenant_web_acl cloudfront_disassociate_distribution_web_acl cloudfront_get_anycast_ip_list cloudfront_get_cache_policy cloudfront_get_cache_policy_config cloudfront_get_cloud_front_origin_access_identity cloudfront_get_cloud_front_origin_access_identity_config cloudfront_get_connection_function cloudfront_get_connection_group cloudfront_get_connection_group_by_routing_endpoint cloudfront_get_continuous_deployment_policy cloudfront_get_continuous_deployment_policy_config cloudfront_get_distribution cloudfront_get_distribution_config cloudfront_get_distribution_tenant cloudfront_get_distribution_tenant_by_domain cloudfront_get_field_level_encryption cloudfront_get_field_level_encryption_config cloudfront_get_field_level_encryption_profile cloudfront_get_field_level_encryption_profile_config cloudfront_get_function cloudfront_get_invalidation cloudfront_get_invalidation_for_distribution_tenant cloudfront_get_key_group cloudfront_get_key_group_config cloudfront_get_managed_certificate_details cloudfront_get_monitoring_subscription cloudfront_get_origin_access_control cloudfront_get_origin_access_control_config cloudfront_get_origin_request_policy cloudfront_get_origin_request_policy_config cloudfront_get_public_key cloudfront_get_public_key_config cloudfront_get_realtime_log_config cloudfront_get_resource_policy cloudfront_get_response_headers_policy cloudfront_get_response_headers_policy_config cloudfront_get_streaming_distribution cloudfront_get_streaming_distribution_config cloudfront_get_trust_store cloudfront_get_vpc_origin cloudfront_list_anycast_ip_lists cloudfront_list_cache_policies cloudfront_list_cloud_front_origin_access_identities cloudfront_list_conflicting_aliases cloudfront_list_connection_functions cloudfront_list_connection_groups cloudfront_list_continuous_deployment_policies cloudfront_list_distributions cloudfront_list_distributions_by_anycast_ip_list_id cloudfront_list_distributions_by_cache_policy_id cloudfront_list_distributions_by_connection_function cloudfront_list_distributions_by_connection_mode cloudfront_list_distributions_by_key_group cloudfront_list_distributions_by_origin_request_policy_id cloudfront_list_distributions_by_owned_resource cloudfront_list_distributions_by_realtime_log_config cloudfront_list_distributions_by_response_headers_policy_id cloudfront_list_distributions_by_trust_store cloudfront_list_distributions_by_vpc_origin_id cloudfront_list_distributions_by_web_acl_id cloudfront_list_distribution_tenants cloudfront_list_distribution_tenants_by_customization cloudfront_list_domain_conflicts cloudfront_list_field_level_encryption_configs cloudfront_list_field_level_encryption_profiles cloudfront_list_functions cloudfront_list_invalidations cloudfront_list_invalidations_for_distribution_tenant cloudfront_list_key_groups cloudfront_list_key_value_stores cloudfront_list_origin_access_controls cloudfront_list_origin_request_policies cloudfront_list_public_keys cloudfront_list_realtime_log_configs cloudfront_list_response_headers_policies cloudfront_list_streaming_distributions cloudfront_list_tags_for_resource cloudfront_list_trust_stores cloudfront_list_vpc_origins cloudfront_publish_connection_function cloudfront_publish_function cloudfront_put_resource_policy cloudfront_tag_resource cloudfront_test_connection_function cloudfront_test_function cloudfront_untag_resource cloudfront_update_anycast_ip_list cloudfront_update_cache_policy cloudfront_update_cloud_front_origin_access_identity cloudfront_update_connection_function cloudfront_update_connection_group cloudfront_update_continuous_deployment_policy cloudfront_update_distribution cloudfront_update_distribution_tenant cloudfront_update_distribution_with_staging_config cloudfront_update_domain_association cloudfront_update_field_level_encryption_config cloudfront_update_field_level_encryption_profile cloudfront_update_function cloudfront_update_key_group cloudfront_update_key_value_store cloudfront_update_origin_access_control cloudfront_update_origin_request_policy cloudfront_update_public_key cloudfront_update_realtime_log_config cloudfront_update_response_headers_policy cloudfront_update_streaming_distribution cloudfront_update_trust_store cloudfront_update_vpc_origin cloudfront_verify_dns_configuration

# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include cloudfront_service.R
NULL

#' The AssociateAlias API operation only supports standard distributions
#'
#' @description
#' The [`associate_alias`][cloudfront_associate_alias] API operation only supports standard distributions. To move domains between distribution tenants and/or standard distributions, we recommend that you use the [`update_domain_association`][cloudfront_update_domain_association] API operation instead.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_associate_alias/](https://www.paws-r-sdk.com/docs/cloudfront_associate_alias/) for full documentation.
#'
#' @param TargetDistributionId [required] The ID of the standard distribution that you're associating the alias with.
#' @param Alias [required] The alias (also known as a CNAME) to add to the target standard distribution.
#'
#' @keywords internal
#'
#' @rdname cloudfront_associate_alias
cloudfront_associate_alias <- function(TargetDistributionId, Alias) {
  op <- new_operation(
    name = "AssociateAlias",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution/{TargetDistributionId}/associate-alias",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$associate_alias_input(TargetDistributionId = TargetDistributionId, Alias = Alias)
  output <- .cloudfront$associate_alias_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$associate_alias <- cloudfront_associate_alias

#' Associates the WAF web ACL with a distribution tenant
#'
#' @description
#' Associates the WAF web ACL with a distribution tenant.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_associate_distribution_tenant_web_acl/](https://www.paws-r-sdk.com/docs/cloudfront_associate_distribution_tenant_web_acl/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution tenant.
#' @param WebACLArn &#91;required&#93; The Amazon Resource Name (ARN) of the WAF web ACL to associate.
#' @param IfMatch The current `ETag` of the distribution tenant. This value is returned in the response of the [`get_distribution_tenant`][cloudfront_get_distribution_tenant] API operation.
#'
#' @keywords internal
#'
#' @rdname cloudfront_associate_distribution_tenant_web_acl
cloudfront_associate_distribution_tenant_web_acl <- function(Id, WebACLArn, IfMatch = NULL) {
  op <- new_operation(
    name = "AssociateDistributionTenantWebACL",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution-tenant/{Id}/associate-web-acl",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$associate_distribution_tenant_web_acl_input(Id = Id, WebACLArn = WebACLArn, IfMatch = IfMatch)
  output <- .cloudfront$associate_distribution_tenant_web_acl_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$associate_distribution_tenant_web_acl <- cloudfront_associate_distribution_tenant_web_acl

#' Associates the WAF web ACL with a distribution
#'
#' @description
#' Associates the WAF web ACL with a distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_associate_distribution_web_acl/](https://www.paws-r-sdk.com/docs/cloudfront_associate_distribution_web_acl/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution.
#' @param WebACLArn &#91;required&#93; The Amazon Resource Name (ARN) of the WAF web ACL to associate.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the distribution that you're associating with the WAF web ACL.
#'
#' @keywords internal
#'
#' @rdname cloudfront_associate_distribution_web_acl
cloudfront_associate_distribution_web_acl <- function(Id, WebACLArn, IfMatch = NULL) {
  op <- new_operation(
    name = "AssociateDistributionWebACL",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution/{Id}/associate-web-acl",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$associate_distribution_web_acl_input(Id = Id, WebACLArn = WebACLArn, IfMatch = IfMatch)
  output <- .cloudfront$associate_distribution_web_acl_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$associate_distribution_web_acl <- cloudfront_associate_distribution_web_acl

#' Creates a staging distribution using the configuration of the provided
#' primary distribution
#'
#' @description
#' Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_copy_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_copy_distribution/) for full documentation.
#'
#' @param PrimaryDistributionId &#91;required&#93; The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use [`list_distributions`][cloudfront_list_distributions].
#' @param Staging The type of distribution that your primary distribution will be copied to. The only valid value is `True`, indicating that you are copying to a staging distribution.
#' @param IfMatch The version identifier of the primary distribution whose configuration you are copying. This is the `ETag` value returned in the response to [`get_distribution`][cloudfront_get_distribution] and [`get_distribution_config`][cloudfront_get_distribution_config].
#' @param CallerReference &#91;required&#93; A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
#' @param Enabled A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to `True`, the staging distribution is enabled. When you set this value to `False`, the staging distribution is disabled.
#' 
#' If you omit this field, the default value is `True`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_copy_distribution
cloudfront_copy_distribution <- function(PrimaryDistributionId, Staging = NULL, IfMatch = NULL, CallerReference, Enabled = NULL) {
  op <- new_operation(
    name = "CopyDistribution",
    http_method = "POST",
    http_path = "/2020-05-31/distribution/{PrimaryDistributionId}/copy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$copy_distribution_input(PrimaryDistributionId = PrimaryDistributionId, Staging = Staging, IfMatch = IfMatch, CallerReference = CallerReference, Enabled = Enabled)
  output <- .cloudfront$copy_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$copy_distribution <- cloudfront_copy_distribution

#' Creates an Anycast static IP list
#'
#' @description
#' Creates an Anycast static IP list.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_anycast_ip_list/](https://www.paws-r-sdk.com/docs/cloudfront_create_anycast_ip_list/) for full documentation.
#'
#' @param Name &#91;required&#93; Name of the Anycast static IP list.
#' @param IpCount &#91;required&#93; The number of static IP addresses that are allocated to the Anycast static IP list. Valid values: 21 or 3.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#' @param IpAddressType The IP address type for the Anycast static IP list. You can specify one of the following options:
#' 
#' -   `ipv4` only
#' 
#' -   `ipv6` only
#' 
#' -   `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
#' @param IpamCidrConfigs A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for creating the Anycast static IP list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_anycast_ip_list
cloudfront_create_anycast_ip_list <- function(Name, IpCount, Tags = NULL, IpAddressType = NULL, IpamCidrConfigs = NULL) {
  op <- new_operation(
    name = "CreateAnycastIpList",
    http_method = "POST",
    http_path = "/2020-05-31/anycast-ip-list",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_anycast_ip_list_input(Name = Name, IpCount = IpCount, Tags = Tags, IpAddressType = IpAddressType, IpamCidrConfigs = IpamCidrConfigs)
  output <- .cloudfront$create_anycast_ip_list_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_anycast_ip_list <- cloudfront_create_anycast_ip_list

#' Creates a cache policy
#'
#' @description
#' Creates a cache policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_cache_policy/](https://www.paws-r-sdk.com/docs/cloudfront_create_cache_policy/) for full documentation.
#'
#' @param CachePolicyConfig &#91;required&#93; A cache policy configuration.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_cache_policy
cloudfront_create_cache_policy <- function(CachePolicyConfig) {
  op <- new_operation(
    name = "CreateCachePolicy",
    http_method = "POST",
    http_path = "/2020-05-31/cache-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_cache_policy_input(CachePolicyConfig = CachePolicyConfig)
  output <- .cloudfront$create_cache_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_cache_policy <- cloudfront_create_cache_policy

#' Creates a new origin access identity
#'
#' @description
#' Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_cloud_front_origin_access_identity/](https://www.paws-r-sdk.com/docs/cloudfront_create_cloud_front_origin_access_identity/) for full documentation.
#'
#' @param CloudFrontOriginAccessIdentityConfig &#91;required&#93; The current configuration information for the identity.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_cloud_front_origin_access_identity
cloudfront_create_cloud_front_origin_access_identity <- function(CloudFrontOriginAccessIdentityConfig) {
  op <- new_operation(
    name = "CreateCloudFrontOriginAccessIdentity",
    http_method = "POST",
    http_path = "/2020-05-31/origin-access-identity/cloudfront",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_cloud_front_origin_access_identity_input(CloudFrontOriginAccessIdentityConfig = CloudFrontOriginAccessIdentityConfig)
  output <- .cloudfront$create_cloud_front_origin_access_identity_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_cloud_front_origin_access_identity <- cloudfront_create_cloud_front_origin_access_identity

#' Creates a connection function
#'
#' @description
#' Creates a connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_create_connection_function/) for full documentation.
#'
#' @param Name &#91;required&#93; A name for the connection function.
#' @param ConnectionFunctionConfig &#91;required&#93; Contains configuration information about a CloudFront function.
#' @param ConnectionFunctionCode &#91;required&#93; The code for the connection function.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_connection_function
cloudfront_create_connection_function <- function(Name, ConnectionFunctionConfig, ConnectionFunctionCode, Tags = NULL) {
  op <- new_operation(
    name = "CreateConnectionFunction",
    http_method = "POST",
    http_path = "/2020-05-31/connection-function",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_connection_function_input(Name = Name, ConnectionFunctionConfig = ConnectionFunctionConfig, ConnectionFunctionCode = ConnectionFunctionCode, Tags = Tags)
  output <- .cloudfront$create_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_connection_function <- cloudfront_create_connection_function

#' Creates a connection group
#'
#' @description
#' Creates a connection group.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_connection_group/](https://www.paws-r-sdk.com/docs/cloudfront_create_connection_group/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the connection group. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the connection group.
#' @param Ipv6Enabled Enable IPv6 for the connection group. The default is `true`. For more information, see [Enable IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) in the *Amazon CloudFront Developer Guide*.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#' @param AnycastIpListId The ID of the Anycast static IP list.
#' @param Enabled Enable the connection group.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_connection_group
cloudfront_create_connection_group <- function(Name, Ipv6Enabled = NULL, Tags = NULL, AnycastIpListId = NULL, Enabled = NULL) {
  op <- new_operation(
    name = "CreateConnectionGroup",
    http_method = "POST",
    http_path = "/2020-05-31/connection-group",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_connection_group_input(Name = Name, Ipv6Enabled = Ipv6Enabled, Tags = Tags, AnycastIpListId = AnycastIpListId, Enabled = Enabled)
  output <- .cloudfront$create_connection_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_connection_group <- cloudfront_create_connection_group

#' Creates a continuous deployment policy that distributes traffic for a
#' custom domain name to two different CloudFront distributions
#'
#' @description
#' Creates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_continuous_deployment_policy/](https://www.paws-r-sdk.com/docs/cloudfront_create_continuous_deployment_policy/) for full documentation.
#'
#' @param ContinuousDeploymentPolicyConfig &#91;required&#93; Contains the configuration for a continuous deployment policy.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_continuous_deployment_policy
cloudfront_create_continuous_deployment_policy <- function(ContinuousDeploymentPolicyConfig) {
  op <- new_operation(
    name = "CreateContinuousDeploymentPolicy",
    http_method = "POST",
    http_path = "/2020-05-31/continuous-deployment-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_continuous_deployment_policy_input(ContinuousDeploymentPolicyConfig = ContinuousDeploymentPolicyConfig)
  output <- .cloudfront$create_continuous_deployment_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_continuous_deployment_policy <- cloudfront_create_continuous_deployment_policy

#' Creates a CloudFront distribution
#'
#' @description
#' Creates a CloudFront distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_create_distribution/) for full documentation.
#'
#' @param DistributionConfig &#91;required&#93; The distribution's configuration information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_distribution
cloudfront_create_distribution <- function(DistributionConfig) {
  op <- new_operation(
    name = "CreateDistribution",
    http_method = "POST",
    http_path = "/2020-05-31/distribution",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_distribution_input(DistributionConfig = DistributionConfig)
  output <- .cloudfront$create_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_distribution <- cloudfront_create_distribution

#' Creates a distribution tenant
#'
#' @description
#' Creates a distribution tenant.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_distribution_tenant/](https://www.paws-r-sdk.com/docs/cloudfront_create_distribution_tenant/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The ID of the multi-tenant distribution to use for creating the distribution tenant.
#' @param Name &#91;required&#93; The name of the distribution tenant. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the distribution tenant.
#' @param Domains &#91;required&#93; The domains associated with the distribution tenant. You must specify at least one domain in the request.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#' @param Customizations Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
#' @param Parameters A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
#' @param ConnectionGroupId The ID of the connection group to associate with the distribution tenant.
#' @param ManagedCertificateRequest The configuration for the CloudFront managed ACM certificate request.
#' @param Enabled Indicates whether the distribution tenant should be enabled when created. If the distribution tenant is disabled, the distribution tenant won't serve traffic.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_distribution_tenant
cloudfront_create_distribution_tenant <- function(DistributionId, Name, Domains, Tags = NULL, Customizations = NULL, Parameters = NULL, ConnectionGroupId = NULL, ManagedCertificateRequest = NULL, Enabled = NULL) {
  op <- new_operation(
    name = "CreateDistributionTenant",
    http_method = "POST",
    http_path = "/2020-05-31/distribution-tenant",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_distribution_tenant_input(DistributionId = DistributionId, Name = Name, Domains = Domains, Tags = Tags, Customizations = Customizations, Parameters = Parameters, ConnectionGroupId = ConnectionGroupId, ManagedCertificateRequest = ManagedCertificateRequest, Enabled = Enabled)
  output <- .cloudfront$create_distribution_tenant_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_distribution_tenant <- cloudfront_create_distribution_tenant

#' Create a new distribution with tags
#'
#' @description
#' Create a new distribution with tags. This API operation requires the following IAM permissions:
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_distribution_with_tags/](https://www.paws-r-sdk.com/docs/cloudfront_create_distribution_with_tags/) for full documentation.
#'
#' @param DistributionConfigWithTags &#91;required&#93; The distribution's configuration information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_distribution_with_tags
cloudfront_create_distribution_with_tags <- function(DistributionConfigWithTags) {
  op <- new_operation(
    name = "CreateDistributionWithTags",
    http_method = "POST",
    http_path = "/2020-05-31/distribution?WithTags",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_distribution_with_tags_input(DistributionConfigWithTags = DistributionConfigWithTags)
  output <- .cloudfront$create_distribution_with_tags_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_distribution_with_tags <- cloudfront_create_distribution_with_tags

#' Create a new field-level encryption configuration
#'
#' @description
#' Create a new field-level encryption configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_field_level_encryption_config/](https://www.paws-r-sdk.com/docs/cloudfront_create_field_level_encryption_config/) for full documentation.
#'
#' @param FieldLevelEncryptionConfig &#91;required&#93; The request to create a new field-level encryption configuration.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_field_level_encryption_config
cloudfront_create_field_level_encryption_config <- function(FieldLevelEncryptionConfig) {
  op <- new_operation(
    name = "CreateFieldLevelEncryptionConfig",
    http_method = "POST",
    http_path = "/2020-05-31/field-level-encryption",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_field_level_encryption_config_input(FieldLevelEncryptionConfig = FieldLevelEncryptionConfig)
  output <- .cloudfront$create_field_level_encryption_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_field_level_encryption_config <- cloudfront_create_field_level_encryption_config

#' Create a field-level encryption profile
#'
#' @description
#' Create a field-level encryption profile.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_field_level_encryption_profile/](https://www.paws-r-sdk.com/docs/cloudfront_create_field_level_encryption_profile/) for full documentation.
#'
#' @param FieldLevelEncryptionProfileConfig &#91;required&#93; The request to create a field-level encryption profile.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_field_level_encryption_profile
cloudfront_create_field_level_encryption_profile <- function(FieldLevelEncryptionProfileConfig) {
  op <- new_operation(
    name = "CreateFieldLevelEncryptionProfile",
    http_method = "POST",
    http_path = "/2020-05-31/field-level-encryption-profile",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_field_level_encryption_profile_input(FieldLevelEncryptionProfileConfig = FieldLevelEncryptionProfileConfig)
  output <- .cloudfront$create_field_level_encryption_profile_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_field_level_encryption_profile <- cloudfront_create_field_level_encryption_profile

#' Creates a CloudFront function
#'
#' @description
#' Creates a CloudFront function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_function/](https://www.paws-r-sdk.com/docs/cloudfront_create_function/) for full documentation.
#'
#' @param Name &#91;required&#93; A name to identify the function.
#' @param FunctionConfig &#91;required&#93; Configuration information about the function, including an optional comment and the function's runtime.
#' @param FunctionCode &#91;required&#93; The function code. For more information about writing a CloudFront function, see [Writing function code for CloudFront Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) in the *Amazon CloudFront Developer Guide*.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_function
cloudfront_create_function <- function(Name, FunctionConfig, FunctionCode, Tags = NULL) {
  op <- new_operation(
    name = "CreateFunction",
    http_method = "POST",
    http_path = "/2020-05-31/function",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_function_input(Name = Name, FunctionConfig = FunctionConfig, FunctionCode = FunctionCode, Tags = Tags)
  output <- .cloudfront$create_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_function <- cloudfront_create_function

#' Create a new invalidation
#'
#' @description
#' Create a new invalidation. For more information, see [Invalidating files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) in the *Amazon CloudFront Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_invalidation/](https://www.paws-r-sdk.com/docs/cloudfront_create_invalidation/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The distribution's id.
#' @param InvalidationBatch &#91;required&#93; The batch information for the invalidation.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_invalidation
cloudfront_create_invalidation <- function(DistributionId, InvalidationBatch) {
  op <- new_operation(
    name = "CreateInvalidation",
    http_method = "POST",
    http_path = "/2020-05-31/distribution/{DistributionId}/invalidation",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_invalidation_input(DistributionId = DistributionId, InvalidationBatch = InvalidationBatch)
  output <- .cloudfront$create_invalidation_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_invalidation <- cloudfront_create_invalidation

#' Creates an invalidation for a distribution tenant
#'
#' @description
#' Creates an invalidation for a distribution tenant. For more information, see [Invalidating files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) in the *Amazon CloudFront Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_invalidation_for_distribution_tenant/](https://www.paws-r-sdk.com/docs/cloudfront_create_invalidation_for_distribution_tenant/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution tenant.
#' @param InvalidationBatch &#91;required&#93; An invalidation batch.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_invalidation_for_distribution_tenant
cloudfront_create_invalidation_for_distribution_tenant <- function(Id, InvalidationBatch) {
  op <- new_operation(
    name = "CreateInvalidationForDistributionTenant",
    http_method = "POST",
    http_path = "/2020-05-31/distribution-tenant/{Id}/invalidation",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_invalidation_for_distribution_tenant_input(Id = Id, InvalidationBatch = InvalidationBatch)
  output <- .cloudfront$create_invalidation_for_distribution_tenant_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_invalidation_for_distribution_tenant <- cloudfront_create_invalidation_for_distribution_tenant

#' Creates a key group that you can use with CloudFront signed URLs and
#' signed cookies
#'
#' @description
#' Creates a key group that you can use with [CloudFront signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html).
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_key_group/](https://www.paws-r-sdk.com/docs/cloudfront_create_key_group/) for full documentation.
#'
#' @param KeyGroupConfig &#91;required&#93; A key group configuration.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_key_group
cloudfront_create_key_group <- function(KeyGroupConfig) {
  op <- new_operation(
    name = "CreateKeyGroup",
    http_method = "POST",
    http_path = "/2020-05-31/key-group",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_key_group_input(KeyGroupConfig = KeyGroupConfig)
  output <- .cloudfront$create_key_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_key_group <- cloudfront_create_key_group

#' Specifies the key value store resource to add to your account
#'
#' @description
#' Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid `ImportSource` that you own.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_key_value_store/](https://www.paws-r-sdk.com/docs/cloudfront_create_key_value_store/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.
#' @param Comment The comment of the key value store.
#' @param ImportSource The S3 bucket that provides the source for the import. The source must be in a valid JSON format.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_key_value_store
cloudfront_create_key_value_store <- function(Name, Comment = NULL, ImportSource = NULL, Tags = NULL) {
  op <- new_operation(
    name = "CreateKeyValueStore",
    http_method = "POST",
    http_path = "/2020-05-31/key-value-store",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_key_value_store_input(Name = Name, Comment = Comment, ImportSource = ImportSource, Tags = Tags)
  output <- .cloudfront$create_key_value_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_key_value_store <- cloudfront_create_key_value_store

#' Enables or disables additional Amazon CloudWatch metrics for the
#' specified CloudFront distribution
#'
#' @description
#' Enables or disables additional Amazon CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_monitoring_subscription/](https://www.paws-r-sdk.com/docs/cloudfront_create_monitoring_subscription/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The ID of the distribution that you are enabling metrics for.
#' @param MonitoringSubscription &#91;required&#93; A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_monitoring_subscription
cloudfront_create_monitoring_subscription <- function(DistributionId, MonitoringSubscription) {
  op <- new_operation(
    name = "CreateMonitoringSubscription",
    http_method = "POST",
    http_path = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_monitoring_subscription_input(DistributionId = DistributionId, MonitoringSubscription = MonitoringSubscription)
  output <- .cloudfront$create_monitoring_subscription_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_monitoring_subscription <- cloudfront_create_monitoring_subscription

#' Creates a new origin access control in CloudFront
#'
#' @description
#' Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_origin_access_control/](https://www.paws-r-sdk.com/docs/cloudfront_create_origin_access_control/) for full documentation.
#'
#' @param OriginAccessControlConfig &#91;required&#93; Contains the origin access control.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_origin_access_control
cloudfront_create_origin_access_control <- function(OriginAccessControlConfig) {
  op <- new_operation(
    name = "CreateOriginAccessControl",
    http_method = "POST",
    http_path = "/2020-05-31/origin-access-control",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_origin_access_control_input(OriginAccessControlConfig = OriginAccessControlConfig)
  output <- .cloudfront$create_origin_access_control_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_origin_access_control <- cloudfront_create_origin_access_control

#' Creates an origin request policy
#'
#' @description
#' Creates an origin request policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_origin_request_policy/](https://www.paws-r-sdk.com/docs/cloudfront_create_origin_request_policy/) for full documentation.
#'
#' @param OriginRequestPolicyConfig &#91;required&#93; An origin request policy configuration.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_origin_request_policy
cloudfront_create_origin_request_policy <- function(OriginRequestPolicyConfig) {
  op <- new_operation(
    name = "CreateOriginRequestPolicy",
    http_method = "POST",
    http_path = "/2020-05-31/origin-request-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_origin_request_policy_input(OriginRequestPolicyConfig = OriginRequestPolicyConfig)
  output <- .cloudfront$create_origin_request_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_origin_request_policy <- cloudfront_create_origin_request_policy

#' Uploads a public key to CloudFront that you can use with signed URLs and
#' signed cookies, or with field-level encryption
#'
#' @description
#' Uploads a public key to CloudFront that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_public_key/](https://www.paws-r-sdk.com/docs/cloudfront_create_public_key/) for full documentation.
#'
#' @param PublicKeyConfig &#91;required&#93; A CloudFront public key configuration.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_public_key
cloudfront_create_public_key <- function(PublicKeyConfig) {
  op <- new_operation(
    name = "CreatePublicKey",
    http_method = "POST",
    http_path = "/2020-05-31/public-key",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_public_key_input(PublicKeyConfig = PublicKeyConfig)
  output <- .cloudfront$create_public_key_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_public_key <- cloudfront_create_public_key

#' Creates a real-time log configuration
#'
#' @description
#' Creates a real-time log configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_realtime_log_config/](https://www.paws-r-sdk.com/docs/cloudfront_create_realtime_log_config/) for full documentation.
#'
#' @param EndPoints &#91;required&#93; Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
#' @param Fields &#91;required&#93; A list of fields to include in each real-time log record.
#' 
#' For more information about fields, see [Real-time log configuration fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the *Amazon CloudFront Developer Guide*.
#' @param Name &#91;required&#93; A unique name to identify this real-time log configuration.
#' @param SamplingRate &#91;required&#93; The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_realtime_log_config
cloudfront_create_realtime_log_config <- function(EndPoints, Fields, Name, SamplingRate) {
  op <- new_operation(
    name = "CreateRealtimeLogConfig",
    http_method = "POST",
    http_path = "/2020-05-31/realtime-log-config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_realtime_log_config_input(EndPoints = EndPoints, Fields = Fields, Name = Name, SamplingRate = SamplingRate)
  output <- .cloudfront$create_realtime_log_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_realtime_log_config <- cloudfront_create_realtime_log_config

#' Creates a response headers policy
#'
#' @description
#' Creates a response headers policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_response_headers_policy/](https://www.paws-r-sdk.com/docs/cloudfront_create_response_headers_policy/) for full documentation.
#'
#' @param ResponseHeadersPolicyConfig &#91;required&#93; Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_response_headers_policy
cloudfront_create_response_headers_policy <- function(ResponseHeadersPolicyConfig) {
  op <- new_operation(
    name = "CreateResponseHeadersPolicy",
    http_method = "POST",
    http_path = "/2020-05-31/response-headers-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_response_headers_policy_input(ResponseHeadersPolicyConfig = ResponseHeadersPolicyConfig)
  output <- .cloudfront$create_response_headers_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_response_headers_policy <- cloudfront_create_response_headers_policy

#' This API is deprecated
#'
#' @description
#' This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_streaming_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_create_streaming_distribution/) for full documentation.
#'
#' @param StreamingDistributionConfig &#91;required&#93; The streaming distribution's configuration information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_streaming_distribution
cloudfront_create_streaming_distribution <- function(StreamingDistributionConfig) {
  op <- new_operation(
    name = "CreateStreamingDistribution",
    http_method = "POST",
    http_path = "/2020-05-31/streaming-distribution",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_streaming_distribution_input(StreamingDistributionConfig = StreamingDistributionConfig)
  output <- .cloudfront$create_streaming_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_streaming_distribution <- cloudfront_create_streaming_distribution

#' This API is deprecated
#'
#' @description
#' This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_streaming_distribution_with_tags/](https://www.paws-r-sdk.com/docs/cloudfront_create_streaming_distribution_with_tags/) for full documentation.
#'
#' @param StreamingDistributionConfigWithTags &#91;required&#93; The streaming distribution's configuration information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_streaming_distribution_with_tags
cloudfront_create_streaming_distribution_with_tags <- function(StreamingDistributionConfigWithTags) {
  op <- new_operation(
    name = "CreateStreamingDistributionWithTags",
    http_method = "POST",
    http_path = "/2020-05-31/streaming-distribution?WithTags",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_streaming_distribution_with_tags_input(StreamingDistributionConfigWithTags = StreamingDistributionConfigWithTags)
  output <- .cloudfront$create_streaming_distribution_with_tags_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_streaming_distribution_with_tags <- cloudfront_create_streaming_distribution_with_tags

#' Creates a trust store
#'
#' @description
#' Creates a trust store.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_trust_store/](https://www.paws-r-sdk.com/docs/cloudfront_create_trust_store/) for full documentation.
#'
#' @param Name &#91;required&#93; A name for the trust store.
#' @param CaCertificatesBundleSource &#91;required&#93; The CA certificates bundle source for the trust store.
#' @param UseClientCertificateOCSPEndpoint A Boolean that determines whether to use the CA certificate's OCSP endpoint to check certificate revocation status.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_trust_store
cloudfront_create_trust_store <- function(Name, CaCertificatesBundleSource, UseClientCertificateOCSPEndpoint = NULL, Tags = NULL) {
  op <- new_operation(
    name = "CreateTrustStore",
    http_method = "POST",
    http_path = "/2020-05-31/trust-store",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_trust_store_input(Name = Name, CaCertificatesBundleSource = CaCertificatesBundleSource, UseClientCertificateOCSPEndpoint = UseClientCertificateOCSPEndpoint, Tags = Tags)
  output <- .cloudfront$create_trust_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_trust_store <- cloudfront_create_trust_store

#' Create an Amazon CloudFront VPC origin
#'
#' @description
#' Create an Amazon CloudFront VPC origin.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_create_vpc_origin/](https://www.paws-r-sdk.com/docs/cloudfront_create_vpc_origin/) for full documentation.
#'
#' @param VpcOriginEndpointConfig &#91;required&#93; The VPC origin endpoint configuration.
#' @param Tags A complex type that contains zero or more `Tag` elements.
#'
#' @keywords internal
#'
#' @rdname cloudfront_create_vpc_origin
cloudfront_create_vpc_origin <- function(VpcOriginEndpointConfig, Tags = NULL) {
  op <- new_operation(
    name = "CreateVpcOrigin",
    http_method = "POST",
    http_path = "/2020-05-31/vpc-origin",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$create_vpc_origin_input(VpcOriginEndpointConfig = VpcOriginEndpointConfig, Tags = Tags)
  output <- .cloudfront$create_vpc_origin_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$create_vpc_origin <- cloudfront_create_vpc_origin

#' Deletes an Anycast static IP list
#'
#' @description
#' Deletes an Anycast static IP list.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_anycast_ip_list/](https://www.paws-r-sdk.com/docs/cloudfront_delete_anycast_ip_list/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the Anycast static IP list.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the Anycast static IP list that you are deleting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_anycast_ip_list
cloudfront_delete_anycast_ip_list <- function(Id, IfMatch) {
  op <- new_operation(
    name = "DeleteAnycastIpList",
    http_method = "DELETE",
    http_path = "/2020-05-31/anycast-ip-list/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_anycast_ip_list_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_anycast_ip_list_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_anycast_ip_list <- cloudfront_delete_anycast_ip_list

#' Deletes a cache policy
#'
#' @description
#' Deletes a cache policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_cache_policy/](https://www.paws-r-sdk.com/docs/cloudfront_delete_cache_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier for the cache policy that you are deleting. To get the identifier, you can use [`list_cache_policies`][cloudfront_list_cache_policies].
#' @param IfMatch The version of the cache policy that you are deleting. The version is the cache policy's `ETag` value, which you can get using [`list_cache_policies`][cloudfront_list_cache_policies], [`get_cache_policy`][cloudfront_get_cache_policy], or [`get_cache_policy_config`][cloudfront_get_cache_policy_config].
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_cache_policy
cloudfront_delete_cache_policy <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteCachePolicy",
    http_method = "DELETE",
    http_path = "/2020-05-31/cache-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_cache_policy_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_cache_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_cache_policy <- cloudfront_delete_cache_policy

#' Delete an origin access identity
#'
#' @description
#' Delete an origin access identity.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_cloud_front_origin_access_identity/](https://www.paws-r-sdk.com/docs/cloudfront_delete_cloud_front_origin_access_identity/) for full documentation.
#'
#' @param Id &#91;required&#93; The origin access identity's ID.
#' @param IfMatch The value of the `ETag` header you received from a previous `GET` or `PUT` request. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_cloud_front_origin_access_identity
cloudfront_delete_cloud_front_origin_access_identity <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteCloudFrontOriginAccessIdentity",
    http_method = "DELETE",
    http_path = "/2020-05-31/origin-access-identity/cloudfront/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_cloud_front_origin_access_identity_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_cloud_front_origin_access_identity_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_cloud_front_origin_access_identity <- cloudfront_delete_cloud_front_origin_access_identity

#' Deletes a connection function
#'
#' @description
#' Deletes a connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_delete_connection_function/) for full documentation.
#'
#' @param Id &#91;required&#93; The connection function's ID.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the connection function you are deleting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_connection_function
cloudfront_delete_connection_function <- function(Id, IfMatch) {
  op <- new_operation(
    name = "DeleteConnectionFunction",
    http_method = "DELETE",
    http_path = "/2020-05-31/connection-function/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_connection_function_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_connection_function <- cloudfront_delete_connection_function

#' Deletes a connection group
#'
#' @description
#' Deletes a connection group.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_connection_group/](https://www.paws-r-sdk.com/docs/cloudfront_delete_connection_group/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the connection group to delete.
#' @param IfMatch &#91;required&#93; The value of the `ETag` header that you received when retrieving the connection group to delete.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_connection_group
cloudfront_delete_connection_group <- function(Id, IfMatch) {
  op <- new_operation(
    name = "DeleteConnectionGroup",
    http_method = "DELETE",
    http_path = "/2020-05-31/connection-group/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_connection_group_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_connection_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_connection_group <- cloudfront_delete_connection_group

#' Deletes a continuous deployment policy
#'
#' @description
#' Deletes a continuous deployment policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_continuous_deployment_policy/](https://www.paws-r-sdk.com/docs/cloudfront_delete_continuous_deployment_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the continuous deployment policy that you are deleting.
#' @param IfMatch The current version (`ETag` value) of the continuous deployment policy that you are deleting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_continuous_deployment_policy
cloudfront_delete_continuous_deployment_policy <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteContinuousDeploymentPolicy",
    http_method = "DELETE",
    http_path = "/2020-05-31/continuous-deployment-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_continuous_deployment_policy_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_continuous_deployment_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_continuous_deployment_policy <- cloudfront_delete_continuous_deployment_policy

#' Delete a distribution
#'
#' @description
#' Delete a distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_delete_distribution/) for full documentation.
#'
#' @param Id &#91;required&#93; The distribution ID.
#' @param IfMatch The value of the `ETag` header that you received when you disabled the distribution. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_distribution
cloudfront_delete_distribution <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteDistribution",
    http_method = "DELETE",
    http_path = "/2020-05-31/distribution/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_distribution_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_distribution <- cloudfront_delete_distribution

#' Deletes a distribution tenant
#'
#' @description
#' Deletes a distribution tenant. If you use this API operation to delete a distribution tenant that is currently enabled, the request will fail.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_distribution_tenant/](https://www.paws-r-sdk.com/docs/cloudfront_delete_distribution_tenant/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution tenant to delete.
#' @param IfMatch &#91;required&#93; The value of the `ETag` header that you received when retrieving the distribution tenant. This value is returned in the response of the [`get_distribution_tenant`][cloudfront_get_distribution_tenant] API operation.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_distribution_tenant
cloudfront_delete_distribution_tenant <- function(Id, IfMatch) {
  op <- new_operation(
    name = "DeleteDistributionTenant",
    http_method = "DELETE",
    http_path = "/2020-05-31/distribution-tenant/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_distribution_tenant_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_distribution_tenant_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_distribution_tenant <- cloudfront_delete_distribution_tenant

#' Remove a field-level encryption configuration
#'
#' @description
#' Remove a field-level encryption configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_field_level_encryption_config/](https://www.paws-r-sdk.com/docs/cloudfront_delete_field_level_encryption_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the configuration you want to delete from CloudFront.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the configuration identity to delete. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_field_level_encryption_config
cloudfront_delete_field_level_encryption_config <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteFieldLevelEncryptionConfig",
    http_method = "DELETE",
    http_path = "/2020-05-31/field-level-encryption/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_field_level_encryption_config_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_field_level_encryption_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_field_level_encryption_config <- cloudfront_delete_field_level_encryption_config

#' Remove a field-level encryption profile
#'
#' @description
#' Remove a field-level encryption profile.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_field_level_encryption_profile/](https://www.paws-r-sdk.com/docs/cloudfront_delete_field_level_encryption_profile/) for full documentation.
#'
#' @param Id &#91;required&#93; Request the ID of the profile you want to delete from CloudFront.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the profile to delete. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_field_level_encryption_profile
cloudfront_delete_field_level_encryption_profile <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteFieldLevelEncryptionProfile",
    http_method = "DELETE",
    http_path = "/2020-05-31/field-level-encryption-profile/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_field_level_encryption_profile_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_field_level_encryption_profile_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_field_level_encryption_profile <- cloudfront_delete_field_level_encryption_profile

#' Deletes a CloudFront function
#'
#' @description
#' Deletes a CloudFront function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_function/](https://www.paws-r-sdk.com/docs/cloudfront_delete_function/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the function that you are deleting.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the function that you are deleting, which you can get using [`describe_function`][cloudfront_describe_function].
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_function
cloudfront_delete_function <- function(Name, IfMatch) {
  op <- new_operation(
    name = "DeleteFunction",
    http_method = "DELETE",
    http_path = "/2020-05-31/function/{Name}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_function_input(Name = Name, IfMatch = IfMatch)
  output <- .cloudfront$delete_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_function <- cloudfront_delete_function

#' Deletes a key group
#'
#' @description
#' Deletes a key group.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_key_group/](https://www.paws-r-sdk.com/docs/cloudfront_delete_key_group/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the key group that you are deleting. To get the identifier, use [`list_key_groups`][cloudfront_list_key_groups].
#' @param IfMatch The version of the key group that you are deleting. The version is the key group's `ETag` value. To get the `ETag`, use [`get_key_group`][cloudfront_get_key_group] or [`get_key_group_config`][cloudfront_get_key_group_config].
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_key_group
cloudfront_delete_key_group <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteKeyGroup",
    http_method = "DELETE",
    http_path = "/2020-05-31/key-group/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_key_group_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_key_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_key_group <- cloudfront_delete_key_group

#' Specifies the key value store to delete
#'
#' @description
#' Specifies the key value store to delete.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_key_value_store/](https://www.paws-r-sdk.com/docs/cloudfront_delete_key_value_store/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the key value store.
#' @param IfMatch &#91;required&#93; The key value store to delete, if a match occurs.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_key_value_store
cloudfront_delete_key_value_store <- function(Name, IfMatch) {
  op <- new_operation(
    name = "DeleteKeyValueStore",
    http_method = "DELETE",
    http_path = "/2020-05-31/key-value-store/{Name}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_key_value_store_input(Name = Name, IfMatch = IfMatch)
  output <- .cloudfront$delete_key_value_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_key_value_store <- cloudfront_delete_key_value_store

#' Disables additional CloudWatch metrics for the specified CloudFront
#' distribution
#'
#' @description
#' Disables additional CloudWatch metrics for the specified CloudFront distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_monitoring_subscription/](https://www.paws-r-sdk.com/docs/cloudfront_delete_monitoring_subscription/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The ID of the distribution that you are disabling metrics for.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_monitoring_subscription
cloudfront_delete_monitoring_subscription <- function(DistributionId) {
  op <- new_operation(
    name = "DeleteMonitoringSubscription",
    http_method = "DELETE",
    http_path = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_monitoring_subscription_input(DistributionId = DistributionId)
  output <- .cloudfront$delete_monitoring_subscription_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_monitoring_subscription <- cloudfront_delete_monitoring_subscription

#' Deletes a CloudFront origin access control
#'
#' @description
#' Deletes a CloudFront origin access control.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_origin_access_control/](https://www.paws-r-sdk.com/docs/cloudfront_delete_origin_access_control/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier of the origin access control that you are deleting.
#' @param IfMatch The current version (`ETag` value) of the origin access control that you are deleting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_origin_access_control
cloudfront_delete_origin_access_control <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteOriginAccessControl",
    http_method = "DELETE",
    http_path = "/2020-05-31/origin-access-control/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_origin_access_control_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_origin_access_control_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_origin_access_control <- cloudfront_delete_origin_access_control

#' Deletes an origin request policy
#'
#' @description
#' Deletes an origin request policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_origin_request_policy/](https://www.paws-r-sdk.com/docs/cloudfront_delete_origin_request_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use [`list_origin_request_policies`][cloudfront_list_origin_request_policies].
#' @param IfMatch The version of the origin request policy that you are deleting. The version is the origin request policy's `ETag` value, which you can get using [`list_origin_request_policies`][cloudfront_list_origin_request_policies], [`get_origin_request_policy`][cloudfront_get_origin_request_policy], or [`get_origin_request_policy_config`][cloudfront_get_origin_request_policy_config].
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_origin_request_policy
cloudfront_delete_origin_request_policy <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteOriginRequestPolicy",
    http_method = "DELETE",
    http_path = "/2020-05-31/origin-request-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_origin_request_policy_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_origin_request_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_origin_request_policy <- cloudfront_delete_origin_request_policy

#' Remove a public key you previously added to CloudFront
#'
#' @description
#' Remove a public key you previously added to CloudFront.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_public_key/](https://www.paws-r-sdk.com/docs/cloudfront_delete_public_key/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the public key you want to remove from CloudFront.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the public key identity to delete. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_public_key
cloudfront_delete_public_key <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeletePublicKey",
    http_method = "DELETE",
    http_path = "/2020-05-31/public-key/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_public_key_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_public_key_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_public_key <- cloudfront_delete_public_key

#' Deletes a real-time log configuration
#'
#' @description
#' Deletes a real-time log configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_realtime_log_config/](https://www.paws-r-sdk.com/docs/cloudfront_delete_realtime_log_config/) for full documentation.
#'
#' @param Name The name of the real-time log configuration to delete.
#' @param ARN The Amazon Resource Name (ARN) of the real-time log configuration to delete.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_realtime_log_config
cloudfront_delete_realtime_log_config <- function(Name = NULL, ARN = NULL) {
  op <- new_operation(
    name = "DeleteRealtimeLogConfig",
    http_method = "POST",
    http_path = "/2020-05-31/delete-realtime-log-config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_realtime_log_config_input(Name = Name, ARN = ARN)
  output <- .cloudfront$delete_realtime_log_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_realtime_log_config <- cloudfront_delete_realtime_log_config

#' Deletes the resource policy attached to the CloudFront resource
#'
#' @description
#' Deletes the resource policy attached to the CloudFront resource.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_resource_policy/](https://www.paws-r-sdk.com/docs/cloudfront_delete_resource_policy/) for full documentation.
#'
#' @param ResourceArn &#91;required&#93; The Amazon Resource Name (ARN) of the CloudFront resource for which the resource policy should be deleted.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_resource_policy
cloudfront_delete_resource_policy <- function(ResourceArn) {
  op <- new_operation(
    name = "DeleteResourcePolicy",
    http_method = "POST",
    http_path = "/2020-05-31/delete-resource-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_resource_policy_input(ResourceArn = ResourceArn)
  output <- .cloudfront$delete_resource_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_resource_policy <- cloudfront_delete_resource_policy

#' Deletes a response headers policy
#'
#' @description
#' Deletes a response headers policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_response_headers_policy/](https://www.paws-r-sdk.com/docs/cloudfront_delete_response_headers_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier for the response headers policy that you are deleting.
#' 
#' To get the identifier, you can use [`list_response_headers_policies`][cloudfront_list_response_headers_policies].
#' @param IfMatch The version of the response headers policy that you are deleting.
#' 
#' The version is the response headers policy's `ETag` value, which you can get using [`list_response_headers_policies`][cloudfront_list_response_headers_policies], [`get_response_headers_policy`][cloudfront_get_response_headers_policy], or [`get_response_headers_policy_config`][cloudfront_get_response_headers_policy_config].
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_response_headers_policy
cloudfront_delete_response_headers_policy <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteResponseHeadersPolicy",
    http_method = "DELETE",
    http_path = "/2020-05-31/response-headers-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_response_headers_policy_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_response_headers_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_response_headers_policy <- cloudfront_delete_response_headers_policy

#' Delete a streaming distribution
#'
#' @description
#' Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_streaming_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_delete_streaming_distribution/) for full documentation.
#'
#' @param Id &#91;required&#93; The distribution ID.
#' @param IfMatch The value of the `ETag` header that you received when you disabled the streaming distribution. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_streaming_distribution
cloudfront_delete_streaming_distribution <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DeleteStreamingDistribution",
    http_method = "DELETE",
    http_path = "/2020-05-31/streaming-distribution/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_streaming_distribution_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_streaming_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_streaming_distribution <- cloudfront_delete_streaming_distribution

#' Deletes a trust store
#'
#' @description
#' Deletes a trust store.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_trust_store/](https://www.paws-r-sdk.com/docs/cloudfront_delete_trust_store/) for full documentation.
#'
#' @param Id &#91;required&#93; The trust store's ID.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the trust store you are deleting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_trust_store
cloudfront_delete_trust_store <- function(Id, IfMatch) {
  op <- new_operation(
    name = "DeleteTrustStore",
    http_method = "DELETE",
    http_path = "/2020-05-31/trust-store/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_trust_store_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_trust_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_trust_store <- cloudfront_delete_trust_store

#' Delete an Amazon CloudFront VPC origin
#'
#' @description
#' Delete an Amazon CloudFront VPC origin.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_delete_vpc_origin/](https://www.paws-r-sdk.com/docs/cloudfront_delete_vpc_origin/) for full documentation.
#'
#' @param Id &#91;required&#93; The VPC origin ID.
#' @param IfMatch &#91;required&#93; The version identifier of the VPC origin to delete. This is the `ETag` value returned in the response to [`get_vpc_origin`][cloudfront_get_vpc_origin].
#'
#' @keywords internal
#'
#' @rdname cloudfront_delete_vpc_origin
cloudfront_delete_vpc_origin <- function(Id, IfMatch) {
  op <- new_operation(
    name = "DeleteVpcOrigin",
    http_method = "DELETE",
    http_path = "/2020-05-31/vpc-origin/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$delete_vpc_origin_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$delete_vpc_origin_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$delete_vpc_origin <- cloudfront_delete_vpc_origin

#' Describes a connection function
#'
#' @description
#' Describes a connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_describe_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_describe_connection_function/) for full documentation.
#'
#' @param Identifier &#91;required&#93; The connection function's identifier.
#' @param Stage The connection function's stage.
#'
#' @keywords internal
#'
#' @rdname cloudfront_describe_connection_function
cloudfront_describe_connection_function <- function(Identifier, Stage = NULL) {
  op <- new_operation(
    name = "DescribeConnectionFunction",
    http_method = "GET",
    http_path = "/2020-05-31/connection-function/{Identifier}/describe",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$describe_connection_function_input(Identifier = Identifier, Stage = Stage)
  output <- .cloudfront$describe_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$describe_connection_function <- cloudfront_describe_connection_function

#' Gets configuration information and metadata about a CloudFront function,
#' but not the function's code
#'
#' @description
#' Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use [`get_function`][cloudfront_get_function].
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_describe_function/](https://www.paws-r-sdk.com/docs/cloudfront_describe_function/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the function that you are getting information about.
#' @param Stage The function's stage, either `DEVELOPMENT` or `LIVE`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_describe_function
cloudfront_describe_function <- function(Name, Stage = NULL) {
  op <- new_operation(
    name = "DescribeFunction",
    http_method = "GET",
    http_path = "/2020-05-31/function/{Name}/describe",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$describe_function_input(Name = Name, Stage = Stage)
  output <- .cloudfront$describe_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$describe_function <- cloudfront_describe_function

#' Specifies the key value store and its configuration
#'
#' @description
#' Specifies the key value store and its configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_describe_key_value_store/](https://www.paws-r-sdk.com/docs/cloudfront_describe_key_value_store/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the key value store.
#'
#' @keywords internal
#'
#' @rdname cloudfront_describe_key_value_store
cloudfront_describe_key_value_store <- function(Name) {
  op <- new_operation(
    name = "DescribeKeyValueStore",
    http_method = "GET",
    http_path = "/2020-05-31/key-value-store/{Name}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$describe_key_value_store_input(Name = Name)
  output <- .cloudfront$describe_key_value_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$describe_key_value_store <- cloudfront_describe_key_value_store

#' Disassociates a distribution tenant from the WAF web ACL
#'
#' @description
#' Disassociates a distribution tenant from the WAF web ACL.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_disassociate_distribution_tenant_web_acl/](https://www.paws-r-sdk.com/docs/cloudfront_disassociate_distribution_tenant_web_acl/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution tenant.
#' @param IfMatch The current version of the distribution tenant that you're disassociating from the WAF web ACL. This is the `ETag` value returned in the response to the [`get_distribution_tenant`][cloudfront_get_distribution_tenant] API operation.
#'
#' @keywords internal
#'
#' @rdname cloudfront_disassociate_distribution_tenant_web_acl
cloudfront_disassociate_distribution_tenant_web_acl <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DisassociateDistributionTenantWebACL",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution-tenant/{Id}/disassociate-web-acl",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$disassociate_distribution_tenant_web_acl_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$disassociate_distribution_tenant_web_acl_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$disassociate_distribution_tenant_web_acl <- cloudfront_disassociate_distribution_tenant_web_acl

#' Disassociates a distribution from the WAF web ACL
#'
#' @description
#' Disassociates a distribution from the WAF web ACL.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_disassociate_distribution_web_acl/](https://www.paws-r-sdk.com/docs/cloudfront_disassociate_distribution_web_acl/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the distribution that you're disassociating from the WAF web ACL.
#'
#' @keywords internal
#'
#' @rdname cloudfront_disassociate_distribution_web_acl
cloudfront_disassociate_distribution_web_acl <- function(Id, IfMatch = NULL) {
  op <- new_operation(
    name = "DisassociateDistributionWebACL",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution/{Id}/disassociate-web-acl",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$disassociate_distribution_web_acl_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$disassociate_distribution_web_acl_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$disassociate_distribution_web_acl <- cloudfront_disassociate_distribution_web_acl

#' Gets an Anycast static IP list
#'
#' @description
#' Gets an Anycast static IP list.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_anycast_ip_list/](https://www.paws-r-sdk.com/docs/cloudfront_get_anycast_ip_list/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the Anycast static IP list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_anycast_ip_list
cloudfront_get_anycast_ip_list <- function(Id) {
  op <- new_operation(
    name = "GetAnycastIpList",
    http_method = "GET",
    http_path = "/2020-05-31/anycast-ip-list/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_anycast_ip_list_input(Id = Id)
  output <- .cloudfront$get_anycast_ip_list_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_anycast_ip_list <- cloudfront_get_anycast_ip_list

#' Gets a cache policy, including the following metadata:
#'
#' @description
#' Gets a cache policy, including the following metadata:
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_cache_policy/](https://www.paws-r-sdk.com/docs/cloudfront_get_cache_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using [`list_distributions`][cloudfront_list_distributions] or [`get_distribution`][cloudfront_get_distribution]. If the cache policy is not attached to a cache behavior, you can get the identifier using [`list_cache_policies`][cloudfront_list_cache_policies].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_cache_policy
cloudfront_get_cache_policy <- function(Id) {
  op <- new_operation(
    name = "GetCachePolicy",
    http_method = "GET",
    http_path = "/2020-05-31/cache-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_cache_policy_input(Id = Id)
  output <- .cloudfront$get_cache_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_cache_policy <- cloudfront_get_cache_policy

#' Gets a cache policy configuration
#'
#' @description
#' Gets a cache policy configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_cache_policy_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_cache_policy_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using [`list_distributions`][cloudfront_list_distributions] or [`get_distribution`][cloudfront_get_distribution]. If the cache policy is not attached to a cache behavior, you can get the identifier using [`list_cache_policies`][cloudfront_list_cache_policies].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_cache_policy_config
cloudfront_get_cache_policy_config <- function(Id) {
  op <- new_operation(
    name = "GetCachePolicyConfig",
    http_method = "GET",
    http_path = "/2020-05-31/cache-policy/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_cache_policy_config_input(Id = Id)
  output <- .cloudfront$get_cache_policy_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_cache_policy_config <- cloudfront_get_cache_policy_config

#' Get the information about an origin access identity
#'
#' @description
#' Get the information about an origin access identity.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_cloud_front_origin_access_identity/](https://www.paws-r-sdk.com/docs/cloudfront_get_cloud_front_origin_access_identity/) for full documentation.
#'
#' @param Id &#91;required&#93; The identity's ID.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_cloud_front_origin_access_identity
cloudfront_get_cloud_front_origin_access_identity <- function(Id) {
  op <- new_operation(
    name = "GetCloudFrontOriginAccessIdentity",
    http_method = "GET",
    http_path = "/2020-05-31/origin-access-identity/cloudfront/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_cloud_front_origin_access_identity_input(Id = Id)
  output <- .cloudfront$get_cloud_front_origin_access_identity_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_cloud_front_origin_access_identity <- cloudfront_get_cloud_front_origin_access_identity

#' Get the configuration information about an origin access identity
#'
#' @description
#' Get the configuration information about an origin access identity.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_cloud_front_origin_access_identity_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_cloud_front_origin_access_identity_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The identity's ID.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_cloud_front_origin_access_identity_config
cloudfront_get_cloud_front_origin_access_identity_config <- function(Id) {
  op <- new_operation(
    name = "GetCloudFrontOriginAccessIdentityConfig",
    http_method = "GET",
    http_path = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_cloud_front_origin_access_identity_config_input(Id = Id)
  output <- .cloudfront$get_cloud_front_origin_access_identity_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_cloud_front_origin_access_identity_config <- cloudfront_get_cloud_front_origin_access_identity_config

#' Gets a connection function
#'
#' @description
#' Gets a connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_get_connection_function/) for full documentation.
#'
#' @param Identifier &#91;required&#93; The connection function's identifier.
#' @param Stage The connection function's stage.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_connection_function
cloudfront_get_connection_function <- function(Identifier, Stage = NULL) {
  op <- new_operation(
    name = "GetConnectionFunction",
    http_method = "GET",
    http_path = "/2020-05-31/connection-function/{Identifier}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_connection_function_input(Identifier = Identifier, Stage = Stage)
  output <- .cloudfront$get_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_connection_function <- cloudfront_get_connection_function

#' Gets information about a connection group
#'
#' @description
#' Gets information about a connection group.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_connection_group/](https://www.paws-r-sdk.com/docs/cloudfront_get_connection_group/) for full documentation.
#'
#' @param Identifier &#91;required&#93; The ID, name, or Amazon Resource Name (ARN) of the connection group.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_connection_group
cloudfront_get_connection_group <- function(Identifier) {
  op <- new_operation(
    name = "GetConnectionGroup",
    http_method = "GET",
    http_path = "/2020-05-31/connection-group/{Identifier}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_connection_group_input(Identifier = Identifier)
  output <- .cloudfront$get_connection_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_connection_group <- cloudfront_get_connection_group

#' Gets information about a connection group by using the endpoint that you
#' specify
#'
#' @description
#' Gets information about a connection group by using the endpoint that you specify.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_connection_group_by_routing_endpoint/](https://www.paws-r-sdk.com/docs/cloudfront_get_connection_group_by_routing_endpoint/) for full documentation.
#'
#' @param RoutingEndpoint &#91;required&#93; The routing endpoint for the target connection group, such as d111111abcdef8.cloudfront.net.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_connection_group_by_routing_endpoint
cloudfront_get_connection_group_by_routing_endpoint <- function(RoutingEndpoint) {
  op <- new_operation(
    name = "GetConnectionGroupByRoutingEndpoint",
    http_method = "GET",
    http_path = "/2020-05-31/connection-group",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_connection_group_by_routing_endpoint_input(RoutingEndpoint = RoutingEndpoint)
  output <- .cloudfront$get_connection_group_by_routing_endpoint_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_connection_group_by_routing_endpoint <- cloudfront_get_connection_group_by_routing_endpoint

#' Gets a continuous deployment policy, including metadata (the policy's
#' identifier and the date and time when the policy was last modified)
#'
#' @description
#' Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_continuous_deployment_policy/](https://www.paws-r-sdk.com/docs/cloudfront_get_continuous_deployment_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the continuous deployment policy that you are getting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_continuous_deployment_policy
cloudfront_get_continuous_deployment_policy <- function(Id) {
  op <- new_operation(
    name = "GetContinuousDeploymentPolicy",
    http_method = "GET",
    http_path = "/2020-05-31/continuous-deployment-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_continuous_deployment_policy_input(Id = Id)
  output <- .cloudfront$get_continuous_deployment_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_continuous_deployment_policy <- cloudfront_get_continuous_deployment_policy

#' Gets configuration information about a continuous deployment policy
#'
#' @description
#' Gets configuration information about a continuous deployment policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_continuous_deployment_policy_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_continuous_deployment_policy_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the continuous deployment policy whose configuration you are getting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_continuous_deployment_policy_config
cloudfront_get_continuous_deployment_policy_config <- function(Id) {
  op <- new_operation(
    name = "GetContinuousDeploymentPolicyConfig",
    http_method = "GET",
    http_path = "/2020-05-31/continuous-deployment-policy/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_continuous_deployment_policy_config_input(Id = Id)
  output <- .cloudfront$get_continuous_deployment_policy_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_continuous_deployment_policy_config <- cloudfront_get_continuous_deployment_policy_config

#' Get the information about a distribution
#'
#' @description
#' Get the information about a distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_get_distribution/) for full documentation.
#'
#' @param Id &#91;required&#93; The distribution's ID. If the ID is empty, an empty distribution configuration is returned.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_distribution
cloudfront_get_distribution <- function(Id) {
  op <- new_operation(
    name = "GetDistribution",
    http_method = "GET",
    http_path = "/2020-05-31/distribution/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_distribution_input(Id = Id)
  output <- .cloudfront$get_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_distribution <- cloudfront_get_distribution

#' Get the configuration information about a distribution
#'
#' @description
#' Get the configuration information about a distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_distribution_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_distribution_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The distribution's ID. If the ID is empty, an empty distribution configuration is returned.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_distribution_config
cloudfront_get_distribution_config <- function(Id) {
  op <- new_operation(
    name = "GetDistributionConfig",
    http_method = "GET",
    http_path = "/2020-05-31/distribution/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_distribution_config_input(Id = Id)
  output <- .cloudfront$get_distribution_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_distribution_config <- cloudfront_get_distribution_config

#' Gets information about a distribution tenant
#'
#' @description
#' Gets information about a distribution tenant.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_distribution_tenant/](https://www.paws-r-sdk.com/docs/cloudfront_get_distribution_tenant/) for full documentation.
#'
#' @param Identifier &#91;required&#93; The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_distribution_tenant
cloudfront_get_distribution_tenant <- function(Identifier) {
  op <- new_operation(
    name = "GetDistributionTenant",
    http_method = "GET",
    http_path = "/2020-05-31/distribution-tenant/{Identifier}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_distribution_tenant_input(Identifier = Identifier)
  output <- .cloudfront$get_distribution_tenant_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_distribution_tenant <- cloudfront_get_distribution_tenant

#' Gets information about a distribution tenant by the associated domain
#'
#' @description
#' Gets information about a distribution tenant by the associated domain.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_distribution_tenant_by_domain/](https://www.paws-r-sdk.com/docs/cloudfront_get_distribution_tenant_by_domain/) for full documentation.
#'
#' @param Domain &#91;required&#93; A domain name associated with the target distribution tenant.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_distribution_tenant_by_domain
cloudfront_get_distribution_tenant_by_domain <- function(Domain) {
  op <- new_operation(
    name = "GetDistributionTenantByDomain",
    http_method = "GET",
    http_path = "/2020-05-31/distribution-tenant",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_distribution_tenant_by_domain_input(Domain = Domain)
  output <- .cloudfront$get_distribution_tenant_by_domain_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_distribution_tenant_by_domain <- cloudfront_get_distribution_tenant_by_domain

#' Get the field-level encryption configuration information
#'
#' @description
#' Get the field-level encryption configuration information.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption/](https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption/) for full documentation.
#'
#' @param Id &#91;required&#93; Request the ID for the field-level encryption configuration information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_field_level_encryption
cloudfront_get_field_level_encryption <- function(Id) {
  op <- new_operation(
    name = "GetFieldLevelEncryption",
    http_method = "GET",
    http_path = "/2020-05-31/field-level-encryption/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_field_level_encryption_input(Id = Id)
  output <- .cloudfront$get_field_level_encryption_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_field_level_encryption <- cloudfront_get_field_level_encryption

#' Get the field-level encryption configuration information
#'
#' @description
#' Get the field-level encryption configuration information.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption_config/) for full documentation.
#'
#' @param Id &#91;required&#93; Request the ID for the field-level encryption configuration information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_field_level_encryption_config
cloudfront_get_field_level_encryption_config <- function(Id) {
  op <- new_operation(
    name = "GetFieldLevelEncryptionConfig",
    http_method = "GET",
    http_path = "/2020-05-31/field-level-encryption/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_field_level_encryption_config_input(Id = Id)
  output <- .cloudfront$get_field_level_encryption_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_field_level_encryption_config <- cloudfront_get_field_level_encryption_config

#' Get the field-level encryption profile information
#'
#' @description
#' Get the field-level encryption profile information.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption_profile/](https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption_profile/) for full documentation.
#'
#' @param Id &#91;required&#93; Get the ID for the field-level encryption profile information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_field_level_encryption_profile
cloudfront_get_field_level_encryption_profile <- function(Id) {
  op <- new_operation(
    name = "GetFieldLevelEncryptionProfile",
    http_method = "GET",
    http_path = "/2020-05-31/field-level-encryption-profile/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_field_level_encryption_profile_input(Id = Id)
  output <- .cloudfront$get_field_level_encryption_profile_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_field_level_encryption_profile <- cloudfront_get_field_level_encryption_profile

#' Get the field-level encryption profile configuration information
#'
#' @description
#' Get the field-level encryption profile configuration information.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption_profile_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_field_level_encryption_profile_config/) for full documentation.
#'
#' @param Id &#91;required&#93; Get the ID for the field-level encryption profile configuration information.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_field_level_encryption_profile_config
cloudfront_get_field_level_encryption_profile_config <- function(Id) {
  op <- new_operation(
    name = "GetFieldLevelEncryptionProfileConfig",
    http_method = "GET",
    http_path = "/2020-05-31/field-level-encryption-profile/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_field_level_encryption_profile_config_input(Id = Id)
  output <- .cloudfront$get_field_level_encryption_profile_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_field_level_encryption_profile_config <- cloudfront_get_field_level_encryption_profile_config

#' Gets the code of a CloudFront function
#'
#' @description
#' Gets the code of a CloudFront function. To get configuration information and metadata about a function, use [`describe_function`][cloudfront_describe_function].
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_function/](https://www.paws-r-sdk.com/docs/cloudfront_get_function/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the function whose code you are getting.
#' @param Stage The function's stage, either `DEVELOPMENT` or `LIVE`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_function
cloudfront_get_function <- function(Name, Stage = NULL) {
  op <- new_operation(
    name = "GetFunction",
    http_method = "GET",
    http_path = "/2020-05-31/function/{Name}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_function_input(Name = Name, Stage = Stage)
  output <- .cloudfront$get_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_function <- cloudfront_get_function

#' Get the information about an invalidation
#'
#' @description
#' Get the information about an invalidation.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_invalidation/](https://www.paws-r-sdk.com/docs/cloudfront_get_invalidation/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The distribution's ID.
#' @param Id &#91;required&#93; The identifier for the invalidation request, for example, `IDFDVBD632BHDS5`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_invalidation
cloudfront_get_invalidation <- function(DistributionId, Id) {
  op <- new_operation(
    name = "GetInvalidation",
    http_method = "GET",
    http_path = "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_invalidation_input(DistributionId = DistributionId, Id = Id)
  output <- .cloudfront$get_invalidation_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_invalidation <- cloudfront_get_invalidation

#' Gets information about a specific invalidation for a distribution tenant
#'
#' @description
#' Gets information about a specific invalidation for a distribution tenant.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_invalidation_for_distribution_tenant/](https://www.paws-r-sdk.com/docs/cloudfront_get_invalidation_for_distribution_tenant/) for full documentation.
#'
#' @param DistributionTenantId &#91;required&#93; The ID of the distribution tenant.
#' @param Id &#91;required&#93; The ID of the invalidation to retrieve.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_invalidation_for_distribution_tenant
cloudfront_get_invalidation_for_distribution_tenant <- function(DistributionTenantId, Id) {
  op <- new_operation(
    name = "GetInvalidationForDistributionTenant",
    http_method = "GET",
    http_path = "/2020-05-31/distribution-tenant/{DistributionTenantId}/invalidation/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_invalidation_for_distribution_tenant_input(DistributionTenantId = DistributionTenantId, Id = Id)
  output <- .cloudfront$get_invalidation_for_distribution_tenant_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_invalidation_for_distribution_tenant <- cloudfront_get_invalidation_for_distribution_tenant

#' Gets a key group, including the date and time when the key group was
#' last modified
#'
#' @description
#' Gets a key group, including the date and time when the key group was last modified.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_key_group/](https://www.paws-r-sdk.com/docs/cloudfront_get_key_group/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the key group that you are getting. To get the identifier, use [`list_key_groups`][cloudfront_list_key_groups].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_key_group
cloudfront_get_key_group <- function(Id) {
  op <- new_operation(
    name = "GetKeyGroup",
    http_method = "GET",
    http_path = "/2020-05-31/key-group/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_key_group_input(Id = Id)
  output <- .cloudfront$get_key_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_key_group <- cloudfront_get_key_group

#' Gets a key group configuration
#'
#' @description
#' Gets a key group configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_key_group_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_key_group_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the key group whose configuration you are getting. To get the identifier, use [`list_key_groups`][cloudfront_list_key_groups].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_key_group_config
cloudfront_get_key_group_config <- function(Id) {
  op <- new_operation(
    name = "GetKeyGroupConfig",
    http_method = "GET",
    http_path = "/2020-05-31/key-group/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_key_group_config_input(Id = Id)
  output <- .cloudfront$get_key_group_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_key_group_config <- cloudfront_get_key_group_config

#' Gets details about the CloudFront managed ACM certificate
#'
#' @description
#' Gets details about the CloudFront managed ACM certificate.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_managed_certificate_details/](https://www.paws-r-sdk.com/docs/cloudfront_get_managed_certificate_details/) for full documentation.
#'
#' @param Identifier &#91;required&#93; The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_managed_certificate_details
cloudfront_get_managed_certificate_details <- function(Identifier) {
  op <- new_operation(
    name = "GetManagedCertificateDetails",
    http_method = "GET",
    http_path = "/2020-05-31/managed-certificate/{Identifier}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_managed_certificate_details_input(Identifier = Identifier)
  output <- .cloudfront$get_managed_certificate_details_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_managed_certificate_details <- cloudfront_get_managed_certificate_details

#' Gets information about whether additional CloudWatch metrics are enabled
#' for the specified CloudFront distribution
#'
#' @description
#' Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_monitoring_subscription/](https://www.paws-r-sdk.com/docs/cloudfront_get_monitoring_subscription/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The ID of the distribution that you are getting metrics information for.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_monitoring_subscription
cloudfront_get_monitoring_subscription <- function(DistributionId) {
  op <- new_operation(
    name = "GetMonitoringSubscription",
    http_method = "GET",
    http_path = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_monitoring_subscription_input(DistributionId = DistributionId)
  output <- .cloudfront$get_monitoring_subscription_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_monitoring_subscription <- cloudfront_get_monitoring_subscription

#' Gets a CloudFront origin access control, including its unique identifier
#'
#' @description
#' Gets a CloudFront origin access control, including its unique identifier.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_origin_access_control/](https://www.paws-r-sdk.com/docs/cloudfront_get_origin_access_control/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier of the origin access control.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_origin_access_control
cloudfront_get_origin_access_control <- function(Id) {
  op <- new_operation(
    name = "GetOriginAccessControl",
    http_method = "GET",
    http_path = "/2020-05-31/origin-access-control/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_origin_access_control_input(Id = Id)
  output <- .cloudfront$get_origin_access_control_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_origin_access_control <- cloudfront_get_origin_access_control

#' Gets a CloudFront origin access control configuration
#'
#' @description
#' Gets a CloudFront origin access control configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_origin_access_control_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_origin_access_control_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier of the origin access control.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_origin_access_control_config
cloudfront_get_origin_access_control_config <- function(Id) {
  op <- new_operation(
    name = "GetOriginAccessControlConfig",
    http_method = "GET",
    http_path = "/2020-05-31/origin-access-control/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_origin_access_control_config_input(Id = Id)
  output <- .cloudfront$get_origin_access_control_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_origin_access_control_config <- cloudfront_get_origin_access_control_config

#' Gets an origin request policy, including the following metadata:
#'
#' @description
#' Gets an origin request policy, including the following metadata:
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_origin_request_policy/](https://www.paws-r-sdk.com/docs/cloudfront_get_origin_request_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using [`list_distributions`][cloudfront_list_distributions] or [`get_distribution`][cloudfront_get_distribution]. If the origin request policy is not attached to a cache behavior, you can get the identifier using [`list_origin_request_policies`][cloudfront_list_origin_request_policies].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_origin_request_policy
cloudfront_get_origin_request_policy <- function(Id) {
  op <- new_operation(
    name = "GetOriginRequestPolicy",
    http_method = "GET",
    http_path = "/2020-05-31/origin-request-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_origin_request_policy_input(Id = Id)
  output <- .cloudfront$get_origin_request_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_origin_request_policy <- cloudfront_get_origin_request_policy

#' Gets an origin request policy configuration
#'
#' @description
#' Gets an origin request policy configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_origin_request_policy_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_origin_request_policy_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using [`list_distributions`][cloudfront_list_distributions] or [`get_distribution`][cloudfront_get_distribution]. If the origin request policy is not attached to a cache behavior, you can get the identifier using [`list_origin_request_policies`][cloudfront_list_origin_request_policies].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_origin_request_policy_config
cloudfront_get_origin_request_policy_config <- function(Id) {
  op <- new_operation(
    name = "GetOriginRequestPolicyConfig",
    http_method = "GET",
    http_path = "/2020-05-31/origin-request-policy/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_origin_request_policy_config_input(Id = Id)
  output <- .cloudfront$get_origin_request_policy_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_origin_request_policy_config <- cloudfront_get_origin_request_policy_config

#' Gets a public key
#'
#' @description
#' Gets a public key.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_public_key/](https://www.paws-r-sdk.com/docs/cloudfront_get_public_key/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the public key you are getting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_public_key
cloudfront_get_public_key <- function(Id) {
  op <- new_operation(
    name = "GetPublicKey",
    http_method = "GET",
    http_path = "/2020-05-31/public-key/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_public_key_input(Id = Id)
  output <- .cloudfront$get_public_key_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_public_key <- cloudfront_get_public_key

#' Gets a public key configuration
#'
#' @description
#' Gets a public key configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_public_key_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_public_key_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the public key whose configuration you are getting.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_public_key_config
cloudfront_get_public_key_config <- function(Id) {
  op <- new_operation(
    name = "GetPublicKeyConfig",
    http_method = "GET",
    http_path = "/2020-05-31/public-key/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_public_key_config_input(Id = Id)
  output <- .cloudfront$get_public_key_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_public_key_config <- cloudfront_get_public_key_config

#' Gets a real-time log configuration
#'
#' @description
#' Gets a real-time log configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_realtime_log_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_realtime_log_config/) for full documentation.
#'
#' @param Name The name of the real-time log configuration to get.
#' @param ARN The Amazon Resource Name (ARN) of the real-time log configuration to get.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_realtime_log_config
cloudfront_get_realtime_log_config <- function(Name = NULL, ARN = NULL) {
  op <- new_operation(
    name = "GetRealtimeLogConfig",
    http_method = "POST",
    http_path = "/2020-05-31/get-realtime-log-config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_realtime_log_config_input(Name = Name, ARN = ARN)
  output <- .cloudfront$get_realtime_log_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_realtime_log_config <- cloudfront_get_realtime_log_config

#' Retrieves the resource policy for the specified CloudFront resource that
#' you own and have shared
#'
#' @description
#' Retrieves the resource policy for the specified CloudFront resource that you own and have shared.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_resource_policy/](https://www.paws-r-sdk.com/docs/cloudfront_get_resource_policy/) for full documentation.
#'
#' @param ResourceArn &#91;required&#93; The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_resource_policy
cloudfront_get_resource_policy <- function(ResourceArn) {
  op <- new_operation(
    name = "GetResourcePolicy",
    http_method = "POST",
    http_path = "/2020-05-31/get-resource-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_resource_policy_input(ResourceArn = ResourceArn)
  output <- .cloudfront$get_resource_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_resource_policy <- cloudfront_get_resource_policy

#' Gets a response headers policy, including metadata (the policy's
#' identifier and the date and time when the policy was last modified)
#'
#' @description
#' Gets a response headers policy, including metadata (the policy's identifier and the date and time when the policy was last modified).
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_response_headers_policy/](https://www.paws-r-sdk.com/docs/cloudfront_get_response_headers_policy/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier for the response headers policy.
#' 
#' If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using [`list_distributions`][cloudfront_list_distributions] or [`get_distribution`][cloudfront_get_distribution]. If the response headers policy is not attached to a cache behavior, you can get the identifier using [`list_response_headers_policies`][cloudfront_list_response_headers_policies].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_response_headers_policy
cloudfront_get_response_headers_policy <- function(Id) {
  op <- new_operation(
    name = "GetResponseHeadersPolicy",
    http_method = "GET",
    http_path = "/2020-05-31/response-headers-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_response_headers_policy_input(Id = Id)
  output <- .cloudfront$get_response_headers_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_response_headers_policy <- cloudfront_get_response_headers_policy

#' Gets a response headers policy configuration
#'
#' @description
#' Gets a response headers policy configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_response_headers_policy_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_response_headers_policy_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier for the response headers policy.
#' 
#' If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using [`list_distributions`][cloudfront_list_distributions] or [`get_distribution`][cloudfront_get_distribution]. If the response headers policy is not attached to a cache behavior, you can get the identifier using [`list_response_headers_policies`][cloudfront_list_response_headers_policies].
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_response_headers_policy_config
cloudfront_get_response_headers_policy_config <- function(Id) {
  op <- new_operation(
    name = "GetResponseHeadersPolicyConfig",
    http_method = "GET",
    http_path = "/2020-05-31/response-headers-policy/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_response_headers_policy_config_input(Id = Id)
  output <- .cloudfront$get_response_headers_policy_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_response_headers_policy_config <- cloudfront_get_response_headers_policy_config

#' Gets information about a specified RTMP distribution, including the
#' distribution configuration
#'
#' @description
#' Gets information about a specified RTMP distribution, including the distribution configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_streaming_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_get_streaming_distribution/) for full documentation.
#'
#' @param Id &#91;required&#93; The streaming distribution's ID.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_streaming_distribution
cloudfront_get_streaming_distribution <- function(Id) {
  op <- new_operation(
    name = "GetStreamingDistribution",
    http_method = "GET",
    http_path = "/2020-05-31/streaming-distribution/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_streaming_distribution_input(Id = Id)
  output <- .cloudfront$get_streaming_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_streaming_distribution <- cloudfront_get_streaming_distribution

#' Get the configuration information about a streaming distribution
#'
#' @description
#' Get the configuration information about a streaming distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_streaming_distribution_config/](https://www.paws-r-sdk.com/docs/cloudfront_get_streaming_distribution_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The streaming distribution's ID.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_streaming_distribution_config
cloudfront_get_streaming_distribution_config <- function(Id) {
  op <- new_operation(
    name = "GetStreamingDistributionConfig",
    http_method = "GET",
    http_path = "/2020-05-31/streaming-distribution/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_streaming_distribution_config_input(Id = Id)
  output <- .cloudfront$get_streaming_distribution_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_streaming_distribution_config <- cloudfront_get_streaming_distribution_config

#' Gets a trust store
#'
#' @description
#' Gets a trust store.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_trust_store/](https://www.paws-r-sdk.com/docs/cloudfront_get_trust_store/) for full documentation.
#'
#' @param Identifier &#91;required&#93; The trust store's identifier.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_trust_store
cloudfront_get_trust_store <- function(Identifier) {
  op <- new_operation(
    name = "GetTrustStore",
    http_method = "GET",
    http_path = "/2020-05-31/trust-store/{Identifier}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_trust_store_input(Identifier = Identifier)
  output <- .cloudfront$get_trust_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_trust_store <- cloudfront_get_trust_store

#' Get the details of an Amazon CloudFront VPC origin
#'
#' @description
#' Get the details of an Amazon CloudFront VPC origin.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_get_vpc_origin/](https://www.paws-r-sdk.com/docs/cloudfront_get_vpc_origin/) for full documentation.
#'
#' @param Id &#91;required&#93; The VPC origin ID.
#'
#' @keywords internal
#'
#' @rdname cloudfront_get_vpc_origin
cloudfront_get_vpc_origin <- function(Id) {
  op <- new_operation(
    name = "GetVpcOrigin",
    http_method = "GET",
    http_path = "/2020-05-31/vpc-origin/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$get_vpc_origin_input(Id = Id)
  output <- .cloudfront$get_vpc_origin_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$get_vpc_origin <- cloudfront_get_vpc_origin

#' Lists your Anycast static IP lists
#'
#' @description
#' Lists your Anycast static IP lists.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_anycast_ip_lists/](https://www.paws-r-sdk.com/docs/cloudfront_list_anycast_ip_lists/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of Anycast static IP lists that you want returned in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_anycast_ip_lists
cloudfront_list_anycast_ip_lists <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListAnycastIpLists",
    http_method = "GET",
    http_path = "/2020-05-31/anycast-ip-list",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_anycast_ip_lists_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_anycast_ip_lists_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_anycast_ip_lists <- cloudfront_list_anycast_ip_lists

#' Gets a list of cache policies
#'
#' @description
#' Gets a list of cache policies.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_cache_policies/](https://www.paws-r-sdk.com/docs/cloudfront_list_cache_policies/) for full documentation.
#'
#' @param Type A filter to return only the specified kinds of cache policies. Valid values are:
#' 
#' -   `managed` – Returns only the managed policies created by Amazon Web Services.
#' 
#' -   `custom` – Returns only the custom policies created in your Amazon Web Services account.
#' @param Marker Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of cache policies that you want in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_cache_policies
cloudfront_list_cache_policies <- function(Type = NULL, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListCachePolicies",
    http_method = "GET",
    http_path = "/2020-05-31/cache-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_cache_policies_input(Type = Type, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_cache_policies_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_cache_policies <- cloudfront_list_cache_policies

#' Lists origin access identities
#'
#' @description
#' Lists origin access identities.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_cloud_front_origin_access_identities/](https://www.paws-r-sdk.com/docs/cloudfront_list_cloud_front_origin_access_identities/) for full documentation.
#'
#' @param Marker Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the `Marker` to the value of the `NextMarker` from the current page's response (which is also the ID of the last identity on that page).
#' @param MaxItems The maximum number of origin access identities you want in the response body.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_cloud_front_origin_access_identities
cloudfront_list_cloud_front_origin_access_identities <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListCloudFrontOriginAccessIdentities",
    http_method = "GET",
    http_path = "/2020-05-31/origin-access-identity/cloudfront",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "CloudFrontOriginAccessIdentityList.NextMarker", limit_key = "MaxItems", more_results = "CloudFrontOriginAccessIdentityList.IsTruncated", result_key = "CloudFrontOriginAccessIdentityList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_cloud_front_origin_access_identities_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_cloud_front_origin_access_identities_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_cloud_front_origin_access_identities <- cloudfront_list_cloud_front_origin_access_identities

#' The ListConflictingAliases API operation only supports standard
#' distributions
#'
#' @description
#' The [`list_conflicting_aliases`][cloudfront_list_conflicting_aliases] API operation only supports standard distributions. To list domain conflicts for both standard distributions and distribution tenants, we recommend that you use the [`list_domain_conflicts`][cloudfront_list_domain_conflicts] API operation instead.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_conflicting_aliases/](https://www.paws-r-sdk.com/docs/cloudfront_list_conflicting_aliases/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The ID of a standard distribution in your account that has an attached TLS certificate that includes the provided alias.
#' @param Alias &#91;required&#93; The alias (also called a CNAME) to search for conflicting aliases.
#' @param Marker Use this field when paginating results to indicate where to begin in the list of conflicting aliases. The response includes conflicting aliases in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of conflicting aliases that you want in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_conflicting_aliases
cloudfront_list_conflicting_aliases <- function(DistributionId, Alias, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListConflictingAliases",
    http_method = "GET",
    http_path = "/2020-05-31/conflicting-alias",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_conflicting_aliases_input(DistributionId = DistributionId, Alias = Alias, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_conflicting_aliases_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_conflicting_aliases <- cloudfront_list_conflicting_aliases

#' Lists connection functions
#'
#' @description
#' Lists connection functions.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_connection_functions/](https://www.paws-r-sdk.com/docs/cloudfront_list_connection_functions/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of connection functions that you want returned in the response.
#' @param Stage The connection function's stage.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_connection_functions
cloudfront_list_connection_functions <- function(Marker = NULL, MaxItems = NULL, Stage = NULL) {
  op <- new_operation(
    name = "ListConnectionFunctions",
    http_method = "POST",
    http_path = "/2020-05-31/connection-functions",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "NextMarker", limit_key = "MaxItems", result_key = "ConnectionFunctions"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_connection_functions_input(Marker = Marker, MaxItems = MaxItems, Stage = Stage)
  output <- .cloudfront$list_connection_functions_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_connection_functions <- cloudfront_list_connection_functions

#' Lists the connection groups in your Amazon Web Services account
#'
#' @description
#' Lists the connection groups in your Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_connection_groups/](https://www.paws-r-sdk.com/docs/cloudfront_list_connection_groups/) for full documentation.
#'
#' @param AssociationFilter Filter by associated Anycast IP list ID.
#' @param Marker The marker for the next set of connection groups to retrieve.
#' @param MaxItems The maximum number of connection groups to return.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_connection_groups
cloudfront_list_connection_groups <- function(AssociationFilter = NULL, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListConnectionGroups",
    http_method = "POST",
    http_path = "/2020-05-31/connection-groups",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "NextMarker", limit_key = "MaxItems", result_key = "ConnectionGroups"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_connection_groups_input(AssociationFilter = AssociationFilter, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_connection_groups_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_connection_groups <- cloudfront_list_connection_groups

#' Gets a list of the continuous deployment policies in your Amazon Web
#' Services account
#'
#' @description
#' Gets a list of the continuous deployment policies in your Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_continuous_deployment_policies/](https://www.paws-r-sdk.com/docs/cloudfront_list_continuous_deployment_policies/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of continuous deployment policies. The response includes policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of continuous deployment policies that you want returned in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_continuous_deployment_policies
cloudfront_list_continuous_deployment_policies <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListContinuousDeploymentPolicies",
    http_method = "GET",
    http_path = "/2020-05-31/continuous-deployment-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_continuous_deployment_policies_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_continuous_deployment_policies_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_continuous_deployment_policies <- cloudfront_list_continuous_deployment_policies

#' Lists the distribution tenants in your Amazon Web Services account
#'
#' @description
#' Lists the distribution tenants in your Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distribution_tenants/](https://www.paws-r-sdk.com/docs/cloudfront_list_distribution_tenants/) for full documentation.
#'
#' @param AssociationFilter Filter by the associated distribution ID or connection group ID.
#' @param Marker The marker for the next set of results.
#' @param MaxItems The maximum number of distribution tenants to return.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distribution_tenants
cloudfront_list_distribution_tenants <- function(AssociationFilter = NULL, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListDistributionTenants",
    http_method = "POST",
    http_path = "/2020-05-31/distribution-tenants",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "NextMarker", limit_key = "MaxItems", result_key = "DistributionTenantList"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distribution_tenants_input(AssociationFilter = AssociationFilter, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_distribution_tenants_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distribution_tenants <- cloudfront_list_distribution_tenants

#' Lists distribution tenants by the customization that you specify
#'
#' @description
#' Lists distribution tenants by the customization that you specify.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distribution_tenants_by_customization/](https://www.paws-r-sdk.com/docs/cloudfront_list_distribution_tenants_by_customization/) for full documentation.
#'
#' @param WebACLArn Filter by the ARN of the associated WAF web ACL.
#' @param CertificateArn Filter by the ARN of the associated ACM certificate.
#' @param Marker The marker for the next set of results.
#' @param MaxItems The maximum number of distribution tenants to return by the specified customization.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distribution_tenants_by_customization
cloudfront_list_distribution_tenants_by_customization <- function(WebACLArn = NULL, CertificateArn = NULL, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListDistributionTenantsByCustomization",
    http_method = "POST",
    http_path = "/2020-05-31/distribution-tenants-by-customization",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "NextMarker", limit_key = "MaxItems", result_key = "DistributionTenantList"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distribution_tenants_by_customization_input(WebACLArn = WebACLArn, CertificateArn = CertificateArn, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_distribution_tenants_by_customization_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distribution_tenants_by_customization <- cloudfront_list_distribution_tenants_by_customization

#' List CloudFront distributions
#'
#' @description
#' List CloudFront distributions.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions/) for full documentation.
#'
#' @param Marker Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the `Marker` to the value of the `NextMarker` from the current page's response (which is also the ID of the last distribution on that page).
#' @param MaxItems The maximum number of distributions you want in the response body.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions
cloudfront_list_distributions <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListDistributions",
    http_method = "GET",
    http_path = "/2020-05-31/distribution",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "DistributionList.NextMarker", limit_key = "MaxItems", more_results = "DistributionList.IsTruncated", result_key = "DistributionList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_distributions_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions <- cloudfront_list_distributions

#' Lists the distributions in your account that are associated with the
#' specified AnycastIpListId
#'
#' @description
#' Lists the distributions in your account that are associated with the specified `AnycastIpListId`.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_anycast_ip_list_id/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_anycast_ip_list_id/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distributions that you want returned in the response.
#' @param AnycastIpListId &#91;required&#93; The ID of the Anycast static IP list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_anycast_ip_list_id
cloudfront_list_distributions_by_anycast_ip_list_id <- function(Marker = NULL, MaxItems = NULL, AnycastIpListId) {
  op <- new_operation(
    name = "ListDistributionsByAnycastIpListId",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_anycast_ip_list_id_input(Marker = Marker, MaxItems = MaxItems, AnycastIpListId = AnycastIpListId)
  output <- .cloudfront$list_distributions_by_anycast_ip_list_id_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_anycast_ip_list_id <- cloudfront_list_distributions_by_anycast_ip_list_id

#' Gets a list of distribution IDs for distributions that have a cache
#' behavior that's associated with the specified cache policy
#'
#' @description
#' Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified cache policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_cache_policy_id/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_cache_policy_id/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distribution IDs that you want in the response.
#' @param CachePolicyId &#91;required&#93; The ID of the cache policy whose associated distribution IDs you want to list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_cache_policy_id
cloudfront_list_distributions_by_cache_policy_id <- function(Marker = NULL, MaxItems = NULL, CachePolicyId) {
  op <- new_operation(
    name = "ListDistributionsByCachePolicyId",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_cache_policy_id_input(Marker = Marker, MaxItems = MaxItems, CachePolicyId = CachePolicyId)
  output <- .cloudfront$list_distributions_by_cache_policy_id_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_cache_policy_id <- cloudfront_list_distributions_by_cache_policy_id

#' Lists distributions by connection function
#'
#' @description
#' Lists distributions by connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_connection_function/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distributions that you want returned in the response.
#' @param ConnectionFunctionIdentifier &#91;required&#93; The distributions by connection function identifier.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_connection_function
cloudfront_list_distributions_by_connection_function <- function(Marker = NULL, MaxItems = NULL, ConnectionFunctionIdentifier) {
  op <- new_operation(
    name = "ListDistributionsByConnectionFunction",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByConnectionFunction",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "DistributionList.NextMarker", limit_key = "MaxItems", result_key = "DistributionList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_connection_function_input(Marker = Marker, MaxItems = MaxItems, ConnectionFunctionIdentifier = ConnectionFunctionIdentifier)
  output <- .cloudfront$list_distributions_by_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_connection_function <- cloudfront_list_distributions_by_connection_function

#' Lists the distributions by the connection mode that you specify
#'
#' @description
#' Lists the distributions by the connection mode that you specify.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_connection_mode/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_connection_mode/) for full documentation.
#'
#' @param Marker The marker for the next set of distributions to retrieve.
#' @param MaxItems The maximum number of distributions to return.
#' @param ConnectionMode &#91;required&#93; This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_connection_mode
cloudfront_list_distributions_by_connection_mode <- function(Marker = NULL, MaxItems = NULL, ConnectionMode) {
  op <- new_operation(
    name = "ListDistributionsByConnectionMode",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByConnectionMode/{ConnectionMode}",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "DistributionList.NextMarker", limit_key = "MaxItems", result_key = "DistributionList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_connection_mode_input(Marker = Marker, MaxItems = MaxItems, ConnectionMode = ConnectionMode)
  output <- .cloudfront$list_distributions_by_connection_mode_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_connection_mode <- cloudfront_list_distributions_by_connection_mode

#' Gets a list of distribution IDs for distributions that have a cache
#' behavior that references the specified key group
#'
#' @description
#' Gets a list of distribution IDs for distributions that have a cache behavior that references the specified key group.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_key_group/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_key_group/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distribution IDs that you want in the response.
#' @param KeyGroupId &#91;required&#93; The ID of the key group whose associated distribution IDs you are listing.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_key_group
cloudfront_list_distributions_by_key_group <- function(Marker = NULL, MaxItems = NULL, KeyGroupId) {
  op <- new_operation(
    name = "ListDistributionsByKeyGroup",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_key_group_input(Marker = Marker, MaxItems = MaxItems, KeyGroupId = KeyGroupId)
  output <- .cloudfront$list_distributions_by_key_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_key_group <- cloudfront_list_distributions_by_key_group

#' Gets a list of distribution IDs for distributions that have a cache
#' behavior that's associated with the specified origin request policy
#'
#' @description
#' Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified origin request policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_origin_request_policy_id/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_origin_request_policy_id/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distribution IDs that you want in the response.
#' @param OriginRequestPolicyId &#91;required&#93; The ID of the origin request policy whose associated distribution IDs you want to list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_origin_request_policy_id
cloudfront_list_distributions_by_origin_request_policy_id <- function(Marker = NULL, MaxItems = NULL, OriginRequestPolicyId) {
  op <- new_operation(
    name = "ListDistributionsByOriginRequestPolicyId",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_origin_request_policy_id_input(Marker = Marker, MaxItems = MaxItems, OriginRequestPolicyId = OriginRequestPolicyId)
  output <- .cloudfront$list_distributions_by_origin_request_policy_id_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_origin_request_policy_id <- cloudfront_list_distributions_by_origin_request_policy_id

#' Lists the CloudFront distributions that are associated with the
#' specified resource that you own
#'
#' @description
#' Lists the CloudFront distributions that are associated with the specified resource that you own.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_owned_resource/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_owned_resource/) for full documentation.
#'
#' @param ResourceArn &#91;required&#93; The ARN of the CloudFront resource that you've shared with other Amazon Web Services accounts.
#' @param Marker Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distributions to return.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_owned_resource
cloudfront_list_distributions_by_owned_resource <- function(ResourceArn, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListDistributionsByOwnedResource",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByOwnedResource/{ResourceArn}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_owned_resource_input(ResourceArn = ResourceArn, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_distributions_by_owned_resource_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_owned_resource <- cloudfront_list_distributions_by_owned_resource

#' Gets a list of distributions that have a cache behavior that's
#' associated with the specified real-time log configuration
#'
#' @description
#' Gets a list of distributions that have a cache behavior that's associated with the specified real-time log configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_realtime_log_config/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_realtime_log_config/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distributions that you want in the response.
#' @param RealtimeLogConfigName The name of the real-time log configuration whose associated distributions you want to list.
#' @param RealtimeLogConfigArn The Amazon Resource Name (ARN) of the real-time log configuration whose associated distributions you want to list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_realtime_log_config
cloudfront_list_distributions_by_realtime_log_config <- function(Marker = NULL, MaxItems = NULL, RealtimeLogConfigName = NULL, RealtimeLogConfigArn = NULL) {
  op <- new_operation(
    name = "ListDistributionsByRealtimeLogConfig",
    http_method = "POST",
    http_path = "/2020-05-31/distributionsByRealtimeLogConfig",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_realtime_log_config_input(Marker = Marker, MaxItems = MaxItems, RealtimeLogConfigName = RealtimeLogConfigName, RealtimeLogConfigArn = RealtimeLogConfigArn)
  output <- .cloudfront$list_distributions_by_realtime_log_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_realtime_log_config <- cloudfront_list_distributions_by_realtime_log_config

#' Gets a list of distribution IDs for distributions that have a cache
#' behavior that's associated with the specified response headers policy
#'
#' @description
#' Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified response headers policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_response_headers_policy_id/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_response_headers_policy_id/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distribution IDs that you want to get in the response.
#' @param ResponseHeadersPolicyId &#91;required&#93; The ID of the response headers policy whose associated distribution IDs you want to list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_response_headers_policy_id
cloudfront_list_distributions_by_response_headers_policy_id <- function(Marker = NULL, MaxItems = NULL, ResponseHeadersPolicyId) {
  op <- new_operation(
    name = "ListDistributionsByResponseHeadersPolicyId",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_response_headers_policy_id_input(Marker = Marker, MaxItems = MaxItems, ResponseHeadersPolicyId = ResponseHeadersPolicyId)
  output <- .cloudfront$list_distributions_by_response_headers_policy_id_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_response_headers_policy_id <- cloudfront_list_distributions_by_response_headers_policy_id

#' Lists distributions by trust store
#'
#' @description
#' Lists distributions by trust store.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_trust_store/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_trust_store/) for full documentation.
#'
#' @param TrustStoreIdentifier &#91;required&#93; The distributions by trust store identifier.
#' @param Marker Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of distributions that you want returned in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_trust_store
cloudfront_list_distributions_by_trust_store <- function(TrustStoreIdentifier, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListDistributionsByTrustStore",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByTrustStore",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "DistributionList.NextMarker", limit_key = "MaxItems", result_key = "DistributionList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_trust_store_input(TrustStoreIdentifier = TrustStoreIdentifier, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_distributions_by_trust_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_trust_store <- cloudfront_list_distributions_by_trust_store

#' List CloudFront distributions by their VPC origin ID
#'
#' @description
#' List CloudFront distributions by their VPC origin ID.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_vpc_origin_id/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_vpc_origin_id/) for full documentation.
#'
#' @param Marker The marker associated with the VPC origin distributions list.
#' @param MaxItems The maximum number of items included in the list.
#' @param VpcOriginId &#91;required&#93; The VPC origin ID.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_vpc_origin_id
cloudfront_list_distributions_by_vpc_origin_id <- function(Marker = NULL, MaxItems = NULL, VpcOriginId) {
  op <- new_operation(
    name = "ListDistributionsByVpcOriginId",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByVpcOriginId/{VpcOriginId}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_vpc_origin_id_input(Marker = Marker, MaxItems = MaxItems, VpcOriginId = VpcOriginId)
  output <- .cloudfront$list_distributions_by_vpc_origin_id_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_vpc_origin_id <- cloudfront_list_distributions_by_vpc_origin_id

#' List the distributions that are associated with a specified WAF web ACL
#'
#' @description
#' List the distributions that are associated with a specified WAF web ACL.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_web_acl_id/](https://www.paws-r-sdk.com/docs/cloudfront_list_distributions_by_web_acl_id/) for full documentation.
#'
#' @param Marker Use `Marker` and `MaxItems` to control pagination of results. If you have more than `MaxItems` distributions that satisfy the request, the response includes a `NextMarker` element. To get the next page of results, submit another request. For the value of `Marker`, specify the value of `NextMarker` from the last response. (For the first request, omit `Marker`.)
#' @param MaxItems The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
#' @param WebACLId &#91;required&#93; The ID of the WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.
#' 
#' For WAFV2, this is the ARN of the web ACL, such as `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
#' 
#' For WAF Classic, this is the ID of the web ACL, such as `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_distributions_by_web_acl_id
cloudfront_list_distributions_by_web_acl_id <- function(Marker = NULL, MaxItems = NULL, WebACLId) {
  op <- new_operation(
    name = "ListDistributionsByWebACLId",
    http_method = "GET",
    http_path = "/2020-05-31/distributionsByWebACLId/{WebACLId}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_distributions_by_web_acl_id_input(Marker = Marker, MaxItems = MaxItems, WebACLId = WebACLId)
  output <- .cloudfront$list_distributions_by_web_acl_id_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_distributions_by_web_acl_id <- cloudfront_list_distributions_by_web_acl_id

#' We recommend that you use the ListDomainConflicts API operation to check
#' for domain conflicts, as it supports both standard distributions and
#' distribution tenants
#'
#' @description
#' We recommend that you use the [`list_domain_conflicts`][cloudfront_list_domain_conflicts] API operation to check for domain conflicts, as it supports both standard distributions and distribution tenants. [`list_conflicting_aliases`][cloudfront_list_conflicting_aliases] performs similar checks but only supports standard distributions.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_domain_conflicts/](https://www.paws-r-sdk.com/docs/cloudfront_list_domain_conflicts/) for full documentation.
#'
#' @param Domain &#91;required&#93; The domain to check for conflicts.
#' @param DomainControlValidationResource &#91;required&#93; The distribution resource identifier. This can be the standard distribution or distribution tenant that has a valid certificate, which covers the domain that you specify.
#' @param MaxItems The maximum number of domain conflicts to return.
#' @param Marker The marker for the next set of domain conflicts.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_domain_conflicts
cloudfront_list_domain_conflicts <- function(Domain, DomainControlValidationResource, MaxItems = NULL, Marker = NULL) {
  op <- new_operation(
    name = "ListDomainConflicts",
    http_method = "POST",
    http_path = "/2020-05-31/domain-conflicts",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "NextMarker", limit_key = "MaxItems", result_key = "DomainConflicts"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_domain_conflicts_input(Domain = Domain, DomainControlValidationResource = DomainControlValidationResource, MaxItems = MaxItems, Marker = Marker)
  output <- .cloudfront$list_domain_conflicts_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_domain_conflicts <- cloudfront_list_domain_conflicts

#' List all field-level encryption configurations that have been created in
#' CloudFront for this account
#'
#' @description
#' List all field-level encryption configurations that have been created in CloudFront for this account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_field_level_encryption_configs/](https://www.paws-r-sdk.com/docs/cloudfront_list_field_level_encryption_configs/) for full documentation.
#'
#' @param Marker Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list that occur after the marker. To get the next page of results, set the `Marker` to the value of the `NextMarker` from the current page's response (which is also the ID of the last configuration on that page).
#' @param MaxItems The maximum number of field-level encryption configurations you want in the response body.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_field_level_encryption_configs
cloudfront_list_field_level_encryption_configs <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListFieldLevelEncryptionConfigs",
    http_method = "GET",
    http_path = "/2020-05-31/field-level-encryption",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_field_level_encryption_configs_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_field_level_encryption_configs_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_field_level_encryption_configs <- cloudfront_list_field_level_encryption_configs

#' Request a list of field-level encryption profiles that have been created
#' in CloudFront for this account
#'
#' @description
#' Request a list of field-level encryption profiles that have been created in CloudFront for this account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_field_level_encryption_profiles/](https://www.paws-r-sdk.com/docs/cloudfront_list_field_level_encryption_profiles/) for full documentation.
#'
#' @param Marker Use this when paginating results to indicate where to begin in your list of profiles. The results include profiles in the list that occur after the marker. To get the next page of results, set the `Marker` to the value of the `NextMarker` from the current page's response (which is also the ID of the last profile on that page).
#' @param MaxItems The maximum number of field-level encryption profiles you want in the response body.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_field_level_encryption_profiles
cloudfront_list_field_level_encryption_profiles <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListFieldLevelEncryptionProfiles",
    http_method = "GET",
    http_path = "/2020-05-31/field-level-encryption-profile",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_field_level_encryption_profiles_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_field_level_encryption_profiles_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_field_level_encryption_profiles <- cloudfront_list_field_level_encryption_profiles

#' Gets a list of all CloudFront functions in your Amazon Web Services
#' account
#'
#' @description
#' Gets a list of all CloudFront functions in your Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_functions/](https://www.paws-r-sdk.com/docs/cloudfront_list_functions/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of functions that you want in the response.
#' @param Stage An optional filter to return only the functions that are in the specified stage, either `DEVELOPMENT` or `LIVE`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_functions
cloudfront_list_functions <- function(Marker = NULL, MaxItems = NULL, Stage = NULL) {
  op <- new_operation(
    name = "ListFunctions",
    http_method = "GET",
    http_path = "/2020-05-31/function",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_functions_input(Marker = Marker, MaxItems = MaxItems, Stage = Stage)
  output <- .cloudfront$list_functions_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_functions <- cloudfront_list_functions

#' Lists invalidation batches
#'
#' @description
#' Lists invalidation batches.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_invalidations/](https://www.paws-r-sdk.com/docs/cloudfront_list_invalidations/) for full documentation.
#'
#' @param DistributionId &#91;required&#93; The distribution's ID.
#' @param Marker Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set `Marker` to the value of the `NextMarker` from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
#' @param MaxItems The maximum number of invalidation batches that you want in the response body.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_invalidations
cloudfront_list_invalidations <- function(DistributionId, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListInvalidations",
    http_method = "GET",
    http_path = "/2020-05-31/distribution/{DistributionId}/invalidation",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "InvalidationList.NextMarker", limit_key = "MaxItems", more_results = "InvalidationList.IsTruncated", result_key = "InvalidationList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_invalidations_input(DistributionId = DistributionId, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_invalidations_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_invalidations <- cloudfront_list_invalidations

#' Lists the invalidations for a distribution tenant
#'
#' @description
#' Lists the invalidations for a distribution tenant.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_invalidations_for_distribution_tenant/](https://www.paws-r-sdk.com/docs/cloudfront_list_invalidations_for_distribution_tenant/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution tenant.
#' @param Marker Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set `Marker` to the value of the `NextMarker` from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
#' @param MaxItems The maximum number of invalidations to return for the distribution tenant.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_invalidations_for_distribution_tenant
cloudfront_list_invalidations_for_distribution_tenant <- function(Id, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListInvalidationsForDistributionTenant",
    http_method = "GET",
    http_path = "/2020-05-31/distribution-tenant/{Id}/invalidation",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "InvalidationList.NextMarker", limit_key = "MaxItems", result_key = "InvalidationList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_invalidations_for_distribution_tenant_input(Id = Id, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_invalidations_for_distribution_tenant_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_invalidations_for_distribution_tenant <- cloudfront_list_invalidations_for_distribution_tenant

#' Gets a list of key groups
#'
#' @description
#' Gets a list of key groups.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_key_groups/](https://www.paws-r-sdk.com/docs/cloudfront_list_key_groups/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of key groups that you want in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_key_groups
cloudfront_list_key_groups <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListKeyGroups",
    http_method = "GET",
    http_path = "/2020-05-31/key-group",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_key_groups_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_key_groups_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_key_groups <- cloudfront_list_key_groups

#' Specifies the key value stores to list
#'
#' @description
#' Specifies the key value stores to list.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_key_value_stores/](https://www.paws-r-sdk.com/docs/cloudfront_list_key_value_stores/) for full documentation.
#'
#' @param Marker The marker associated with the key value stores list.
#' @param MaxItems The maximum number of items in the key value stores list.
#' @param Status The status of the request for the key value stores list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_key_value_stores
cloudfront_list_key_value_stores <- function(Marker = NULL, MaxItems = NULL, Status = NULL) {
  op <- new_operation(
    name = "ListKeyValueStores",
    http_method = "GET",
    http_path = "/2020-05-31/key-value-store",
    host_prefix = "",
    paginator = list(input_token = "Marker", limit_key = "MaxItems", output_token = "KeyValueStoreList.NextMarker", result_key = "KeyValueStoreList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_key_value_stores_input(Marker = Marker, MaxItems = MaxItems, Status = Status)
  output <- .cloudfront$list_key_value_stores_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_key_value_stores <- cloudfront_list_key_value_stores

#' Gets the list of CloudFront origin access controls (OACs) in this Amazon
#' Web Services account
#'
#' @description
#' Gets the list of CloudFront origin access controls (OACs) in this Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_origin_access_controls/](https://www.paws-r-sdk.com/docs/cloudfront_list_origin_access_controls/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of origin access controls that you want in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_origin_access_controls
cloudfront_list_origin_access_controls <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListOriginAccessControls",
    http_method = "GET",
    http_path = "/2020-05-31/origin-access-control",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "OriginAccessControlList.NextMarker", limit_key = "MaxItems", result_key = "OriginAccessControlList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_origin_access_controls_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_origin_access_controls_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_origin_access_controls <- cloudfront_list_origin_access_controls

#' Gets a list of origin request policies
#'
#' @description
#' Gets a list of origin request policies.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_origin_request_policies/](https://www.paws-r-sdk.com/docs/cloudfront_list_origin_request_policies/) for full documentation.
#'
#' @param Type A filter to return only the specified kinds of origin request policies. Valid values are:
#' 
#' -   `managed` – Returns only the managed policies created by Amazon Web Services.
#' 
#' -   `custom` – Returns only the custom policies created in your Amazon Web Services account.
#' @param Marker Use this field when paginating results to indicate where to begin in your list of origin request policies. The response includes origin request policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of origin request policies that you want in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_origin_request_policies
cloudfront_list_origin_request_policies <- function(Type = NULL, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListOriginRequestPolicies",
    http_method = "GET",
    http_path = "/2020-05-31/origin-request-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_origin_request_policies_input(Type = Type, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_origin_request_policies_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_origin_request_policies <- cloudfront_list_origin_request_policies

#' List all public keys that have been added to CloudFront for this account
#'
#' @description
#' List all public keys that have been added to CloudFront for this account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_public_keys/](https://www.paws-r-sdk.com/docs/cloudfront_list_public_keys/) for full documentation.
#'
#' @param Marker Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the `Marker` to the value of the `NextMarker` from the current page's response (which is also the ID of the last public key on that page).
#' @param MaxItems The maximum number of public keys you want in the response body.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_public_keys
cloudfront_list_public_keys <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListPublicKeys",
    http_method = "GET",
    http_path = "/2020-05-31/public-key",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "PublicKeyList.NextMarker", limit_key = "MaxItems", result_key = "PublicKeyList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_public_keys_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_public_keys_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_public_keys <- cloudfront_list_public_keys

#' Gets a list of real-time log configurations
#'
#' @description
#' Gets a list of real-time log configurations.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_realtime_log_configs/](https://www.paws-r-sdk.com/docs/cloudfront_list_realtime_log_configs/) for full documentation.
#'
#' @param MaxItems The maximum number of real-time log configurations that you want in the response.
#' @param Marker Use this field when paginating results to indicate where to begin in your list of real-time log configurations. The response includes real-time log configurations in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_realtime_log_configs
cloudfront_list_realtime_log_configs <- function(MaxItems = NULL, Marker = NULL) {
  op <- new_operation(
    name = "ListRealtimeLogConfigs",
    http_method = "GET",
    http_path = "/2020-05-31/realtime-log-config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_realtime_log_configs_input(MaxItems = MaxItems, Marker = Marker)
  output <- .cloudfront$list_realtime_log_configs_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_realtime_log_configs <- cloudfront_list_realtime_log_configs

#' Gets a list of response headers policies
#'
#' @description
#' Gets a list of response headers policies.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_response_headers_policies/](https://www.paws-r-sdk.com/docs/cloudfront_list_response_headers_policies/) for full documentation.
#'
#' @param Type A filter to get only the specified kind of response headers policies. Valid values are:
#' 
#' -   `managed` – Gets only the managed policies created by Amazon Web Services.
#' 
#' -   `custom` – Gets only the custom policies created in your Amazon Web Services account.
#' @param Marker Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of response headers policies that you want to get in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_response_headers_policies
cloudfront_list_response_headers_policies <- function(Type = NULL, Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListResponseHeadersPolicies",
    http_method = "GET",
    http_path = "/2020-05-31/response-headers-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_response_headers_policies_input(Type = Type, Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_response_headers_policies_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_response_headers_policies <- cloudfront_list_response_headers_policies

#' List streaming distributions
#'
#' @description
#' List streaming distributions.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_streaming_distributions/](https://www.paws-r-sdk.com/docs/cloudfront_list_streaming_distributions/) for full documentation.
#'
#' @param Marker The value that you provided for the `Marker` request parameter.
#' @param MaxItems The value that you provided for the `MaxItems` request parameter.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_streaming_distributions
cloudfront_list_streaming_distributions <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListStreamingDistributions",
    http_method = "GET",
    http_path = "/2020-05-31/streaming-distribution",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "StreamingDistributionList.NextMarker", limit_key = "MaxItems", more_results = "StreamingDistributionList.IsTruncated", result_key = "StreamingDistributionList.Items"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_streaming_distributions_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_streaming_distributions_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_streaming_distributions <- cloudfront_list_streaming_distributions

#' List tags for a CloudFront resource
#'
#' @description
#' List tags for a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the *Amazon CloudFront Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_tags_for_resource/](https://www.paws-r-sdk.com/docs/cloudfront_list_tags_for_resource/) for full documentation.
#'
#' @param Resource &#91;required&#93; An ARN of a CloudFront resource.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_tags_for_resource
cloudfront_list_tags_for_resource <- function(Resource) {
  op <- new_operation(
    name = "ListTagsForResource",
    http_method = "GET",
    http_path = "/2020-05-31/tagging",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_tags_for_resource_input(Resource = Resource)
  output <- .cloudfront$list_tags_for_resource_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_tags_for_resource <- cloudfront_list_tags_for_resource

#' Lists trust stores
#'
#' @description
#' Lists trust stores.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_trust_stores/](https://www.paws-r-sdk.com/docs/cloudfront_list_trust_stores/) for full documentation.
#'
#' @param Marker Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of `NextMarker` from the current page's response.
#' @param MaxItems The maximum number of trust stores that you want returned in the response.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_trust_stores
cloudfront_list_trust_stores <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListTrustStores",
    http_method = "POST",
    http_path = "/2020-05-31/trust-stores",
    host_prefix = "",
    paginator = list(input_token = "Marker", output_token = "NextMarker", limit_key = "MaxItems", result_key = "TrustStoreList"),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_trust_stores_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_trust_stores_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_trust_stores <- cloudfront_list_trust_stores

#' List the CloudFront VPC origins in your account
#'
#' @description
#' List the CloudFront VPC origins in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_list_vpc_origins/](https://www.paws-r-sdk.com/docs/cloudfront_list_vpc_origins/) for full documentation.
#'
#' @param Marker The marker associated with the VPC origins list.
#' @param MaxItems The maximum number of items included in the list.
#'
#' @keywords internal
#'
#' @rdname cloudfront_list_vpc_origins
cloudfront_list_vpc_origins <- function(Marker = NULL, MaxItems = NULL) {
  op <- new_operation(
    name = "ListVpcOrigins",
    http_method = "GET",
    http_path = "/2020-05-31/vpc-origin",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$list_vpc_origins_input(Marker = Marker, MaxItems = MaxItems)
  output <- .cloudfront$list_vpc_origins_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$list_vpc_origins <- cloudfront_list_vpc_origins

#' Publishes a connection function
#'
#' @description
#' Publishes a connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_publish_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_publish_connection_function/) for full documentation.
#'
#' @param Id &#91;required&#93; The connection function ID.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the connection function.
#'
#' @keywords internal
#'
#' @rdname cloudfront_publish_connection_function
cloudfront_publish_connection_function <- function(Id, IfMatch) {
  op <- new_operation(
    name = "PublishConnectionFunction",
    http_method = "POST",
    http_path = "/2020-05-31/connection-function/{Id}/publish",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$publish_connection_function_input(Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$publish_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$publish_connection_function <- cloudfront_publish_connection_function

#' Publishes a CloudFront function by copying the function code from the
#' DEVELOPMENT stage to LIVE
#'
#' @description
#' Publishes a CloudFront function by copying the function code from the `DEVELOPMENT` stage to `LIVE`. This automatically updates all cache behaviors that are using this function to use the newly published copy in the `LIVE` stage.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_publish_function/](https://www.paws-r-sdk.com/docs/cloudfront_publish_function/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the function that you are publishing.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the function that you are publishing, which you can get using [`describe_function`][cloudfront_describe_function].
#'
#' @keywords internal
#'
#' @rdname cloudfront_publish_function
cloudfront_publish_function <- function(Name, IfMatch) {
  op <- new_operation(
    name = "PublishFunction",
    http_method = "POST",
    http_path = "/2020-05-31/function/{Name}/publish",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$publish_function_input(Name = Name, IfMatch = IfMatch)
  output <- .cloudfront$publish_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$publish_function <- cloudfront_publish_function

#' Creates a resource control policy for a given CloudFront resource
#'
#' @description
#' Creates a resource control policy for a given CloudFront resource.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_put_resource_policy/](https://www.paws-r-sdk.com/docs/cloudfront_put_resource_policy/) for full documentation.
#'
#' @param ResourceArn &#91;required&#93; The Amazon Resource Name (ARN) of the CloudFront resource for which the policy is being created.
#' @param PolicyDocument &#91;required&#93; The JSON-formatted resource policy to create.
#'
#' @keywords internal
#'
#' @rdname cloudfront_put_resource_policy
cloudfront_put_resource_policy <- function(ResourceArn, PolicyDocument) {
  op <- new_operation(
    name = "PutResourcePolicy",
    http_method = "POST",
    http_path = "/2020-05-31/put-resource-policy",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$put_resource_policy_input(ResourceArn = ResourceArn, PolicyDocument = PolicyDocument)
  output <- .cloudfront$put_resource_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$put_resource_policy <- cloudfront_put_resource_policy

#' Add tags to a CloudFront resource
#'
#' @description
#' Add tags to a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the *Amazon CloudFront Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_tag_resource/](https://www.paws-r-sdk.com/docs/cloudfront_tag_resource/) for full documentation.
#'
#' @param Resource &#91;required&#93; An ARN of a CloudFront resource.
#' @param Tags &#91;required&#93; A complex type that contains zero or more `Tag` elements.
#'
#' @keywords internal
#'
#' @rdname cloudfront_tag_resource
cloudfront_tag_resource <- function(Resource, Tags) {
  op <- new_operation(
    name = "TagResource",
    http_method = "POST",
    http_path = "/2020-05-31/tagging?Operation=Tag",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$tag_resource_input(Resource = Resource, Tags = Tags)
  output <- .cloudfront$tag_resource_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$tag_resource <- cloudfront_tag_resource

#' Tests a connection function
#'
#' @description
#' Tests a connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_test_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_test_connection_function/) for full documentation.
#'
#' @param Id &#91;required&#93; The connection function ID.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the connection function.
#' @param Stage The connection function stage.
#' @param ConnectionObject &#91;required&#93; The connection object.
#'
#' @keywords internal
#'
#' @rdname cloudfront_test_connection_function
cloudfront_test_connection_function <- function(Id, IfMatch, Stage = NULL, ConnectionObject) {
  op <- new_operation(
    name = "TestConnectionFunction",
    http_method = "POST",
    http_path = "/2020-05-31/connection-function/{Id}/test",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$test_connection_function_input(Id = Id, IfMatch = IfMatch, Stage = Stage, ConnectionObject = ConnectionObject)
  output <- .cloudfront$test_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$test_connection_function <- cloudfront_test_connection_function

#' Tests a CloudFront function
#'
#' @description
#' Tests a CloudFront function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_test_function/](https://www.paws-r-sdk.com/docs/cloudfront_test_function/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the function that you are testing.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the function that you are testing, which you can get using [`describe_function`][cloudfront_describe_function].
#' @param Stage The stage of the function that you are testing, either `DEVELOPMENT` or `LIVE`.
#' @param EventObject &#91;required&#93; The event object to test the function with. For more information about the structure of the event object, see [Testing functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/create-function.html#test-function) in the *Amazon CloudFront Developer Guide*.
#'
#' @keywords internal
#'
#' @rdname cloudfront_test_function
cloudfront_test_function <- function(Name, IfMatch, Stage = NULL, EventObject) {
  op <- new_operation(
    name = "TestFunction",
    http_method = "POST",
    http_path = "/2020-05-31/function/{Name}/test",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$test_function_input(Name = Name, IfMatch = IfMatch, Stage = Stage, EventObject = EventObject)
  output <- .cloudfront$test_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$test_function <- cloudfront_test_function

#' Remove tags from a CloudFront resource
#'
#' @description
#' Remove tags from a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the *Amazon CloudFront Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_untag_resource/](https://www.paws-r-sdk.com/docs/cloudfront_untag_resource/) for full documentation.
#'
#' @param Resource &#91;required&#93; An ARN of a CloudFront resource.
#' @param TagKeys &#91;required&#93; A complex type that contains zero or more `Tag` key elements.
#'
#' @keywords internal
#'
#' @rdname cloudfront_untag_resource
cloudfront_untag_resource <- function(Resource, TagKeys) {
  op <- new_operation(
    name = "UntagResource",
    http_method = "POST",
    http_path = "/2020-05-31/tagging?Operation=Untag",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$untag_resource_input(Resource = Resource, TagKeys = TagKeys)
  output <- .cloudfront$untag_resource_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$untag_resource <- cloudfront_untag_resource

#' Updates an Anycast static IP list
#'
#' @description
#' Updates an Anycast static IP list.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_anycast_ip_list/](https://www.paws-r-sdk.com/docs/cloudfront_update_anycast_ip_list/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the Anycast static IP list.
#' @param IpAddressType The IP address type for the Anycast static IP list. You can specify one of the following options:
#' 
#' -   `ipv4` only
#' 
#' -   `ipv6` only
#' 
#' -   `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
#' @param IpamCidrConfigs A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list.
#' @param IfMatch &#91;required&#93; The current version (ETag value) of the Anycast static IP list that you are updating.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_anycast_ip_list
cloudfront_update_anycast_ip_list <- function(Id, IpAddressType = NULL, IpamCidrConfigs = NULL, IfMatch) {
  op <- new_operation(
    name = "UpdateAnycastIpList",
    http_method = "PUT",
    http_path = "/2020-05-31/anycast-ip-list/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_anycast_ip_list_input(Id = Id, IpAddressType = IpAddressType, IpamCidrConfigs = IpamCidrConfigs, IfMatch = IfMatch)
  output <- .cloudfront$update_anycast_ip_list_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_anycast_ip_list <- cloudfront_update_anycast_ip_list

#' Updates a cache policy configuration
#'
#' @description
#' Updates a cache policy configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_cache_policy/](https://www.paws-r-sdk.com/docs/cloudfront_update_cache_policy/) for full documentation.
#'
#' @param CachePolicyConfig &#91;required&#93; A cache policy configuration.
#' @param Id &#91;required&#93; The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's `CachePolicyId` field in the response to [`get_distribution_config`][cloudfront_get_distribution_config].
#' @param IfMatch The version of the cache policy that you are updating. The version is returned in the cache policy's `ETag` field in the response to [`get_cache_policy_config`][cloudfront_get_cache_policy_config].
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_cache_policy
cloudfront_update_cache_policy <- function(CachePolicyConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateCachePolicy",
    http_method = "PUT",
    http_path = "/2020-05-31/cache-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_cache_policy_input(CachePolicyConfig = CachePolicyConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_cache_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_cache_policy <- cloudfront_update_cache_policy

#' Update an origin access identity
#'
#' @description
#' Update an origin access identity.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_cloud_front_origin_access_identity/](https://www.paws-r-sdk.com/docs/cloudfront_update_cloud_front_origin_access_identity/) for full documentation.
#'
#' @param CloudFrontOriginAccessIdentityConfig &#91;required&#93; The identity's configuration information.
#' @param Id &#91;required&#93; The identity's id.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the identity's configuration. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_cloud_front_origin_access_identity
cloudfront_update_cloud_front_origin_access_identity <- function(CloudFrontOriginAccessIdentityConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateCloudFrontOriginAccessIdentity",
    http_method = "PUT",
    http_path = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_cloud_front_origin_access_identity_input(CloudFrontOriginAccessIdentityConfig = CloudFrontOriginAccessIdentityConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_cloud_front_origin_access_identity_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_cloud_front_origin_access_identity <- cloudfront_update_cloud_front_origin_access_identity

#' Updates a connection function
#'
#' @description
#' Updates a connection function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_connection_function/](https://www.paws-r-sdk.com/docs/cloudfront_update_connection_function/) for full documentation.
#'
#' @param Id &#91;required&#93; The connection function ID.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the connection function you are updating.
#' @param ConnectionFunctionConfig &#91;required&#93; Contains configuration information about a CloudFront function.
#' @param ConnectionFunctionCode &#91;required&#93; The connection function code.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_connection_function
cloudfront_update_connection_function <- function(Id, IfMatch, ConnectionFunctionConfig, ConnectionFunctionCode) {
  op <- new_operation(
    name = "UpdateConnectionFunction",
    http_method = "PUT",
    http_path = "/2020-05-31/connection-function/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_connection_function_input(Id = Id, IfMatch = IfMatch, ConnectionFunctionConfig = ConnectionFunctionConfig, ConnectionFunctionCode = ConnectionFunctionCode)
  output <- .cloudfront$update_connection_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_connection_function <- cloudfront_update_connection_function

#' Updates a connection group
#'
#' @description
#' Updates a connection group.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_connection_group/](https://www.paws-r-sdk.com/docs/cloudfront_update_connection_group/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the connection group.
#' @param Ipv6Enabled Enable IPv6 for the connection group. For more information, see [Enable IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) in the *Amazon CloudFront Developer Guide*.
#' @param IfMatch &#91;required&#93; The value of the `ETag` header that you received when retrieving the connection group that you're updating.
#' @param AnycastIpListId The ID of the Anycast static IP list.
#' @param Enabled Whether the connection group is enabled.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_connection_group
cloudfront_update_connection_group <- function(Id, Ipv6Enabled = NULL, IfMatch, AnycastIpListId = NULL, Enabled = NULL) {
  op <- new_operation(
    name = "UpdateConnectionGroup",
    http_method = "PUT",
    http_path = "/2020-05-31/connection-group/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_connection_group_input(Id = Id, Ipv6Enabled = Ipv6Enabled, IfMatch = IfMatch, AnycastIpListId = AnycastIpListId, Enabled = Enabled)
  output <- .cloudfront$update_connection_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_connection_group <- cloudfront_update_connection_group

#' Updates a continuous deployment policy
#'
#' @description
#' Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_continuous_deployment_policy/](https://www.paws-r-sdk.com/docs/cloudfront_update_continuous_deployment_policy/) for full documentation.
#'
#' @param ContinuousDeploymentPolicyConfig &#91;required&#93; The continuous deployment policy configuration.
#' @param Id &#91;required&#93; The identifier of the continuous deployment policy that you are updating.
#' @param IfMatch The current version (`ETag` value) of the continuous deployment policy that you are updating.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_continuous_deployment_policy
cloudfront_update_continuous_deployment_policy <- function(ContinuousDeploymentPolicyConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateContinuousDeploymentPolicy",
    http_method = "PUT",
    http_path = "/2020-05-31/continuous-deployment-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_continuous_deployment_policy_input(ContinuousDeploymentPolicyConfig = ContinuousDeploymentPolicyConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_continuous_deployment_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_continuous_deployment_policy <- cloudfront_update_continuous_deployment_policy

#' Updates the configuration for a CloudFront distribution
#'
#' @description
#' Updates the configuration for a CloudFront distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_update_distribution/) for full documentation.
#'
#' @param DistributionConfig &#91;required&#93; The distribution's configuration information.
#' @param Id &#91;required&#93; The distribution's id.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the distribution's configuration. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_distribution
cloudfront_update_distribution <- function(DistributionConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateDistribution",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_distribution_input(DistributionConfig = DistributionConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_distribution <- cloudfront_update_distribution

#' Updates a distribution tenant
#'
#' @description
#' Updates a distribution tenant.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_distribution_tenant/](https://www.paws-r-sdk.com/docs/cloudfront_update_distribution_tenant/) for full documentation.
#'
#' @param Id &#91;required&#93; The ID of the distribution tenant.
#' @param DistributionId The ID for the multi-tenant distribution.
#' @param Domains The domains to update for the distribution tenant. A domain object can contain only a domain property. You must specify at least one domain. Each distribution tenant can have up to 5 domains.
#' @param Customizations Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
#' @param Parameters A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
#' @param ConnectionGroupId The ID of the target connection group.
#' @param IfMatch &#91;required&#93; The value of the `ETag` header that you received when retrieving the distribution tenant to update. This value is returned in the response of the [`get_distribution_tenant`][cloudfront_get_distribution_tenant] API operation.
#' @param ManagedCertificateRequest An object that contains the CloudFront managed ACM certificate request.
#' @param Enabled Indicates whether the distribution tenant should be updated to an enabled state. If you update the distribution tenant and it's not enabled, the distribution tenant won't serve traffic.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_distribution_tenant
cloudfront_update_distribution_tenant <- function(Id, DistributionId = NULL, Domains = NULL, Customizations = NULL, Parameters = NULL, ConnectionGroupId = NULL, IfMatch, ManagedCertificateRequest = NULL, Enabled = NULL) {
  op <- new_operation(
    name = "UpdateDistributionTenant",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution-tenant/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_distribution_tenant_input(Id = Id, DistributionId = DistributionId, Domains = Domains, Customizations = Customizations, Parameters = Parameters, ConnectionGroupId = ConnectionGroupId, IfMatch = IfMatch, ManagedCertificateRequest = ManagedCertificateRequest, Enabled = Enabled)
  output <- .cloudfront$update_distribution_tenant_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_distribution_tenant <- cloudfront_update_distribution_tenant

#' Copies the staging distribution's configuration to its corresponding
#' primary distribution
#'
#' @description
#' Copies the staging distribution's configuration to its corresponding primary distribution. The primary distribution retains its `Aliases` (also known as alternate domain names or CNAMEs) and `ContinuousDeploymentPolicyId` value, but otherwise its configuration is overwritten to match the staging distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_distribution_with_staging_config/](https://www.paws-r-sdk.com/docs/cloudfront_update_distribution_with_staging_config/) for full documentation.
#'
#' @param Id &#91;required&#93; The identifier of the primary distribution to which you are copying a staging distribution's configuration.
#' @param StagingDistributionId The identifier of the staging distribution whose configuration you are copying to the primary distribution.
#' @param IfMatch The current versions (`ETag` values) of both primary and staging distributions. Provide these in the following format:
#' 
#' `<primary ETag>, <staging ETag>`
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_distribution_with_staging_config
cloudfront_update_distribution_with_staging_config <- function(Id, StagingDistributionId = NULL, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateDistributionWithStagingConfig",
    http_method = "PUT",
    http_path = "/2020-05-31/distribution/{Id}/promote-staging-config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_distribution_with_staging_config_input(Id = Id, StagingDistributionId = StagingDistributionId, IfMatch = IfMatch)
  output <- .cloudfront$update_distribution_with_staging_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_distribution_with_staging_config <- cloudfront_update_distribution_with_staging_config

#' We recommend that you use the UpdateDomainAssociation API operation to
#' move a domain association, as it supports both standard distributions
#' and distribution tenants
#'
#' @description
#' We recommend that you use the [`update_domain_association`][cloudfront_update_domain_association] API operation to move a domain association, as it supports both standard distributions and distribution tenants. [`associate_alias`][cloudfront_associate_alias] performs similar checks but only supports standard distributions.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_domain_association/](https://www.paws-r-sdk.com/docs/cloudfront_update_domain_association/) for full documentation.
#'
#' @param Domain &#91;required&#93; The domain to update.
#' @param TargetResource &#91;required&#93; The target standard distribution or distribution tenant resource for the domain. You can specify either `DistributionId` or `DistributionTenantId`, but not both.
#' @param IfMatch The value of the `ETag` identifier for the standard distribution or distribution tenant that will be associated with the domain.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_domain_association
cloudfront_update_domain_association <- function(Domain, TargetResource, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateDomainAssociation",
    http_method = "POST",
    http_path = "/2020-05-31/domain-association",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_domain_association_input(Domain = Domain, TargetResource = TargetResource, IfMatch = IfMatch)
  output <- .cloudfront$update_domain_association_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_domain_association <- cloudfront_update_domain_association

#' Update a field-level encryption configuration
#'
#' @description
#' Update a field-level encryption configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_field_level_encryption_config/](https://www.paws-r-sdk.com/docs/cloudfront_update_field_level_encryption_config/) for full documentation.
#'
#' @param FieldLevelEncryptionConfig &#91;required&#93; Request to update a field-level encryption configuration.
#' @param Id &#91;required&#93; The ID of the configuration you want to update.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the configuration identity to update. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_field_level_encryption_config
cloudfront_update_field_level_encryption_config <- function(FieldLevelEncryptionConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateFieldLevelEncryptionConfig",
    http_method = "PUT",
    http_path = "/2020-05-31/field-level-encryption/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_field_level_encryption_config_input(FieldLevelEncryptionConfig = FieldLevelEncryptionConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_field_level_encryption_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_field_level_encryption_config <- cloudfront_update_field_level_encryption_config

#' Update a field-level encryption profile
#'
#' @description
#' Update a field-level encryption profile.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_field_level_encryption_profile/](https://www.paws-r-sdk.com/docs/cloudfront_update_field_level_encryption_profile/) for full documentation.
#'
#' @param FieldLevelEncryptionProfileConfig &#91;required&#93; Request to update a field-level encryption profile.
#' @param Id &#91;required&#93; The ID of the field-level encryption profile request.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the profile identity to update. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_field_level_encryption_profile
cloudfront_update_field_level_encryption_profile <- function(FieldLevelEncryptionProfileConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateFieldLevelEncryptionProfile",
    http_method = "PUT",
    http_path = "/2020-05-31/field-level-encryption-profile/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_field_level_encryption_profile_input(FieldLevelEncryptionProfileConfig = FieldLevelEncryptionProfileConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_field_level_encryption_profile_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_field_level_encryption_profile <- cloudfront_update_field_level_encryption_profile

#' Updates a CloudFront function
#'
#' @description
#' Updates a CloudFront function.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_function/](https://www.paws-r-sdk.com/docs/cloudfront_update_function/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the function that you are updating.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the function that you are updating, which you can get using [`describe_function`][cloudfront_describe_function].
#' @param FunctionConfig &#91;required&#93; Configuration information about the function.
#' @param FunctionCode &#91;required&#93; The function code. For more information about writing a CloudFront function, see [Writing function code for CloudFront Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) in the *Amazon CloudFront Developer Guide*.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_function
cloudfront_update_function <- function(Name, IfMatch, FunctionConfig, FunctionCode) {
  op <- new_operation(
    name = "UpdateFunction",
    http_method = "PUT",
    http_path = "/2020-05-31/function/{Name}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_function_input(Name = Name, IfMatch = IfMatch, FunctionConfig = FunctionConfig, FunctionCode = FunctionCode)
  output <- .cloudfront$update_function_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_function <- cloudfront_update_function

#' Updates a key group
#'
#' @description
#' Updates a key group.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_key_group/](https://www.paws-r-sdk.com/docs/cloudfront_update_key_group/) for full documentation.
#'
#' @param KeyGroupConfig &#91;required&#93; The key group configuration.
#' @param Id &#91;required&#93; The identifier of the key group that you are updating.
#' @param IfMatch The version of the key group that you are updating. The version is the key group's `ETag` value.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_key_group
cloudfront_update_key_group <- function(KeyGroupConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateKeyGroup",
    http_method = "PUT",
    http_path = "/2020-05-31/key-group/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_key_group_input(KeyGroupConfig = KeyGroupConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_key_group_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_key_group <- cloudfront_update_key_group

#' Specifies the key value store to update
#'
#' @description
#' Specifies the key value store to update.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_key_value_store/](https://www.paws-r-sdk.com/docs/cloudfront_update_key_value_store/) for full documentation.
#'
#' @param Name &#91;required&#93; The name of the key value store to update.
#' @param Comment &#91;required&#93; The comment of the key value store to update.
#' @param IfMatch &#91;required&#93; The key value store to update, if a match occurs.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_key_value_store
cloudfront_update_key_value_store <- function(Name, Comment, IfMatch) {
  op <- new_operation(
    name = "UpdateKeyValueStore",
    http_method = "PUT",
    http_path = "/2020-05-31/key-value-store/{Name}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_key_value_store_input(Name = Name, Comment = Comment, IfMatch = IfMatch)
  output <- .cloudfront$update_key_value_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_key_value_store <- cloudfront_update_key_value_store

#' Updates a CloudFront origin access control
#'
#' @description
#' Updates a CloudFront origin access control.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_origin_access_control/](https://www.paws-r-sdk.com/docs/cloudfront_update_origin_access_control/) for full documentation.
#'
#' @param OriginAccessControlConfig &#91;required&#93; An origin access control.
#' @param Id &#91;required&#93; The unique identifier of the origin access control that you are updating.
#' @param IfMatch The current version (`ETag` value) of the origin access control that you are updating.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_origin_access_control
cloudfront_update_origin_access_control <- function(OriginAccessControlConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateOriginAccessControl",
    http_method = "PUT",
    http_path = "/2020-05-31/origin-access-control/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_origin_access_control_input(OriginAccessControlConfig = OriginAccessControlConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_origin_access_control_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_origin_access_control <- cloudfront_update_origin_access_control

#' Updates an origin request policy configuration
#'
#' @description
#' Updates an origin request policy configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_origin_request_policy/](https://www.paws-r-sdk.com/docs/cloudfront_update_origin_request_policy/) for full documentation.
#'
#' @param OriginRequestPolicyConfig &#91;required&#93; An origin request policy configuration.
#' @param Id &#91;required&#93; The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's `OriginRequestPolicyId` field in the response to [`get_distribution_config`][cloudfront_get_distribution_config].
#' @param IfMatch The version of the origin request policy that you are updating. The version is returned in the origin request policy's `ETag` field in the response to [`get_origin_request_policy_config`][cloudfront_get_origin_request_policy_config].
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_origin_request_policy
cloudfront_update_origin_request_policy <- function(OriginRequestPolicyConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateOriginRequestPolicy",
    http_method = "PUT",
    http_path = "/2020-05-31/origin-request-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_origin_request_policy_input(OriginRequestPolicyConfig = OriginRequestPolicyConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_origin_request_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_origin_request_policy <- cloudfront_update_origin_request_policy

#' Update public key information
#'
#' @description
#' Update public key information. Note that the only value you can change is the comment.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_public_key/](https://www.paws-r-sdk.com/docs/cloudfront_update_public_key/) for full documentation.
#'
#' @param PublicKeyConfig &#91;required&#93; A public key configuration.
#' @param Id &#91;required&#93; The identifier of the public key that you are updating.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the public key to update. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_public_key
cloudfront_update_public_key <- function(PublicKeyConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdatePublicKey",
    http_method = "PUT",
    http_path = "/2020-05-31/public-key/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_public_key_input(PublicKeyConfig = PublicKeyConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_public_key_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_public_key <- cloudfront_update_public_key

#' Updates a real-time log configuration
#'
#' @description
#' Updates a real-time log configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_realtime_log_config/](https://www.paws-r-sdk.com/docs/cloudfront_update_realtime_log_config/) for full documentation.
#'
#' @param EndPoints Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
#' @param Fields A list of fields to include in each real-time log record.
#' 
#' For more information about fields, see [Real-time log configuration fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the *Amazon CloudFront Developer Guide*.
#' @param Name The name for this real-time log configuration.
#' @param ARN The Amazon Resource Name (ARN) for this real-time log configuration.
#' @param SamplingRate The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_realtime_log_config
cloudfront_update_realtime_log_config <- function(EndPoints = NULL, Fields = NULL, Name = NULL, ARN = NULL, SamplingRate = NULL) {
  op <- new_operation(
    name = "UpdateRealtimeLogConfig",
    http_method = "PUT",
    http_path = "/2020-05-31/realtime-log-config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_realtime_log_config_input(EndPoints = EndPoints, Fields = Fields, Name = Name, ARN = ARN, SamplingRate = SamplingRate)
  output <- .cloudfront$update_realtime_log_config_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_realtime_log_config <- cloudfront_update_realtime_log_config

#' Updates a response headers policy
#'
#' @description
#' Updates a response headers policy.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_response_headers_policy/](https://www.paws-r-sdk.com/docs/cloudfront_update_response_headers_policy/) for full documentation.
#'
#' @param ResponseHeadersPolicyConfig &#91;required&#93; A response headers policy configuration.
#' @param Id &#91;required&#93; The identifier for the response headers policy that you are updating.
#' @param IfMatch The version of the response headers policy that you are updating.
#' 
#' The version is returned in the cache policy's `ETag` field in the response to [`get_response_headers_policy_config`][cloudfront_get_response_headers_policy_config].
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_response_headers_policy
cloudfront_update_response_headers_policy <- function(ResponseHeadersPolicyConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateResponseHeadersPolicy",
    http_method = "PUT",
    http_path = "/2020-05-31/response-headers-policy/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_response_headers_policy_input(ResponseHeadersPolicyConfig = ResponseHeadersPolicyConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_response_headers_policy_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_response_headers_policy <- cloudfront_update_response_headers_policy

#' Update a streaming distribution
#'
#' @description
#' Update a streaming distribution.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_streaming_distribution/](https://www.paws-r-sdk.com/docs/cloudfront_update_streaming_distribution/) for full documentation.
#'
#' @param StreamingDistributionConfig &#91;required&#93; The streaming distribution's configuration information.
#' @param Id &#91;required&#93; The streaming distribution's id.
#' @param IfMatch The value of the `ETag` header that you received when retrieving the streaming distribution's configuration. For example: `E2QWRUHAPOMQZL`.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_streaming_distribution
cloudfront_update_streaming_distribution <- function(StreamingDistributionConfig, Id, IfMatch = NULL) {
  op <- new_operation(
    name = "UpdateStreamingDistribution",
    http_method = "PUT",
    http_path = "/2020-05-31/streaming-distribution/{Id}/config",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_streaming_distribution_input(StreamingDistributionConfig = StreamingDistributionConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_streaming_distribution_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_streaming_distribution <- cloudfront_update_streaming_distribution

#' Updates a trust store
#'
#' @description
#' Updates a trust store.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_trust_store/](https://www.paws-r-sdk.com/docs/cloudfront_update_trust_store/) for full documentation.
#'
#' @param Id &#91;required&#93; The trust store ID.
#' @param CaCertificatesBundleSource The CA certificates bundle source.
#' @param UseClientCertificateOCSPEndpoint A Boolean that determines whether to use the CA certificate's OCSP endpoint to check certificate revocation status.
#' @param IfMatch &#91;required&#93; The current version (`ETag` value) of the trust store you are updating.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_trust_store
cloudfront_update_trust_store <- function(Id, CaCertificatesBundleSource = NULL, UseClientCertificateOCSPEndpoint = NULL, IfMatch) {
  op <- new_operation(
    name = "UpdateTrustStore",
    http_method = "PUT",
    http_path = "/2020-05-31/trust-store/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_trust_store_input(Id = Id, CaCertificatesBundleSource = CaCertificatesBundleSource, UseClientCertificateOCSPEndpoint = UseClientCertificateOCSPEndpoint, IfMatch = IfMatch)
  output <- .cloudfront$update_trust_store_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_trust_store <- cloudfront_update_trust_store

#' Update an Amazon CloudFront VPC origin in your account
#'
#' @description
#' Update an Amazon CloudFront VPC origin in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_update_vpc_origin/](https://www.paws-r-sdk.com/docs/cloudfront_update_vpc_origin/) for full documentation.
#'
#' @param VpcOriginEndpointConfig &#91;required&#93; The VPC origin endpoint configuration.
#' @param Id &#91;required&#93; The VPC origin ID.
#' @param IfMatch &#91;required&#93; The VPC origin to update, if a match occurs.
#'
#' @keywords internal
#'
#' @rdname cloudfront_update_vpc_origin
cloudfront_update_vpc_origin <- function(VpcOriginEndpointConfig, Id, IfMatch) {
  op <- new_operation(
    name = "UpdateVpcOrigin",
    http_method = "PUT",
    http_path = "/2020-05-31/vpc-origin/{Id}",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$update_vpc_origin_input(VpcOriginEndpointConfig = VpcOriginEndpointConfig, Id = Id, IfMatch = IfMatch)
  output <- .cloudfront$update_vpc_origin_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$update_vpc_origin <- cloudfront_update_vpc_origin

#' Verify the DNS configuration for your domain names
#'
#' @description
#' Verify the DNS configuration for your domain names. This API operation checks whether your domain name points to the correct routing endpoint of the connection group, such as d111111abcdef8.cloudfront.net. You can use this API operation to troubleshoot and resolve DNS configuration issues.
#'
#' See [https://www.paws-r-sdk.com/docs/cloudfront_verify_dns_configuration/](https://www.paws-r-sdk.com/docs/cloudfront_verify_dns_configuration/) for full documentation.
#'
#' @param Domain The domain name that you're verifying.
#' @param Identifier &#91;required&#93; The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.
#'
#' @keywords internal
#'
#' @rdname cloudfront_verify_dns_configuration
cloudfront_verify_dns_configuration <- function(Domain = NULL, Identifier) {
  op <- new_operation(
    name = "VerifyDnsConfiguration",
    http_method = "POST",
    http_path = "/2020-05-31/verify-dns-configuration",
    host_prefix = "",
    paginator = list(),
    stream_api = FALSE,
    http_checksum = NULL
  )
  input <- .cloudfront$verify_dns_configuration_input(Domain = Domain, Identifier = Identifier)
  output <- .cloudfront$verify_dns_configuration_output()
  config <- get_config()
  svc <- .cloudfront$service(config, op)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.cloudfront$operations$verify_dns_configuration <- cloudfront_verify_dns_configuration

Try the paws.networking package in your browser

Any scripts or data that you put into this service are public.

paws.networking documentation built on Oct. 8, 2026, 1:14 a.m.