UpdateDistributionRequest
public struct UpdateDistributionRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
An array of objects that describe the per-path cache behavior for the distribution.
Declaration
Swift
public let cacheBehaviors: [CacheBehaviorPerPath]?
-
An object that describes the cache behavior settings for the distribution. The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace your distribution’s existing settings.
Declaration
Swift
public let cacheBehaviorSettings: CacheSettings?
-
An object that describes the default cache behavior for the distribution.
Declaration
Swift
public let defaultCacheBehavior: CacheBehavior?
-
The name of the distribution to update. Use the GetDistributions action to get a list of distribution names that you can specify.
Declaration
Swift
public let distributionName: String
-
Indicates whether to enable the distribution.
Declaration
Swift
public let isEnabled: Bool?
-
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.
Declaration
Swift
public let origin: InputOrigin?
-
Undocumented
Declaration
Swift
public init(cacheBehaviors: [CacheBehaviorPerPath]? = nil, cacheBehaviorSettings: CacheSettings? = nil, defaultCacheBehavior: CacheBehavior? = nil, distributionName: String, isEnabled: Bool? = nil, origin: InputOrigin? = nil)
-
Declaration
Swift
public func validate(name: String) throws