Skip to content

Commit 38f4b4d

Browse files
committed
Add GlobalReplicationGroup to elasticache
1 parent 9b0f0e8 commit 38f4b4d

Some content is hidden

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

46 files changed

+3213
-194
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-08-08T21:25:54Z"
3-
build_hash: b4fbf4e427daaef74ed873aac01e4a9ca68fb479
2+
build_date: "2025-08-27T19:47:06Z"
3+
build_hash: 1d9076d0211773ff8ab8682b28b912c7ece10676
44
go_version: go1.24.5
5-
version: v0.50.0-3-gb4fbf4e
6-
api_directory_checksum: 5a16cea62c98405d3786f1ee1aad22ff3fafc7d6
5+
version: v0.51.0-2-g1d9076d
6+
api_directory_checksum: 3b35ee547ceda4c06e5b17cc1597356f8351cecc
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: a3aa9d437d76c0a739168005043783103bf199da
10+
file_checksum: 6bf5bac98eb5a660db71019538b4fa31a97d86e4
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,56 @@ resources:
116116
hooks:
117117
sdk_read_many_post_set_output:
118118
template_path: hooks/cache_subnet_group/sdk_read_many_post_set_output.go.tpl
119+
GlobalReplicationGroup:
120+
fields:
121+
GlobalReplicationGroupId:
122+
is_primary_key: true
123+
GlobalReplicationGroupIdSuffix:
124+
is_immutable: true
125+
PrimaryReplicationGroupId:
126+
is_immutable: true
127+
references:
128+
resource: ReplicationGroup
129+
path: Spec.ReplicationGroupID
130+
ARN:
131+
is_read_only: true
132+
Status:
133+
is_read_only: true
134+
GlobalReplicationGroupDescription:
135+
is_read_only: true
136+
ClusterEnabled:
137+
is_read_only: true
138+
Engine:
139+
is_read_only: true
140+
is_immutable: true
141+
TransitEncryptionEnabled:
142+
is_read_only: true
143+
AuthTokenEnabled:
144+
is_read_only: true
145+
AtRestEncryptionEnabled:
146+
is_read_only: true
147+
Members:
148+
is_read_only: true
149+
Tags:
150+
from:
151+
operation: ListTagsForResource
152+
path: TagList
153+
exceptions:
154+
errors:
155+
404:
156+
code: GlobalReplicationGroupNotFoundFault
157+
terminal_codes:
158+
- GlobalReplicationGroupAlreadyExistsFault
159+
- InvalidParameterValueException
160+
- InvalidGlobalReplicationGroupStateFault
161+
- ServiceLinkedRoleNotFoundFault
162+
hooks:
163+
sdk_create_post_set_output:
164+
template_path: hooks/global_replication_group/sdk_create_post_set_output.go.tpl
165+
sdk_update_pre_build_request:
166+
template_path: hooks/global_replication_group/sdk_update_pre_build_request.go.tpl
167+
sdk_read_one_post_set_output:
168+
template_path: hooks/global_replication_group/sdk_read_one_post_set_output.go.tpl
119169
ReplicationGroup:
120170
exceptions:
121171
terminal_codes:
@@ -387,10 +437,12 @@ operations:
387437
set_output_custom_method_name: customModifyCacheClusterSetOutput
388438
override_values:
389439
ApplyImmediately: aws.Bool(true)
440+
ModifyGlobalReplicationGroup:
441+
override_values:
442+
ApplyImmediately: aws.Bool(true)
390443
ignore:
391444
resource_names:
392445
- ServerlessCacheSnapshot
393-
- GlobalReplicationGroup
394446
- CacheSecurityGroup
395447
field_paths:
396448
- DescribeSnapshotsInput.CacheClusterId
@@ -428,4 +480,4 @@ ignore:
428480
- ModifyReplicationGroupOutput.ReplicationGroup.ClusterMode
429481
- ModifyReplicationGroupOutput.ReplicationGroup.PendingModifiedValues.ClusterMode
430482
- Subnet.SupportedNetworkTypes
431-
- CreateReplicationGroupInput.ServerlessCacheSnapshotName
483+
- CreateReplicationGroupInput.ServerlessCacheSnapshotName

apis/v1alpha1/global_replication_group.go

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

0 commit comments

Comments
 (0)