forked from aws-controllers-k8s/memorydb-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenerator.yaml
58 lines (58 loc) · 1.69 KB
/
generator.yaml
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
ignore:
resource_names:
- Snapshot
- User
- ACL
- Cluster
- SubnetGroup
resources:
ParameterGroup:
exceptions:
errors:
404:
code: ParameterGroupNotFoundFault
terminal_codes:
- ParameterGroupQuotaExceededFault
- ParameterGroupAlreadyExistsFault
- InvalidParameterGroupStateFault
- InvalidParameterValueException
- InvalidParameterCombinationException
fields:
Name:
is_primary_key: true
is_required: true
from:
operation: CreateParameterGroup
path: ParameterGroupName
ParameterNameValues:
from:
operation: UpdateParameterGroup
path: ParameterNameValues
Parameters:
is_read_only: true
from:
operation: DescribeParameters
path: Parameters
hooks:
sdk_read_many_post_set_output:
template_path: hooks/parametergroup/sdk_read_many_post_set_output.go.tpl
sdk_create_post_set_output:
template_path: hooks/parametergroup/sdk_read_many_post_set_output.go.tpl
sdk_update_post_set_output:
template_path: hooks/parametergroup/sdk_read_many_post_set_output.go.tpl
sdk_update_pre_build_request:
template_path: hooks/parametergroup/sdk_update_pre_build_request.go.tpl
renames:
operations:
CreateParameterGroup:
input_fields:
ParameterGroupName: Name
UpdateParameterGroup:
input_fields:
ParameterGroupName: Name
DeleteParameterGroup:
input_fields:
ParameterGroupName: Name
DescribeParameterGroups:
input_fields:
ParameterGroupName: Name