Smaws_Client_AutoScaling.DescribeTrafficSourcesGets information about the traffic sources for the specified Auto Scaling group.
You can optionally provide a traffic source type. If you provide a traffic source type, then the results only include that traffic source type.
If you do not provide a traffic source type, then the results include all the traffic sources for the specified Auto Scaling group.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceContentionFault of Types.resource_contention_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_traffic_sources_request ->
(Types.describe_traffic_sources_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceContentionFault of Types.resource_contention_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_traffic_sources_request ->
(Types.describe_traffic_sources_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceContentionFault of Types.resource_contention_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result