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 |
__Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change.__
Gets information about the traffic sources for the specified Auto Scaling group.
Synopsis
- data DescribeTrafficSources = DescribeTrafficSources' {}
- newDescribeTrafficSources :: Text -> Text -> DescribeTrafficSources
- describeTrafficSources_maxRecords :: Lens' DescribeTrafficSources (Maybe Int)
- describeTrafficSources_nextToken :: Lens' DescribeTrafficSources (Maybe Text)
- describeTrafficSources_autoScalingGroupName :: Lens' DescribeTrafficSources Text
- describeTrafficSources_trafficSourceType :: Lens' DescribeTrafficSources Text
- data DescribeTrafficSourcesResponse = DescribeTrafficSourcesResponse' {}
- newDescribeTrafficSourcesResponse :: Int -> DescribeTrafficSourcesResponse
- describeTrafficSourcesResponse_nextToken :: Lens' DescribeTrafficSourcesResponse (Maybe Text)
- describeTrafficSourcesResponse_trafficSources :: Lens' DescribeTrafficSourcesResponse (Maybe [TrafficSourceState])
- describeTrafficSourcesResponse_httpStatus :: Lens' DescribeTrafficSourcesResponse Int
Creating a Request
data DescribeTrafficSources Source #
See: newDescribeTrafficSources
smart constructor.
DescribeTrafficSources' | |
|
Instances
newDescribeTrafficSources Source #
:: Text | |
-> Text | |
-> DescribeTrafficSources |
Create a value of DescribeTrafficSources
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:maxRecords:DescribeTrafficSources'
, describeTrafficSources_maxRecords
- The maximum number of items to return with this call. The maximum value
is 50
.
DescribeTrafficSources
, describeTrafficSources_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
DescribeTrafficSources
, describeTrafficSources_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:trafficSourceType:DescribeTrafficSources'
, describeTrafficSources_trafficSourceType
- The type of traffic source you are describing. Currently, the only valid
value is vpc-lattice
.
Request Lenses
describeTrafficSources_maxRecords :: Lens' DescribeTrafficSources (Maybe Int) Source #
The maximum number of items to return with this call. The maximum value
is 50
.
describeTrafficSources_nextToken :: Lens' DescribeTrafficSources (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeTrafficSources_autoScalingGroupName :: Lens' DescribeTrafficSources Text Source #
The name of the Auto Scaling group.
describeTrafficSources_trafficSourceType :: Lens' DescribeTrafficSources Text Source #
The type of traffic source you are describing. Currently, the only valid
value is vpc-lattice
.
Destructuring the Response
data DescribeTrafficSourcesResponse Source #
See: newDescribeTrafficSourcesResponse
smart constructor.
DescribeTrafficSourcesResponse' | |
|
Instances
newDescribeTrafficSourcesResponse Source #
Create a value of DescribeTrafficSourcesResponse
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:
DescribeTrafficSources
, describeTrafficSourcesResponse_nextToken
- This string indicates that the response contains more items than can be
returned in a single response. To receive additional items, specify this
string for the NextToken
value when requesting the next set of items.
This value is null when there are no more items to return.
DescribeTrafficSourcesResponse
, describeTrafficSourcesResponse_trafficSources
- Information about the traffic sources.
$sel:httpStatus:DescribeTrafficSourcesResponse'
, describeTrafficSourcesResponse_httpStatus
- The response's http status code.
Response Lenses
describeTrafficSourcesResponse_nextToken :: Lens' DescribeTrafficSourcesResponse (Maybe Text) Source #
This string indicates that the response contains more items than can be
returned in a single response. To receive additional items, specify this
string for the NextToken
value when requesting the next set of items.
This value is null when there are no more items to return.
describeTrafficSourcesResponse_trafficSources :: Lens' DescribeTrafficSourcesResponse (Maybe [TrafficSourceState]) Source #
Information about the traffic sources.
describeTrafficSourcesResponse_httpStatus :: Lens' DescribeTrafficSourcesResponse Int Source #
The response's http status code.