@@ -297,15 +297,11 @@ resources:
297297 update_operation :
298298 custom_method_name : customUpdateUserGroup
299299 ServerlessCache :
300+ update_operation :
301+ custom_method_name : customUpdateServerlessCache
300302 fields :
301303 ServerlessCacheName :
302304 is_primary_key : true
303- CacheUsageLimits :
304- is_immutable : true
305- Engine :
306- is_immutable : true
307- EngineVersion :
308- is_immutable : true
309305 SecurityGroupIDs :
310306 references :
311307 resource : SecurityGroup
@@ -320,18 +316,12 @@ resources:
320316 references :
321317 resource : UserGroup
322318 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
319+ synced :
320+ when :
321+ - path : Status.Status
322+ in :
323+ - available
331324 exceptions :
332- errors :
333- 404 :
334- code : ServerlessCacheNotFoundFault
335325 terminal_codes :
336326 - ServerlessCacheAlreadyExistsFault
337327 - ServerlessCacheQuotaForCustomerExceededFault
@@ -341,12 +331,8 @@ resources:
341331 - TagQuotaPerResourceExceeded
342332 - InvalidKMSKeyFault
343333 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
334+ sdk_read_many_post_set_output :
335+ template_path : hooks/serverless_cache/sdk_read_many_post_set_output.go.tpl
350336 print :
351337 add_age_column : true
352338 add_synced_column : true
@@ -361,6 +347,11 @@ resources:
361347 type : string
362348 index : 20
363349operations :
350+ DescribeServerlessCaches :
351+ operation_type :
352+ - List
353+ resource_name :
354+ ServerlessCache
364355 DescribeCacheSubnetGroups :
365356 set_output_custom_method_name : CustomDescribeCacheSubnetGroupsSetOutput
366357 DescribeReplicationGroups :
0 commit comments