C# (CSharp) Amazon.CloudFront.Model Пространство имен

Пространства имен

Amazon.CloudFront.Model.Internal

Классы

Имя Описание
AccessDeniedException
ActiveTrustedSigners

A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for the default cache behavior or for any of the other cache behaviors for this distribution. These are accounts that you want to allow to create signed URLs for private content.

Aliases A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
AllowedMethods 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.

BatchTooLargeException
CNAMEAlreadyExistsException
CacheBehavior 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.

CacheBehaviors A complex type that contains zero or more CacheBehavior elements.
CachedMethods 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.

CloudFrontOriginAccessIdentity
CloudFrontOriginAccessIdentityAlreadyExistsException
CloudFrontOriginAccessIdentityConfig
CloudFrontOriginAccessIdentityInUseException
CloudFrontOriginAccessIdentityList

The CloudFrontOriginAccessIdentityList type.

CloudFrontOriginAccessIdentitySummary Summary of the information about a CloudFront origin access identity.
CookieNames

A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

CookiePreference Cookie Preference
CreateCloudFrontOriginAccessIdentityRequest Container for the parameters to the CreateCloudFrontOriginAccessIdentity operation. 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 in the Amazon CloudFront Developer Guide.
CreateCloudFrontOriginAccessIdentityResponse Returns information about the CreateCloudFrontOriginAccessIdentity response and response metadata.
CreateCloudFrontOriginAccessIdentityResult The returned result of the corresponding request.
CreateDistributionRequest The CreateDistributionRequest contains the parameters used for the CreateDistribution operation.
CreateDistributionResponse The returned result of the corresponding request.
CreateDistributionResult The returned result of the corresponding request.
CreateDistributionWithTagsRequest Container for the parameters to the CreateDistributionWithTags operation. Create a new distribution with tags.
CreateDistributionWithTagsResponse The returned result of the corresponding request.
CreateInvalidationRequest Container for the parameters to the CreateInvalidation operation. Create a new invalidation.
CreateInvalidationResponse The returned result of the corresponding request.
CreateInvalidationResult

The returned result of the corresponding request.

CreateStreamingDistributionRequest The CreateStreamingDistributionRequest contains the parameters used for the CreateStreamingDistribution operation.
CreateStreamingDistributionResponse Returns information about the CreateStreamingDistribution response and response metadata.
CreateStreamingDistributionResult The returned result of the corresponding request.
CreateStreamingDistributionWithTagsRequest Container for the parameters to the CreateStreamingDistributionWithTags operation. Create a new streaming distribution with tags.
CreateStreamingDistributionWithTagsResponse The returned result of the corresponding request.
CustomErrorResponse

A complex type that describes how you'd prefer CloudFront to respond to requests that result in either a 4xx or 5xx response. You can control whether a custom error page should be displayed, what the desired response code should be for this error page and how long should the error response be cached by CloudFront. If you don't want to specify any custom error responses, include only an empty CustomErrorResponses element. To delete all custom error responses in an existing distribution, update the distribution configuration and include only an empty CustomErrorResponses element. To add, change, or remove one or more custom error responses, update the distribution configuration and specify all of the custom error responses that you want to include in the updated distribution.

CustomErrorResponses

A complex type that contains zero or more CustomErrorResponse elements.

CustomHeaders A complex type that contains the list of Custom Headers for each origin.
CustomOriginConfig A customer origin.
DefaultCacheBehavior

A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.

DeleteCloudFrontOriginAccessIdentityRequest Container for the parameters to the DeleteCloudFrontOriginAccessIdentity operation.

Delete an origin access identity.

DeleteDistributionRequest Container for the parameters to the DeleteDistribution operation. Delete a distribution.
DeleteStreamingDistributionRequest The DeleteStreamingDistributionRequest contains the parameters used for the DeleteStreamingDistribution operation.
Required Parameters: Id
Required Parameters: ETag
Distribution

A distribution.

DistributionAlreadyExistsException
DistributionConfig

A distribution Configuration.

DistributionConfigWithTags A distribution Configuration and a list of tags to be associated with the distribution.
DistributionList

A distribution list.

DistributionNotDisabledException
DistributionSummary

A summary of the information for an Amazon CloudFront distribution.

ForwardedValues A complex type that specifies how CloudFront handles query strings and cookies.
GeoRestriction A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.
GetCloudFrontOriginAccessIdentityConfigRequest Container for the parameters to the GetCloudFrontOriginAccessIdentityConfig operation.

Get the configuration information about an origin access identity.

GetCloudFrontOriginAccessIdentityConfigResponse Returns information about the GetCloudFrontOriginAccessIdentityConfig response and response metadata.
GetCloudFrontOriginAccessIdentityConfigResult

The returned result of the corresponding request.

GetCloudFrontOriginAccessIdentityRequest Container for the parameters to the GetCloudFrontOriginAccessIdentity operation.

Get the information about an origin access identity.

GetCloudFrontOriginAccessIdentityResponse The returned result of the corresponding request.
GetCloudFrontOriginAccessIdentityResult

The returned result of the corresponding request.

GetDistributionConfigRequest Container for the parameters to the GetDistributionConfig operation.

Get the configuration information about a distribution.

GetDistributionConfigResponse Returns information about the GetDistributionConfig response and response metadata.
GetDistributionConfigResult The returned result of the corresponding request.
GetDistributionRequest Container for the parameters to the GetDistribution operation. Get the information about a distribution.
GetDistributionResponse Returns information about the GetDistribution response and response metadata.
GetDistributionResult

The returned result of the corresponding request.

GetInvalidationRequest Container for the parameters to the GetInvalidation operation.

Get the information about an invalidation.

GetInvalidationResponse The returned result of the corresponding request.
GetInvalidationResult

The returned result of the corresponding request.

GetStreamingDistributionConfigRequest The GetStreamingDistributionConfigRequest contains the parameters used for the GetStreamingDistributionConfig operation.
Required Parameters: Id
GetStreamingDistributionConfigResponse The returned result of the corresponding request.
GetStreamingDistributionConfigResult

The returned result of the corresponding request.

GetStreamingDistributionRequest Container for the parameters to the GetStreamingDistribution operation. Gets information about a specified RTMP distribution, including the distribution configuration.
GetStreamingDistributionResponse The returned result of the corresponding request.
GetStreamingDistributionResult

The returned result of the corresponding request.

Headers A complex type that specifies the headers that you want CloudFront to forward to the origin for this cache behavior.

For the headers that you specify, CloudFront also 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.

IllegalUpdateException
InconsistentQuantitiesException
InvalidArgumentException
InvalidDefaultRootObjectException
InvalidErrorCodeException
InvalidForwardCookiesException
InvalidGeoRestrictionParameterException
InvalidHeadersForS3OriginException
InvalidIfMatchVersionException
InvalidLambdaFunctionAssociationException
InvalidLocationCodeException
InvalidMinimumProtocolVersionException
InvalidOriginAccessIdentityException
InvalidOriginException
InvalidProtocolSettingsException
InvalidQueryStringParametersException
InvalidRelativePathException
InvalidRequiredProtocolException
InvalidResponseCodeException
InvalidTTLOrderException
InvalidTaggingException
InvalidViewerCertificateException
InvalidWebACLIdException
Invalidation

An invalidation.

InvalidationBatch

An invalidation batch.

InvalidationList

An invalidation list.

InvalidationSummary A summary of an invalidation request.
KeyPairIds

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

LambdaFunctionAssociation A complex type that contains a Lambda function association.
LambdaFunctionAssociations 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 Container for the parameters to the ListCloudFrontOriginAccessIdentities operation.

List origin access identities.

ListCloudFrontOriginAccessIdentitiesResponse Returns information about the ListCloudFrontOriginAccessIdentities response and response metadata.
ListCloudFrontOriginAccessIdentitiesResult

The returned result of the corresponding request.

ListDistributionsByWebACLIdRequest Container for the parameters to the ListDistributionsByWebACLId operation. List the distributions that are associated with a specified AWS WAF web ACL.
ListDistributionsByWebACLIdResponse The response to a request to list the distributions that are associated with a specified AWS WAF web ACL.
ListDistributionsRequest The ListDistributionsRequest contains the parameters used for the ListDistributions operation. All parameters to this request object are optional.
ListDistributionsResponse
ListDistributionsResult

The returned result of the corresponding request.

ListInvalidationsRequest Container for the parameters to the ListInvalidations operation.

List invalidation batches.

ListInvalidationsResponse Returns information about the ListInvalidations response and response metadata.
ListInvalidationsResult

The returned result of the corresponding request.

ListStreamingDistributionsRequest Container for the parameters to the ListStreamingDistributions operation. List streaming distributions.
ListStreamingDistributionsResponse Returns information about the ListStreamingDistributions response and response metadata.
ListStreamingDistributionsResult

The returned result of the corresponding request.

ListTagsForResourceRequest Container for the parameters to the ListTagsForResource operation. List tags for a CloudFront resource.
ListTagsForResourceResponse The returned result of the corresponding request.
LoggingConfig

A complex type that controls whether access logs are written for the distribution.

MissingBodyException
NoSuchCloudFrontOriginAccessIdentityException
NoSuchDistributionException
NoSuchInvalidationException
NoSuchOriginException
NoSuchResourceException
NoSuchStreamingDistributionException
Origin 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 A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.
OriginSslProtocols A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.
Origins A complex type that contains information about origins for this distribution.
Paths 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.
PreconditionFailedException
QueryStringCacheKeys
Restrictions A complex type that identifies ways in which you want to restrict distribution of your content.
S3Origin S3 origin information to associate with the distribution.
S3OriginConfig A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.
Signer
StreamingDistribution A streaming distribution.
StreamingDistributionAlreadyExistsException
StreamingDistributionConfig

The configuration for the streaming distribution.

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

A streaming distribution list.

StreamingDistributionNotDisabledException
StreamingDistributionSummary

A summary of the information for an Amazon CloudFront streaming distribution.

StreamingLoggingConfig

A complex type that controls whether access logs are written for this streaming distribution.

Tag A complex type that contains Tag key and Tag value.
TagKeys A complex type that contains zero or more Tag elements.
TagResourceRequest Container for the parameters to the TagResource operation. Add tags to a CloudFront resource.
Tags A complex type that contains zero or more Tag elements.
TooManyCacheBehaviorsException
TooManyCertificatesException
TooManyCloudFrontOriginAccessIdentitiesException
TooManyCookieNamesInWhiteListException AmazonCloudFront exception
TooManyDistributionCNAMEsException
TooManyDistributionsException
TooManyDistributionsWithLambdaAssociationsException
TooManyHeadersInForwardedValuesException
TooManyInvalidationsInProgressException
TooManyLambdaFunctionAssociationsException
TooManyOriginCustomHeadersException
TooManyOriginsException
TooManyQueryStringParametersException
TooManyStreamingDistributionCNAMEsException
TooManyStreamingDistributionsException
TooManyTrustedSignersException
TrustedSignerDoesNotExistException
TrustedSigners 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 Container for the parameters to the UntagResource operation. Remove tags from a CloudFront resource.
UpdateCloudFrontOriginAccessIdentityRequest Container for the parameters to the UpdateCloudFrontOriginAccessIdentity operation. Update an origin access identity.
UpdateCloudFrontOriginAccessIdentityResponse Returns information about the UpdateCloudFrontOriginAccessIdentity response and response metadata.
UpdateCloudFrontOriginAccessIdentityResult

The returned result of the corresponding request.

UpdateDistributionRequest Container for the parameters to the UpdateDistribution operation.

Update a distribution.

UpdateDistributionResponse The returned result of the corresponding request.
UpdateDistributionResult The returned result of the corresponding request.
UpdateStreamingDistributionRequest Container for the parameters to the UpdateStreamingDistribution operation. Update a streaming distribution.
UpdateStreamingDistributionResponse The returned result of the corresponding request.
UpdateStreamingDistributionResult The returned result of the corresponding request.
ViewerCertificate A complex type that contains information about viewer certificates for this distribution.