-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon CloudFront SDK. -- -- Amazon CloudFront is a web service that speeds up distribution of your -- static and dynamic web content, for example, .html, .css, .php, image, -- and media files, to end users. CloudFront delivers your content -- through a worldwide network of edge locations. When an end user -- requests content that you're serving with CloudFront, the user is -- routed to the edge location that provides the lowest latency, so -- content is delivered with the best possible performance. If the -- content is already in that edge location, CloudFront delivers it -- immediately. If the content is not currently in that edge location, -- CloudFront retrieves it from an Amazon S3 bucket or an HTTP server -- (for example, a web server) that you have identified as the source for -- the definitive version of your content. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information and sending requests. -- -- Use of lenses is required for constructing and manipulating types. -- This is due to the amount of nesting of AWS types and transparency -- regarding de/serialisation into more palatable Haskell values. The -- provided lenses should be compatible with any of the major lens -- libraries such as lens or lens-family-core. -- -- See Network.AWS.CloudFront and the AWS API Reference to -- get started. @package amazonka-cloudfront @version 1.1.0 module Network.AWS.CloudFront.Types -- | Version 2015-04-17 of the Amazon CloudFront SDK. data CloudFront -- | Prism for InvalidErrorCode' errors. _InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot create anymore cache behaviors for the distribution. _TooManyCacheBehaviors :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for DistributionNotDisabled' errors. _DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError -- | The origin access identity is not valid or doesn't exist. _InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError -- | Processing your request would cause you to exceed the maximum number -- of origin access identities allowed. _TooManyCloudFrontOriginAccessIdentities :: AsError a => Getting (First ServiceError) a ServiceError -- | Processing your request would cause you to exceed the maximum number -- of streaming distributions allowed. _TooManyStreamingDistributions :: AsError a => Getting (First ServiceError) a ServiceError -- | The argument is invalid. _InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified origin access identity does not exist. _NoSuchCloudFrontOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified streaming distribution does not exist. _NoSuchStreamingDistribution :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for CloudFrontOriginAccessIdentityInUse' errors. _CloudFrontOriginAccessIdentityInUse :: AsError a => Getting (First ServiceError) a ServiceError -- | The value of Quantity and the size of Items do not match. _InconsistentQuantities :: AsError a => Getting (First ServiceError) a ServiceError -- | You have exceeded the maximum number of allowable InProgress -- invalidation batch requests, or invalidation objects. _TooManyInvalidationsInProgress :: AsError a => Getting (First ServiceError) a ServiceError -- | Your request contains more CNAMEs than are allowed per distribution. _TooManyDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError -- | 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. _InvalidForwardCookies :: AsError a => Getting (First ServiceError) a ServiceError -- | Your request contains more cookie names in the whitelist than are -- allowed per cache behavior. _TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for BatchTooLarge' errors. _BatchTooLarge :: AsError a => Getting (First ServiceError) a ServiceError -- | The Amazon S3 origin server specified does not refer to a valid Amazon -- S3 bucket. _InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError -- | Your request contains more trusted signers than are allowed per -- distribution. _TooManyTrustedSigners :: AsError a => Getting (First ServiceError) a ServiceError -- | No origin exists with the specified Origin Id. _NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified invalidation does not exist. _NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for StreamingDistributionNotDisabled' errors. _StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidTTLOrder' errors. _InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for TooManyStreamingDistributionCNAMEs' errors. _TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError -- | Processing your request would cause you to exceed the maximum number -- of distributions allowed. _TooManyDistributions :: AsError a => Getting (First ServiceError) a ServiceError -- | 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. _InvalidRequiredProtocol :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for TooManyHeadersInForwardedValues' errors. _TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot create anymore custom ssl certificates. _TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError -- | This operation requires a body. Ensure that the body is present and -- the Content-Type header is set. _MissingBody :: AsError a => Getting (First ServiceError) a ServiceError -- | The caller reference you attempted to create the distribution with is -- associated with another distribution. _DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | Origin and CallerReference cannot be updated. _IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidResponseCode' errors. _InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError -- | The If-Match version is missing or not valid for the distribution. _InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError -- | The precondition given in one or more of the request-header fields -- evaluated to false. _PreconditionFailed :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot specify SSLv3 as the minimum protocol version if you only -- want to support only clients that Support Server Name Indication -- (SNI). _InvalidProtocolSettings :: AsError a => Getting (First ServiceError) a ServiceError -- | One or more of your trusted signers do not exist. _TrustedSignerDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidHeadersForS3Origin' errors. _InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for CNAMEAlreadyExists' errors. _CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for StreamingDistributionAlreadyExists' errors. _StreamingDistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot create anymore origins for the distribution. _TooManyOrigins :: AsError a => Getting (First ServiceError) a ServiceError -- | 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. _CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | The relative path is too big, is not URL-encoded, or does not begin -- with a slash (/). _InvalidRelativePath :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidMinimumProtocolVersion' errors. _InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError -- | Access denied. _AccessDenied :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified distribution does not exist. _NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidViewerCertificate' errors. _InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError -- | The default root object file name is too big or contains an invalid -- character. _InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidLocationCode' errors. _InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidGeoRestrictionParameter' errors. _InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError data GeoRestrictionType Blacklist :: GeoRestrictionType None :: GeoRestrictionType Whitelist :: GeoRestrictionType data ItemSelection ISAll :: ItemSelection ISNone :: ItemSelection ISWhitelist :: ItemSelection data Method Delete :: Method Get :: Method Head :: Method Options :: Method Patch :: Method Post :: Method Put :: Method data MinimumProtocolVersion SSLV3 :: MinimumProtocolVersion TLSV1 :: MinimumProtocolVersion data OriginProtocolPolicy HTTPOnly :: OriginProtocolPolicy MatchViewer :: OriginProtocolPolicy data PriceClass PriceClass100 :: PriceClass PriceClass200 :: PriceClass PriceClassAll :: PriceClass data SSLSupportMethod SNIOnly :: SSLSupportMethod VIP :: SSLSupportMethod data ViewerProtocolPolicy AllowAll :: ViewerProtocolPolicy HTTPSOnly :: ViewerProtocolPolicy RedirectToHTTPS :: ViewerProtocolPolicy -- | 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. -- -- See: activeTrustedSigners smart constructor. data ActiveTrustedSigners -- | Creates a value of ActiveTrustedSigners with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- activeTrustedSigners :: Bool -> Int -> ActiveTrustedSigners -- | A complex type that contains one Signer complex type for each unique -- trusted signer that is specified in the TrustedSigners complex type, -- including trusted signers in the default cache behavior and in all of -- the other cache behaviors. atsItems :: Lens' ActiveTrustedSigners [Signer] -- | Each active trusted signer. atsEnabled :: Lens' ActiveTrustedSigners Bool -- | The number of unique trusted signers included in all cache behaviors. -- For example, if three cache behaviors all list the same three AWS -- accounts, the value of Quantity for ActiveTrustedSigners will be 3. atsQuantity :: Lens' ActiveTrustedSigners Int -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this distribution. -- -- See: aliases smart constructor. data Aliases -- | Creates a value of Aliases with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- aliases :: Int -> Aliases -- | Optional: A complex type that contains CNAME elements, if any, for -- this distribution. If Quantity is 0, you can omit Items. aItems :: Lens' Aliases [Text] -- | The number of CNAMEs, if any, for this distribution. aQuantity :: Lens' Aliases Int -- | 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 may not want -- users to have permission to delete objects from your origin. -- -- See: allowedMethods smart constructor. data AllowedMethods -- | Creates a value of AllowedMethods with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- allowedMethods :: Int -> AllowedMethods -- | Undocumented member. amCachedMethods :: Lens' AllowedMethods (Maybe CachedMethods) -- | The number of HTTP methods that you want CloudFront to forward to your -- origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, -- HEAD and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, -- POST, and DELETE requests). amQuantity :: Lens' AllowedMethods Int -- | A complex type that contains the HTTP methods that you want CloudFront -- to process and forward to your origin. amItems :: Lens' AllowedMethods [Method] -- | A complex type that describes how CloudFront processes requests. You -- can create up to 10 cache behaviors.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 will never be used. 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. -- -- See: cacheBehavior smart constructor. data CacheBehavior -- | Creates a value of CacheBehavior with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cacheBehavior :: Text -> Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> CacheBehavior -- | Undocumented member. cbAllowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods) -- | The maximum amount of time (in seconds) that an object is in a -- CloudFront cache before CloudFront forwards another request to your -- origin to determine whether the object has been updated. The value -- that you specify applies only when your origin adds HTTP headers such -- as Cache-Control max-age, Cache-Control s-maxage, and Expires to -- objects. You can specify a value from 0 to 3,153,600,000 seconds (100 -- years). cbMaxTTL :: Lens' CacheBehavior (Maybe Integer) -- | Indicates whether you want to distribute media files in Microsoft -- Smooth Streaming format using the origin that is associated with this -- cache behavior. If so, specify true; if not, specify false. cbSmoothStreaming :: Lens' CacheBehavior (Maybe Bool) -- | If you don't configure your origin to add a Cache-Control max-age -- directive or an Expires header, DefaultTTL is the default amount of -- time (in seconds) that an object is in a CloudFront cache before -- CloudFront forwards another request to your origin to determine -- whether the object has been updated. The value that you specify -- applies only when your origin does not add HTTP headers such as -- Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. -- You can specify a value from 0 to 3,153,600,000 seconds (100 years). cbDefaultTTL :: Lens' CacheBehavior (Maybe Integer) -- | The pattern (for example, images/*.jpg) that specifies which requests -- you want this cache behavior to apply to. When CloudFront receives an -- end-user request, the requested path is compared with path patterns in -- the order in which cache behaviors are listed in the distribution. The -- path pattern for the default cache behavior is * and cannot be -- changed. If the request for an object does not match the path pattern -- for any cache behaviors, CloudFront applies the behavior in the -- default cache behavior. cbPathPattern :: Lens' CacheBehavior Text -- | The value of ID for the origin that you want CloudFront to route -- requests to when a request matches the path pattern either for a cache -- behavior or for the default cache behavior. cbTargetOriginId :: Lens' CacheBehavior Text -- | A complex type that specifies how CloudFront handles query strings, -- cookies and headers. cbForwardedValues :: Lens' CacheBehavior ForwardedValues -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. cbTrustedSigners :: Lens' CacheBehavior TrustedSigners -- | Use this element to specify the protocol that users can use to access -- the files in the origin specified by TargetOriginId when a request -- matches the path pattern in PathPattern. If you want CloudFront to -- allow end users to use any available protocol, specify allow-all. If -- you want CloudFront to require HTTPS, specify https. If you want -- CloudFront to respond to an HTTP request with an HTTP status code of -- 301 (Moved Permanently) and the HTTPS URL, specify redirect-to-https. -- The viewer then resubmits the request using the HTTPS URL. cbViewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy -- | The minimum amount of time that you want objects to stay in CloudFront -- caches before CloudFront queries your origin to see whether the object -- has been updated.You can specify a value from 0 to 3,153,600,000 -- seconds (100 years). cbMinTTL :: Lens' CacheBehavior Integer -- | A complex type that contains zero or more CacheBehavior elements. -- -- See: cacheBehaviors smart constructor. data CacheBehaviors -- | Creates a value of CacheBehaviors with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cacheBehaviors :: Int -> CacheBehaviors -- | Optional: A complex type that contains cache behaviors for this -- distribution. If Quantity is 0, you can omit Items. cbItems :: Lens' CacheBehaviors [CacheBehavior] -- | The number of cache behaviors for this distribution. cbQuantity :: Lens' CacheBehaviors Int -- | 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 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. -- -- See: cachedMethods smart constructor. data CachedMethods -- | Creates a value of CachedMethods with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cachedMethods :: Int -> CachedMethods -- | The number of HTTP methods for which you want CloudFront to cache -- responses. Valid values are 2 (for caching responses to GET and HEAD -- requests) and 3 (for caching responses to GET, HEAD, and OPTIONS -- requests). cmQuantity :: Lens' CachedMethods Int -- | A complex type that contains the HTTP methods that you want CloudFront -- to cache responses to. cmItems :: Lens' CachedMethods [Method] -- | CloudFront origin access identity. -- -- See: cloudFrontOriginAccessIdentity smart constructor. data CloudFrontOriginAccessIdentity -- | Creates a value of CloudFrontOriginAccessIdentity with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity -- | The current configuration information for the identity. cfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig) -- | The ID for the origin access identity. For example: E74FTE3AJFJ256A. cfoaiId :: Lens' CloudFrontOriginAccessIdentity Text -- | The Amazon S3 canonical user ID for the origin access identity, which -- you use when giving the origin access identity read permission to an -- object in Amazon S3. cfoaiS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text -- | Origin access identity configuration. -- -- See: cloudFrontOriginAccessIdentityConfig smart -- constructor. data CloudFrontOriginAccessIdentityConfig -- | Creates a value of CloudFrontOriginAccessIdentityConfig with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig -- | A unique number that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the -- CloudFrontOriginAccessIdentityConfig object), a new origin access -- identity is created. If the CallerReference is a value you already -- sent in a previous request to create an identity, and the content of -- the CloudFrontOriginAccessIdentityConfig is identical to the original -- request (ignoring white space), the response includes the same -- information returned to the original request. 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. cfoaicCallerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text -- | Any comments you want to include about the origin access identity. cfoaicComment :: Lens' CloudFrontOriginAccessIdentityConfig Text -- | The CloudFrontOriginAccessIdentityList type. -- -- See: cloudFrontOriginAccessIdentityList smart -- constructor. data CloudFrontOriginAccessIdentityList -- | Creates a value of CloudFrontOriginAccessIdentityList with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList -- | A complex type that contains one CloudFrontOriginAccessIdentitySummary -- element for each origin access identity that was created by the -- current AWS account. cfoailItems :: Lens' CloudFrontOriginAccessIdentityList [CloudFrontOriginAccessIdentitySummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- origin access identities where they left off. cfoailNextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text) -- | The value you provided for the Marker request parameter. cfoailMarker :: Lens' CloudFrontOriginAccessIdentityList Text -- | The value you provided for the MaxItems request parameter. cfoailMaxItems :: Lens' CloudFrontOriginAccessIdentityList Int -- | A flag that indicates whether more origin access identities remain to -- be listed. If your results were truncated, you can make a follow-up -- pagination request using the Marker request parameter to retrieve more -- items in the list. cfoailIsTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool -- | The number of CloudFront origin access identities that were created by -- the current AWS account. cfoailQuantity :: Lens' CloudFrontOriginAccessIdentityList Int -- | Summary of the information about a CloudFront origin access identity. -- -- See: cloudFrontOriginAccessIdentitySummary smart -- constructor. data CloudFrontOriginAccessIdentitySummary -- | Creates a value of CloudFrontOriginAccessIdentitySummary with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary -- | The ID for the origin access identity. For example: E74FTE3AJFJ256A. cfoaisId :: Lens' CloudFrontOriginAccessIdentitySummary Text -- | The Amazon S3 canonical user ID for the origin access identity, which -- you use when giving the origin access identity read permission to an -- object in Amazon S3. cfoaisS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text -- | The comment for this origin access identity, as originally specified -- when created. cfoaisComment :: Lens' CloudFrontOriginAccessIdentitySummary Text -- | 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. -- -- See: cookieNames smart constructor. data CookieNames -- | Creates a value of CookieNames with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cookieNames :: Int -> CookieNames -- | Optional: A complex type that contains whitelisted cookies for this -- cache behavior. If Quantity is 0, you can omit Items. cnItems :: Lens' CookieNames [Text] -- | The number of whitelisted cookies for this cache behavior. cnQuantity :: Lens' CookieNames Int -- | A complex type that specifies the cookie preferences associated with -- this cache behavior. -- -- See: cookiePreference smart constructor. data CookiePreference -- | Creates a value of CookiePreference with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cookiePreference :: ItemSelection -> CookiePreference -- | 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. cpWhitelistedNames :: Lens' CookiePreference (Maybe CookieNames) -- | Use this element to specify whether you want CloudFront to forward -- cookies to the origin that is associated with this cache behavior. You -- can specify all, none or whitelist. If you choose All, CloudFront -- forwards all cookies regardless of how many your application uses. cpForward :: Lens' CookiePreference ItemSelection -- | 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. -- -- See: customErrorResponse smart constructor. data CustomErrorResponse -- | Creates a value of CustomErrorResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- customErrorResponse :: Int -> CustomErrorResponse -- | The path of the custom error page (for example, /custom_404.html). The -- path is relative to the distribution and must begin with a slash (/). -- If the path includes any non-ASCII characters or unsafe characters as -- defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode -- those characters. Do not URL encode any other characters in the path, -- or CloudFront will not return the custom error page to the viewer. ceResponsePagePath :: Lens' CustomErrorResponse (Maybe Text) -- | The HTTP status code that you want CloudFront to return with the -- custom error page to the viewer. For a list of HTTP status codes that -- you can replace, see CloudFront Documentation. ceResponseCode :: Lens' CustomErrorResponse (Maybe Text) -- | The minimum amount of time you want HTTP error codes to stay in -- CloudFront caches before CloudFront queries your origin to see whether -- the object has been updated. You can specify a value from 0 to -- 31,536,000. ceErrorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer) -- | The 4xx or 5xx HTTP status code that you want to customize. For a list -- of HTTP status codes that you can customize, see CloudFront -- documentation. ceErrorCode :: Lens' CustomErrorResponse Int -- | A complex type that contains zero or more CustomErrorResponse -- elements. -- -- See: customErrorResponses smart constructor. data CustomErrorResponses -- | Creates a value of CustomErrorResponses with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- customErrorResponses :: Int -> CustomErrorResponses -- | Optional: A complex type that contains custom error responses for this -- distribution. If Quantity is 0, you can omit Items. cerItems :: Lens' CustomErrorResponses [CustomErrorResponse] -- | The number of custom error responses for this distribution. cerQuantity :: Lens' CustomErrorResponses Int -- | A customer origin. -- -- See: customOriginConfig smart constructor. data CustomOriginConfig -- | Creates a value of CustomOriginConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- customOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig -- | The HTTP port the custom origin listens on. cocHTTPPort :: Lens' CustomOriginConfig Int -- | The HTTPS port the custom origin listens on. cocHTTPSPort :: Lens' CustomOriginConfig Int -- | The origin protocol policy to apply to your origin. cocOriginProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy -- | 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. -- -- See: defaultCacheBehavior smart constructor. data DefaultCacheBehavior -- | Creates a value of DefaultCacheBehavior with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- defaultCacheBehavior :: Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> DefaultCacheBehavior -- | Undocumented member. dcbAllowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods) -- | The maximum amount of time (in seconds) that an object is in a -- CloudFront cache before CloudFront forwards another request to your -- origin to determine whether the object has been updated. The value -- that you specify applies only when your origin adds HTTP headers such -- as Cache-Control max-age, Cache-Control s-maxage, and Expires to -- objects. You can specify a value from 0 to 3,153,600,000 seconds (100 -- years). dcbMaxTTL :: Lens' DefaultCacheBehavior (Maybe Integer) -- | Indicates whether you want to distribute media files in Microsoft -- Smooth Streaming format using the origin that is associated with this -- cache behavior. If so, specify true; if not, specify false. dcbSmoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool) -- | If you don't configure your origin to add a Cache-Control max-age -- directive or an Expires header, DefaultTTL is the default amount of -- time (in seconds) that an object is in a CloudFront cache before -- CloudFront forwards another request to your origin to determine -- whether the object has been updated. The value that you specify -- applies only when your origin does not add HTTP headers such as -- Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. -- You can specify a value from 0 to 3,153,600,000 seconds (100 years). dcbDefaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer) -- | The value of ID for the origin that you want CloudFront to route -- requests to when a request matches the path pattern either for a cache -- behavior or for the default cache behavior. dcbTargetOriginId :: Lens' DefaultCacheBehavior Text -- | A complex type that specifies how CloudFront handles query strings, -- cookies and headers. dcbForwardedValues :: Lens' DefaultCacheBehavior ForwardedValues -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. dcbTrustedSigners :: Lens' DefaultCacheBehavior TrustedSigners -- | Use this element to specify the protocol that users can use to access -- the files in the origin specified by TargetOriginId when a request -- matches the path pattern in PathPattern. If you want CloudFront to -- allow end users to use any available protocol, specify allow-all. If -- you want CloudFront to require HTTPS, specify https. If you want -- CloudFront to respond to an HTTP request with an HTTP status code of -- 301 (Moved Permanently) and the HTTPS URL, specify redirect-to-https. -- The viewer then resubmits the request using the HTTPS URL. dcbViewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy -- | The minimum amount of time that you want objects to stay in CloudFront -- caches before CloudFront queries your origin to see whether the object -- has been updated.You can specify a value from 0 to 3,153,600,000 -- seconds (100 years). dcbMinTTL :: Lens' DefaultCacheBehavior Integer -- | A distribution. -- -- See: distribution smart constructor. data Distribution -- | Creates a value of Distribution with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distribution :: Text -> Text -> UTCTime -> Int -> Text -> ActiveTrustedSigners -> DistributionConfig -> Distribution -- | The identifier for the distribution. For example: EDFDVBD632BHDS5. dId :: Lens' Distribution Text -- | This response element indicates the current status of the -- distribution. When the status is Deployed, the distribution's -- information is fully propagated throughout the Amazon CloudFront -- system. dStatus :: Lens' Distribution Text -- | The date and time the distribution was last modified. dLastModifiedTime :: Lens' Distribution UTCTime -- | The number of invalidation batches currently in progress. dInProgressInvalidationBatches :: Lens' Distribution Int -- | The domain name corresponding to the distribution. For example: -- d604721fxaaqy9.cloudfront.net. dDomainName :: Lens' Distribution Text -- | CloudFront automatically adds this element to the response only if -- you've set up the distribution to serve private content with signed -- URLs. The element lists the key pair IDs that CloudFront is aware of -- for each trusted signer. The Signer child element lists the AWS -- account number of the trusted signer (or an empty Self element if the -- signer is you). The Signer element also includes the IDs of any active -- key pairs associated with the trusted signer's AWS account. If no -- KeyPairId element appears for a Signer, that signer can't create -- working signed URLs. dActiveTrustedSigners :: Lens' Distribution ActiveTrustedSigners -- | The current configuration information for the distribution. dDistributionConfig :: Lens' Distribution DistributionConfig -- | A distribution Configuration. -- -- See: distributionConfig smart constructor. data DistributionConfig -- | Creates a value of DistributionConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distributionConfig :: Text -> Origins -> DefaultCacheBehavior -> Text -> Bool -> DistributionConfig -- | The object that you want CloudFront to return (for example, -- index.html) when an end user requests the root URL for your -- distribution (http://www.example.com) instead of an object in your -- distribution (http://www.example.com/index.html). Specifying a default -- root object avoids exposing the contents of your distribution. If you -- don't want to specify a default root object when you create a -- distribution, include an empty DefaultRootObject element. To delete -- the default root object from an existing distribution, update the -- distribution configuration and include an empty DefaultRootObject -- element. To replace the default root object, update the distribution -- configuration and specify the new object. dcDefaultRootObject :: Lens' DistributionConfig (Maybe Text) -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this distribution. dcAliases :: Lens' DistributionConfig (Maybe Aliases) -- | A complex type that contains zero or more CustomErrorResponse -- elements. dcCustomErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses) -- | A complex type that contains information about price class for this -- distribution. dcPriceClass :: Lens' DistributionConfig (Maybe PriceClass) -- | Undocumented member. dcViewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate) -- | Undocumented member. dcRestrictions :: Lens' DistributionConfig (Maybe Restrictions) -- | A complex type that contains zero or more CacheBehavior elements. dcCacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) -- | A complex type that controls whether access logs are written for the -- distribution. dcLogging :: Lens' DistributionConfig (Maybe LoggingConfig) -- | A unique number that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the -- DistributionConfig object), a new distribution is created. If the -- CallerReference is a value you already sent in a previous request to -- create a distribution, and the content of the DistributionConfig is -- identical to the original request (ignoring white space), the response -- includes the same information returned to the original request. If the -- CallerReference is a value you already sent in a previous request to -- create a distribution but the content of the DistributionConfig is -- different from the original request, CloudFront returns a -- DistributionAlreadyExists error. dcCallerReference :: Lens' DistributionConfig Text -- | A complex type that contains information about origins for this -- distribution. dcOrigins :: Lens' DistributionConfig Origins -- | 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. dcDefaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior -- | Any comments you want to include about the distribution. dcComment :: Lens' DistributionConfig Text -- | Whether the distribution is enabled to accept end user requests for -- content. dcEnabled :: Lens' DistributionConfig Bool -- | A distribution list. -- -- See: distributionList smart constructor. data DistributionList -- | Creates a value of DistributionList with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distributionList :: Text -> Int -> Bool -> Int -> DistributionList -- | A complex type that contains one DistributionSummary element for each -- distribution that was created by the current AWS account. dlItems :: Lens' DistributionList [DistributionSummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- distributions where they left off. dlNextMarker :: Lens' DistributionList (Maybe Text) -- | The value you provided for the Marker request parameter. dlMarker :: Lens' DistributionList Text -- | The value you provided for the MaxItems request parameter. dlMaxItems :: Lens' DistributionList Int -- | A flag that indicates whether more distributions remain to be listed. -- If your results were truncated, you can make a follow-up pagination -- request using the Marker request parameter to retrieve more -- distributions in the list. dlIsTruncated :: Lens' DistributionList Bool -- | The number of distributions that were created by the current AWS -- account. dlQuantity :: Lens' DistributionList Int -- | A summary of the information for an Amazon CloudFront distribution. -- -- See: distributionSummary smart constructor. data DistributionSummary -- | Creates a value of DistributionSummary with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distributionSummary :: Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> DistributionSummary -- | The identifier for the distribution. For example: EDFDVBD632BHDS5. dsId :: Lens' DistributionSummary Text -- | This response element indicates the current status of the -- distribution. When the status is Deployed, the distribution's -- information is fully propagated throughout the Amazon CloudFront -- system. dsStatus :: Lens' DistributionSummary Text -- | The date and time the distribution was last modified. dsLastModifiedTime :: Lens' DistributionSummary UTCTime -- | The domain name corresponding to the distribution. For example: -- d604721fxaaqy9.cloudfront.net. dsDomainName :: Lens' DistributionSummary Text -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this distribution. dsAliases :: Lens' DistributionSummary Aliases -- | A complex type that contains information about origins for this -- distribution. dsOrigins :: Lens' DistributionSummary Origins -- | 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. dsDefaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior -- | A complex type that contains zero or more CacheBehavior elements. dsCacheBehaviors :: Lens' DistributionSummary CacheBehaviors -- | A complex type that contains zero or more CustomErrorResponses -- elements. dsCustomErrorResponses :: Lens' DistributionSummary CustomErrorResponses -- | The comment originally specified when this distribution was created. dsComment :: Lens' DistributionSummary Text -- | Undocumented member. dsPriceClass :: Lens' DistributionSummary PriceClass -- | Whether the distribution is enabled to accept end user requests for -- content. dsEnabled :: Lens' DistributionSummary Bool -- | Undocumented member. dsViewerCertificate :: Lens' DistributionSummary ViewerCertificate -- | Undocumented member. dsRestrictions :: Lens' DistributionSummary Restrictions -- | A complex type that specifies how CloudFront handles query strings, -- cookies and headers. -- -- See: forwardedValues smart constructor. data ForwardedValues -- | Creates a value of ForwardedValues with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- forwardedValues :: Bool -> CookiePreference -> ForwardedValues -- | A complex type that specifies the Headers, if any, that you want -- CloudFront to vary upon for this cache behavior. fvHeaders :: Lens' ForwardedValues (Maybe Headers) -- | Indicates whether you want CloudFront to forward query strings to the -- origin that is associated with this cache behavior. If so, specify -- true; if not, specify false. fvQueryString :: Lens' ForwardedValues Bool -- | A complex type that specifies how CloudFront handles cookies. fvCookies :: Lens' ForwardedValues CookiePreference -- | A complex type that controls the countries in which your content is -- distributed. For more information about geo restriction, go to -- Customizing Error Responses in the Amazon CloudFront Developer Guide. -- CloudFront determines the location of your users using MaxMind GeoIP -- databases. For information about the accuracy of these databases, see -- How accurate are your GeoIP databases? on the MaxMind website. -- -- See: geoRestriction smart constructor. data GeoRestriction -- | Creates a value of GeoRestriction with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- geoRestriction :: GeoRestrictionType -> Int -> GeoRestriction -- | A complex type that contains a Location element for each country in -- which you want CloudFront either to distribute your content -- (whitelist) or not distribute your content (blacklist). The Location -- element is a two-letter, uppercase country code for a country that you -- want to include in your blacklist or whitelist. Include one Location -- element for each country. CloudFront and MaxMind both use ISO 3166 -- country codes. For the current list of countries and the corresponding -- codes, see ISO 3166-1-alpha-2 code on the International Organization -- for Standardization website. You can also refer to the country list in -- the CloudFront console, which includes both country names and codes. grItems :: Lens' GeoRestriction [Text] -- | The method that you want to use to restrict distribution of your -- content by country: - none: No geo restriction is enabled, meaning -- access to content is not restricted by client geo location. - -- blacklist: The Location elements specify the countries in which you do -- not want CloudFront to distribute your content. - whitelist: The -- Location elements specify the countries in which you want CloudFront -- to distribute your content. grRestrictionType :: Lens' GeoRestriction GeoRestrictionType -- | When geo restriction is enabled, this is the number of countries in -- your whitelist or blacklist. Otherwise, when it is not enabled, -- Quantity is 0, and you can omit Items. grQuantity :: Lens' GeoRestriction Int -- | 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 given -- object based on the header values in viewer requests; this is known as -- varying on headers. 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 vary on the Product header. -- CloudFront forwards the Product header to the origin and caches the -- response from the origin once for each header value. -- -- See: headers smart constructor. data Headers -- | Creates a value of Headers with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- headers :: Int -> Headers -- | Optional: A complex type that contains a Name element for each header -- that you want CloudFront to forward to the origin and to vary on for -- this cache behavior. If Quantity is 0, omit Items. hItems :: Lens' Headers [Text] -- | The number of different headers that you want CloudFront to forward to -- the origin and to vary on for this cache behavior. The maximum number -- of headers that you can specify by name is 10. If you want CloudFront -- to forward all headers to the origin and vary on all of them, specify -- 1 for Quantity and * for Name. If you don't want CloudFront to forward -- any additional headers to the origin or to vary on any headers, -- specify 0 for Quantity and omit Items. hQuantity :: Lens' Headers Int -- | An invalidation. -- -- See: invalidation smart constructor. data Invalidation -- | Creates a value of Invalidation with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation -- | The identifier for the invalidation request. For example: -- IDFDVBD632BHDS5. iId :: Lens' Invalidation Text -- | The status of the invalidation request. When the invalidation batch is -- finished, the status is Completed. iStatus :: Lens' Invalidation Text -- | The date and time the invalidation request was first made. iCreateTime :: Lens' Invalidation UTCTime -- | The current invalidation information for the batch request. iInvalidationBatch :: Lens' Invalidation InvalidationBatch -- | An invalidation batch. -- -- See: invalidationBatch smart constructor. data InvalidationBatch -- | Creates a value of InvalidationBatch with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidationBatch :: Paths -> Text -> InvalidationBatch -- | The path of the object to invalidate. The path is relative to the -- distribution and must begin with a slash (/). You must enclose each -- invalidation object with the Path element tags. If the path includes -- non-ASCII characters or unsafe characters as defined in RFC 1783 -- (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do -- not URL encode any other characters in the path, or CloudFront will -- not invalidate the old version of the updated object. ibPaths :: Lens' InvalidationBatch Paths -- | A unique name that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the Path object), a -- new distribution is created. If the CallerReference is a value you -- already sent in a previous request to create an invalidation batch, -- and the content of each Path element is identical to the original -- request, the response includes the same information returned to the -- original request. If the CallerReference is a value you already sent -- in a previous request to create a distribution but the content of any -- Path is different from the original request, CloudFront returns an -- InvalidationBatchAlreadyExists error. ibCallerReference :: Lens' InvalidationBatch Text -- | An invalidation list. -- -- See: invalidationList smart constructor. data InvalidationList -- | Creates a value of InvalidationList with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidationList :: Text -> Int -> Bool -> Int -> InvalidationList -- | A complex type that contains one InvalidationSummary element for each -- invalidation batch that was created by the current AWS account. ilItems :: Lens' InvalidationList [InvalidationSummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- invalidation batches where they left off. ilNextMarker :: Lens' InvalidationList (Maybe Text) -- | The value you provided for the Marker request parameter. ilMarker :: Lens' InvalidationList Text -- | The value you provided for the MaxItems request parameter. ilMaxItems :: Lens' InvalidationList Int -- | A flag that indicates whether more invalidation batch requests remain -- to be listed. If your results were truncated, you can make a follow-up -- pagination request using the Marker request parameter to retrieve more -- invalidation batches in the list. ilIsTruncated :: Lens' InvalidationList Bool -- | The number of invalidation batches that were created by the current -- AWS account. ilQuantity :: Lens' InvalidationList Int -- | Summary of an invalidation request. -- -- See: invalidationSummary smart constructor. data InvalidationSummary -- | Creates a value of InvalidationSummary with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary -- | The unique ID for an invalidation request. isId :: Lens' InvalidationSummary Text -- | Undocumented member. isCreateTime :: Lens' InvalidationSummary UTCTime -- | The status of an invalidation request. isStatus :: Lens' InvalidationSummary Text -- | A complex type that lists the active CloudFront key pairs, if any, -- that are associated with AwsAccountNumber. -- -- See: keyPairIds smart constructor. data KeyPairIds -- | Creates a value of KeyPairIds with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- keyPairIds :: Int -> KeyPairIds -- | A complex type that lists the active CloudFront key pairs, if any, -- that are associated with AwsAccountNumber. kpiItems :: Lens' KeyPairIds [Text] -- | The number of active CloudFront key pairs for AwsAccountNumber. kpiQuantity :: Lens' KeyPairIds Int -- | A complex type that controls whether access logs are written for the -- distribution. -- -- See: loggingConfig smart constructor. data LoggingConfig -- | Creates a value of LoggingConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- loggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig -- | Specifies whether you want CloudFront to save access logs to an Amazon -- S3 bucket. If you do not want to enable logging when you create a -- distribution or if you want to disable logging for an existing -- distribution, specify false for Enabled, and specify empty Bucket and -- Prefix elements. If you specify false for Enabled but you specify -- values for Bucket, prefix and IncludeCookies, the values are -- automatically deleted. lcEnabled :: Lens' LoggingConfig Bool -- | Specifies whether you want CloudFront to include cookies in access -- logs, specify true for IncludeCookies. If you choose to include -- cookies in logs, CloudFront logs all cookies regardless of how you -- configure the cache behaviors for this distribution. If you do not -- want to include cookies when you create a distribution or if you want -- to disable include cookies for an existing distribution, specify false -- for IncludeCookies. lcIncludeCookies :: Lens' LoggingConfig Bool -- | The Amazon S3 bucket to store the access logs in, for example, -- myawslogbucket.s3.amazonaws.com. lcBucket :: Lens' LoggingConfig Text -- | An optional string that you want CloudFront to prefix to the access -- log filenames for this distribution, for example, myprefix/. If you -- want to enable logging, but you do not want to specify a prefix, you -- still must include an empty Prefix element in the Logging element. lcPrefix :: Lens' LoggingConfig Text -- | 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. -- -- See: origin smart constructor. data Origin -- | Creates a value of Origin with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- origin :: Text -> Text -> Origin -- | A complex type that contains information about a custom origin. If the -- origin is an Amazon S3 bucket, use the S3OriginConfig element instead. oCustomOriginConfig :: Lens' Origin (Maybe CustomOriginConfig) -- | A complex type that contains information about the Amazon S3 origin. -- If the origin is a custom origin, use the CustomOriginConfig element -- instead. oS3OriginConfig :: Lens' Origin (Maybe S3OriginConfig) -- | An optional element that causes CloudFront to request your content -- from a directory in your Amazon S3 bucket or your custom origin. When -- you include the OriginPath element, specify the directory name, -- beginning with a /. CloudFront appends the directory name to the value -- of DomainName. oOriginPath :: Lens' Origin (Maybe Text) -- | A unique identifier for the origin. The value of Id must be unique -- within the distribution. You use the value of Id when you create a -- cache behavior. The Id identifies the origin that CloudFront routes a -- request to when the request matches the path pattern for that cache -- behavior. oId :: Lens' Origin Text -- | Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you -- want CloudFront to get objects for this origin, for example, -- myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for -- the HTTP server from which you want CloudFront to get objects for this -- origin, for example, www.example.com. oDomainName :: Lens' Origin Text -- | A complex type that contains information about origins for this -- distribution. -- -- See: origins smart constructor. data Origins -- | Creates a value of Origins with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- origins :: Int -> Origins -- | A complex type that contains origins for this distribution. oItems :: Lens' Origins (Maybe (NonEmpty Origin)) -- | The number of origins for this distribution. oQuantity :: Lens' Origins Int -- | A complex type that contains information about the objects that you -- want to invalidate. -- -- See: paths smart constructor. data Paths -- | Creates a value of Paths with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- paths :: Int -> Paths -- | A complex type that contains a list of the objects that you want to -- invalidate. pItems :: Lens' Paths [Text] -- | The number of objects that you want to invalidate. pQuantity :: Lens' Paths Int -- | A complex type that identifies ways in which you want to restrict -- distribution of your content. -- -- See: restrictions smart constructor. data Restrictions -- | Creates a value of Restrictions with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- restrictions :: GeoRestriction -> Restrictions -- | Undocumented member. rGeoRestriction :: Lens' Restrictions GeoRestriction -- | A complex type that contains information about the Amazon S3 bucket -- from which you want CloudFront to get your media files for -- distribution. -- -- See: s3Origin smart constructor. data S3Origin -- | Creates a value of S3Origin with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- s3Origin :: Text -> Text -> S3Origin -- | The DNS name of the S3 origin. soDomainName :: Lens' S3Origin Text -- | Your S3 origin's origin access identity. soOriginAccessIdentity :: Lens' S3Origin Text -- | A complex type that contains information about the Amazon S3 origin. -- If the origin is a custom origin, use the CustomOriginConfig element -- instead. -- -- See: s3OriginConfig smart constructor. data S3OriginConfig -- | Creates a value of S3OriginConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- s3OriginConfig :: Text -> S3OriginConfig -- | The CloudFront origin access identity to associate with the origin. -- Use an origin access identity to configure the origin so that end -- users can only access objects in an Amazon S3 bucket through -- CloudFront. If you want end users to be able to access objects using -- either the CloudFront URL or the Amazon S3 URL, specify an empty -- OriginAccessIdentity element. To delete the origin access identity -- from an existing distribution, update the distribution configuration -- and include an empty OriginAccessIdentity element. To replace the -- origin access identity, update the distribution configuration and -- specify the new origin access identity. Use the format -- origin-access-identity/cloudfront/Id where Id is the value that -- CloudFront returned in the Id element when you created the origin -- access identity. socOriginAccessIdentity :: Lens' S3OriginConfig Text -- | 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. -- -- See: signer smart constructor. data Signer -- | Creates a value of Signer with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- signer :: Signer -- | Specifies an AWS account that can create signed URLs. Values: self, -- which indicates that the AWS account that was used to create the -- distribution can created signed URLs, or an AWS account number. Omit -- the dashes in the account number. sAWSAccountNumber :: Lens' Signer (Maybe Text) -- | A complex type that lists the active CloudFront key pairs, if any, -- that are associated with AwsAccountNumber. sKeyPairIds :: Lens' Signer (Maybe KeyPairIds) -- | A streaming distribution. -- -- See: streamingDistribution smart constructor. data StreamingDistribution -- | Creates a value of StreamingDistribution with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistribution :: Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution -- | The date and time the distribution was last modified. sdLastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime) -- | The identifier for the streaming distribution. For example: -- EGTXBD79H29TRA8. sdId :: Lens' StreamingDistribution Text -- | The current status of the streaming distribution. When the status is -- Deployed, the distribution's information is fully propagated -- throughout the Amazon CloudFront system. sdStatus :: Lens' StreamingDistribution Text -- | The domain name corresponding to the streaming distribution. For -- example: s5c39gqb8ow64r.cloudfront.net. sdDomainName :: Lens' StreamingDistribution Text -- | CloudFront automatically adds this element to the response only if -- you've set up the distribution to serve private content with signed -- URLs. The element lists the key pair IDs that CloudFront is aware of -- for each trusted signer. The Signer child element lists the AWS -- account number of the trusted signer (or an empty Self element if the -- signer is you). The Signer element also includes the IDs of any active -- key pairs associated with the trusted signer's AWS account. If no -- KeyPairId element appears for a Signer, that signer can't create -- working signed URLs. sdActiveTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners -- | The current configuration information for the streaming distribution. sdStreamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig -- | The configuration for the streaming distribution. -- -- See: streamingDistributionConfig smart constructor. data StreamingDistributionConfig -- | Creates a value of StreamingDistributionConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistributionConfig :: Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this streaming distribution. sdcAliases :: Lens' StreamingDistributionConfig (Maybe Aliases) -- | A complex type that contains information about price class for this -- streaming distribution. sdcPriceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) -- | A complex type that controls whether access logs are written for the -- streaming distribution. sdcLogging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) -- | A unique number that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the -- StreamingDistributionConfig object), a new streaming distribution is -- created. If the CallerReference is a value you already sent in a -- previous request to create a streaming distribution, and the content -- of the StreamingDistributionConfig is identical to the original -- request (ignoring white space), the response includes the same -- information returned to the original request. If the CallerReference -- is a value you already sent in a previous request to create a -- streaming distribution but the content of the -- StreamingDistributionConfig is different from the original request, -- CloudFront returns a DistributionAlreadyExists error. sdcCallerReference :: Lens' StreamingDistributionConfig Text -- | A complex type that contains information about the Amazon S3 bucket -- from which you want CloudFront to get your media files for -- distribution. sdcS3Origin :: Lens' StreamingDistributionConfig S3Origin -- | Any comments you want to include about the streaming distribution. sdcComment :: Lens' StreamingDistributionConfig Text -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. sdcTrustedSigners :: Lens' StreamingDistributionConfig TrustedSigners -- | Whether the streaming distribution is enabled to accept end user -- requests for content. sdcEnabled :: Lens' StreamingDistributionConfig Bool -- | A streaming distribution list. -- -- See: streamingDistributionList smart constructor. data StreamingDistributionList -- | Creates a value of StreamingDistributionList with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList -- | A complex type that contains one StreamingDistributionSummary element -- for each distribution that was created by the current AWS account. sdlItems :: Lens' StreamingDistributionList [StreamingDistributionSummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- streaming distributions where they left off. sdlNextMarker :: Lens' StreamingDistributionList (Maybe Text) -- | The value you provided for the Marker request parameter. sdlMarker :: Lens' StreamingDistributionList Text -- | The value you provided for the MaxItems request parameter. sdlMaxItems :: Lens' StreamingDistributionList Int -- | A flag that indicates whether more streaming distributions remain to -- be listed. If your results were truncated, you can make a follow-up -- pagination request using the Marker request parameter to retrieve more -- distributions in the list. sdlIsTruncated :: Lens' StreamingDistributionList Bool -- | The number of streaming distributions that were created by the current -- AWS account. sdlQuantity :: Lens' StreamingDistributionList Int -- | A summary of the information for an Amazon CloudFront streaming -- distribution. -- -- See: streamingDistributionSummary smart constructor. data StreamingDistributionSummary -- | Creates a value of StreamingDistributionSummary with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistributionSummary :: Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary -- | The identifier for the distribution. For example: EDFDVBD632BHDS5. sdsId :: Lens' StreamingDistributionSummary Text -- | Indicates the current status of the distribution. When the status is -- Deployed, the distribution's information is fully propagated -- throughout the Amazon CloudFront system. sdsStatus :: Lens' StreamingDistributionSummary Text -- | The date and time the distribution was last modified. sdsLastModifiedTime :: Lens' StreamingDistributionSummary UTCTime -- | The domain name corresponding to the distribution. For example: -- d604721fxaaqy9.cloudfront.net. sdsDomainName :: Lens' StreamingDistributionSummary Text -- | A complex type that contains information about the Amazon S3 bucket -- from which you want CloudFront to get your media files for -- distribution. sdsS3Origin :: Lens' StreamingDistributionSummary S3Origin -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this streaming distribution. sdsAliases :: Lens' StreamingDistributionSummary Aliases -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. sdsTrustedSigners :: Lens' StreamingDistributionSummary TrustedSigners -- | The comment originally specified when this distribution was created. sdsComment :: Lens' StreamingDistributionSummary Text -- | Undocumented member. sdsPriceClass :: Lens' StreamingDistributionSummary PriceClass -- | Whether the distribution is enabled to accept end user requests for -- content. sdsEnabled :: Lens' StreamingDistributionSummary Bool -- | A complex type that controls whether access logs are written for this -- streaming distribution. -- -- See: streamingLoggingConfig smart constructor. data StreamingLoggingConfig -- | Creates a value of StreamingLoggingConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig -- | Specifies whether you want CloudFront to save access logs to an Amazon -- S3 bucket. If you do not want to enable logging when you create a -- streaming distribution or if you want to disable logging for an -- existing streaming distribution, specify false for Enabled, and -- specify empty Bucket and Prefix elements. If you specify false for -- Enabled but you specify values for Bucket and Prefix, the values are -- automatically deleted. slcEnabled :: Lens' StreamingLoggingConfig Bool -- | The Amazon S3 bucket to store the access logs in, for example, -- myawslogbucket.s3.amazonaws.com. slcBucket :: Lens' StreamingLoggingConfig Text -- | An optional string that you want CloudFront to prefix to the access -- log filenames for this streaming distribution, for example, myprefix/. -- If you want to enable logging, but you do not want to specify a -- prefix, you still must include an empty Prefix element in the Logging -- element. slcPrefix :: Lens' StreamingLoggingConfig Text -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. -- -- See: trustedSigners smart constructor. data TrustedSigners -- | Creates a value of TrustedSigners with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedSigners :: Bool -> Int -> TrustedSigners -- | Optional: A complex type that contains trusted signers for this cache -- behavior. If Quantity is 0, you can omit Items. tsItems :: Lens' TrustedSigners [Text] -- | Specifies whether you want to require end users to use signed URLs to -- access the files specified by PathPattern and TargetOriginId. tsEnabled :: Lens' TrustedSigners Bool -- | The number of trusted signers for this cache behavior. tsQuantity :: Lens' TrustedSigners Int -- | A complex type that contains information about viewer certificates for -- this distribution. -- -- See: viewerCertificate smart constructor. data ViewerCertificate -- | Creates a value of ViewerCertificate with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- viewerCertificate :: ViewerCertificate -- | If you specify a value for IAMCertificateId, you must also specify how -- you want CloudFront to serve HTTPS requests. Valid values are vip and -- sni-only. If you specify vip, CloudFront uses dedicated IP addresses -- for your content and can respond to HTTPS requests from any viewer. -- However, you must request permission to use this feature, and you -- incur additional monthly charges. If you specify sni-only, CloudFront -- can only respond to HTTPS requests from viewers that support Server -- Name Indication (SNI). All modern browsers support SNI, but some -- browsers still in use don't support SNI. Do not specify a value for -- SSLSupportMethod if you specified true for -- CloudFrontDefaultCertificate. vcSSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod) -- | Specify the minimum version of the SSL protocol that you want -- CloudFront to use, SSLv3 or TLSv1, for HTTPS connections. CloudFront -- will serve your objects only to browsers or devices that support at -- least the SSL version that you specify. The TLSv1 protocol is more -- secure, so we recommend that you specify SSLv3 only if your users are -- using browsers or devices that don't support TLSv1. If you're using a -- custom certificate (if you specify a value for IAMCertificateId) and -- if you're using dedicated IP (if you specify vip for -- SSLSupportMethod), you can choose SSLv3 or TLSv1 as the -- MinimumProtocolVersion. If you're using a custom certificate (if you -- specify a value for IAMCertificateId) and if you're using SNI (if you -- specify sni-only for SSLSupportMethod), you must specify TLSv1 for -- MinimumProtocolVersion. vcMinimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion) -- | If you want viewers to use HTTPS to request your objects and you're -- using an alternate domain name in your object URLs (for example, -- https://example.com/logo.jpg), specify the IAM certificate identifier -- of the custom viewer certificate for this distribution. Specify either -- this value or CloudFrontDefaultCertificate. vcIAMCertificateId :: Lens' ViewerCertificate (Maybe Text) -- | If you want viewers to use HTTPS to request your objects and you're -- using the CloudFront domain name of your distribution in your object -- URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg), -- set to true. Omit this value if you are setting an IAMCertificateId. vcCloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool) instance Network.AWS.Types.AWSService Network.AWS.CloudFront.Types.CloudFront module Network.AWS.CloudFront.Waiters -- | List distributions. -- -- See: AWS API Reference for ListDistributions. module Network.AWS.CloudFront.ListDistributions -- | Creates a value of ListDistributions with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listDistributions :: ListDistributions -- | The request to list your distributions. -- -- See: listDistributions smart constructor. data ListDistributions -- | The maximum number of distributions you want in the response body. ldMaxItems :: Lens' ListDistributions (Maybe Text) -- | Use this when paginating results to indicate where to begin in your -- list of distributions. The results include distributions in the list -- that occur after the marker. To get the next page of results, set the -- Marker to the value of the NextMarker from the current page's response -- (which is also the ID of the last distribution on that page). ldMarker :: Lens' ListDistributions (Maybe Text) -- | Creates a value of ListDistributionsResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listDistributionsResponse :: Int -> DistributionList -> ListDistributionsResponse -- | The returned result of the corresponding request. -- -- See: listDistributionsResponse smart constructor. data ListDistributionsResponse -- | The response status code. ldrsStatus :: Lens' ListDistributionsResponse Int -- | The DistributionList type. ldrsDistributionList :: Lens' ListDistributionsResponse DistributionList instance GHC.Generics.Selector Network.AWS.CloudFront.ListDistributions.S1_0_1ListDistributionsResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListDistributions.S1_0_0ListDistributionsResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.ListDistributions.C1_0ListDistributionsResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.ListDistributions.D1ListDistributionsResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListDistributions.S1_0_1ListDistributions instance GHC.Generics.Selector Network.AWS.CloudFront.ListDistributions.S1_0_0ListDistributions instance GHC.Generics.Constructor Network.AWS.CloudFront.ListDistributions.C1_0ListDistributions instance GHC.Generics.Datatype Network.AWS.CloudFront.ListDistributions.D1ListDistributions instance GHC.Generics.Generic Network.AWS.CloudFront.ListDistributions.ListDistributionsResponse instance Data.Data.Data Network.AWS.CloudFront.ListDistributions.ListDistributionsResponse instance GHC.Show.Show Network.AWS.CloudFront.ListDistributions.ListDistributionsResponse instance GHC.Read.Read Network.AWS.CloudFront.ListDistributions.ListDistributionsResponse instance GHC.Classes.Eq Network.AWS.CloudFront.ListDistributions.ListDistributionsResponse instance GHC.Generics.Generic Network.AWS.CloudFront.ListDistributions.ListDistributions instance Data.Data.Data Network.AWS.CloudFront.ListDistributions.ListDistributions instance GHC.Show.Show Network.AWS.CloudFront.ListDistributions.ListDistributions instance GHC.Read.Read Network.AWS.CloudFront.ListDistributions.ListDistributions instance GHC.Classes.Eq Network.AWS.CloudFront.ListDistributions.ListDistributions instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.ListDistributions.ListDistributions instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.ListDistributions.ListDistributions instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.ListDistributions.ListDistributions instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.ListDistributions.ListDistributions -- | Delete a distribution. -- -- See: AWS API Reference for DeleteDistribution. module Network.AWS.CloudFront.DeleteDistribution -- | Creates a value of DeleteDistribution with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteDistribution :: Text -> DeleteDistribution -- | The request to delete a distribution. -- -- See: deleteDistribution smart constructor. data DeleteDistribution -- | The value of the ETag header you received when you disabled the -- distribution. For example: E2QWRUHAPOMQZL. ddIfMatch :: Lens' DeleteDistribution (Maybe Text) -- | The distribution id. ddId :: Lens' DeleteDistribution Text -- | Creates a value of DeleteDistributionResponse with the minimum -- fields required to make a request. deleteDistributionResponse :: DeleteDistributionResponse -- | See: deleteDistributionResponse smart constructor. data DeleteDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.DeleteDistribution.C1_0DeleteDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.DeleteDistribution.D1DeleteDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.DeleteDistribution.S1_0_1DeleteDistribution instance GHC.Generics.Selector Network.AWS.CloudFront.DeleteDistribution.S1_0_0DeleteDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.DeleteDistribution.C1_0DeleteDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.DeleteDistribution.D1DeleteDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.DeleteDistribution.DeleteDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.DeleteDistribution.DeleteDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.DeleteDistribution.DeleteDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.DeleteDistribution.DeleteDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.DeleteDistribution.DeleteDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance Data.Data.Data Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance GHC.Show.Show Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance GHC.Read.Read Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.DeleteDistribution.DeleteDistribution -- | Update a distribution. -- -- See: AWS API Reference for UpdateDistribution. module Network.AWS.CloudFront.UpdateDistribution -- | Creates a value of UpdateDistribution with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateDistribution :: DistributionConfig -> Text -> UpdateDistribution -- | The request to update a distribution. -- -- See: updateDistribution smart constructor. data UpdateDistribution -- | The value of the ETag header you received when retrieving the -- distribution's configuration. For example: E2QWRUHAPOMQZL. udIfMatch :: Lens' UpdateDistribution (Maybe Text) -- | The distribution's configuration information. udDistributionConfig :: Lens' UpdateDistribution DistributionConfig -- | The distribution's id. udId :: Lens' UpdateDistribution Text -- | Creates a value of UpdateDistributionResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateDistributionResponse :: Int -> UpdateDistributionResponse -- | The returned result of the corresponding request. -- -- See: updateDistributionResponse smart constructor. data UpdateDistributionResponse -- | The current version of the configuration. For example: E2QWRUHAPOMQZL. udrsETag :: Lens' UpdateDistributionResponse (Maybe Text) -- | The distribution's information. udrsDistribution :: Lens' UpdateDistributionResponse (Maybe Distribution) -- | The response status code. udrsStatus :: Lens' UpdateDistributionResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateDistribution.S1_0_2UpdateDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateDistribution.S1_0_1UpdateDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateDistribution.S1_0_0UpdateDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.UpdateDistribution.C1_0UpdateDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.UpdateDistribution.D1UpdateDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateDistribution.S1_0_2UpdateDistribution instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateDistribution.S1_0_1UpdateDistribution instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateDistribution.S1_0_0UpdateDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.UpdateDistribution.C1_0UpdateDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.UpdateDistribution.D1UpdateDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.UpdateDistribution.UpdateDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.UpdateDistribution.UpdateDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.UpdateDistribution.UpdateDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.UpdateDistribution.UpdateDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.UpdateDistribution.UpdateDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance Data.Data.Data Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance GHC.Show.Show Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance GHC.Read.Read Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance Network.AWS.Data.XML.ToElement Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.UpdateDistribution.UpdateDistribution -- | Create a new invalidation. -- -- See: AWS API Reference for CreateInvalidation. module Network.AWS.CloudFront.CreateInvalidation -- | Creates a value of CreateInvalidation with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createInvalidation :: Text -> InvalidationBatch -> CreateInvalidation -- | The request to create an invalidation. -- -- See: createInvalidation smart constructor. data CreateInvalidation -- | The distribution's id. ciDistributionId :: Lens' CreateInvalidation Text -- | The batch information for the invalidation. ciInvalidationBatch :: Lens' CreateInvalidation InvalidationBatch -- | Creates a value of CreateInvalidationResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createInvalidationResponse :: Int -> CreateInvalidationResponse -- | The returned result of the corresponding request. -- -- See: createInvalidationResponse smart constructor. data CreateInvalidationResponse -- | The invalidation's information. cirsInvalidation :: Lens' CreateInvalidationResponse (Maybe Invalidation) -- | The fully qualified URI of the distribution and invalidation batch -- request, including the Invalidation ID. cirsLocation :: Lens' CreateInvalidationResponse (Maybe Text) -- | The response status code. cirsStatus :: Lens' CreateInvalidationResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.CreateInvalidation.S1_0_2CreateInvalidationResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateInvalidation.S1_0_1CreateInvalidationResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateInvalidation.S1_0_0CreateInvalidationResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateInvalidation.C1_0CreateInvalidationResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateInvalidation.D1CreateInvalidationResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateInvalidation.S1_0_1CreateInvalidation instance GHC.Generics.Selector Network.AWS.CloudFront.CreateInvalidation.S1_0_0CreateInvalidation instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateInvalidation.C1_0CreateInvalidation instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateInvalidation.D1CreateInvalidation instance GHC.Generics.Generic Network.AWS.CloudFront.CreateInvalidation.CreateInvalidationResponse instance Data.Data.Data Network.AWS.CloudFront.CreateInvalidation.CreateInvalidationResponse instance GHC.Show.Show Network.AWS.CloudFront.CreateInvalidation.CreateInvalidationResponse instance GHC.Read.Read Network.AWS.CloudFront.CreateInvalidation.CreateInvalidationResponse instance GHC.Classes.Eq Network.AWS.CloudFront.CreateInvalidation.CreateInvalidationResponse instance GHC.Generics.Generic Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance Data.Data.Data Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance GHC.Show.Show Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance GHC.Read.Read Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance GHC.Classes.Eq Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance Network.AWS.Data.XML.ToElement Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.CreateInvalidation.CreateInvalidation -- | Get the information about an origin access identity. -- -- See: AWS API Reference for -- GetCloudFrontOriginAccessIdentity. module Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity -- | Creates a value of GetCloudFrontOriginAccessIdentity with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getCloudFrontOriginAccessIdentity :: Text -> GetCloudFrontOriginAccessIdentity -- | The request to get an origin access identity's information. -- -- See: getCloudFrontOriginAccessIdentity smart -- constructor. data GetCloudFrontOriginAccessIdentity -- | The identity's id. gcfoaiId :: Lens' GetCloudFrontOriginAccessIdentity Text -- | Creates a value of GetCloudFrontOriginAccessIdentityResponse -- with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getCloudFrontOriginAccessIdentityResponse :: Int -> GetCloudFrontOriginAccessIdentityResponse -- | The returned result of the corresponding request. -- -- See: getCloudFrontOriginAccessIdentityResponse smart -- constructor. data GetCloudFrontOriginAccessIdentityResponse -- | The current version of the origin access identity's information. For -- example: E2QWRUHAPOMQZL. gcfoairsETag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text) -- | The origin access identity's information. gcfoairsCloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) -- | The response status code. gcfoairsStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.S1_0_2GetCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.S1_0_1GetCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.S1_0_0GetCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.C1_0GetCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.D1GetCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.S1_0_0GetCloudFrontOriginAccessIdentity instance GHC.Generics.Constructor Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.C1_0GetCloudFrontOriginAccessIdentity instance GHC.Generics.Datatype Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.D1GetCloudFrontOriginAccessIdentity instance GHC.Generics.Generic Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse instance Data.Data.Data Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse instance GHC.Show.Show Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse instance GHC.Read.Read Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse instance GHC.Classes.Eq Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Generic Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance Data.Data.Data Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance GHC.Show.Show Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance GHC.Read.Read Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance GHC.Classes.Eq Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity -- | Get the information about a streaming distribution. -- -- See: AWS API Reference for GetStreamingDistribution. module Network.AWS.CloudFront.GetStreamingDistribution -- | Creates a value of GetStreamingDistribution with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getStreamingDistribution :: Text -> GetStreamingDistribution -- | The request to get a streaming distribution's information. -- -- See: getStreamingDistribution smart constructor. data GetStreamingDistribution -- | The streaming distribution's id. gsdId :: Lens' GetStreamingDistribution Text -- | Creates a value of GetStreamingDistributionResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getStreamingDistributionResponse :: Int -> GetStreamingDistributionResponse -- | The returned result of the corresponding request. -- -- See: getStreamingDistributionResponse smart constructor. data GetStreamingDistributionResponse -- | The current version of the streaming distribution's information. For -- example: E2QWRUHAPOMQZL. gsdrsETag :: Lens' GetStreamingDistributionResponse (Maybe Text) -- | The streaming distribution's information. gsdrsStreamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution) -- | The response status code. gsdrsStatus :: Lens' GetStreamingDistributionResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistribution.S1_0_2GetStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistribution.S1_0_1GetStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistribution.S1_0_0GetStreamingDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.GetStreamingDistribution.C1_0GetStreamingDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.GetStreamingDistribution.D1GetStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistribution.S1_0_0GetStreamingDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.GetStreamingDistribution.C1_0GetStreamingDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.GetStreamingDistribution.D1GetStreamingDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance Data.Data.Data Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance GHC.Show.Show Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance GHC.Read.Read Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.GetStreamingDistribution.GetStreamingDistribution -- | List invalidation batches. -- -- See: AWS API Reference for ListInvalidations. module Network.AWS.CloudFront.ListInvalidations -- | Creates a value of ListInvalidations with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listInvalidations :: Text -> ListInvalidations -- | The request to list invalidations. -- -- See: listInvalidations smart constructor. data ListInvalidations -- | The maximum number of invalidation batches you want in the response -- body. liMaxItems :: Lens' ListInvalidations (Maybe Text) -- | Use this parameter when paginating results to indicate where to begin -- in your list of invalidation batches. Because the results are returned -- in decreasing order from most recent to oldest, the most recent -- results are on the first page, the second page will contain earlier -- results, and so on. To get the next page of results, set the Marker to -- the value of the NextMarker from the current page's response. This -- value is the same as the ID of the last invalidation batch on that -- page. liMarker :: Lens' ListInvalidations (Maybe Text) -- | The distribution's id. liDistributionId :: Lens' ListInvalidations Text -- | Creates a value of ListInvalidationsResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listInvalidationsResponse :: Int -> InvalidationList -> ListInvalidationsResponse -- | The returned result of the corresponding request. -- -- See: listInvalidationsResponse smart constructor. data ListInvalidationsResponse -- | The response status code. lirsStatus :: Lens' ListInvalidationsResponse Int -- | Information about invalidation batches. lirsInvalidationList :: Lens' ListInvalidationsResponse InvalidationList instance GHC.Generics.Selector Network.AWS.CloudFront.ListInvalidations.S1_0_1ListInvalidationsResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListInvalidations.S1_0_0ListInvalidationsResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.ListInvalidations.C1_0ListInvalidationsResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.ListInvalidations.D1ListInvalidationsResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListInvalidations.S1_0_2ListInvalidations instance GHC.Generics.Selector Network.AWS.CloudFront.ListInvalidations.S1_0_1ListInvalidations instance GHC.Generics.Selector Network.AWS.CloudFront.ListInvalidations.S1_0_0ListInvalidations instance GHC.Generics.Constructor Network.AWS.CloudFront.ListInvalidations.C1_0ListInvalidations instance GHC.Generics.Datatype Network.AWS.CloudFront.ListInvalidations.D1ListInvalidations instance GHC.Generics.Generic Network.AWS.CloudFront.ListInvalidations.ListInvalidationsResponse instance Data.Data.Data Network.AWS.CloudFront.ListInvalidations.ListInvalidationsResponse instance GHC.Show.Show Network.AWS.CloudFront.ListInvalidations.ListInvalidationsResponse instance GHC.Read.Read Network.AWS.CloudFront.ListInvalidations.ListInvalidationsResponse instance GHC.Classes.Eq Network.AWS.CloudFront.ListInvalidations.ListInvalidationsResponse instance GHC.Generics.Generic Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance Data.Data.Data Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance GHC.Show.Show Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance GHC.Read.Read Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance GHC.Classes.Eq Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.ListInvalidations.ListInvalidations instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.ListInvalidations.ListInvalidations -- | Get the information about an invalidation. -- -- See: AWS API Reference for GetInvalidation. module Network.AWS.CloudFront.GetInvalidation -- | Creates a value of GetInvalidation with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getInvalidation :: Text -> Text -> GetInvalidation -- | The request to get an invalidation's information. -- -- See: getInvalidation smart constructor. data GetInvalidation -- | The distribution's id. giDistributionId :: Lens' GetInvalidation Text -- | The invalidation's id. giId :: Lens' GetInvalidation Text -- | Creates a value of GetInvalidationResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getInvalidationResponse :: Int -> GetInvalidationResponse -- | The returned result of the corresponding request. -- -- See: getInvalidationResponse smart constructor. data GetInvalidationResponse -- | The invalidation's information. girsInvalidation :: Lens' GetInvalidationResponse (Maybe Invalidation) -- | The response status code. girsStatus :: Lens' GetInvalidationResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.GetInvalidation.S1_0_1GetInvalidationResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetInvalidation.S1_0_0GetInvalidationResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.GetInvalidation.C1_0GetInvalidationResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.GetInvalidation.D1GetInvalidationResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetInvalidation.S1_0_1GetInvalidation instance GHC.Generics.Selector Network.AWS.CloudFront.GetInvalidation.S1_0_0GetInvalidation instance GHC.Generics.Constructor Network.AWS.CloudFront.GetInvalidation.C1_0GetInvalidation instance GHC.Generics.Datatype Network.AWS.CloudFront.GetInvalidation.D1GetInvalidation instance GHC.Generics.Generic Network.AWS.CloudFront.GetInvalidation.GetInvalidationResponse instance Data.Data.Data Network.AWS.CloudFront.GetInvalidation.GetInvalidationResponse instance GHC.Show.Show Network.AWS.CloudFront.GetInvalidation.GetInvalidationResponse instance GHC.Read.Read Network.AWS.CloudFront.GetInvalidation.GetInvalidationResponse instance GHC.Classes.Eq Network.AWS.CloudFront.GetInvalidation.GetInvalidationResponse instance GHC.Generics.Generic Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance Data.Data.Data Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance GHC.Show.Show Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance GHC.Read.Read Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance GHC.Classes.Eq Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.GetInvalidation.GetInvalidation instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.GetInvalidation.GetInvalidation -- | List origin access identities. -- -- See: AWS API Reference for -- ListCloudFrontOriginAccessIdentities. module Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities -- | Creates a value of ListCloudFrontOriginAccessIdentities with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listCloudFrontOriginAccessIdentities :: ListCloudFrontOriginAccessIdentities -- | The request to list origin access identities. -- -- See: listCloudFrontOriginAccessIdentities smart -- constructor. data ListCloudFrontOriginAccessIdentities -- | The maximum number of origin access identities you want in the -- response body. lcfoaiMaxItems :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text) -- | Use this when paginating results to indicate where to begin in your -- list of origin access identities. The results include identities in -- the list that occur after the marker. To get the next page of results, -- set the Marker to the value of the NextMarker from the current page's -- response (which is also the ID of the last identity on that page). lcfoaiMarker :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text) -- | Creates a value of ListCloudFrontOriginAccessIdentitiesResponse -- with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listCloudFrontOriginAccessIdentitiesResponse :: Int -> CloudFrontOriginAccessIdentityList -> ListCloudFrontOriginAccessIdentitiesResponse -- | The returned result of the corresponding request. -- -- See: listCloudFrontOriginAccessIdentitiesResponse smart -- constructor. data ListCloudFrontOriginAccessIdentitiesResponse -- | The response status code. lcfoairsStatus :: Lens' ListCloudFrontOriginAccessIdentitiesResponse Int -- | The CloudFrontOriginAccessIdentityList type. lcfoairsCloudFrontOriginAccessIdentityList :: Lens' ListCloudFrontOriginAccessIdentitiesResponse CloudFrontOriginAccessIdentityList instance GHC.Generics.Selector Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.S1_0_1ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.S1_0_0ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.C1_0ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.D1ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.S1_0_1ListCloudFrontOriginAccessIdentities instance GHC.Generics.Selector Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.S1_0_0ListCloudFrontOriginAccessIdentities instance GHC.Generics.Constructor Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.C1_0ListCloudFrontOriginAccessIdentities instance GHC.Generics.Datatype Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.D1ListCloudFrontOriginAccessIdentities instance GHC.Generics.Generic Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse instance Data.Data.Data Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Show.Show Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Read.Read Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Classes.Eq Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse instance GHC.Generics.Generic Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance Data.Data.Data Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance GHC.Show.Show Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance GHC.Read.Read Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance GHC.Classes.Eq Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities -- | Create a new origin access identity. -- -- See: AWS API Reference for -- CreateCloudFrontOriginAccessIdentity. module Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity -- | Creates a value of CreateCloudFrontOriginAccessIdentity with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> CreateCloudFrontOriginAccessIdentity -- | The request to create a new origin access identity. -- -- See: createCloudFrontOriginAccessIdentity smart -- constructor. data CreateCloudFrontOriginAccessIdentity -- | The origin access identity's configuration information. ccfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CreateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig -- | Creates a value of CreateCloudFrontOriginAccessIdentityResponse -- with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createCloudFrontOriginAccessIdentityResponse :: Int -> CreateCloudFrontOriginAccessIdentityResponse -- | The returned result of the corresponding request. -- -- See: createCloudFrontOriginAccessIdentityResponse smart -- constructor. data CreateCloudFrontOriginAccessIdentityResponse -- | The current version of the origin access identity created. ccfoairsETag :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text) -- | The fully qualified URI of the new origin access identity just -- created. For example: -- https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A. ccfoairsLocation :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text) -- | The origin access identity's information. ccfoairsCloudFrontOriginAccessIdentity :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) -- | The response status code. ccfoairsStatus :: Lens' CreateCloudFrontOriginAccessIdentityResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.S1_0_3CreateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.S1_0_2CreateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.S1_0_1CreateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.S1_0_0CreateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.C1_0CreateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.D1CreateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.S1_0_0CreateCloudFrontOriginAccessIdentity instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.C1_0CreateCloudFrontOriginAccessIdentity instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.D1CreateCloudFrontOriginAccessIdentity instance GHC.Generics.Generic Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse instance Data.Data.Data Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse instance GHC.Show.Show Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse instance GHC.Read.Read Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse instance GHC.Classes.Eq Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Generic Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance Data.Data.Data Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance GHC.Show.Show Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance GHC.Read.Read Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance GHC.Classes.Eq Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance Network.AWS.Data.XML.ToElement Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity -- | Create a new streaming distribution. -- -- See: AWS API Reference for CreateStreamingDistribution. module Network.AWS.CloudFront.CreateStreamingDistribution -- | Creates a value of CreateStreamingDistribution with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createStreamingDistribution :: StreamingDistributionConfig -> CreateStreamingDistribution -- | The request to create a new streaming distribution. -- -- See: createStreamingDistribution smart constructor. data CreateStreamingDistribution -- | The streaming distribution's configuration information. csdStreamingDistributionConfig :: Lens' CreateStreamingDistribution StreamingDistributionConfig -- | Creates a value of CreateStreamingDistributionResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createStreamingDistributionResponse :: Int -> CreateStreamingDistributionResponse -- | The returned result of the corresponding request. -- -- See: createStreamingDistributionResponse smart -- constructor. data CreateStreamingDistributionResponse -- | The current version of the streaming distribution created. csdrsETag :: Lens' CreateStreamingDistributionResponse (Maybe Text) -- | The fully qualified URI of the new streaming distribution resource -- just created. For example: -- https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8. csdrsLocation :: Lens' CreateStreamingDistributionResponse (Maybe Text) -- | The streaming distribution's information. csdrsStreamingDistribution :: Lens' CreateStreamingDistributionResponse (Maybe StreamingDistribution) -- | The response status code. csdrsStatus :: Lens' CreateStreamingDistributionResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.CreateStreamingDistribution.S1_0_3CreateStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateStreamingDistribution.S1_0_2CreateStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateStreamingDistribution.S1_0_1CreateStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateStreamingDistribution.S1_0_0CreateStreamingDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateStreamingDistribution.C1_0CreateStreamingDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateStreamingDistribution.D1CreateStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateStreamingDistribution.S1_0_0CreateStreamingDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateStreamingDistribution.C1_0CreateStreamingDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateStreamingDistribution.D1CreateStreamingDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance Data.Data.Data Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance GHC.Show.Show Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance GHC.Read.Read Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance Network.AWS.Data.XML.ToElement Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution -- | Get the configuration information about an origin access identity. -- -- See: AWS API Reference for -- GetCloudFrontOriginAccessIdentityConfig. module Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig -- | Creates a value of GetCloudFrontOriginAccessIdentityConfig with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getCloudFrontOriginAccessIdentityConfig :: Text -> GetCloudFrontOriginAccessIdentityConfig -- | The request to get an origin access identity's configuration. -- -- See: getCloudFrontOriginAccessIdentityConfig smart -- constructor. data GetCloudFrontOriginAccessIdentityConfig -- | The identity's id. gcfoaicId :: Lens' GetCloudFrontOriginAccessIdentityConfig Text -- | Creates a value of -- GetCloudFrontOriginAccessIdentityConfigResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getCloudFrontOriginAccessIdentityConfigResponse :: Int -> GetCloudFrontOriginAccessIdentityConfigResponse -- | The returned result of the corresponding request. -- -- See: getCloudFrontOriginAccessIdentityConfigResponse -- smart constructor. data GetCloudFrontOriginAccessIdentityConfigResponse -- | The origin access identity's configuration information. gcfoaicrsCloudFrontOriginAccessIdentityConfig :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe CloudFrontOriginAccessIdentityConfig) -- | The current version of the configuration. For example: E2QWRUHAPOMQZL. gcfoaicrsETag :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe Text) -- | The response status code. gcfoaicrsStatus :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.S1_0_2GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.S1_0_1GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.S1_0_0GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.C1_0GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.D1GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.S1_0_0GetCloudFrontOriginAccessIdentityConfig instance GHC.Generics.Constructor Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.C1_0GetCloudFrontOriginAccessIdentityConfig instance GHC.Generics.Datatype Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.D1GetCloudFrontOriginAccessIdentityConfig instance GHC.Generics.Generic Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse instance Data.Data.Data Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Show.Show Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Read.Read Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Classes.Eq Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse instance GHC.Generics.Generic Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance Data.Data.Data Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance GHC.Show.Show Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance GHC.Read.Read Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance GHC.Classes.Eq Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig -- | Get the configuration information about a streaming distribution. -- -- See: AWS API Reference for -- GetStreamingDistributionConfig. module Network.AWS.CloudFront.GetStreamingDistributionConfig -- | Creates a value of GetStreamingDistributionConfig with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getStreamingDistributionConfig :: Text -> GetStreamingDistributionConfig -- | To request to get a streaming distribution configuration. -- -- See: getStreamingDistributionConfig smart constructor. data GetStreamingDistributionConfig -- | The streaming distribution's id. gsdcId :: Lens' GetStreamingDistributionConfig Text -- | Creates a value of GetStreamingDistributionConfigResponse with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getStreamingDistributionConfigResponse :: Int -> GetStreamingDistributionConfigResponse -- | The returned result of the corresponding request. -- -- See: getStreamingDistributionConfigResponse smart -- constructor. data GetStreamingDistributionConfigResponse -- | The streaming distribution's configuration information. gsdcrsStreamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig) -- | The current version of the configuration. For example: E2QWRUHAPOMQZL. gsdcrsETag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text) -- | The response status code. gsdcrsStatus :: Lens' GetStreamingDistributionConfigResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistributionConfig.S1_0_2GetStreamingDistributionConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistributionConfig.S1_0_1GetStreamingDistributionConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistributionConfig.S1_0_0GetStreamingDistributionConfigResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.GetStreamingDistributionConfig.C1_0GetStreamingDistributionConfigResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.GetStreamingDistributionConfig.D1GetStreamingDistributionConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetStreamingDistributionConfig.S1_0_0GetStreamingDistributionConfig instance GHC.Generics.Constructor Network.AWS.CloudFront.GetStreamingDistributionConfig.C1_0GetStreamingDistributionConfig instance GHC.Generics.Datatype Network.AWS.CloudFront.GetStreamingDistributionConfig.D1GetStreamingDistributionConfig instance GHC.Generics.Generic Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse instance Data.Data.Data Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse instance GHC.Show.Show Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse instance GHC.Read.Read Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse instance GHC.Classes.Eq Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse instance GHC.Generics.Generic Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance Data.Data.Data Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance GHC.Show.Show Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance GHC.Read.Read Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance GHC.Classes.Eq Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig -- | List streaming distributions. -- -- See: AWS API Reference for ListStreamingDistributions. module Network.AWS.CloudFront.ListStreamingDistributions -- | Creates a value of ListStreamingDistributions with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listStreamingDistributions :: ListStreamingDistributions -- | The request to list your streaming distributions. -- -- See: listStreamingDistributions smart constructor. data ListStreamingDistributions -- | The maximum number of streaming distributions you want in the response -- body. lsdMaxItems :: Lens' ListStreamingDistributions (Maybe Text) -- | Use this when paginating results to indicate where to begin in your -- list of streaming distributions. The results include distributions in -- the list that occur after the marker. To get the next page of results, -- set the Marker to the value of the NextMarker from the current page's -- response (which is also the ID of the last distribution on that page). lsdMarker :: Lens' ListStreamingDistributions (Maybe Text) -- | Creates a value of ListStreamingDistributionsResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listStreamingDistributionsResponse :: Int -> StreamingDistributionList -> ListStreamingDistributionsResponse -- | The returned result of the corresponding request. -- -- See: listStreamingDistributionsResponse smart -- constructor. data ListStreamingDistributionsResponse -- | The response status code. lsdrsStatus :: Lens' ListStreamingDistributionsResponse Int -- | The StreamingDistributionList type. lsdrsStreamingDistributionList :: Lens' ListStreamingDistributionsResponse StreamingDistributionList instance GHC.Generics.Selector Network.AWS.CloudFront.ListStreamingDistributions.S1_0_1ListStreamingDistributionsResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListStreamingDistributions.S1_0_0ListStreamingDistributionsResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.ListStreamingDistributions.C1_0ListStreamingDistributionsResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.ListStreamingDistributions.D1ListStreamingDistributionsResponse instance GHC.Generics.Selector Network.AWS.CloudFront.ListStreamingDistributions.S1_0_1ListStreamingDistributions instance GHC.Generics.Selector Network.AWS.CloudFront.ListStreamingDistributions.S1_0_0ListStreamingDistributions instance GHC.Generics.Constructor Network.AWS.CloudFront.ListStreamingDistributions.C1_0ListStreamingDistributions instance GHC.Generics.Datatype Network.AWS.CloudFront.ListStreamingDistributions.D1ListStreamingDistributions instance GHC.Generics.Generic Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse instance Data.Data.Data Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse instance GHC.Show.Show Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse instance GHC.Read.Read Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse instance GHC.Classes.Eq Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse instance GHC.Generics.Generic Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance Data.Data.Data Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance GHC.Show.Show Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance GHC.Read.Read Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance GHC.Classes.Eq Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.ListStreamingDistributions.ListStreamingDistributions -- | Update an origin access identity. -- -- See: AWS API Reference for -- UpdateCloudFrontOriginAccessIdentity. module Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity -- | Creates a value of UpdateCloudFrontOriginAccessIdentity with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity -- | The request to update an origin access identity. -- -- See: updateCloudFrontOriginAccessIdentity smart -- constructor. data UpdateCloudFrontOriginAccessIdentity -- | The value of the ETag header you received when retrieving the -- identity's configuration. For example: E2QWRUHAPOMQZL. ucfoaiIfMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text) -- | The identity's configuration information. ucfoaiCloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig -- | The identity's id. ucfoaiId :: Lens' UpdateCloudFrontOriginAccessIdentity Text -- | Creates a value of UpdateCloudFrontOriginAccessIdentityResponse -- with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateCloudFrontOriginAccessIdentityResponse :: Int -> UpdateCloudFrontOriginAccessIdentityResponse -- | The returned result of the corresponding request. -- -- See: updateCloudFrontOriginAccessIdentityResponse smart -- constructor. data UpdateCloudFrontOriginAccessIdentityResponse -- | The current version of the configuration. For example: E2QWRUHAPOMQZL. ucfoairsETag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text) -- | The origin access identity's information. ucfoairsCloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) -- | The response status code. ucfoairsStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.S1_0_2UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.S1_0_1UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.S1_0_0UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.C1_0UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.D1UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.S1_0_2UpdateCloudFrontOriginAccessIdentity instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.S1_0_1UpdateCloudFrontOriginAccessIdentity instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.S1_0_0UpdateCloudFrontOriginAccessIdentity instance GHC.Generics.Constructor Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.C1_0UpdateCloudFrontOriginAccessIdentity instance GHC.Generics.Datatype Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.D1UpdateCloudFrontOriginAccessIdentity instance GHC.Generics.Generic Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse instance Data.Data.Data Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Show.Show Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Read.Read Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Classes.Eq Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Generic Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance Data.Data.Data Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance GHC.Show.Show Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance GHC.Read.Read Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance GHC.Classes.Eq Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance Network.AWS.Data.XML.ToElement Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity -- | Delete an origin access identity. -- -- See: AWS API Reference for -- DeleteCloudFrontOriginAccessIdentity. module Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity -- | Creates a value of DeleteCloudFrontOriginAccessIdentity with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteCloudFrontOriginAccessIdentity :: Text -> DeleteCloudFrontOriginAccessIdentity -- | The request to delete a origin access identity. -- -- See: deleteCloudFrontOriginAccessIdentity smart -- constructor. data DeleteCloudFrontOriginAccessIdentity -- | The value of the ETag header you received from a previous GET or PUT -- request. For example: E2QWRUHAPOMQZL. dcfoaiIfMatch :: Lens' DeleteCloudFrontOriginAccessIdentity (Maybe Text) -- | The origin access identity's id. dcfoaiId :: Lens' DeleteCloudFrontOriginAccessIdentity Text -- | Creates a value of DeleteCloudFrontOriginAccessIdentityResponse -- with the minimum fields required to make a request. deleteCloudFrontOriginAccessIdentityResponse :: DeleteCloudFrontOriginAccessIdentityResponse -- | See: deleteCloudFrontOriginAccessIdentityResponse smart -- constructor. data DeleteCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.C1_0DeleteCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.D1DeleteCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Selector Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.S1_0_1DeleteCloudFrontOriginAccessIdentity instance GHC.Generics.Selector Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.S1_0_0DeleteCloudFrontOriginAccessIdentity instance GHC.Generics.Constructor Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.C1_0DeleteCloudFrontOriginAccessIdentity instance GHC.Generics.Datatype Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.D1DeleteCloudFrontOriginAccessIdentity instance GHC.Generics.Generic Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse instance Data.Data.Data Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse instance GHC.Show.Show Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse instance GHC.Read.Read Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse instance GHC.Classes.Eq Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse instance GHC.Generics.Generic Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance Data.Data.Data Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance GHC.Show.Show Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance GHC.Read.Read Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance GHC.Classes.Eq Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity -- | Get the information about a distribution. -- -- See: AWS API Reference for GetDistribution. module Network.AWS.CloudFront.GetDistribution -- | Creates a value of GetDistribution with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getDistribution :: Text -> GetDistribution -- | The request to get a distribution's information. -- -- See: getDistribution smart constructor. data GetDistribution -- | The distribution's id. gdId :: Lens' GetDistribution Text -- | Creates a value of GetDistributionResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getDistributionResponse :: Int -> GetDistributionResponse -- | The returned result of the corresponding request. -- -- See: getDistributionResponse smart constructor. data GetDistributionResponse -- | The current version of the distribution's information. For example: -- E2QWRUHAPOMQZL. gdrsETag :: Lens' GetDistributionResponse (Maybe Text) -- | The distribution's information. gdrsDistribution :: Lens' GetDistributionResponse (Maybe Distribution) -- | The response status code. gdrsStatus :: Lens' GetDistributionResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistribution.S1_0_2GetDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistribution.S1_0_1GetDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistribution.S1_0_0GetDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.GetDistribution.C1_0GetDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.GetDistribution.D1GetDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistribution.S1_0_0GetDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.GetDistribution.C1_0GetDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.GetDistribution.D1GetDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.GetDistribution.GetDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.GetDistribution.GetDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.GetDistribution.GetDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.GetDistribution.GetDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.GetDistribution.GetDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.GetDistribution.GetDistribution instance Data.Data.Data Network.AWS.CloudFront.GetDistribution.GetDistribution instance GHC.Show.Show Network.AWS.CloudFront.GetDistribution.GetDistribution instance GHC.Read.Read Network.AWS.CloudFront.GetDistribution.GetDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.GetDistribution.GetDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.GetDistribution.GetDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.GetDistribution.GetDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.GetDistribution.GetDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.GetDistribution.GetDistribution -- | Get the configuration information about a distribution. -- -- See: AWS API Reference for GetDistributionConfig. module Network.AWS.CloudFront.GetDistributionConfig -- | Creates a value of GetDistributionConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getDistributionConfig :: Text -> GetDistributionConfig -- | The request to get a distribution configuration. -- -- See: getDistributionConfig smart constructor. data GetDistributionConfig -- | The distribution's id. gdcId :: Lens' GetDistributionConfig Text -- | Creates a value of GetDistributionConfigResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getDistributionConfigResponse :: Int -> GetDistributionConfigResponse -- | The returned result of the corresponding request. -- -- See: getDistributionConfigResponse smart constructor. data GetDistributionConfigResponse -- | The current version of the configuration. For example: E2QWRUHAPOMQZL. gdcrsETag :: Lens' GetDistributionConfigResponse (Maybe Text) -- | The distribution's configuration information. gdcrsDistributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig) -- | The response status code. gdcrsStatus :: Lens' GetDistributionConfigResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistributionConfig.S1_0_2GetDistributionConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistributionConfig.S1_0_1GetDistributionConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistributionConfig.S1_0_0GetDistributionConfigResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.GetDistributionConfig.C1_0GetDistributionConfigResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.GetDistributionConfig.D1GetDistributionConfigResponse instance GHC.Generics.Selector Network.AWS.CloudFront.GetDistributionConfig.S1_0_0GetDistributionConfig instance GHC.Generics.Constructor Network.AWS.CloudFront.GetDistributionConfig.C1_0GetDistributionConfig instance GHC.Generics.Datatype Network.AWS.CloudFront.GetDistributionConfig.D1GetDistributionConfig instance GHC.Generics.Generic Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfigResponse instance Data.Data.Data Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfigResponse instance GHC.Show.Show Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfigResponse instance GHC.Read.Read Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfigResponse instance GHC.Classes.Eq Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfigResponse instance GHC.Generics.Generic Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance Data.Data.Data Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance GHC.Show.Show Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance GHC.Read.Read Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance GHC.Classes.Eq Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.GetDistributionConfig.GetDistributionConfig -- | Create a new distribution. -- -- See: AWS API Reference for CreateDistribution. module Network.AWS.CloudFront.CreateDistribution -- | Creates a value of CreateDistribution with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createDistribution :: DistributionConfig -> CreateDistribution -- | The request to create a new distribution. -- -- See: createDistribution smart constructor. data CreateDistribution -- | The distribution's configuration information. cdDistributionConfig :: Lens' CreateDistribution DistributionConfig -- | Creates a value of CreateDistributionResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createDistributionResponse :: Int -> CreateDistributionResponse -- | The returned result of the corresponding request. -- -- See: createDistributionResponse smart constructor. data CreateDistributionResponse -- | The current version of the distribution created. cdrsETag :: Lens' CreateDistributionResponse (Maybe Text) -- | The distribution's information. cdrsDistribution :: Lens' CreateDistributionResponse (Maybe Distribution) -- | The fully qualified URI of the new distribution resource just created. -- For example: -- https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5. cdrsLocation :: Lens' CreateDistributionResponse (Maybe Text) -- | The response status code. cdrsStatus :: Lens' CreateDistributionResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.CreateDistribution.S1_0_3CreateDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateDistribution.S1_0_2CreateDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateDistribution.S1_0_1CreateDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateDistribution.S1_0_0CreateDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateDistribution.C1_0CreateDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateDistribution.D1CreateDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.CreateDistribution.S1_0_0CreateDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.CreateDistribution.C1_0CreateDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.CreateDistribution.D1CreateDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.CreateDistribution.CreateDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.CreateDistribution.CreateDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.CreateDistribution.CreateDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.CreateDistribution.CreateDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.CreateDistribution.CreateDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance Data.Data.Data Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance GHC.Show.Show Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance GHC.Read.Read Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance Network.AWS.Data.XML.ToElement Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.CreateDistribution.CreateDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.CreateDistribution.CreateDistribution -- | Update a streaming distribution. -- -- See: AWS API Reference for UpdateStreamingDistribution. module Network.AWS.CloudFront.UpdateStreamingDistribution -- | Creates a value of UpdateStreamingDistribution with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateStreamingDistribution :: StreamingDistributionConfig -> Text -> UpdateStreamingDistribution -- | The request to update a streaming distribution. -- -- See: updateStreamingDistribution smart constructor. data UpdateStreamingDistribution -- | The value of the ETag header you received when retrieving the -- streaming distribution's configuration. For example: E2QWRUHAPOMQZL. usdIfMatch :: Lens' UpdateStreamingDistribution (Maybe Text) -- | The streaming distribution's configuration information. usdStreamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig -- | The streaming distribution's id. usdId :: Lens' UpdateStreamingDistribution Text -- | Creates a value of UpdateStreamingDistributionResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateStreamingDistributionResponse :: Int -> UpdateStreamingDistributionResponse -- | The returned result of the corresponding request. -- -- See: updateStreamingDistributionResponse smart -- constructor. data UpdateStreamingDistributionResponse -- | The current version of the configuration. For example: E2QWRUHAPOMQZL. usdrsETag :: Lens' UpdateStreamingDistributionResponse (Maybe Text) -- | The streaming distribution's information. usdrsStreamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution) -- | The response status code. usdrsStatus :: Lens' UpdateStreamingDistributionResponse Int instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateStreamingDistribution.S1_0_2UpdateStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateStreamingDistribution.S1_0_1UpdateStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateStreamingDistribution.S1_0_0UpdateStreamingDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.UpdateStreamingDistribution.C1_0UpdateStreamingDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.UpdateStreamingDistribution.D1UpdateStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateStreamingDistribution.S1_0_2UpdateStreamingDistribution instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateStreamingDistribution.S1_0_1UpdateStreamingDistribution instance GHC.Generics.Selector Network.AWS.CloudFront.UpdateStreamingDistribution.S1_0_0UpdateStreamingDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.UpdateStreamingDistribution.C1_0UpdateStreamingDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.UpdateStreamingDistribution.D1UpdateStreamingDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance Data.Data.Data Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance GHC.Show.Show Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance GHC.Read.Read Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance Network.AWS.Data.XML.ToElement Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution -- | Delete a streaming distribution. -- -- See: AWS API Reference for DeleteStreamingDistribution. module Network.AWS.CloudFront.DeleteStreamingDistribution -- | Creates a value of DeleteStreamingDistribution with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteStreamingDistribution :: Text -> DeleteStreamingDistribution -- | The request to delete a streaming distribution. -- -- See: deleteStreamingDistribution smart constructor. data DeleteStreamingDistribution -- | The value of the ETag header you received when you disabled the -- streaming distribution. For example: E2QWRUHAPOMQZL. dsdIfMatch :: Lens' DeleteStreamingDistribution (Maybe Text) -- | The distribution id. dsdId :: Lens' DeleteStreamingDistribution Text -- | Creates a value of DeleteStreamingDistributionResponse with the -- minimum fields required to make a request. deleteStreamingDistributionResponse :: DeleteStreamingDistributionResponse -- | See: deleteStreamingDistributionResponse smart -- constructor. data DeleteStreamingDistributionResponse instance GHC.Generics.Constructor Network.AWS.CloudFront.DeleteStreamingDistribution.C1_0DeleteStreamingDistributionResponse instance GHC.Generics.Datatype Network.AWS.CloudFront.DeleteStreamingDistribution.D1DeleteStreamingDistributionResponse instance GHC.Generics.Selector Network.AWS.CloudFront.DeleteStreamingDistribution.S1_0_1DeleteStreamingDistribution instance GHC.Generics.Selector Network.AWS.CloudFront.DeleteStreamingDistribution.S1_0_0DeleteStreamingDistribution instance GHC.Generics.Constructor Network.AWS.CloudFront.DeleteStreamingDistribution.C1_0DeleteStreamingDistribution instance GHC.Generics.Datatype Network.AWS.CloudFront.DeleteStreamingDistribution.D1DeleteStreamingDistribution instance GHC.Generics.Generic Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse instance Data.Data.Data Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse instance GHC.Show.Show Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse instance GHC.Read.Read Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse instance GHC.Classes.Eq Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse instance GHC.Generics.Generic Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance Data.Data.Data Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance GHC.Show.Show Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance GHC.Read.Read Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance GHC.Classes.Eq Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance Network.AWS.Types.AWSRequest Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution -- | Amazon CloudFront is a web service that speeds up distribution of your -- static and dynamic web content, for example, .html, .css, .php, image, -- and media files, to end users. CloudFront delivers your content -- through a worldwide network of edge locations. When an end user -- requests content that you're serving with CloudFront, the user is -- routed to the edge location that provides the lowest latency, so -- content is delivered with the best possible performance. If the -- content is already in that edge location, CloudFront delivers it -- immediately. If the content is not currently in that edge location, -- CloudFront retrieves it from an Amazon S3 bucket or an HTTP server -- (for example, a web server) that you have identified as the source for -- the definitive version of your content. -- -- See: AWS API Reference module Network.AWS.CloudFront -- | Version 2015-04-17 of the Amazon CloudFront SDK. data CloudFront -- | Prism for InvalidErrorCode' errors. _InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot create anymore cache behaviors for the distribution. _TooManyCacheBehaviors :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for DistributionNotDisabled' errors. _DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError -- | The origin access identity is not valid or doesn't exist. _InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError -- | Processing your request would cause you to exceed the maximum number -- of origin access identities allowed. _TooManyCloudFrontOriginAccessIdentities :: AsError a => Getting (First ServiceError) a ServiceError -- | Processing your request would cause you to exceed the maximum number -- of streaming distributions allowed. _TooManyStreamingDistributions :: AsError a => Getting (First ServiceError) a ServiceError -- | The argument is invalid. _InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified origin access identity does not exist. _NoSuchCloudFrontOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified streaming distribution does not exist. _NoSuchStreamingDistribution :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for CloudFrontOriginAccessIdentityInUse' errors. _CloudFrontOriginAccessIdentityInUse :: AsError a => Getting (First ServiceError) a ServiceError -- | The value of Quantity and the size of Items do not match. _InconsistentQuantities :: AsError a => Getting (First ServiceError) a ServiceError -- | You have exceeded the maximum number of allowable InProgress -- invalidation batch requests, or invalidation objects. _TooManyInvalidationsInProgress :: AsError a => Getting (First ServiceError) a ServiceError -- | Your request contains more CNAMEs than are allowed per distribution. _TooManyDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError -- | 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. _InvalidForwardCookies :: AsError a => Getting (First ServiceError) a ServiceError -- | Your request contains more cookie names in the whitelist than are -- allowed per cache behavior. _TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for BatchTooLarge' errors. _BatchTooLarge :: AsError a => Getting (First ServiceError) a ServiceError -- | The Amazon S3 origin server specified does not refer to a valid Amazon -- S3 bucket. _InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError -- | Your request contains more trusted signers than are allowed per -- distribution. _TooManyTrustedSigners :: AsError a => Getting (First ServiceError) a ServiceError -- | No origin exists with the specified Origin Id. _NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified invalidation does not exist. _NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for StreamingDistributionNotDisabled' errors. _StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidTTLOrder' errors. _InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for TooManyStreamingDistributionCNAMEs' errors. _TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError -- | Processing your request would cause you to exceed the maximum number -- of distributions allowed. _TooManyDistributions :: AsError a => Getting (First ServiceError) a ServiceError -- | 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. _InvalidRequiredProtocol :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for TooManyHeadersInForwardedValues' errors. _TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot create anymore custom ssl certificates. _TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError -- | This operation requires a body. Ensure that the body is present and -- the Content-Type header is set. _MissingBody :: AsError a => Getting (First ServiceError) a ServiceError -- | The caller reference you attempted to create the distribution with is -- associated with another distribution. _DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | Origin and CallerReference cannot be updated. _IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidResponseCode' errors. _InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError -- | The If-Match version is missing or not valid for the distribution. _InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError -- | The precondition given in one or more of the request-header fields -- evaluated to false. _PreconditionFailed :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot specify SSLv3 as the minimum protocol version if you only -- want to support only clients that Support Server Name Indication -- (SNI). _InvalidProtocolSettings :: AsError a => Getting (First ServiceError) a ServiceError -- | One or more of your trusted signers do not exist. _TrustedSignerDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidHeadersForS3Origin' errors. _InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for CNAMEAlreadyExists' errors. _CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for StreamingDistributionAlreadyExists' errors. _StreamingDistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | You cannot create anymore origins for the distribution. _TooManyOrigins :: AsError a => Getting (First ServiceError) a ServiceError -- | 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. _CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError -- | The relative path is too big, is not URL-encoded, or does not begin -- with a slash (/). _InvalidRelativePath :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidMinimumProtocolVersion' errors. _InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError -- | Access denied. _AccessDenied :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified distribution does not exist. _NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidViewerCertificate' errors. _InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError -- | The default root object file name is too big or contains an invalid -- character. _InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidLocationCode' errors. _InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for InvalidGeoRestrictionParameter' errors. _InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError data GeoRestrictionType Blacklist :: GeoRestrictionType None :: GeoRestrictionType Whitelist :: GeoRestrictionType data ItemSelection ISAll :: ItemSelection ISNone :: ItemSelection ISWhitelist :: ItemSelection data Method Delete :: Method Get :: Method Head :: Method Options :: Method Patch :: Method Post :: Method Put :: Method data MinimumProtocolVersion SSLV3 :: MinimumProtocolVersion TLSV1 :: MinimumProtocolVersion data OriginProtocolPolicy HTTPOnly :: OriginProtocolPolicy MatchViewer :: OriginProtocolPolicy data PriceClass PriceClass100 :: PriceClass PriceClass200 :: PriceClass PriceClassAll :: PriceClass data SSLSupportMethod SNIOnly :: SSLSupportMethod VIP :: SSLSupportMethod data ViewerProtocolPolicy AllowAll :: ViewerProtocolPolicy HTTPSOnly :: ViewerProtocolPolicy RedirectToHTTPS :: ViewerProtocolPolicy -- | 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. -- -- See: activeTrustedSigners smart constructor. data ActiveTrustedSigners -- | Creates a value of ActiveTrustedSigners with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- activeTrustedSigners :: Bool -> Int -> ActiveTrustedSigners -- | A complex type that contains one Signer complex type for each unique -- trusted signer that is specified in the TrustedSigners complex type, -- including trusted signers in the default cache behavior and in all of -- the other cache behaviors. atsItems :: Lens' ActiveTrustedSigners [Signer] -- | Each active trusted signer. atsEnabled :: Lens' ActiveTrustedSigners Bool -- | The number of unique trusted signers included in all cache behaviors. -- For example, if three cache behaviors all list the same three AWS -- accounts, the value of Quantity for ActiveTrustedSigners will be 3. atsQuantity :: Lens' ActiveTrustedSigners Int -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this distribution. -- -- See: aliases smart constructor. data Aliases -- | Creates a value of Aliases with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- aliases :: Int -> Aliases -- | Optional: A complex type that contains CNAME elements, if any, for -- this distribution. If Quantity is 0, you can omit Items. aItems :: Lens' Aliases [Text] -- | The number of CNAMEs, if any, for this distribution. aQuantity :: Lens' Aliases Int -- | 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 may not want -- users to have permission to delete objects from your origin. -- -- See: allowedMethods smart constructor. data AllowedMethods -- | Creates a value of AllowedMethods with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- allowedMethods :: Int -> AllowedMethods -- | Undocumented member. amCachedMethods :: Lens' AllowedMethods (Maybe CachedMethods) -- | The number of HTTP methods that you want CloudFront to forward to your -- origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, -- HEAD and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, -- POST, and DELETE requests). amQuantity :: Lens' AllowedMethods Int -- | A complex type that contains the HTTP methods that you want CloudFront -- to process and forward to your origin. amItems :: Lens' AllowedMethods [Method] -- | A complex type that describes how CloudFront processes requests. You -- can create up to 10 cache behaviors.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 will never be used. 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. -- -- See: cacheBehavior smart constructor. data CacheBehavior -- | Creates a value of CacheBehavior with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cacheBehavior :: Text -> Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> CacheBehavior -- | Undocumented member. cbAllowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods) -- | The maximum amount of time (in seconds) that an object is in a -- CloudFront cache before CloudFront forwards another request to your -- origin to determine whether the object has been updated. The value -- that you specify applies only when your origin adds HTTP headers such -- as Cache-Control max-age, Cache-Control s-maxage, and Expires to -- objects. You can specify a value from 0 to 3,153,600,000 seconds (100 -- years). cbMaxTTL :: Lens' CacheBehavior (Maybe Integer) -- | Indicates whether you want to distribute media files in Microsoft -- Smooth Streaming format using the origin that is associated with this -- cache behavior. If so, specify true; if not, specify false. cbSmoothStreaming :: Lens' CacheBehavior (Maybe Bool) -- | If you don't configure your origin to add a Cache-Control max-age -- directive or an Expires header, DefaultTTL is the default amount of -- time (in seconds) that an object is in a CloudFront cache before -- CloudFront forwards another request to your origin to determine -- whether the object has been updated. The value that you specify -- applies only when your origin does not add HTTP headers such as -- Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. -- You can specify a value from 0 to 3,153,600,000 seconds (100 years). cbDefaultTTL :: Lens' CacheBehavior (Maybe Integer) -- | The pattern (for example, images/*.jpg) that specifies which requests -- you want this cache behavior to apply to. When CloudFront receives an -- end-user request, the requested path is compared with path patterns in -- the order in which cache behaviors are listed in the distribution. The -- path pattern for the default cache behavior is * and cannot be -- changed. If the request for an object does not match the path pattern -- for any cache behaviors, CloudFront applies the behavior in the -- default cache behavior. cbPathPattern :: Lens' CacheBehavior Text -- | The value of ID for the origin that you want CloudFront to route -- requests to when a request matches the path pattern either for a cache -- behavior or for the default cache behavior. cbTargetOriginId :: Lens' CacheBehavior Text -- | A complex type that specifies how CloudFront handles query strings, -- cookies and headers. cbForwardedValues :: Lens' CacheBehavior ForwardedValues -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. cbTrustedSigners :: Lens' CacheBehavior TrustedSigners -- | Use this element to specify the protocol that users can use to access -- the files in the origin specified by TargetOriginId when a request -- matches the path pattern in PathPattern. If you want CloudFront to -- allow end users to use any available protocol, specify allow-all. If -- you want CloudFront to require HTTPS, specify https. If you want -- CloudFront to respond to an HTTP request with an HTTP status code of -- 301 (Moved Permanently) and the HTTPS URL, specify redirect-to-https. -- The viewer then resubmits the request using the HTTPS URL. cbViewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy -- | The minimum amount of time that you want objects to stay in CloudFront -- caches before CloudFront queries your origin to see whether the object -- has been updated.You can specify a value from 0 to 3,153,600,000 -- seconds (100 years). cbMinTTL :: Lens' CacheBehavior Integer -- | A complex type that contains zero or more CacheBehavior elements. -- -- See: cacheBehaviors smart constructor. data CacheBehaviors -- | Creates a value of CacheBehaviors with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cacheBehaviors :: Int -> CacheBehaviors -- | Optional: A complex type that contains cache behaviors for this -- distribution. If Quantity is 0, you can omit Items. cbItems :: Lens' CacheBehaviors [CacheBehavior] -- | The number of cache behaviors for this distribution. cbQuantity :: Lens' CacheBehaviors Int -- | 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 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. -- -- See: cachedMethods smart constructor. data CachedMethods -- | Creates a value of CachedMethods with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cachedMethods :: Int -> CachedMethods -- | The number of HTTP methods for which you want CloudFront to cache -- responses. Valid values are 2 (for caching responses to GET and HEAD -- requests) and 3 (for caching responses to GET, HEAD, and OPTIONS -- requests). cmQuantity :: Lens' CachedMethods Int -- | A complex type that contains the HTTP methods that you want CloudFront -- to cache responses to. cmItems :: Lens' CachedMethods [Method] -- | CloudFront origin access identity. -- -- See: cloudFrontOriginAccessIdentity smart constructor. data CloudFrontOriginAccessIdentity -- | Creates a value of CloudFrontOriginAccessIdentity with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity -- | The current configuration information for the identity. cfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig) -- | The ID for the origin access identity. For example: E74FTE3AJFJ256A. cfoaiId :: Lens' CloudFrontOriginAccessIdentity Text -- | The Amazon S3 canonical user ID for the origin access identity, which -- you use when giving the origin access identity read permission to an -- object in Amazon S3. cfoaiS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text -- | Origin access identity configuration. -- -- See: cloudFrontOriginAccessIdentityConfig smart -- constructor. data CloudFrontOriginAccessIdentityConfig -- | Creates a value of CloudFrontOriginAccessIdentityConfig with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig -- | A unique number that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the -- CloudFrontOriginAccessIdentityConfig object), a new origin access -- identity is created. If the CallerReference is a value you already -- sent in a previous request to create an identity, and the content of -- the CloudFrontOriginAccessIdentityConfig is identical to the original -- request (ignoring white space), the response includes the same -- information returned to the original request. 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. cfoaicCallerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text -- | Any comments you want to include about the origin access identity. cfoaicComment :: Lens' CloudFrontOriginAccessIdentityConfig Text -- | The CloudFrontOriginAccessIdentityList type. -- -- See: cloudFrontOriginAccessIdentityList smart -- constructor. data CloudFrontOriginAccessIdentityList -- | Creates a value of CloudFrontOriginAccessIdentityList with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList -- | A complex type that contains one CloudFrontOriginAccessIdentitySummary -- element for each origin access identity that was created by the -- current AWS account. cfoailItems :: Lens' CloudFrontOriginAccessIdentityList [CloudFrontOriginAccessIdentitySummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- origin access identities where they left off. cfoailNextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text) -- | The value you provided for the Marker request parameter. cfoailMarker :: Lens' CloudFrontOriginAccessIdentityList Text -- | The value you provided for the MaxItems request parameter. cfoailMaxItems :: Lens' CloudFrontOriginAccessIdentityList Int -- | A flag that indicates whether more origin access identities remain to -- be listed. If your results were truncated, you can make a follow-up -- pagination request using the Marker request parameter to retrieve more -- items in the list. cfoailIsTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool -- | The number of CloudFront origin access identities that were created by -- the current AWS account. cfoailQuantity :: Lens' CloudFrontOriginAccessIdentityList Int -- | Summary of the information about a CloudFront origin access identity. -- -- See: cloudFrontOriginAccessIdentitySummary smart -- constructor. data CloudFrontOriginAccessIdentitySummary -- | Creates a value of CloudFrontOriginAccessIdentitySummary with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary -- | The ID for the origin access identity. For example: E74FTE3AJFJ256A. cfoaisId :: Lens' CloudFrontOriginAccessIdentitySummary Text -- | The Amazon S3 canonical user ID for the origin access identity, which -- you use when giving the origin access identity read permission to an -- object in Amazon S3. cfoaisS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text -- | The comment for this origin access identity, as originally specified -- when created. cfoaisComment :: Lens' CloudFrontOriginAccessIdentitySummary Text -- | 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. -- -- See: cookieNames smart constructor. data CookieNames -- | Creates a value of CookieNames with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cookieNames :: Int -> CookieNames -- | Optional: A complex type that contains whitelisted cookies for this -- cache behavior. If Quantity is 0, you can omit Items. cnItems :: Lens' CookieNames [Text] -- | The number of whitelisted cookies for this cache behavior. cnQuantity :: Lens' CookieNames Int -- | A complex type that specifies the cookie preferences associated with -- this cache behavior. -- -- See: cookiePreference smart constructor. data CookiePreference -- | Creates a value of CookiePreference with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cookiePreference :: ItemSelection -> CookiePreference -- | 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. cpWhitelistedNames :: Lens' CookiePreference (Maybe CookieNames) -- | Use this element to specify whether you want CloudFront to forward -- cookies to the origin that is associated with this cache behavior. You -- can specify all, none or whitelist. If you choose All, CloudFront -- forwards all cookies regardless of how many your application uses. cpForward :: Lens' CookiePreference ItemSelection -- | 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. -- -- See: customErrorResponse smart constructor. data CustomErrorResponse -- | Creates a value of CustomErrorResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- customErrorResponse :: Int -> CustomErrorResponse -- | The path of the custom error page (for example, /custom_404.html). The -- path is relative to the distribution and must begin with a slash (/). -- If the path includes any non-ASCII characters or unsafe characters as -- defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode -- those characters. Do not URL encode any other characters in the path, -- or CloudFront will not return the custom error page to the viewer. ceResponsePagePath :: Lens' CustomErrorResponse (Maybe Text) -- | The HTTP status code that you want CloudFront to return with the -- custom error page to the viewer. For a list of HTTP status codes that -- you can replace, see CloudFront Documentation. ceResponseCode :: Lens' CustomErrorResponse (Maybe Text) -- | The minimum amount of time you want HTTP error codes to stay in -- CloudFront caches before CloudFront queries your origin to see whether -- the object has been updated. You can specify a value from 0 to -- 31,536,000. ceErrorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer) -- | The 4xx or 5xx HTTP status code that you want to customize. For a list -- of HTTP status codes that you can customize, see CloudFront -- documentation. ceErrorCode :: Lens' CustomErrorResponse Int -- | A complex type that contains zero or more CustomErrorResponse -- elements. -- -- See: customErrorResponses smart constructor. data CustomErrorResponses -- | Creates a value of CustomErrorResponses with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- customErrorResponses :: Int -> CustomErrorResponses -- | Optional: A complex type that contains custom error responses for this -- distribution. If Quantity is 0, you can omit Items. cerItems :: Lens' CustomErrorResponses [CustomErrorResponse] -- | The number of custom error responses for this distribution. cerQuantity :: Lens' CustomErrorResponses Int -- | A customer origin. -- -- See: customOriginConfig smart constructor. data CustomOriginConfig -- | Creates a value of CustomOriginConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- customOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig -- | The HTTP port the custom origin listens on. cocHTTPPort :: Lens' CustomOriginConfig Int -- | The HTTPS port the custom origin listens on. cocHTTPSPort :: Lens' CustomOriginConfig Int -- | The origin protocol policy to apply to your origin. cocOriginProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy -- | 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. -- -- See: defaultCacheBehavior smart constructor. data DefaultCacheBehavior -- | Creates a value of DefaultCacheBehavior with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- defaultCacheBehavior :: Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> DefaultCacheBehavior -- | Undocumented member. dcbAllowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods) -- | The maximum amount of time (in seconds) that an object is in a -- CloudFront cache before CloudFront forwards another request to your -- origin to determine whether the object has been updated. The value -- that you specify applies only when your origin adds HTTP headers such -- as Cache-Control max-age, Cache-Control s-maxage, and Expires to -- objects. You can specify a value from 0 to 3,153,600,000 seconds (100 -- years). dcbMaxTTL :: Lens' DefaultCacheBehavior (Maybe Integer) -- | Indicates whether you want to distribute media files in Microsoft -- Smooth Streaming format using the origin that is associated with this -- cache behavior. If so, specify true; if not, specify false. dcbSmoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool) -- | If you don't configure your origin to add a Cache-Control max-age -- directive or an Expires header, DefaultTTL is the default amount of -- time (in seconds) that an object is in a CloudFront cache before -- CloudFront forwards another request to your origin to determine -- whether the object has been updated. The value that you specify -- applies only when your origin does not add HTTP headers such as -- Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. -- You can specify a value from 0 to 3,153,600,000 seconds (100 years). dcbDefaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer) -- | The value of ID for the origin that you want CloudFront to route -- requests to when a request matches the path pattern either for a cache -- behavior or for the default cache behavior. dcbTargetOriginId :: Lens' DefaultCacheBehavior Text -- | A complex type that specifies how CloudFront handles query strings, -- cookies and headers. dcbForwardedValues :: Lens' DefaultCacheBehavior ForwardedValues -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. dcbTrustedSigners :: Lens' DefaultCacheBehavior TrustedSigners -- | Use this element to specify the protocol that users can use to access -- the files in the origin specified by TargetOriginId when a request -- matches the path pattern in PathPattern. If you want CloudFront to -- allow end users to use any available protocol, specify allow-all. If -- you want CloudFront to require HTTPS, specify https. If you want -- CloudFront to respond to an HTTP request with an HTTP status code of -- 301 (Moved Permanently) and the HTTPS URL, specify redirect-to-https. -- The viewer then resubmits the request using the HTTPS URL. dcbViewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy -- | The minimum amount of time that you want objects to stay in CloudFront -- caches before CloudFront queries your origin to see whether the object -- has been updated.You can specify a value from 0 to 3,153,600,000 -- seconds (100 years). dcbMinTTL :: Lens' DefaultCacheBehavior Integer -- | A distribution. -- -- See: distribution smart constructor. data Distribution -- | Creates a value of Distribution with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distribution :: Text -> Text -> UTCTime -> Int -> Text -> ActiveTrustedSigners -> DistributionConfig -> Distribution -- | The identifier for the distribution. For example: EDFDVBD632BHDS5. dId :: Lens' Distribution Text -- | This response element indicates the current status of the -- distribution. When the status is Deployed, the distribution's -- information is fully propagated throughout the Amazon CloudFront -- system. dStatus :: Lens' Distribution Text -- | The date and time the distribution was last modified. dLastModifiedTime :: Lens' Distribution UTCTime -- | The number of invalidation batches currently in progress. dInProgressInvalidationBatches :: Lens' Distribution Int -- | The domain name corresponding to the distribution. For example: -- d604721fxaaqy9.cloudfront.net. dDomainName :: Lens' Distribution Text -- | CloudFront automatically adds this element to the response only if -- you've set up the distribution to serve private content with signed -- URLs. The element lists the key pair IDs that CloudFront is aware of -- for each trusted signer. The Signer child element lists the AWS -- account number of the trusted signer (or an empty Self element if the -- signer is you). The Signer element also includes the IDs of any active -- key pairs associated with the trusted signer's AWS account. If no -- KeyPairId element appears for a Signer, that signer can't create -- working signed URLs. dActiveTrustedSigners :: Lens' Distribution ActiveTrustedSigners -- | The current configuration information for the distribution. dDistributionConfig :: Lens' Distribution DistributionConfig -- | A distribution Configuration. -- -- See: distributionConfig smart constructor. data DistributionConfig -- | Creates a value of DistributionConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distributionConfig :: Text -> Origins -> DefaultCacheBehavior -> Text -> Bool -> DistributionConfig -- | The object that you want CloudFront to return (for example, -- index.html) when an end user requests the root URL for your -- distribution (http://www.example.com) instead of an object in your -- distribution (http://www.example.com/index.html). Specifying a default -- root object avoids exposing the contents of your distribution. If you -- don't want to specify a default root object when you create a -- distribution, include an empty DefaultRootObject element. To delete -- the default root object from an existing distribution, update the -- distribution configuration and include an empty DefaultRootObject -- element. To replace the default root object, update the distribution -- configuration and specify the new object. dcDefaultRootObject :: Lens' DistributionConfig (Maybe Text) -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this distribution. dcAliases :: Lens' DistributionConfig (Maybe Aliases) -- | A complex type that contains zero or more CustomErrorResponse -- elements. dcCustomErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses) -- | A complex type that contains information about price class for this -- distribution. dcPriceClass :: Lens' DistributionConfig (Maybe PriceClass) -- | Undocumented member. dcViewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate) -- | Undocumented member. dcRestrictions :: Lens' DistributionConfig (Maybe Restrictions) -- | A complex type that contains zero or more CacheBehavior elements. dcCacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) -- | A complex type that controls whether access logs are written for the -- distribution. dcLogging :: Lens' DistributionConfig (Maybe LoggingConfig) -- | A unique number that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the -- DistributionConfig object), a new distribution is created. If the -- CallerReference is a value you already sent in a previous request to -- create a distribution, and the content of the DistributionConfig is -- identical to the original request (ignoring white space), the response -- includes the same information returned to the original request. If the -- CallerReference is a value you already sent in a previous request to -- create a distribution but the content of the DistributionConfig is -- different from the original request, CloudFront returns a -- DistributionAlreadyExists error. dcCallerReference :: Lens' DistributionConfig Text -- | A complex type that contains information about origins for this -- distribution. dcOrigins :: Lens' DistributionConfig Origins -- | 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. dcDefaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior -- | Any comments you want to include about the distribution. dcComment :: Lens' DistributionConfig Text -- | Whether the distribution is enabled to accept end user requests for -- content. dcEnabled :: Lens' DistributionConfig Bool -- | A distribution list. -- -- See: distributionList smart constructor. data DistributionList -- | Creates a value of DistributionList with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distributionList :: Text -> Int -> Bool -> Int -> DistributionList -- | A complex type that contains one DistributionSummary element for each -- distribution that was created by the current AWS account. dlItems :: Lens' DistributionList [DistributionSummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- distributions where they left off. dlNextMarker :: Lens' DistributionList (Maybe Text) -- | The value you provided for the Marker request parameter. dlMarker :: Lens' DistributionList Text -- | The value you provided for the MaxItems request parameter. dlMaxItems :: Lens' DistributionList Int -- | A flag that indicates whether more distributions remain to be listed. -- If your results were truncated, you can make a follow-up pagination -- request using the Marker request parameter to retrieve more -- distributions in the list. dlIsTruncated :: Lens' DistributionList Bool -- | The number of distributions that were created by the current AWS -- account. dlQuantity :: Lens' DistributionList Int -- | A summary of the information for an Amazon CloudFront distribution. -- -- See: distributionSummary smart constructor. data DistributionSummary -- | Creates a value of DistributionSummary with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- distributionSummary :: Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> DistributionSummary -- | The identifier for the distribution. For example: EDFDVBD632BHDS5. dsId :: Lens' DistributionSummary Text -- | This response element indicates the current status of the -- distribution. When the status is Deployed, the distribution's -- information is fully propagated throughout the Amazon CloudFront -- system. dsStatus :: Lens' DistributionSummary Text -- | The date and time the distribution was last modified. dsLastModifiedTime :: Lens' DistributionSummary UTCTime -- | The domain name corresponding to the distribution. For example: -- d604721fxaaqy9.cloudfront.net. dsDomainName :: Lens' DistributionSummary Text -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this distribution. dsAliases :: Lens' DistributionSummary Aliases -- | A complex type that contains information about origins for this -- distribution. dsOrigins :: Lens' DistributionSummary Origins -- | 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. dsDefaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior -- | A complex type that contains zero or more CacheBehavior elements. dsCacheBehaviors :: Lens' DistributionSummary CacheBehaviors -- | A complex type that contains zero or more CustomErrorResponses -- elements. dsCustomErrorResponses :: Lens' DistributionSummary CustomErrorResponses -- | The comment originally specified when this distribution was created. dsComment :: Lens' DistributionSummary Text -- | Undocumented member. dsPriceClass :: Lens' DistributionSummary PriceClass -- | Whether the distribution is enabled to accept end user requests for -- content. dsEnabled :: Lens' DistributionSummary Bool -- | Undocumented member. dsViewerCertificate :: Lens' DistributionSummary ViewerCertificate -- | Undocumented member. dsRestrictions :: Lens' DistributionSummary Restrictions -- | A complex type that specifies how CloudFront handles query strings, -- cookies and headers. -- -- See: forwardedValues smart constructor. data ForwardedValues -- | Creates a value of ForwardedValues with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- forwardedValues :: Bool -> CookiePreference -> ForwardedValues -- | A complex type that specifies the Headers, if any, that you want -- CloudFront to vary upon for this cache behavior. fvHeaders :: Lens' ForwardedValues (Maybe Headers) -- | Indicates whether you want CloudFront to forward query strings to the -- origin that is associated with this cache behavior. If so, specify -- true; if not, specify false. fvQueryString :: Lens' ForwardedValues Bool -- | A complex type that specifies how CloudFront handles cookies. fvCookies :: Lens' ForwardedValues CookiePreference -- | A complex type that controls the countries in which your content is -- distributed. For more information about geo restriction, go to -- Customizing Error Responses in the Amazon CloudFront Developer Guide. -- CloudFront determines the location of your users using MaxMind GeoIP -- databases. For information about the accuracy of these databases, see -- How accurate are your GeoIP databases? on the MaxMind website. -- -- See: geoRestriction smart constructor. data GeoRestriction -- | Creates a value of GeoRestriction with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- geoRestriction :: GeoRestrictionType -> Int -> GeoRestriction -- | A complex type that contains a Location element for each country in -- which you want CloudFront either to distribute your content -- (whitelist) or not distribute your content (blacklist). The Location -- element is a two-letter, uppercase country code for a country that you -- want to include in your blacklist or whitelist. Include one Location -- element for each country. CloudFront and MaxMind both use ISO 3166 -- country codes. For the current list of countries and the corresponding -- codes, see ISO 3166-1-alpha-2 code on the International Organization -- for Standardization website. You can also refer to the country list in -- the CloudFront console, which includes both country names and codes. grItems :: Lens' GeoRestriction [Text] -- | The method that you want to use to restrict distribution of your -- content by country: - none: No geo restriction is enabled, meaning -- access to content is not restricted by client geo location. - -- blacklist: The Location elements specify the countries in which you do -- not want CloudFront to distribute your content. - whitelist: The -- Location elements specify the countries in which you want CloudFront -- to distribute your content. grRestrictionType :: Lens' GeoRestriction GeoRestrictionType -- | When geo restriction is enabled, this is the number of countries in -- your whitelist or blacklist. Otherwise, when it is not enabled, -- Quantity is 0, and you can omit Items. grQuantity :: Lens' GeoRestriction Int -- | 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 given -- object based on the header values in viewer requests; this is known as -- varying on headers. 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 vary on the Product header. -- CloudFront forwards the Product header to the origin and caches the -- response from the origin once for each header value. -- -- See: headers smart constructor. data Headers -- | Creates a value of Headers with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- headers :: Int -> Headers -- | Optional: A complex type that contains a Name element for each header -- that you want CloudFront to forward to the origin and to vary on for -- this cache behavior. If Quantity is 0, omit Items. hItems :: Lens' Headers [Text] -- | The number of different headers that you want CloudFront to forward to -- the origin and to vary on for this cache behavior. The maximum number -- of headers that you can specify by name is 10. If you want CloudFront -- to forward all headers to the origin and vary on all of them, specify -- 1 for Quantity and * for Name. If you don't want CloudFront to forward -- any additional headers to the origin or to vary on any headers, -- specify 0 for Quantity and omit Items. hQuantity :: Lens' Headers Int -- | An invalidation. -- -- See: invalidation smart constructor. data Invalidation -- | Creates a value of Invalidation with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation -- | The identifier for the invalidation request. For example: -- IDFDVBD632BHDS5. iId :: Lens' Invalidation Text -- | The status of the invalidation request. When the invalidation batch is -- finished, the status is Completed. iStatus :: Lens' Invalidation Text -- | The date and time the invalidation request was first made. iCreateTime :: Lens' Invalidation UTCTime -- | The current invalidation information for the batch request. iInvalidationBatch :: Lens' Invalidation InvalidationBatch -- | An invalidation batch. -- -- See: invalidationBatch smart constructor. data InvalidationBatch -- | Creates a value of InvalidationBatch with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidationBatch :: Paths -> Text -> InvalidationBatch -- | The path of the object to invalidate. The path is relative to the -- distribution and must begin with a slash (/). You must enclose each -- invalidation object with the Path element tags. If the path includes -- non-ASCII characters or unsafe characters as defined in RFC 1783 -- (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do -- not URL encode any other characters in the path, or CloudFront will -- not invalidate the old version of the updated object. ibPaths :: Lens' InvalidationBatch Paths -- | A unique name that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the Path object), a -- new distribution is created. If the CallerReference is a value you -- already sent in a previous request to create an invalidation batch, -- and the content of each Path element is identical to the original -- request, the response includes the same information returned to the -- original request. If the CallerReference is a value you already sent -- in a previous request to create a distribution but the content of any -- Path is different from the original request, CloudFront returns an -- InvalidationBatchAlreadyExists error. ibCallerReference :: Lens' InvalidationBatch Text -- | An invalidation list. -- -- See: invalidationList smart constructor. data InvalidationList -- | Creates a value of InvalidationList with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidationList :: Text -> Int -> Bool -> Int -> InvalidationList -- | A complex type that contains one InvalidationSummary element for each -- invalidation batch that was created by the current AWS account. ilItems :: Lens' InvalidationList [InvalidationSummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- invalidation batches where they left off. ilNextMarker :: Lens' InvalidationList (Maybe Text) -- | The value you provided for the Marker request parameter. ilMarker :: Lens' InvalidationList Text -- | The value you provided for the MaxItems request parameter. ilMaxItems :: Lens' InvalidationList Int -- | A flag that indicates whether more invalidation batch requests remain -- to be listed. If your results were truncated, you can make a follow-up -- pagination request using the Marker request parameter to retrieve more -- invalidation batches in the list. ilIsTruncated :: Lens' InvalidationList Bool -- | The number of invalidation batches that were created by the current -- AWS account. ilQuantity :: Lens' InvalidationList Int -- | Summary of an invalidation request. -- -- See: invalidationSummary smart constructor. data InvalidationSummary -- | Creates a value of InvalidationSummary with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary -- | The unique ID for an invalidation request. isId :: Lens' InvalidationSummary Text -- | Undocumented member. isCreateTime :: Lens' InvalidationSummary UTCTime -- | The status of an invalidation request. isStatus :: Lens' InvalidationSummary Text -- | A complex type that lists the active CloudFront key pairs, if any, -- that are associated with AwsAccountNumber. -- -- See: keyPairIds smart constructor. data KeyPairIds -- | Creates a value of KeyPairIds with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- keyPairIds :: Int -> KeyPairIds -- | A complex type that lists the active CloudFront key pairs, if any, -- that are associated with AwsAccountNumber. kpiItems :: Lens' KeyPairIds [Text] -- | The number of active CloudFront key pairs for AwsAccountNumber. kpiQuantity :: Lens' KeyPairIds Int -- | A complex type that controls whether access logs are written for the -- distribution. -- -- See: loggingConfig smart constructor. data LoggingConfig -- | Creates a value of LoggingConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- loggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig -- | Specifies whether you want CloudFront to save access logs to an Amazon -- S3 bucket. If you do not want to enable logging when you create a -- distribution or if you want to disable logging for an existing -- distribution, specify false for Enabled, and specify empty Bucket and -- Prefix elements. If you specify false for Enabled but you specify -- values for Bucket, prefix and IncludeCookies, the values are -- automatically deleted. lcEnabled :: Lens' LoggingConfig Bool -- | Specifies whether you want CloudFront to include cookies in access -- logs, specify true for IncludeCookies. If you choose to include -- cookies in logs, CloudFront logs all cookies regardless of how you -- configure the cache behaviors for this distribution. If you do not -- want to include cookies when you create a distribution or if you want -- to disable include cookies for an existing distribution, specify false -- for IncludeCookies. lcIncludeCookies :: Lens' LoggingConfig Bool -- | The Amazon S3 bucket to store the access logs in, for example, -- myawslogbucket.s3.amazonaws.com. lcBucket :: Lens' LoggingConfig Text -- | An optional string that you want CloudFront to prefix to the access -- log filenames for this distribution, for example, myprefix/. If you -- want to enable logging, but you do not want to specify a prefix, you -- still must include an empty Prefix element in the Logging element. lcPrefix :: Lens' LoggingConfig Text -- | 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. -- -- See: origin smart constructor. data Origin -- | Creates a value of Origin with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- origin :: Text -> Text -> Origin -- | A complex type that contains information about a custom origin. If the -- origin is an Amazon S3 bucket, use the S3OriginConfig element instead. oCustomOriginConfig :: Lens' Origin (Maybe CustomOriginConfig) -- | A complex type that contains information about the Amazon S3 origin. -- If the origin is a custom origin, use the CustomOriginConfig element -- instead. oS3OriginConfig :: Lens' Origin (Maybe S3OriginConfig) -- | An optional element that causes CloudFront to request your content -- from a directory in your Amazon S3 bucket or your custom origin. When -- you include the OriginPath element, specify the directory name, -- beginning with a /. CloudFront appends the directory name to the value -- of DomainName. oOriginPath :: Lens' Origin (Maybe Text) -- | A unique identifier for the origin. The value of Id must be unique -- within the distribution. You use the value of Id when you create a -- cache behavior. The Id identifies the origin that CloudFront routes a -- request to when the request matches the path pattern for that cache -- behavior. oId :: Lens' Origin Text -- | Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you -- want CloudFront to get objects for this origin, for example, -- myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for -- the HTTP server from which you want CloudFront to get objects for this -- origin, for example, www.example.com. oDomainName :: Lens' Origin Text -- | A complex type that contains information about origins for this -- distribution. -- -- See: origins smart constructor. data Origins -- | Creates a value of Origins with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- origins :: Int -> Origins -- | A complex type that contains origins for this distribution. oItems :: Lens' Origins (Maybe (NonEmpty Origin)) -- | The number of origins for this distribution. oQuantity :: Lens' Origins Int -- | A complex type that contains information about the objects that you -- want to invalidate. -- -- See: paths smart constructor. data Paths -- | Creates a value of Paths with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- paths :: Int -> Paths -- | A complex type that contains a list of the objects that you want to -- invalidate. pItems :: Lens' Paths [Text] -- | The number of objects that you want to invalidate. pQuantity :: Lens' Paths Int -- | A complex type that identifies ways in which you want to restrict -- distribution of your content. -- -- See: restrictions smart constructor. data Restrictions -- | Creates a value of Restrictions with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- restrictions :: GeoRestriction -> Restrictions -- | Undocumented member. rGeoRestriction :: Lens' Restrictions GeoRestriction -- | A complex type that contains information about the Amazon S3 bucket -- from which you want CloudFront to get your media files for -- distribution. -- -- See: s3Origin smart constructor. data S3Origin -- | Creates a value of S3Origin with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- s3Origin :: Text -> Text -> S3Origin -- | The DNS name of the S3 origin. soDomainName :: Lens' S3Origin Text -- | Your S3 origin's origin access identity. soOriginAccessIdentity :: Lens' S3Origin Text -- | A complex type that contains information about the Amazon S3 origin. -- If the origin is a custom origin, use the CustomOriginConfig element -- instead. -- -- See: s3OriginConfig smart constructor. data S3OriginConfig -- | Creates a value of S3OriginConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- s3OriginConfig :: Text -> S3OriginConfig -- | The CloudFront origin access identity to associate with the origin. -- Use an origin access identity to configure the origin so that end -- users can only access objects in an Amazon S3 bucket through -- CloudFront. If you want end users to be able to access objects using -- either the CloudFront URL or the Amazon S3 URL, specify an empty -- OriginAccessIdentity element. To delete the origin access identity -- from an existing distribution, update the distribution configuration -- and include an empty OriginAccessIdentity element. To replace the -- origin access identity, update the distribution configuration and -- specify the new origin access identity. Use the format -- origin-access-identity/cloudfront/Id where Id is the value that -- CloudFront returned in the Id element when you created the origin -- access identity. socOriginAccessIdentity :: Lens' S3OriginConfig Text -- | 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. -- -- See: signer smart constructor. data Signer -- | Creates a value of Signer with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- signer :: Signer -- | Specifies an AWS account that can create signed URLs. Values: self, -- which indicates that the AWS account that was used to create the -- distribution can created signed URLs, or an AWS account number. Omit -- the dashes in the account number. sAWSAccountNumber :: Lens' Signer (Maybe Text) -- | A complex type that lists the active CloudFront key pairs, if any, -- that are associated with AwsAccountNumber. sKeyPairIds :: Lens' Signer (Maybe KeyPairIds) -- | A streaming distribution. -- -- See: streamingDistribution smart constructor. data StreamingDistribution -- | Creates a value of StreamingDistribution with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistribution :: Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution -- | The date and time the distribution was last modified. sdLastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime) -- | The identifier for the streaming distribution. For example: -- EGTXBD79H29TRA8. sdId :: Lens' StreamingDistribution Text -- | The current status of the streaming distribution. When the status is -- Deployed, the distribution's information is fully propagated -- throughout the Amazon CloudFront system. sdStatus :: Lens' StreamingDistribution Text -- | The domain name corresponding to the streaming distribution. For -- example: s5c39gqb8ow64r.cloudfront.net. sdDomainName :: Lens' StreamingDistribution Text -- | CloudFront automatically adds this element to the response only if -- you've set up the distribution to serve private content with signed -- URLs. The element lists the key pair IDs that CloudFront is aware of -- for each trusted signer. The Signer child element lists the AWS -- account number of the trusted signer (or an empty Self element if the -- signer is you). The Signer element also includes the IDs of any active -- key pairs associated with the trusted signer's AWS account. If no -- KeyPairId element appears for a Signer, that signer can't create -- working signed URLs. sdActiveTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners -- | The current configuration information for the streaming distribution. sdStreamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig -- | The configuration for the streaming distribution. -- -- See: streamingDistributionConfig smart constructor. data StreamingDistributionConfig -- | Creates a value of StreamingDistributionConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistributionConfig :: Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this streaming distribution. sdcAliases :: Lens' StreamingDistributionConfig (Maybe Aliases) -- | A complex type that contains information about price class for this -- streaming distribution. sdcPriceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) -- | A complex type that controls whether access logs are written for the -- streaming distribution. sdcLogging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) -- | A unique number that ensures the request can't be replayed. If the -- CallerReference is new (no matter the content of the -- StreamingDistributionConfig object), a new streaming distribution is -- created. If the CallerReference is a value you already sent in a -- previous request to create a streaming distribution, and the content -- of the StreamingDistributionConfig is identical to the original -- request (ignoring white space), the response includes the same -- information returned to the original request. If the CallerReference -- is a value you already sent in a previous request to create a -- streaming distribution but the content of the -- StreamingDistributionConfig is different from the original request, -- CloudFront returns a DistributionAlreadyExists error. sdcCallerReference :: Lens' StreamingDistributionConfig Text -- | A complex type that contains information about the Amazon S3 bucket -- from which you want CloudFront to get your media files for -- distribution. sdcS3Origin :: Lens' StreamingDistributionConfig S3Origin -- | Any comments you want to include about the streaming distribution. sdcComment :: Lens' StreamingDistributionConfig Text -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. sdcTrustedSigners :: Lens' StreamingDistributionConfig TrustedSigners -- | Whether the streaming distribution is enabled to accept end user -- requests for content. sdcEnabled :: Lens' StreamingDistributionConfig Bool -- | A streaming distribution list. -- -- See: streamingDistributionList smart constructor. data StreamingDistributionList -- | Creates a value of StreamingDistributionList with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList -- | A complex type that contains one StreamingDistributionSummary element -- for each distribution that was created by the current AWS account. sdlItems :: Lens' StreamingDistributionList [StreamingDistributionSummary] -- | If IsTruncated is true, this element is present and contains the value -- you can use for the Marker request parameter to continue listing your -- streaming distributions where they left off. sdlNextMarker :: Lens' StreamingDistributionList (Maybe Text) -- | The value you provided for the Marker request parameter. sdlMarker :: Lens' StreamingDistributionList Text -- | The value you provided for the MaxItems request parameter. sdlMaxItems :: Lens' StreamingDistributionList Int -- | A flag that indicates whether more streaming distributions remain to -- be listed. If your results were truncated, you can make a follow-up -- pagination request using the Marker request parameter to retrieve more -- distributions in the list. sdlIsTruncated :: Lens' StreamingDistributionList Bool -- | The number of streaming distributions that were created by the current -- AWS account. sdlQuantity :: Lens' StreamingDistributionList Int -- | A summary of the information for an Amazon CloudFront streaming -- distribution. -- -- See: streamingDistributionSummary smart constructor. data StreamingDistributionSummary -- | Creates a value of StreamingDistributionSummary with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingDistributionSummary :: Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary -- | The identifier for the distribution. For example: EDFDVBD632BHDS5. sdsId :: Lens' StreamingDistributionSummary Text -- | Indicates the current status of the distribution. When the status is -- Deployed, the distribution's information is fully propagated -- throughout the Amazon CloudFront system. sdsStatus :: Lens' StreamingDistributionSummary Text -- | The date and time the distribution was last modified. sdsLastModifiedTime :: Lens' StreamingDistributionSummary UTCTime -- | The domain name corresponding to the distribution. For example: -- d604721fxaaqy9.cloudfront.net. sdsDomainName :: Lens' StreamingDistributionSummary Text -- | A complex type that contains information about the Amazon S3 bucket -- from which you want CloudFront to get your media files for -- distribution. sdsS3Origin :: Lens' StreamingDistributionSummary S3Origin -- | A complex type that contains information about CNAMEs (alternate -- domain names), if any, for this streaming distribution. sdsAliases :: Lens' StreamingDistributionSummary Aliases -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. sdsTrustedSigners :: Lens' StreamingDistributionSummary TrustedSigners -- | The comment originally specified when this distribution was created. sdsComment :: Lens' StreamingDistributionSummary Text -- | Undocumented member. sdsPriceClass :: Lens' StreamingDistributionSummary PriceClass -- | Whether the distribution is enabled to accept end user requests for -- content. sdsEnabled :: Lens' StreamingDistributionSummary Bool -- | A complex type that controls whether access logs are written for this -- streaming distribution. -- -- See: streamingLoggingConfig smart constructor. data StreamingLoggingConfig -- | Creates a value of StreamingLoggingConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- streamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig -- | Specifies whether you want CloudFront to save access logs to an Amazon -- S3 bucket. If you do not want to enable logging when you create a -- streaming distribution or if you want to disable logging for an -- existing streaming distribution, specify false for Enabled, and -- specify empty Bucket and Prefix elements. If you specify false for -- Enabled but you specify values for Bucket and Prefix, the values are -- automatically deleted. slcEnabled :: Lens' StreamingLoggingConfig Bool -- | The Amazon S3 bucket to store the access logs in, for example, -- myawslogbucket.s3.amazonaws.com. slcBucket :: Lens' StreamingLoggingConfig Text -- | An optional string that you want CloudFront to prefix to the access -- log filenames for this streaming distribution, for example, myprefix/. -- If you want to enable logging, but you do not want to specify a -- prefix, you still must include an empty Prefix element in the Logging -- element. slcPrefix :: Lens' StreamingLoggingConfig Text -- | 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, go to Using a Signed URL to Serve Private Content in -- the 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. -- -- See: trustedSigners smart constructor. data TrustedSigners -- | Creates a value of TrustedSigners with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedSigners :: Bool -> Int -> TrustedSigners -- | Optional: A complex type that contains trusted signers for this cache -- behavior. If Quantity is 0, you can omit Items. tsItems :: Lens' TrustedSigners [Text] -- | Specifies whether you want to require end users to use signed URLs to -- access the files specified by PathPattern and TargetOriginId. tsEnabled :: Lens' TrustedSigners Bool -- | The number of trusted signers for this cache behavior. tsQuantity :: Lens' TrustedSigners Int -- | A complex type that contains information about viewer certificates for -- this distribution. -- -- See: viewerCertificate smart constructor. data ViewerCertificate -- | Creates a value of ViewerCertificate with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- viewerCertificate :: ViewerCertificate -- | If you specify a value for IAMCertificateId, you must also specify how -- you want CloudFront to serve HTTPS requests. Valid values are vip and -- sni-only. If you specify vip, CloudFront uses dedicated IP addresses -- for your content and can respond to HTTPS requests from any viewer. -- However, you must request permission to use this feature, and you -- incur additional monthly charges. If you specify sni-only, CloudFront -- can only respond to HTTPS requests from viewers that support Server -- Name Indication (SNI). All modern browsers support SNI, but some -- browsers still in use don't support SNI. Do not specify a value for -- SSLSupportMethod if you specified true for -- CloudFrontDefaultCertificate. vcSSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod) -- | Specify the minimum version of the SSL protocol that you want -- CloudFront to use, SSLv3 or TLSv1, for HTTPS connections. CloudFront -- will serve your objects only to browsers or devices that support at -- least the SSL version that you specify. The TLSv1 protocol is more -- secure, so we recommend that you specify SSLv3 only if your users are -- using browsers or devices that don't support TLSv1. If you're using a -- custom certificate (if you specify a value for IAMCertificateId) and -- if you're using dedicated IP (if you specify vip for -- SSLSupportMethod), you can choose SSLv3 or TLSv1 as the -- MinimumProtocolVersion. If you're using a custom certificate (if you -- specify a value for IAMCertificateId) and if you're using SNI (if you -- specify sni-only for SSLSupportMethod), you must specify TLSv1 for -- MinimumProtocolVersion. vcMinimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion) -- | If you want viewers to use HTTPS to request your objects and you're -- using an alternate domain name in your object URLs (for example, -- https://example.com/logo.jpg), specify the IAM certificate identifier -- of the custom viewer certificate for this distribution. Specify either -- this value or CloudFrontDefaultCertificate. vcIAMCertificateId :: Lens' ViewerCertificate (Maybe Text) -- | If you want viewers to use HTTPS to request your objects and you're -- using the CloudFront domain name of your distribution in your object -- URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg), -- set to true. Omit this value if you are setting an IAMCertificateId. vcCloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool)