GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Lightsail::UpdateDistribution(3) User Contributed Perl Documentation Paws::Lightsail::UpdateDistribution(3)

Paws::Lightsail::UpdateDistribution - Arguments for method UpdateDistribution on Paws::Lightsail

This class represents the parameters used for calling the method UpdateDistribution on the Amazon Lightsail service. Use the attributes of this class as arguments to method UpdateDistribution.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDistribution.

    my $lightsail = Paws->service('Lightsail');
    my $UpdateDistributionResult = $lightsail->UpdateDistribution(
      DistributionName      => 'MyResourceName',
      CacheBehaviorSettings => {
        AllowedHTTPMethods => 'MyNonEmptyString',    # OPTIONAL
        CachedHTTPMethods  => 'MyNonEmptyString',    # OPTIONAL
        DefaultTTL         => 1,                     # OPTIONAL
        ForwardedCookies   => {
          CookiesAllowList => [ 'Mystring', ... ],    # OPTIONAL
          Option           => 'none',  # values: none, allow-list, all; OPTIONAL
        },    # OPTIONAL
        ForwardedHeaders => {
          HeadersAllowList => [
            'Accept',
            ... # values: Accept, Accept-Charset, Accept-Datetime, Accept-Encoding, Accept-Language, Authorization, CloudFront-Forwarded-Proto, CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer, CloudFront-Is-SmartTV-Viewer, CloudFront-Is-Tablet-Viewer, CloudFront-Viewer-Country, Host, Origin, Referer
          ],    # OPTIONAL
          Option => 'none',    # values: none, allow-list, all; OPTIONAL
        },    # OPTIONAL
        ForwardedQueryStrings => {
          Option                => 1,                      # OPTIONAL
          QueryStringsAllowList => [ 'Mystring', ... ],    # OPTIONAL
        },    # OPTIONAL
        MaximumTTL => 1,    # OPTIONAL
        MinimumTTL => 1,    # OPTIONAL
      },    # OPTIONAL
      CacheBehaviors => [
        {
          Behavior => 'dont-cache',    # values: dont-cache, cache; OPTIONAL
          Path     => 'Mystring',
        },
        ...
      ],    # OPTIONAL
      DefaultCacheBehavior => {
        Behavior => 'dont-cache',    # values: dont-cache, cache; OPTIONAL
      },    # OPTIONAL
      IsEnabled => 1,    # OPTIONAL
      Origin    => {
        Name           => 'MyResourceName',
        ProtocolPolicy => 'http-only', # values: http-only, https-only; OPTIONAL
        RegionName     => 'us-east-1'
        , # values: us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2; OPTIONAL
      },    # OPTIONAL
    );
    # Results:
    my $Operation = $UpdateDistributionResult->Operation;
    # Returns a L<Paws::Lightsail::UpdateDistributionResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/lightsail/UpdateDistribution>

An array of objects that describe the per-path cache behavior for the distribution.

An object that describes the cache behavior settings for the distribution.

The "cacheBehaviorSettings" specified in your "UpdateDistributionRequest" will replace your distribution's existing settings.

An object that describes the default cache behavior for the distribution.

REQUIRED DistributionName => Str

The name of the distribution to update.

Use the "GetDistributions" action to get a list of distribution names that you can specify.

Indicates whether to enable the distribution.

An object that describes the origin resource for the distribution, such as a Lightsail instance or load balancer.

The distribution pulls, caches, and serves content from the origin.

This class forms part of Paws, documenting arguments for method UpdateDistribution in Paws::Lightsail

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.