Smaws_Client_Personalize.ListCampaignsReturns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see CreateCampaign.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_campaigns_request ->
(Types.list_campaigns_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_campaigns_request ->
(Types.list_campaigns_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result