Module: Aws::CloudFront

Defined in:
lib/aws-sdk-cloudfront/resource.rb,
lib/aws-sdk-cloudfront/signer.rb,
lib/aws-sdk-cloudfront/waiters.rb,
lib/aws-sdk-cloudfront/endpoints.rb,
lib/aws-sdk-cloudfront/client_api.rb,
lib/aws-sdk-cloudfront/url_signer.rb,
lib/aws-sdk-cloudfront/cookie_signer.rb,
lib/aws-sdk-cloudfront/customizations.rb,
lib/aws-sdk-cloudfront/endpoint_provider.rb,
lib/aws-sdk-cloudfront/plugins/endpoints.rb,
lib/aws-sdk-cloudfront/endpoint_parameters.rb,
lib/aws-sdk-cloudfront/errors.rb,
lib/aws-sdk-cloudfront/client.rb,
lib/aws-sdk-cloudfront/types.rb,
lib/aws-sdk-cloudfront.rb

Overview

This module provides support for Amazon CloudFront. This module is available in the ‘aws-sdk-cloudfront` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

cloud_front = Aws::CloudFront::Client.new
resp = cloud_front.associate_alias(params)

See Client for more information.

# Errors

Errors returned from Amazon CloudFront are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::CloudFront::Errors::ServiceError
  # rescues all Amazon CloudFront API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Signer, Types, Waiters Classes: Client, CookieSigner, EndpointParameters, EndpointProvider, Resource, UrlSigner

service collapse

GEM_VERSION =
'1.108.0'