5.0.0 • Published 7 years ago

@datafire/amazonaws_cloudfront v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_cloudfront

Client library for Amazon CloudFront

Installation and Usage

npm install --save @datafire/amazonaws_cloudfront
let amazonaws_cloudfront = require('@datafire/amazonaws_cloudfront').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_cloudfront.ListDistributions({}).then(data => {
  console.log(data);
});

Description

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

Actions

ListDistributions

amazonaws_cloudfront.ListDistributions({}, context)

Input

  • input object
    • MaxItems string
    • Marker string

Output

CreateDistribution

amazonaws_cloudfront.CreateDistribution({
  "DistributionConfig": {
    "CallerReference": "",
    "Origins": {
      "Quantity": 0
    },
    "DefaultCacheBehavior": {
      "TargetOriginId": "",
      "ForwardedValues": {
        "QueryString": true,
        "Cookies": {
          "Forward": ""
        }
      },
      "TrustedSigners": {
        "Enabled": true,
        "Quantity": 0
      },
      "ViewerProtocolPolicy": "",
      "MinTTL": 0
    },
    "Comment": "",
    "Enabled": true
  }
}, context)

Input

Output

Output schema unknown

ListInvalidations

amazonaws_cloudfront.ListInvalidations({
  "DistributionId": ""
}, context)

Input

  • input object
    • MaxItems string
    • Marker string
    • DistributionId required string

Output

CreateInvalidation

amazonaws_cloudfront.CreateInvalidation({
  "DistributionId": "",
  "InvalidationBatch": {
    "Paths": {
      "Quantity": 0
    },
    "CallerReference": ""
  }
}, context)

Input

  • input object

Output

Output schema unknown

GetInvalidation

amazonaws_cloudfront.GetInvalidation({
  "DistributionId": "",
  "Id": ""
}, context)

Input

  • input object
    • DistributionId required string
    • Id required string

Output

DeleteDistribution

amazonaws_cloudfront.DeleteDistribution({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

Output schema unknown

GetDistribution

amazonaws_cloudfront.GetDistribution({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

GetDistributionConfig

amazonaws_cloudfront.GetDistributionConfig({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

UpdateDistribution

amazonaws_cloudfront.UpdateDistribution({
  "Id": "",
  "DistributionConfig": {
    "CallerReference": "",
    "Origins": {
      "Quantity": 0
    },
    "DefaultCacheBehavior": {
      "TargetOriginId": "",
      "ForwardedValues": {
        "QueryString": true,
        "Cookies": {
          "Forward": ""
        }
      },
      "TrustedSigners": {
        "Enabled": true,
        "Quantity": 0
      },
      "ViewerProtocolPolicy": "",
      "MinTTL": 0
    },
    "Comment": "",
    "Enabled": true
  }
}, context)

Input

Output

CreateDistributionWithTags

amazonaws_cloudfront.CreateDistributionWithTags({
  "DistributionConfigWithTags": {
    "DistributionConfig": {
      "CallerReference": "",
      "Origins": {
        "Quantity": 0
      },
      "DefaultCacheBehavior": {
        "TargetOriginId": "",
        "ForwardedValues": {
          "QueryString": true,
          "Cookies": {
            "Forward": ""
          }
        },
        "TrustedSigners": {
          "Enabled": true,
          "Quantity": 0
        },
        "ViewerProtocolPolicy": "",
        "MinTTL": 0
      },
      "Comment": "",
      "Enabled": true
    },
    "Tags": {}
  }
}, context)

Input

Output

Output schema unknown

ListDistributionsByWebACLId

amazonaws_cloudfront.ListDistributionsByWebACLId({
  "WebACLId": ""
}, context)

Input

  • input object
    • WebACLId required string

Output

ListCloudFrontOriginAccessIdentities

amazonaws_cloudfront.ListCloudFrontOriginAccessIdentities({}, context)

Input

  • input object
    • MaxItems string
    • Marker string

Output

CreateCloudFrontOriginAccessIdentity

amazonaws_cloudfront.CreateCloudFrontOriginAccessIdentity({
  "CloudFrontOriginAccessIdentityConfig": {
    "CallerReference": "",
    "Comment": ""
  }
}, context)

Input

Output

Output schema unknown

DeleteCloudFrontOriginAccessIdentity

amazonaws_cloudfront.DeleteCloudFrontOriginAccessIdentity({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

Output schema unknown

GetCloudFrontOriginAccessIdentity

amazonaws_cloudfront.GetCloudFrontOriginAccessIdentity({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

GetCloudFrontOriginAccessIdentityConfig

amazonaws_cloudfront.GetCloudFrontOriginAccessIdentityConfig({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

UpdateCloudFrontOriginAccessIdentity

amazonaws_cloudfront.UpdateCloudFrontOriginAccessIdentity({
  "Id": "",
  "CloudFrontOriginAccessIdentityConfig": {
    "CallerReference": "",
    "Comment": ""
  }
}, context)

Input

Output

DeleteServiceLinkedRole

amazonaws_cloudfront.DeleteServiceLinkedRole({
  "RoleName": ""
}, context)

Input

  • input object
    • RoleName required string

Output

Output schema unknown

ListStreamingDistributions

amazonaws_cloudfront.ListStreamingDistributions({}, context)

Input

  • input object
    • MaxItems string
    • Marker string

Output

CreateStreamingDistribution

amazonaws_cloudfront.CreateStreamingDistribution({
  "StreamingDistributionConfig": {
    "CallerReference": "",
    "S3Origin": {
      "DomainName": "",
      "OriginAccessIdentity": ""
    },
    "Comment": "",
    "TrustedSigners": {
      "Enabled": true,
      "Quantity": 0
    },
    "Enabled": true
  }
}, context)

Input

Output

Output schema unknown

DeleteStreamingDistribution

amazonaws_cloudfront.DeleteStreamingDistribution({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

Output schema unknown

GetStreamingDistribution

amazonaws_cloudfront.GetStreamingDistribution({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

GetStreamingDistributionConfig

amazonaws_cloudfront.GetStreamingDistributionConfig({
  "Id": ""
}, context)

Input

  • input object
    • Id required string

Output

UpdateStreamingDistribution

amazonaws_cloudfront.UpdateStreamingDistribution({
  "Id": "",
  "StreamingDistributionConfig": {
    "CallerReference": "",
    "S3Origin": {
      "DomainName": "",
      "OriginAccessIdentity": ""
    },
    "Comment": "",
    "TrustedSigners": {
      "Enabled": true,
      "Quantity": 0
    },
    "Enabled": true
  }
}, context)

Input

Output

CreateStreamingDistributionWithTags

amazonaws_cloudfront.CreateStreamingDistributionWithTags({
  "StreamingDistributionConfigWithTags": {
    "StreamingDistributionConfig": {
      "CallerReference": "",
      "S3Origin": {
        "DomainName": "",
        "OriginAccessIdentity": ""
      },
      "Comment": "",
      "TrustedSigners": {
        "Enabled": true,
        "Quantity": 0
      },
      "Enabled": true
    },
    "Tags": {}
  }
}, context)

Input

Output

Output schema unknown

ListTagsForResource

amazonaws_cloudfront.ListTagsForResource({}, context)

Input

  • input object

Output

TagResource

amazonaws_cloudfront.TagResource({
  "Tags": {}
}, context)

Input

  • input object

Output

Output schema unknown

UntagResource

amazonaws_cloudfront.UntagResource({
  "TagKeys": {}
}, context)

Input

  • input object

Output

Output schema unknown

Definitions

AccessDenied

  • AccessDenied object: Access denied.

ActiveTrustedSigners

  • ActiveTrustedSigners object: A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content. The Signer complex type lists the AWS account number of the trusted signer or self if the signer is the AWS account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

AliasList

Aliases

  • Aliases object: A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

AllowedMethods

  • AllowedMethods object: A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices: CloudFront forwards only GET and HEAD requests. CloudFront forwards only GET, HEAD, and OPTIONS requests. CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests. If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.

AwsAccountNumberList

  • AwsAccountNumberList array

BatchTooLarge

  • BatchTooLarge object

CNAMEAlreadyExists

  • CNAMEAlreadyExists object

CacheBehavior

  • CacheBehavior object: A complex type that describes how CloudFront processes requests. You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used. For the current limit on the number of cache behaviors that you can add to a distribution, see Amazon CloudFront Limits in the AWS General Reference. If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. Don't include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution. For more information about cache behaviors, see Cache Behaviors in the Amazon CloudFront Developer Guide.

CacheBehaviorList

CacheBehaviors

  • CacheBehaviors object: A complex type that contains zero or more CacheBehavior elements.

CachedMethods

  • CachedMethods object: A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices: CloudFront caches responses to GET and HEAD requests. CloudFront caches responses to GET, HEAD, and OPTIONS requests. If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.

CertificateSource

  • CertificateSource string (values: cloudfront, iam, acm)

CloudFrontOriginAccessIdentity

CloudFrontOriginAccessIdentityAlreadyExists

  • CloudFrontOriginAccessIdentityAlreadyExists object: If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

CloudFrontOriginAccessIdentityConfig

  • CloudFrontOriginAccessIdentityConfig object: Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource.

CloudFrontOriginAccessIdentityInUse

  • CloudFrontOriginAccessIdentityInUse object

CloudFrontOriginAccessIdentityList

  • CloudFrontOriginAccessIdentityList object: Lists the origin access identities for CloudFront.Send a GET request to the /CloudFront API version/origin-access-identity/cloudfront resource. The response includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary child elements. By default, your entire list of origin access identities is returned in one single page. If the list is long, you can paginate it using the MaxItems and Marker parameters.

CloudFrontOriginAccessIdentitySummary

  • CloudFrontOriginAccessIdentitySummary object: Summary of the information about a CloudFront origin access identity.

CloudFrontOriginAccessIdentitySummaryList

CookieNameList

  • CookieNameList array

CookieNames

  • CookieNames object: A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.

CookiePreference

  • CookiePreference object: A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.

CreateCloudFrontOriginAccessIdentityRequest

  • CreateCloudFrontOriginAccessIdentityRequest object: The request to create a new origin access identity.

CreateCloudFrontOriginAccessIdentityResult

  • CreateCloudFrontOriginAccessIdentityResult object: The returned result of the corresponding request.

CreateDistributionRequest

  • CreateDistributionRequest object: The request to create a new distribution.

CreateDistributionResult

  • CreateDistributionResult object: The returned result of the corresponding request.

CreateDistributionWithTagsRequest

  • CreateDistributionWithTagsRequest object: The request to create a new distribution with tags.

CreateDistributionWithTagsResult

  • CreateDistributionWithTagsResult object: The returned result of the corresponding request.

CreateInvalidationRequest

  • CreateInvalidationRequest object: The request to create an invalidation.

CreateInvalidationResult

  • CreateInvalidationResult object: The returned result of the corresponding request.

CreateStreamingDistributionRequest

  • CreateStreamingDistributionRequest object: The request to create a new streaming distribution.

CreateStreamingDistributionResult

  • CreateStreamingDistributionResult object: The returned result of the corresponding request.

CreateStreamingDistributionWithTagsRequest

  • CreateStreamingDistributionWithTagsRequest object: The request to create a new streaming distribution with tags.

CreateStreamingDistributionWithTagsResult

  • CreateStreamingDistributionWithTagsResult object: The returned result of the corresponding request.

CustomErrorResponse

  • CustomErrorResponse object: A complex type that controls: Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

CustomErrorResponseList

CustomErrorResponses

  • CustomErrorResponses object: A complex type that controls: Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

CustomHeaders

CustomOriginConfig

DefaultCacheBehavior

DeleteCloudFrontOriginAccessIdentityRequest

  • DeleteCloudFrontOriginAccessIdentityRequest object: Deletes a origin access identity.

DeleteDistributionRequest

  • DeleteDistributionRequest object: This action deletes a web distribution. To delete a web distribution using the CloudFront API, perform the following steps. To delete a web distribution using the CloudFront API: Disable the web distribution Submit a GET Distribution Config request to get the current configuration and the Etag header for the distribution. Update the XML document that was returned in the response to your GET Distribution Config request to change the value of Enabled to false. Submit a PUT Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Distribution Config request in Step 2. Review the response to the PUT Distribution Config request to confirm that the distribution was successfully disabled. Submit a GET Distribution request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed. Submit a DELETE Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Distribution Config request in Step 6. Review the response to your DELETE Distribution request to confirm that the distribution was successfully deleted. For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.

DeleteServiceLinkedRoleRequest

  • DeleteServiceLinkedRoleRequest object

DeleteStreamingDistributionRequest

  • DeleteStreamingDistributionRequest object: The request to delete a streaming distribution.

Distribution

DistributionAlreadyExists

  • DistributionAlreadyExists object: The caller reference you attempted to create the distribution with is associated with another distribution.

DistributionConfig

DistributionConfigWithTags

  • DistributionConfigWithTags object: A distribution Configuration and a list of tags to be associated with the distribution.

DistributionList

DistributionNotDisabled

  • DistributionNotDisabled object

DistributionSummary

DistributionSummaryList

EventType

  • EventType string (values: viewer-request, viewer-response, origin-request, origin-response)

ForwardedValues

GeoRestriction

  • GeoRestriction object: A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

GeoRestrictionType

  • GeoRestrictionType string (values: blacklist, whitelist, none)

GetCloudFrontOriginAccessIdentityConfigRequest

  • GetCloudFrontOriginAccessIdentityConfigRequest object: The origin access identity's configuration information. For more information, see CloudFrontOriginAccessIdentityConfigComplexType.

GetCloudFrontOriginAccessIdentityConfigResult

GetCloudFrontOriginAccessIdentityRequest

  • GetCloudFrontOriginAccessIdentityRequest object: The request to get an origin access identity's information.

GetCloudFrontOriginAccessIdentityResult

  • GetCloudFrontOriginAccessIdentityResult object: The returned result of the corresponding request.

GetDistributionConfigRequest

  • GetDistributionConfigRequest object: The request to get a distribution configuration.

GetDistributionConfigResult

  • GetDistributionConfigResult object: The returned result of the corresponding request.

GetDistributionRequest

  • GetDistributionRequest object: The request to get a distribution's information.

GetDistributionResult

  • GetDistributionResult object: The returned result of the corresponding request.

GetInvalidationRequest

  • GetInvalidationRequest object: The request to get an invalidation's information.

GetInvalidationResult

  • GetInvalidationResult object: The returned result of the corresponding request.

GetStreamingDistributionConfigRequest

  • GetStreamingDistributionConfigRequest object: To request to get a streaming distribution configuration.

GetStreamingDistributionConfigResult

  • GetStreamingDistributionConfigResult object: The returned result of the corresponding request.

GetStreamingDistributionRequest

  • GetStreamingDistributionRequest object: The request to get a streaming distribution's information.

GetStreamingDistributionResult

  • GetStreamingDistributionResult object: The returned result of the corresponding request.

HeaderList

Headers

  • Headers object: A complex type that specifies the request headers, if any, that you want CloudFront to base caching on for this cache behavior. For the headers that you specify, CloudFront caches separate versions of a specified object based on the header values in viewer requests. For example, suppose viewer requests for logo.jpg contain a custom product header that has a value of either acme or apex, and you configure CloudFront to cache your content based on values in the product header. CloudFront forwards the product header to the origin and caches the response from the origin once for each header value. For more information about caching based on header values, see How CloudFront Forwards and Caches Headers in the Amazon CloudFront Developer Guide.

HttpVersion

  • HttpVersion string (values: http1.1, http2)

IllegalUpdate

  • IllegalUpdate object: Origin and CallerReference cannot be updated.

InconsistentQuantities

  • InconsistentQuantities object: The value of Quantity and the size of Items don't match.

InvalidArgument

  • InvalidArgument object: The argument is invalid.

InvalidDefaultRootObject

  • InvalidDefaultRootObject object: The default root object file name is too big or contains an invalid character.

InvalidErrorCode

  • InvalidErrorCode object

InvalidForwardCookies

  • InvalidForwardCookies object: Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.

InvalidGeoRestrictionParameter

  • InvalidGeoRestrictionParameter object

InvalidHeadersForS3Origin

  • InvalidHeadersForS3Origin object

InvalidIfMatchVersion

  • InvalidIfMatchVersion object: The If-Match version is missing or not valid for the distribution.

InvalidLambdaFunctionAssociation

  • InvalidLambdaFunctionAssociation object: The specified Lambda function association is invalid.

InvalidLocationCode

  • InvalidLocationCode object

InvalidMinimumProtocolVersion

  • InvalidMinimumProtocolVersion object

InvalidOrigin

  • InvalidOrigin object: The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.

InvalidOriginAccessIdentity

  • InvalidOriginAccessIdentity object: The origin access identity is not valid or doesn't exist.

InvalidOriginKeepaliveTimeout

  • InvalidOriginKeepaliveTimeout object

InvalidOriginReadTimeout

  • InvalidOriginReadTimeout object

InvalidProtocolSettings

  • InvalidProtocolSettings object: You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).

InvalidQueryStringParameters

  • InvalidQueryStringParameters object

InvalidRelativePath

  • InvalidRelativePath object: The relative path is too big, is not URL-encoded, or does not begin with a slash (/).

InvalidRequiredProtocol

  • InvalidRequiredProtocol object: This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.

InvalidResponseCode

  • InvalidResponseCode object

InvalidTTLOrder

  • InvalidTTLOrder object

InvalidTagging

  • InvalidTagging object

InvalidViewerCertificate

  • InvalidViewerCertificate object

InvalidWebACLId

  • InvalidWebACLId object

Invalidation

InvalidationBatch

  • InvalidationBatch object: An invalidation batch.

InvalidationList

  • InvalidationList object: The InvalidationList complex type describes the list of invalidation objects. For more information about invalidation, see Invalidating Objects (Web Distributions Only) in the Amazon CloudFront Developer Guide.

InvalidationSummary

  • InvalidationSummary object: A summary of an invalidation request.

InvalidationSummaryList

ItemSelection

  • ItemSelection string (values: none, whitelist, all)

KeyPairIdList

  • KeyPairIdList array

KeyPairIds

  • KeyPairIds object: A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber. For more information, see ActiveTrustedSigners.

LambdaFunctionAssociation

  • LambdaFunctionAssociation object: A complex type that contains a Lambda function association.

LambdaFunctionAssociationList

LambdaFunctionAssociations

  • LambdaFunctionAssociations object: A complex type that specifies a list of Lambda functions associations for a cache behavior. If you want to invoke one or more Lambda functions triggered by requests that match the PathPattern of the cache behavior, specify the applicable values for Quantity and Items. Note that there can be up to 4 LambdaFunctionAssociation items in this list (one for each possible value of EventType) and each EventType can be associated with the Lambda function only once. If you don't want to invoke any Lambda functions for the requests that match PathPattern, specify 0 for Quantity and omit Items.

ListCloudFrontOriginAccessIdentitiesRequest

  • ListCloudFrontOriginAccessIdentitiesRequest object: The request to list origin access identities.

ListCloudFrontOriginAccessIdentitiesResult

  • ListCloudFrontOriginAccessIdentitiesResult object: The returned result of the corresponding request.

ListDistributionsByWebACLIdRequest

  • ListDistributionsByWebACLIdRequest object: The request to list distributions that are associated with a specified AWS WAF web ACL.

ListDistributionsByWebACLIdResult

  • ListDistributionsByWebACLIdResult object: The response to a request to list the distributions that are associated with a specified AWS WAF web ACL.

ListDistributionsRequest

  • ListDistributionsRequest object: The request to list your distributions.

ListDistributionsResult

  • ListDistributionsResult object: The returned result of the corresponding request.

ListInvalidationsRequest

  • ListInvalidationsRequest object: The request to list invalidations.

ListInvalidationsResult

  • ListInvalidationsResult object: The returned result of the corresponding request.

ListStreamingDistributionsRequest

  • ListStreamingDistributionsRequest object: The request to list your streaming distributions.

ListStreamingDistributionsResult

  • ListStreamingDistributionsResult object: The returned result of the corresponding request.

ListTagsForResourceRequest

  • ListTagsForResourceRequest object: The request to list tags for a CloudFront resource.

ListTagsForResourceResult

  • ListTagsForResourceResult object: The returned result of the corresponding request.

LocationList

  • LocationList array

LoggingConfig

  • LoggingConfig object: A complex type that controls whether access logs are written for the distribution.

Method

  • Method string (values: GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE)

MethodsList

MinimumProtocolVersion

  • MinimumProtocolVersion string (values: SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018)

MissingBody

  • MissingBody object: This operation requires a body. Ensure that the body is present and the Content-Type header is set.

NoSuchCloudFrontOriginAccessIdentity

  • NoSuchCloudFrontOriginAccessIdentity object: The specified origin access identity does not exist.

NoSuchDistribution

  • NoSuchDistribution object: The specified distribution does not exist.

NoSuchInvalidation

  • NoSuchInvalidation object: The specified invalidation does not exist.

NoSuchOrigin

  • NoSuchOrigin object: No origin exists with the specified Origin Id.

NoSuchResource

  • NoSuchResource object

NoSuchStreamingDistribution

  • NoSuchStreamingDistribution object: The specified streaming distribution does not exist.

Origin

  • Origin object: A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files. You must create at least one origin. For the current limit on the number of origins that you can create for a distribution, see Amazon CloudFront Limits in the AWS General Reference.

OriginCustomHeader

  • OriginCustomHeader object: A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

OriginCustomHeadersList

OriginList

OriginProtocolPolicy

  • OriginProtocolPolicy string (values: http-only, match-viewer, https-only)

OriginSslProtocols

  • OriginSslProtocols object: A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.

Origins

  • Origins object: A complex type that contains information about origins for this distribution.

PathList

Paths

  • Paths object: A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide.

PreconditionFailed

  • PreconditionFailed object: The precondition given in one or more of the request-header fields evaluated to false.

PriceClass

  • PriceClass string (values: PriceClass_100, PriceClass_200, PriceClass_All)

QueryStringCacheKeys

QueryStringCacheKeysList

  • QueryStringCacheKeysList array

ResourceARN

  • ResourceARN string

ResourceInUse

  • ResourceInUse object

Restrictions

  • Restrictions object: A complex type that identifies ways in which you want to restrict distribution of your content.

S3Origin

  • S3Origin object: A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
    • DomainName required string
    • OriginAccessIdentity required string

S3OriginConfig

  • S3OriginConfig object: A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.
    • OriginAccessIdentity required string

SSLSupportMethod

  • SSLSupportMethod string (values: sni-only, vip)

Signer

  • Signer object: A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.

SignerList

SslProtocol

  • SslProtocol string (values: SSLv3, TLSv1, TLSv1.1, TLSv1.2)

SslProtocolsList

StreamingDistribution

StreamingDistributionAlreadyExists

  • StreamingDistributionAlreadyExists object

StreamingDistributionConfig

StreamingDistributionConfigWithTags

  • StreamingDistributionConfigWithTags object: A streaming distribution Configuration and a list of tags to be associated with the streaming distribution.

StreamingDistributionList

StreamingDistributionNotDisabled

  • StreamingDistributionNotDisabled object

StreamingDistributionSummary

StreamingDistributionSummaryList

StreamingLoggingConfig

  • StreamingLoggingConfig object: A complex type that controls whether access logs are written for this streaming distribution.

Tag

  • Tag object: A complex type that contains Tag key and Tag value.

TagKey

  • TagKey string: A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

TagKeyList

TagKeys

  • TagKeys object: A complex type that contains zero or more Tag elements.

TagList

  • TagList array

TagResourceRequest

  • TagResourceRequest object: The request to add tags to a CloudFront resource.

TagValue

  • TagValue string

Tags

  • Tags object: A complex type that contains zero or more Tag elements.

TooManyCacheBehaviors

  • TooManyCacheBehaviors object: You cannot create more cache behaviors for the distribution.

TooManyCertificates

  • TooManyCertificates object: You cannot create anymore custom SSL/TLS certificates.

TooManyCloudFrontOriginAccessIdentities

  • TooManyCloudFrontOriginAccessIdentities object: Processing your request would cause you to exceed the maximum number of origin access identities allowed.

TooManyCookieNamesInWhiteList

  • TooManyCookieNamesInWhiteList object: Your request contains more cookie names in the whitelist than are allowed per cache behavior.

TooManyDistributionCNAMEs

  • TooManyDistributionCNAMEs object: Your request contains more CNAMEs than are allowed per distribution.

TooManyDistributions

  • TooManyDistributions object: Processing your request would cause you to exceed the maximum number of distributions allowed.

TooManyDistributionsWithLambdaAssociations

  • TooManyDistributionsWithLambdaAssociations object: Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded.

TooManyHeadersInForwardedValues

  • TooManyHeadersInForwardedValues object

TooManyInvalidationsInProgress

  • TooManyInvalidationsInProgress object: You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.

TooManyLambdaFunctionAssociations

  • TooManyLambdaFunctionAssociations object: Your request contains more Lambda function associations than are allowed per distribution.

TooManyOriginCustomHeaders

  • TooManyOriginCustomHeaders object

TooManyOrigins

  • TooManyOrigins object: You cannot create more origins for the distribution.

TooManyQueryStringParameters

  • TooManyQueryStringParameters object

TooManyStreamingDistributionCNAMEs

  • TooManyStreamingDistributionCNAMEs object

TooManyStreamingDistributions

  • TooManyStreamingDistributions object: Processing your request would cause you to exceed the maximum number of streaming distributions allowed.

TooManyTrustedSigners

  • TooManyTrustedSigners object: Your request contains more trusted signers than are allowed per distribution.

TrustedSignerDoesNotExist

  • TrustedSignerDoesNotExist object: One or more of your trusted signers don't exist.

TrustedSigners

  • TrustedSigners object: A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution. For more information about updating the distribution configuration, see DistributionConfig .

UntagResourceRequest

  • UntagResourceRequest object: The request to remove tags from a CloudFront resource.

UpdateCloudFrontOriginAccessIdentityRequest

  • UpdateCloudFrontOriginAccessIdentityRequest object: The request to update an origin access identity.

UpdateCloudFrontOriginAccessIdentityResult

  • UpdateCloudFrontOriginAccessIdentityResult object: The returned result of the corresponding request.

UpdateDistributionRequest

  • UpdateDistributionRequest object: The request to update a distribution.

UpdateDistributionResult

  • UpdateDistributionResult object: The returned result of the corresponding request.

UpdateStreamingDistributionRequest

  • UpdateStreamingDistributionRequest object: The request to update a streaming distribution.

UpdateStreamingDistributionResult

  • UpdateStreamingDistributionResult object: The returned result of the corresponding request.

ViewerCertificate

  • ViewerCertificate object: A complex type that specifies the following: Whether you want viewers to use HTTP or HTTPS to request your objects. If you want viewers to use HTTPS, whether you're using an alternate domain name such as example.com or the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net. If you're using an alternate domain name, whether AWS Certificate Manager (ACM) provided the certificate, or you purchased a certificate from a third-party certificate authority and imported it into ACM or uploaded it to the IAM certificate store. You must specify only one of the following values: ViewerCertificate$ACMCertificateArn ViewerCertificate$IAMCertificateId ViewerCertificate$CloudFrontDefaultCertificate Don't specify false for CloudFrontDefaultCertificate. If you want viewers to use HTTP instead of HTTPS to request your objects: Specify the following value: <CloudFrontDefaultCertificate>true<CloudFrontDefaultCertificate> In addition, specify allow-all for ViewerProtocolPolicy for all of your cache behaviors. If you want viewers to use HTTPS to request your objects: Choose the type of certificate that you want to use based on whether you're using an alternate domain name for your objects or the CloudFront domain name: If you're using an alternate domain name, such as example.com: Specify one of the following values, depending on whether ACM provided your certificate or you purchased your certificate from third-party certificate authority: <ACMCertificateArn>ARN for ACM SSL/TLS certificate<ACMCertificateArn> where ARN for ACM SSL/TLS certificate is the ARN for the ACM SSL/TLS certificate that you want to use for this distribution. <IAMCertificateId>IAM certificate ID<IAMCertificateId> where IAM certificate ID is the ID that IAM returned when you added the certificate to the IAM certificate store. If you specify ACMCertificateArn or IAMCertificateId, you must also specify a value for SSLSupportMethod. If you choose to use an ACM certificate or a certificate in the IAM certificate store, we recommend that you use only an alternate domain name in your object URLs (https://example.com/logo.jpg). If you use the domain name that is associated with your CloudFront distribution (such as https://d111111abcdef8.cloudfront.net/logo.jpg) and the viewer supports SNI, then CloudFront behaves normally. However, if the browser does not support SNI, the user's experience depends on the value that you choose for SSLSupportMethod: vip: The viewer displays a warning because there is a mismatch between the CloudFront domain name and the domain name in your SSL/TLS certificate. sni-only: CloudFront drops the connection with the browser without returning the object. If you're using the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net : Specify the following value: <C
5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago