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
open Awso_partnercentral_selling
open Awso_lwt
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 accept_engagement_invitation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AcceptEngagementInvitation input
let assign_opportunity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssignOpportunity input
let associate_opportunity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateOpportunity input
let create_engagement ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateEngagement input
let create_engagement_context ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateEngagementContext input
let create_engagement_invitation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateEngagementInvitation input
let create_opportunity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateOpportunity input
let create_resource_snapshot ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateResourceSnapshot input
let create_resource_snapshot_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateResourceSnapshotJob input
let delete_resource_snapshot_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteResourceSnapshotJob input
let disassociate_opportunity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateOpportunity input
let get_aws_opportunity_summary ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAwsOpportunitySummary input
let get_engagement ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetEngagement input
let get_engagement_invitation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetEngagementInvitation input
let get_opportunity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetOpportunity input
let get_resource_snapshot ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourceSnapshot input
let get_resource_snapshot_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourceSnapshotJob input
let get_selling_system_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSellingSystemSettings input
let list_engagement_by_accepting_invitation_tasks ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEngagementByAcceptingInvitationTasks
input
let list_engagement_from_opportunity_tasks ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEngagementFromOpportunityTasks input
let list_engagement_invitations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEngagementInvitations input
let list_engagement_members ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEngagementMembers input
let list_engagement_resource_associations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEngagementResourceAssociations input
let list_engagements ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEngagements input
let list_opportunities ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListOpportunities input
let list_opportunity_from_engagement_tasks ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListOpportunityFromEngagementTasks input
let list_resource_snapshot_jobs ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListResourceSnapshotJobs input
let list_resource_snapshots ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListResourceSnapshots input
let list_solutions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSolutions input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_selling_system_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutSellingSystemSettings input
let reject_engagement_invitation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RejectEngagementInvitation input
let start_engagement_by_accepting_invitation_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartEngagementByAcceptingInvitationTask
input
let start_engagement_from_opportunity_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartEngagementFromOpportunityTask input
let start_opportunity_from_engagement_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartOpportunityFromEngagementTask input
let start_resource_snapshot_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartResourceSnapshotJob input
let stop_resource_snapshot_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopResourceSnapshotJob input
let submit_opportunity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SubmitOpportunity 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_engagement_context ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateEngagementContext input
let update_opportunity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateOpportunity input