cortexa_aws_cloudtrail_data/generated/
operations.rs1#![allow(dead_code)]
6
7#[derive(Debug, Clone, Copy, PartialEq, Eq)]
9pub struct ServiceDescriptor {
10 pub sdk_id: &'static str,
12 pub api_version: &'static str,
14 pub protocol: &'static str,
16 pub signing_name: &'static str,
18 pub endpoint_prefix: &'static str,
20 pub target_namespace: &'static str,
22}
23
24pub const SERVICE: ServiceDescriptor = ServiceDescriptor {
26 sdk_id: "CloudTrail Data",
27 api_version: "2021-08-11",
28 protocol: "restJson1",
29 signing_name: "cloudtrail-data",
30 endpoint_prefix: "cloudtrail-data",
31 target_namespace: "CloudTrailDataService",
32};
33
34#[derive(Debug, Clone, Copy, PartialEq, Eq)]
36pub struct OperationDescriptor {
37 pub name: &'static str,
39 pub method: &'static str,
41 pub uri: &'static str,
43 pub http_code: u16,
45 pub input_shape: Option<&'static str>,
47 pub output_shape: Option<&'static str>,
49 pub input_token: Option<&'static str>,
51 pub output_token: Option<&'static str>,
53 pub items_field: Option<&'static str>,
55 pub idempotent: bool,
57 pub readonly: bool,
59}
60
61pub const OP_PUT_AUDIT_EVENTS: OperationDescriptor = OperationDescriptor {
63 name: "PutAuditEvents",
64 method: "POST",
65 uri: "/PutAuditEvents",
66 http_code: 200,
67 input_shape: Some("PutAuditEventsRequest"),
68 output_shape: Some("PutAuditEventsResponse"),
69 input_token: None,
70 output_token: None,
71 items_field: None,
72 idempotent: false,
73 readonly: false,
74};
75
76pub const ALL_OPERATIONS: &[OperationDescriptor] = &[OP_PUT_AUDIT_EVENTS];