Skip to content

Commit d16f722

Browse files
Add serverlesscache to elasticache
1 parent b6cbf3a commit d16f722

36 files changed

+4092
-87
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: "2025-06-26T06:25:52Z"
3-
build_hash: a488d4e8a9222ed51e5690cb5850beb21cce5a1f
4-
go_version: go1.24.2
5-
version: v0.48.0-1-ga488d4e
6-
api_directory_checksum: e7d8480a655968a4f441db9509fd5561aa5eb1c4
2+
build_date: "2025-07-14T23:19:12Z"
3+
build_hash: f13a4ee15f16c646925c7125e32123e0d5aa41a9
4+
go_version: go1.24.3
5+
version: v0.48.0-3-gf13a4ee
6+
api_directory_checksum: d11caeff2b8b1b50d6e9a03ffc423ce7a13ec817
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: a9abf28e51c635fa7cc667698abf864c40e7f284
10+
file_checksum: 6d53faf35ef151736ec16db756c36cc94ad6de49
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,70 @@ resources:
296296
- TagQuotaPerResourceExceeded
297297
update_operation:
298298
custom_method_name: customUpdateUserGroup
299+
ServerlessCache:
300+
fields:
301+
ServerlessCacheName:
302+
is_primary_key: true
303+
CacheUsageLimits:
304+
is_immutable: true
305+
Engine:
306+
is_immutable: true
307+
EngineVersion:
308+
is_immutable: true
309+
SecurityGroupIDs:
310+
references:
311+
resource: SecurityGroup
312+
service_name: ec2
313+
path: Status.ID
314+
SubnetIDs:
315+
references:
316+
service_name: ec2
317+
resource: Subnet
318+
path: Status.SubnetID
319+
UserGroupIDs:
320+
references:
321+
resource: UserGroup
322+
path: Spec.UserGroupID
323+
Status:
324+
is_read_only: true
325+
ARN:
326+
is_read_only: true
327+
Endpoint:
328+
is_read_only: true
329+
CreateTime:
330+
is_read_only: true
331+
exceptions:
332+
errors:
333+
404:
334+
code: ServerlessCacheNotFoundFault
335+
terminal_codes:
336+
- ServerlessCacheAlreadyExistsFault
337+
- ServerlessCacheQuotaForCustomerExceededFault
338+
- InvalidParameterValue
339+
- InvalidParameterCombination
340+
- InvalidVPCNetworkStateFault
341+
- TagQuotaPerResourceExceeded
342+
- InvalidKMSKeyFault
343+
hooks:
344+
sdk_create_post_set_output:
345+
template_path: hooks/serverless_cache/sdk_create_post_set_output.go.tpl
346+
sdk_update_pre_build_request:
347+
template_path: hooks/serverless_cache/sdk_update_pre_build_request.go.tpl
348+
sdk_read_one_post_set_output:
349+
template_path: hooks/serverless_cache/sdk_read_one_post_set_output.go.tpl
350+
print:
351+
add_age_column: true
352+
add_synced_column: true
353+
order_by: index
354+
additional_columns:
355+
- name: STATUS
356+
json_path: .status.status
357+
type: string
358+
index: 10
359+
- name: ENDPOINT
360+
json_path: .status.endpoint.address
361+
type: string
362+
index: 20
299363
operations:
300364
DescribeCacheSubnetGroups:
301365
set_output_custom_method_name: CustomDescribeCacheSubnetGroupsSetOutput
@@ -334,7 +398,6 @@ operations:
334398
ApplyImmediately: aws.Bool(true)
335399
ignore:
336400
resource_names:
337-
- ServerlessCache
338401
- ServerlessCacheSnapshot
339402
- GlobalReplicationGroup
340403
- CacheSecurityGroup

apis/v1alpha1/serverless_cache.go

Lines changed: 135 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: 38 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)