Module Smaws_Client_IoTFleetWise.CreateCampaign

Creates an orchestration of data collection rules. The Amazon Web Services IoT FleetWise Edge Agent software running in vehicles uses campaigns to decide how to collect and transfer data to the cloud. You create campaigns in the cloud. After you or your team approve campaigns, Amazon Web Services IoT FleetWise automatically deploys them to vehicles.

For more information, see Collect and transfer data with campaigns in the Amazon Web Services IoT FleetWise Developer Guide.

Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_campaign_request -> (Types.create_campaign_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_campaign_request -> (Types.create_campaign_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result