Smaws_Client_Personalize.DescribeCampaignDescribes the given campaign, including its status.
A campaign can be in one of the following states:
When the status is CREATE FAILED, the response includes the failureReason key, which describes why.
For more information on campaigns, see CreateCampaign.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_campaign_request ->
(Types.describe_campaign_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_campaign_request ->
(Types.describe_campaign_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result