1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
open Awso_codepipeline
open Awso_async
module Io = Http.Io
let eval ?endpoint_url ?cfg endpoint input =
Io.bind (Io.resolve_cfg cfg)
(fun cfg ->
let meth = Endpoints.method_of_endpoint endpoint in
let uri = Endpoints.uri_of_endpoint endpoint input in
Io.map
(Io.call ?endpoint_url ~cfg ~service:Values.service meth
(Endpoints.to_request endpoint input) uri)
(fun resp_result -> Endpoints.of_response endpoint resp_result))
let acknowledge_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AcknowledgeJob input
let acknowledge_third_party_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AcknowledgeThirdPartyJob input
let create_custom_action_type ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateCustomActionType input
let create_pipeline ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreatePipeline input
let delete_custom_action_type ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteCustomActionType input
let delete_pipeline ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePipeline input
let delete_webhook ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteWebhook input
let deregister_webhook_with_third_party ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeregisterWebhookWithThirdParty input
let disable_stage_transition ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableStageTransition input
let enable_stage_transition ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableStageTransition input
let get_action_type ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetActionType input
let get_job_details ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetJobDetails input
let get_pipeline ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPipeline input
let get_pipeline_execution ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPipelineExecution input
let get_pipeline_state ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPipelineState input
let get_third_party_job_details ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetThirdPartyJobDetails input
let list_action_executions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListActionExecutions input
let list_action_types ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListActionTypes input
let list_deploy_action_execution_targets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDeployActionExecutionTargets input
let list_pipeline_executions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPipelineExecutions input
let list_pipelines ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPipelines input
let list_rule_executions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListRuleExecutions input
let list_rule_types ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListRuleTypes input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_webhooks ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListWebhooks input
let override_stage_condition ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.OverrideStageCondition input
let poll_for_jobs ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PollForJobs input
let poll_for_third_party_jobs ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PollForThirdPartyJobs input
let put_action_revision ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutActionRevision input
let put_approval_result ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutApprovalResult input
let put_job_failure_result ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutJobFailureResult input
let put_job_success_result ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutJobSuccessResult input
let put_third_party_job_failure_result ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutThirdPartyJobFailureResult input
let put_third_party_job_success_result ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutThirdPartyJobSuccessResult input
let put_webhook ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutWebhook input
let register_webhook_with_third_party ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RegisterWebhookWithThirdParty input
let retry_stage_execution ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RetryStageExecution input
let rollback_stage ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RollbackStage input
let start_pipeline_execution ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartPipelineExecution input
let stop_pipeline_execution ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopPipelineExecution input
let tag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.TagResource input
let untag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_action_type ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateActionType input
let update_pipeline ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdatePipeline input