Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2025-08-22T20:47:49Z"
build_hash: b6df33f8c7f55b234555c0b578b8de43c74771a8
go_version: go1.24.5
version: v0.51.0
api_directory_checksum: 5a16cea62c98405d3786f1ee1aad22ff3fafc7d6
build_date: "2025-09-05T22:54:05Z"
build_hash: 1d9076d0211773ff8ab8682b28b912c7ece10676
go_version: go1.25.0
version: v0.51.0-2-g1d9076d
api_directory_checksum: 65127f2f0a24a801fad4e043be37857f0e6bcfb9
api_version: v1alpha1
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: 8e6d3a835f5f6a46937ced911945d641a2145303
file_checksum: 64095ac8a26b456580bc303aceec26581b1b6f6a
original_file_name: generator.yaml
last_modification:
reason: API generation
47 changes: 45 additions & 2 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,50 @@ resources:
json_path: .status.endpoint.address
type: string
index: 20
ServerlessCacheSnapshot:
update_operation:
custom_method_name: customUpdateServerlessCacheSnapshot
fields:
ServerlessCacheName:
is_immutable: true
references:
resource: ServerlessCache
path: Spec.ServerlessCacheName
ServerlessCacheSnapshotName:
is_immutable: true
kmsKeyId:
is_immutable: true
references:
service_name: kms
resource: Key
path: Status.ACKResourceMetadata.ARN
exceptions:
errors:
404:
code: ServerlessCacheSnapshotNotFoundFault
terminal_codes:
- ServerlessCacheSnapshotAlreadyExistsFault
- InvalidParameterValueException
hooks:
sdk_create_post_set_output:
template_path: hooks/serverless_cache_snapshot/sdk_create_post_set_output.go.tpl
sdk_read_many_post_set_output:
template_path: hooks/serverless_cache_snapshot/sdk_read_many_post_set_output.go.tpl
print:
add_age_column: true
add_synced_column: true
order_by: index
additional_columns:
- name: STATUS
json_path: .status.status
type: string
index: 10
synced:
when:
- path: Status.Status
in:
- available
- create_failed
operations:
DescribeServerlessCaches:
operation_type:
Expand Down Expand Up @@ -391,7 +435,6 @@ operations:
ApplyImmediately: aws.Bool(true)
ignore:
resource_names:
- ServerlessCacheSnapshot
- GlobalReplicationGroup
- CacheSecurityGroup
field_paths:
Expand Down Expand Up @@ -430,4 +473,4 @@ ignore:
- ModifyReplicationGroupOutput.ReplicationGroup.ClusterMode
- ModifyReplicationGroupOutput.ReplicationGroup.PendingModifiedValues.ClusterMode
- Subnet.SupportedNetworkTypes
- CreateReplicationGroupInput.ServerlessCacheSnapshotName
- CreateReplicationGroupInput.ServerlessCacheSnapshotName
113 changes: 113 additions & 0 deletions apis/v1alpha1/serverless_cache_snapshot.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 11 additions & 9 deletions apis/v1alpha1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading