-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathgenerator.yaml
More file actions
105 lines (104 loc) · 2.48 KB
/
Copy pathgenerator.yaml
File metadata and controls
105 lines (104 loc) · 2.48 KB
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
101
102
103
104
105
empty_shapes:
- SlidingWindow
ignore:
resource_names:
- AnomalyDetector
- CompositeAlarm
- InsightRule
- ManagedInsightRule
# - MetricStream
field_paths:
- PutDashboardInput.Tags
operations:
DeleteAlarms:
operation_type:
- Delete
resource_name: MetricAlarm
DescribeAlarms:
output_wrapper_field_path: MetricAlarms
operation_type:
- List
resource_name: MetricAlarm
PutMetricAlarm:
operation_type:
- Create
- Update
resource_name: MetricAlarm
PutMetricStream:
operation_type:
- Create
- Update
resource_name: MetricStream
DeleteDashboards:
operation_type:
- Delete
resource_name: Dashboard
GetDashboard:
operation_type:
- ReadOne
resource_name: Dashboard
ListDashboards:
operation_type:
- ReadMany
resource_name: Dashboard
PutDashboard:
operation_type:
- Create
- Update
resource_name: Dashboard
resources:
MetricStream:
fields:
RoleARN:
references:
service_name: iam
resource: Role
path: Status.ACKResourceMetadata.ARN
FirehoseARN:
references:
service_name: firehose
resource: DeliveryStream
path: Status.ACKResourceMetadata.ARN
MetricAlarm:
fields:
Name:
is_primary_key: true
is_required: true
AlarmArn:
is_arn: true
renames:
operations:
PutMetricAlarm:
input_fields:
AlarmName: Name
hooks:
sdk_read_many_post_build_request:
template_path: hooks/metricalarm/sdk_read_many_post_build_request.go.tpl
sdk_read_many_post_set_output:
template_path: hooks/metricalarm/sdk_read_many_post_set_output.go.tpl
sdk_delete_post_build_request:
template_path: hooks/metricalarm/sdk_delete_post_build_request.go.tpl
sdk_update_pre_build_request:
template_path: hooks/metricalarm/sdk_update_pre_build_request.go.tpl
Dashboard:
fields:
DashboardName:
is_primary_key: true
is_required: true
DashboardBody:
is_document: true
is_required: true
DashboardArn:
is_read_only: true
hooks:
sdk_delete_post_build_request:
template_path: hooks/dashboard/sdk_delete_post_build_request.go.tpl
exceptions:
errors:
404:
code: ResourceNotFound
terminal_codes:
- InvalidParameterValueException
- InvalidParameterInput
tags:
ignore: true