Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets a list of distributions that have a cache behavior that's associated with the specified real-time log configuration.
You can specify the real-time log configuration by its name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to list distributions for.
You can optionally specify the maximum number of items to receive in the
response. If the total number of items in the list exceeds the maximum
that you specify, or the default maximum, the response is paginated. To
get the next page of items, send a subsequent request that specifies the
NextMarker
value from the current response as the Marker
value in
the subsequent request.
Synopsis
- data ListDistributionsByRealtimeLogConfig = ListDistributionsByRealtimeLogConfig' {}
- newListDistributionsByRealtimeLogConfig :: ListDistributionsByRealtimeLogConfig
- listDistributionsByRealtimeLogConfig_marker :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
- listDistributionsByRealtimeLogConfig_maxItems :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
- listDistributionsByRealtimeLogConfig_realtimeLogConfigArn :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
- listDistributionsByRealtimeLogConfig_realtimeLogConfigName :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
- data ListDistributionsByRealtimeLogConfigResponse = ListDistributionsByRealtimeLogConfigResponse' {}
- newListDistributionsByRealtimeLogConfigResponse :: Int -> ListDistributionsByRealtimeLogConfigResponse
- listDistributionsByRealtimeLogConfigResponse_distributionList :: Lens' ListDistributionsByRealtimeLogConfigResponse (Maybe DistributionList)
- listDistributionsByRealtimeLogConfigResponse_httpStatus :: Lens' ListDistributionsByRealtimeLogConfigResponse Int
Creating a Request
data ListDistributionsByRealtimeLogConfig Source #
See: newListDistributionsByRealtimeLogConfig
smart constructor.
ListDistributionsByRealtimeLogConfig' | |
|
Instances
newListDistributionsByRealtimeLogConfig :: ListDistributionsByRealtimeLogConfig Source #
Create a value of ListDistributionsByRealtimeLogConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListDistributionsByRealtimeLogConfig
, listDistributionsByRealtimeLogConfig_marker
- Use this field when paginating results to indicate where to begin in
your list of distributions. The response includes distributions in the
list that occur after the marker. To get the next page of the list, set
this field's value to the value of NextMarker
from the current
page's response.
ListDistributionsByRealtimeLogConfig
, listDistributionsByRealtimeLogConfig_maxItems
- The maximum number of distributions that you want in the response.
ListDistributionsByRealtimeLogConfig
, listDistributionsByRealtimeLogConfig_realtimeLogConfigArn
- The Amazon Resource Name (ARN) of the real-time log configuration whose
associated distributions you want to list.
$sel:realtimeLogConfigName:ListDistributionsByRealtimeLogConfig'
, listDistributionsByRealtimeLogConfig_realtimeLogConfigName
- The name of the real-time log configuration whose associated
distributions you want to list.
Request Lenses
listDistributionsByRealtimeLogConfig_marker :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text) Source #
Use this field when paginating results to indicate where to begin in
your list of distributions. The response includes distributions in the
list that occur after the marker. To get the next page of the list, set
this field's value to the value of NextMarker
from the current
page's response.
listDistributionsByRealtimeLogConfig_maxItems :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text) Source #
The maximum number of distributions that you want in the response.
listDistributionsByRealtimeLogConfig_realtimeLogConfigArn :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of the real-time log configuration whose associated distributions you want to list.
listDistributionsByRealtimeLogConfig_realtimeLogConfigName :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text) Source #
The name of the real-time log configuration whose associated distributions you want to list.
Destructuring the Response
data ListDistributionsByRealtimeLogConfigResponse Source #
See: newListDistributionsByRealtimeLogConfigResponse
smart constructor.
ListDistributionsByRealtimeLogConfigResponse' | |
|
Instances
Generic ListDistributionsByRealtimeLogConfigResponse Source # | |
Show ListDistributionsByRealtimeLogConfigResponse Source # | |
NFData ListDistributionsByRealtimeLogConfigResponse Source # | |
Eq ListDistributionsByRealtimeLogConfigResponse Source # | |
type Rep ListDistributionsByRealtimeLogConfigResponse Source # | |
Defined in Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig type Rep ListDistributionsByRealtimeLogConfigResponse = D1 ('MetaData "ListDistributionsByRealtimeLogConfigResponse" "Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ListDistributionsByRealtimeLogConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DistributionList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newListDistributionsByRealtimeLogConfigResponse Source #
:: Int |
|
-> ListDistributionsByRealtimeLogConfigResponse |
Create a value of ListDistributionsByRealtimeLogConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:distributionList:ListDistributionsByRealtimeLogConfigResponse'
, listDistributionsByRealtimeLogConfigResponse_distributionList
- Undocumented member.
$sel:httpStatus:ListDistributionsByRealtimeLogConfigResponse'
, listDistributionsByRealtimeLogConfigResponse_httpStatus
- The response's http status code.
Response Lenses
listDistributionsByRealtimeLogConfigResponse_distributionList :: Lens' ListDistributionsByRealtimeLogConfigResponse (Maybe DistributionList) Source #
Undocumented member.
listDistributionsByRealtimeLogConfigResponse_httpStatus :: Lens' ListDistributionsByRealtimeLogConfigResponse Int Source #
The response's http status code.