Skip to content

Commit b671400

Browse files
author
Anil Yalavarthi
committed
Snapshot Resource changes for Ack
1 parent 4968672 commit b671400

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+3035
-66
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-03-02T19:26:32Z"
3-
build_hash: ade2429bb444ab635916395ea5773d141ba135e1
4-
go_version: go1.17.5
5-
version: v0.17.2
6-
api_directory_checksum: 31b7d663020e9ce9c237cb9c5e97d554eea474c9
2+
build_date: "2022-03-17T01:24:43Z"
3+
build_hash: 7dff1f4590e623d17e58660b7dd1c66e22b5215a
4+
go_version: go1.17.6
5+
version: v0.17.1
6+
api_directory_checksum: d6aeee58f42121da61d2a6c641452ec938a20fd6
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.29
99
generator_config_info:
10-
file_checksum: f56fad648d60d6f54aebadb7044f996c1dd2713e
10+
file_checksum: 3d0f66740c04a3e731cd9321c8c53ff37713a834
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,51 @@
11
ignore:
22
resource_names:
3-
- Snapshot
43
- User
54
- ACL
65
- Cluster
76
- SubnetGroup
7+
field_paths:
8+
- DescribeSnapshotsInput.ClusterName
9+
- DescribeSnapshotsInput.Source
810
resources:
11+
Snapshot:
12+
exceptions:
13+
errors:
14+
404:
15+
code: SnapshotNotFoundFault
16+
terminal_codes:
17+
- InvalidParameterCombinationException
18+
- InvalidSnapshotStateFault
19+
- SnapshotAlreadyExistsFault
20+
- SnapshotQuotaExceededFault
21+
- TagQuotaPerResourceExceeded
22+
- ClusterNotFoundFault
23+
- InvalidClusterStateFault
24+
- InvalidParameterValueException
25+
- InvalidParameter
26+
fields:
27+
SourceSnapshotName:
28+
from:
29+
operation: CopySnapshot
30+
path: SourceSnapshotName
31+
ClusterName:
32+
is_primary_key: false
33+
from:
34+
operation: CreateSnapshot
35+
path: ClusterName
36+
hooks:
37+
sdk_create_pre_build_request:
38+
template_path: hooks/snapshot/sdk_create_pre_build_request.go.tpl
39+
sdk_update_pre_build_request:
40+
template_path: hooks/snapshot/sdk_update_pre_build_request.go.tpl
41+
sdk_create_post_set_output:
42+
template_path: hooks/snapshot/sdk_create_post_set_output.go.tpl
43+
sdk_read_many_post_set_output:
44+
template_path: hooks/snapshot/sdk_read_many_post_set_output.go.tpl
45+
sdk_delete_pre_build_request:
46+
template_path: hooks/snapshot/sdk_delete_pre_build_request.go.tpl
47+
sdk_delete_post_request:
48+
template_path: hooks/snapshot/sdk_delete_post_request.go.tpl
949
ParameterGroup:
1050
exceptions:
1151
errors:
@@ -55,4 +95,5 @@ resources:
5595
ParameterGroupName: Name
5696
DescribeParameterGroups:
5797
input_fields:
58-
ParameterGroupName: Name
98+
ParameterGroupName: Name
99+

apis/v1alpha1/snapshot.go

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/types.go

Lines changed: 60 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)