aws-sdk-elasticache 1.92.0 → 1.94.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,6 +80,7 @@ module Aws::ElastiCache
80
80
  CacheSubnetGroupQuotaExceededFault = Shapes::StructureShape.new(name: 'CacheSubnetGroupQuotaExceededFault')
81
81
  CacheSubnetGroups = Shapes::ListShape.new(name: 'CacheSubnetGroups')
82
82
  CacheSubnetQuotaExceededFault = Shapes::StructureShape.new(name: 'CacheSubnetQuotaExceededFault')
83
+ CacheUsageLimits = Shapes::StructureShape.new(name: 'CacheUsageLimits')
83
84
  ChangeType = Shapes::StringShape.new(name: 'ChangeType')
84
85
  CloudWatchLogsDestinationDetails = Shapes::StructureShape.new(name: 'CloudWatchLogsDestinationDetails')
85
86
  ClusterIdList = Shapes::ListShape.new(name: 'ClusterIdList')
@@ -88,6 +89,8 @@ module Aws::ElastiCache
88
89
  CompleteMigrationMessage = Shapes::StructureShape.new(name: 'CompleteMigrationMessage')
89
90
  CompleteMigrationResponse = Shapes::StructureShape.new(name: 'CompleteMigrationResponse')
90
91
  ConfigureShard = Shapes::StructureShape.new(name: 'ConfigureShard')
92
+ CopyServerlessCacheSnapshotRequest = Shapes::StructureShape.new(name: 'CopyServerlessCacheSnapshotRequest')
93
+ CopyServerlessCacheSnapshotResponse = Shapes::StructureShape.new(name: 'CopyServerlessCacheSnapshotResponse')
91
94
  CopySnapshotMessage = Shapes::StructureShape.new(name: 'CopySnapshotMessage')
92
95
  CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
93
96
  CreateCacheClusterMessage = Shapes::StructureShape.new(name: 'CreateCacheClusterMessage')
@@ -102,12 +105,18 @@ module Aws::ElastiCache
102
105
  CreateGlobalReplicationGroupResult = Shapes::StructureShape.new(name: 'CreateGlobalReplicationGroupResult')
103
106
  CreateReplicationGroupMessage = Shapes::StructureShape.new(name: 'CreateReplicationGroupMessage')
104
107
  CreateReplicationGroupResult = Shapes::StructureShape.new(name: 'CreateReplicationGroupResult')
108
+ CreateServerlessCacheRequest = Shapes::StructureShape.new(name: 'CreateServerlessCacheRequest')
109
+ CreateServerlessCacheResponse = Shapes::StructureShape.new(name: 'CreateServerlessCacheResponse')
110
+ CreateServerlessCacheSnapshotRequest = Shapes::StructureShape.new(name: 'CreateServerlessCacheSnapshotRequest')
111
+ CreateServerlessCacheSnapshotResponse = Shapes::StructureShape.new(name: 'CreateServerlessCacheSnapshotResponse')
105
112
  CreateSnapshotMessage = Shapes::StructureShape.new(name: 'CreateSnapshotMessage')
106
113
  CreateSnapshotResult = Shapes::StructureShape.new(name: 'CreateSnapshotResult')
107
114
  CreateUserGroupMessage = Shapes::StructureShape.new(name: 'CreateUserGroupMessage')
108
115
  CreateUserMessage = Shapes::StructureShape.new(name: 'CreateUserMessage')
109
116
  CustomerNodeEndpoint = Shapes::StructureShape.new(name: 'CustomerNodeEndpoint')
110
117
  CustomerNodeEndpointList = Shapes::ListShape.new(name: 'CustomerNodeEndpointList')
118
+ DataStorage = Shapes::StructureShape.new(name: 'DataStorage')
119
+ DataStorageUnit = Shapes::StringShape.new(name: 'DataStorageUnit')
111
120
  DataTieringStatus = Shapes::StringShape.new(name: 'DataTieringStatus')
112
121
  DecreaseNodeGroupsInGlobalReplicationGroupMessage = Shapes::StructureShape.new(name: 'DecreaseNodeGroupsInGlobalReplicationGroupMessage')
113
122
  DecreaseNodeGroupsInGlobalReplicationGroupResult = Shapes::StructureShape.new(name: 'DecreaseNodeGroupsInGlobalReplicationGroupResult')
@@ -124,6 +133,10 @@ module Aws::ElastiCache
124
133
  DeleteGlobalReplicationGroupResult = Shapes::StructureShape.new(name: 'DeleteGlobalReplicationGroupResult')
125
134
  DeleteReplicationGroupMessage = Shapes::StructureShape.new(name: 'DeleteReplicationGroupMessage')
126
135
  DeleteReplicationGroupResult = Shapes::StructureShape.new(name: 'DeleteReplicationGroupResult')
136
+ DeleteServerlessCacheRequest = Shapes::StructureShape.new(name: 'DeleteServerlessCacheRequest')
137
+ DeleteServerlessCacheResponse = Shapes::StructureShape.new(name: 'DeleteServerlessCacheResponse')
138
+ DeleteServerlessCacheSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteServerlessCacheSnapshotRequest')
139
+ DeleteServerlessCacheSnapshotResponse = Shapes::StructureShape.new(name: 'DeleteServerlessCacheSnapshotResponse')
127
140
  DeleteSnapshotMessage = Shapes::StructureShape.new(name: 'DeleteSnapshotMessage')
128
141
  DeleteSnapshotResult = Shapes::StructureShape.new(name: 'DeleteSnapshotResult')
129
142
  DeleteUserGroupMessage = Shapes::StructureShape.new(name: 'DeleteUserGroupMessage')
@@ -142,6 +155,10 @@ module Aws::ElastiCache
142
155
  DescribeReplicationGroupsMessage = Shapes::StructureShape.new(name: 'DescribeReplicationGroupsMessage')
143
156
  DescribeReservedCacheNodesMessage = Shapes::StructureShape.new(name: 'DescribeReservedCacheNodesMessage')
144
157
  DescribeReservedCacheNodesOfferingsMessage = Shapes::StructureShape.new(name: 'DescribeReservedCacheNodesOfferingsMessage')
158
+ DescribeServerlessCacheSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeServerlessCacheSnapshotsRequest')
159
+ DescribeServerlessCacheSnapshotsResponse = Shapes::StructureShape.new(name: 'DescribeServerlessCacheSnapshotsResponse')
160
+ DescribeServerlessCachesRequest = Shapes::StructureShape.new(name: 'DescribeServerlessCachesRequest')
161
+ DescribeServerlessCachesResponse = Shapes::StructureShape.new(name: 'DescribeServerlessCachesResponse')
145
162
  DescribeServiceUpdatesMessage = Shapes::StructureShape.new(name: 'DescribeServiceUpdatesMessage')
146
163
  DescribeSnapshotsListMessage = Shapes::StructureShape.new(name: 'DescribeSnapshotsListMessage')
147
164
  DescribeSnapshotsMessage = Shapes::StructureShape.new(name: 'DescribeSnapshotsMessage')
@@ -158,12 +175,15 @@ module Aws::ElastiCache
158
175
  DuplicateUserNameFault = Shapes::StructureShape.new(name: 'DuplicateUserNameFault')
159
176
  EC2SecurityGroup = Shapes::StructureShape.new(name: 'EC2SecurityGroup')
160
177
  EC2SecurityGroupList = Shapes::ListShape.new(name: 'EC2SecurityGroupList')
178
+ ECPUPerSecond = Shapes::StructureShape.new(name: 'ECPUPerSecond')
161
179
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
162
180
  EngineDefaults = Shapes::StructureShape.new(name: 'EngineDefaults')
163
181
  EngineType = Shapes::StringShape.new(name: 'EngineType')
164
182
  Event = Shapes::StructureShape.new(name: 'Event')
165
183
  EventList = Shapes::ListShape.new(name: 'EventList')
166
184
  EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
185
+ ExportServerlessCacheSnapshotRequest = Shapes::StructureShape.new(name: 'ExportServerlessCacheSnapshotRequest')
186
+ ExportServerlessCacheSnapshotResponse = Shapes::StructureShape.new(name: 'ExportServerlessCacheSnapshotResponse')
167
187
  FailoverGlobalReplicationGroupMessage = Shapes::StructureShape.new(name: 'FailoverGlobalReplicationGroupMessage')
168
188
  FailoverGlobalReplicationGroupResult = Shapes::StructureShape.new(name: 'FailoverGlobalReplicationGroupResult')
169
189
  Filter = Shapes::StructureShape.new(name: 'Filter')
@@ -193,11 +213,14 @@ module Aws::ElastiCache
193
213
  InvalidCacheClusterStateFault = Shapes::StructureShape.new(name: 'InvalidCacheClusterStateFault')
194
214
  InvalidCacheParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidCacheParameterGroupStateFault')
195
215
  InvalidCacheSecurityGroupStateFault = Shapes::StructureShape.new(name: 'InvalidCacheSecurityGroupStateFault')
216
+ InvalidCredentialsException = Shapes::StructureShape.new(name: 'InvalidCredentialsException')
196
217
  InvalidGlobalReplicationGroupStateFault = Shapes::StructureShape.new(name: 'InvalidGlobalReplicationGroupStateFault')
197
218
  InvalidKMSKeyFault = Shapes::StructureShape.new(name: 'InvalidKMSKeyFault')
198
219
  InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
199
220
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
200
221
  InvalidReplicationGroupStateFault = Shapes::StructureShape.new(name: 'InvalidReplicationGroupStateFault')
222
+ InvalidServerlessCacheSnapshotStateFault = Shapes::StructureShape.new(name: 'InvalidServerlessCacheSnapshotStateFault')
223
+ InvalidServerlessCacheStateFault = Shapes::StructureShape.new(name: 'InvalidServerlessCacheStateFault')
201
224
  InvalidSnapshotStateFault = Shapes::StructureShape.new(name: 'InvalidSnapshotStateFault')
202
225
  InvalidSubnet = Shapes::StructureShape.new(name: 'InvalidSubnet')
203
226
  InvalidUserGroupStateFault = Shapes::StructureShape.new(name: 'InvalidUserGroupStateFault')
@@ -226,6 +249,8 @@ module Aws::ElastiCache
226
249
  ModifyReplicationGroupResult = Shapes::StructureShape.new(name: 'ModifyReplicationGroupResult')
227
250
  ModifyReplicationGroupShardConfigurationMessage = Shapes::StructureShape.new(name: 'ModifyReplicationGroupShardConfigurationMessage')
228
251
  ModifyReplicationGroupShardConfigurationResult = Shapes::StructureShape.new(name: 'ModifyReplicationGroupShardConfigurationResult')
252
+ ModifyServerlessCacheRequest = Shapes::StructureShape.new(name: 'ModifyServerlessCacheRequest')
253
+ ModifyServerlessCacheResponse = Shapes::StructureShape.new(name: 'ModifyServerlessCacheResponse')
229
254
  ModifyUserGroupMessage = Shapes::StructureShape.new(name: 'ModifyUserGroupMessage')
230
255
  ModifyUserMessage = Shapes::StructureShape.new(name: 'ModifyUserMessage')
231
256
  MultiAZStatus = Shapes::StringShape.new(name: 'MultiAZStatus')
@@ -311,6 +336,17 @@ module Aws::ElastiCache
311
336
  SecurityGroupIdsList = Shapes::ListShape.new(name: 'SecurityGroupIdsList')
312
337
  SecurityGroupMembership = Shapes::StructureShape.new(name: 'SecurityGroupMembership')
313
338
  SecurityGroupMembershipList = Shapes::ListShape.new(name: 'SecurityGroupMembershipList')
339
+ ServerlessCache = Shapes::StructureShape.new(name: 'ServerlessCache')
340
+ ServerlessCacheAlreadyExistsFault = Shapes::StructureShape.new(name: 'ServerlessCacheAlreadyExistsFault')
341
+ ServerlessCacheConfiguration = Shapes::StructureShape.new(name: 'ServerlessCacheConfiguration')
342
+ ServerlessCacheList = Shapes::ListShape.new(name: 'ServerlessCacheList')
343
+ ServerlessCacheNotFoundFault = Shapes::StructureShape.new(name: 'ServerlessCacheNotFoundFault')
344
+ ServerlessCacheQuotaForCustomerExceededFault = Shapes::StructureShape.new(name: 'ServerlessCacheQuotaForCustomerExceededFault')
345
+ ServerlessCacheSnapshot = Shapes::StructureShape.new(name: 'ServerlessCacheSnapshot')
346
+ ServerlessCacheSnapshotAlreadyExistsFault = Shapes::StructureShape.new(name: 'ServerlessCacheSnapshotAlreadyExistsFault')
347
+ ServerlessCacheSnapshotList = Shapes::ListShape.new(name: 'ServerlessCacheSnapshotList')
348
+ ServerlessCacheSnapshotNotFoundFault = Shapes::StructureShape.new(name: 'ServerlessCacheSnapshotNotFoundFault')
349
+ ServerlessCacheSnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'ServerlessCacheSnapshotQuotaExceededFault')
314
350
  ServiceLinkedRoleNotFoundFault = Shapes::StructureShape.new(name: 'ServiceLinkedRoleNotFoundFault')
315
351
  ServiceUpdate = Shapes::StructureShape.new(name: 'ServiceUpdate')
316
352
  ServiceUpdateList = Shapes::ListShape.new(name: 'ServiceUpdateList')
@@ -335,6 +371,7 @@ module Aws::ElastiCache
335
371
  String = Shapes::StringShape.new(name: 'String')
336
372
  Subnet = Shapes::StructureShape.new(name: 'Subnet')
337
373
  SubnetIdentifierList = Shapes::ListShape.new(name: 'SubnetIdentifierList')
374
+ SubnetIdsList = Shapes::ListShape.new(name: 'SubnetIdsList')
338
375
  SubnetInUse = Shapes::StructureShape.new(name: 'SubnetInUse')
339
376
  SubnetList = Shapes::ListShape.new(name: 'SubnetList')
340
377
  SubnetNotAllowedFault = Shapes::StructureShape.new(name: 'SubnetNotAllowedFault')
@@ -353,6 +390,7 @@ module Aws::ElastiCache
353
390
  TimeRangeFilter = Shapes::StructureShape.new(name: 'TimeRangeFilter')
354
391
  TransitEncryptionMode = Shapes::StringShape.new(name: 'TransitEncryptionMode')
355
392
  UGReplicationGroupIdList = Shapes::ListShape.new(name: 'UGReplicationGroupIdList')
393
+ UGServerlessCacheIdList = Shapes::ListShape.new(name: 'UGServerlessCacheIdList')
356
394
  UnprocessedUpdateAction = Shapes::StructureShape.new(name: 'UnprocessedUpdateAction')
357
395
  UnprocessedUpdateActionList = Shapes::ListShape.new(name: 'UnprocessedUpdateActionList')
358
396
  UpdateAction = Shapes::StructureShape.new(name: 'UpdateAction')
@@ -614,6 +652,10 @@ module Aws::ElastiCache
614
652
 
615
653
  CacheSubnetQuotaExceededFault.struct_class = Types::CacheSubnetQuotaExceededFault
616
654
 
655
+ CacheUsageLimits.add_member(:data_storage, Shapes::ShapeRef.new(shape: DataStorage, location_name: "DataStorage"))
656
+ CacheUsageLimits.add_member(:ecpu_per_second, Shapes::ShapeRef.new(shape: ECPUPerSecond, location_name: "ECPUPerSecond"))
657
+ CacheUsageLimits.struct_class = Types::CacheUsageLimits
658
+
617
659
  CloudWatchLogsDestinationDetails.add_member(:log_group, Shapes::ShapeRef.new(shape: String, location_name: "LogGroup"))
618
660
  CloudWatchLogsDestinationDetails.struct_class = Types::CloudWatchLogsDestinationDetails
619
661
 
@@ -634,6 +676,15 @@ module Aws::ElastiCache
634
676
  ConfigureShard.add_member(:preferred_outpost_arns, Shapes::ShapeRef.new(shape: PreferredOutpostArnList, location_name: "PreferredOutpostArns"))
635
677
  ConfigureShard.struct_class = Types::ConfigureShard
636
678
 
679
+ CopyServerlessCacheSnapshotRequest.add_member(:source_serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceServerlessCacheSnapshotName"))
680
+ CopyServerlessCacheSnapshotRequest.add_member(:target_serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetServerlessCacheSnapshotName"))
681
+ CopyServerlessCacheSnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
682
+ CopyServerlessCacheSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
683
+ CopyServerlessCacheSnapshotRequest.struct_class = Types::CopyServerlessCacheSnapshotRequest
684
+
685
+ CopyServerlessCacheSnapshotResponse.add_member(:serverless_cache_snapshot, Shapes::ShapeRef.new(shape: ServerlessCacheSnapshot, location_name: "ServerlessCacheSnapshot"))
686
+ CopyServerlessCacheSnapshotResponse.struct_class = Types::CopyServerlessCacheSnapshotResponse
687
+
637
688
  CopySnapshotMessage.add_member(:source_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceSnapshotName"))
638
689
  CopySnapshotMessage.add_member(:target_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetSnapshotName"))
639
690
  CopySnapshotMessage.add_member(:target_bucket, Shapes::ShapeRef.new(shape: String, location_name: "TargetBucket"))
@@ -751,11 +802,39 @@ module Aws::ElastiCache
751
802
  CreateReplicationGroupMessage.add_member(:ip_discovery, Shapes::ShapeRef.new(shape: IpDiscovery, location_name: "IpDiscovery"))
752
803
  CreateReplicationGroupMessage.add_member(:transit_encryption_mode, Shapes::ShapeRef.new(shape: TransitEncryptionMode, location_name: "TransitEncryptionMode"))
753
804
  CreateReplicationGroupMessage.add_member(:cluster_mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "ClusterMode"))
805
+ CreateReplicationGroupMessage.add_member(:serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheSnapshotName"))
754
806
  CreateReplicationGroupMessage.struct_class = Types::CreateReplicationGroupMessage
755
807
 
756
808
  CreateReplicationGroupResult.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
757
809
  CreateReplicationGroupResult.struct_class = Types::CreateReplicationGroupResult
758
810
 
811
+ CreateServerlessCacheRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheName"))
812
+ CreateServerlessCacheRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
813
+ CreateServerlessCacheRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Engine"))
814
+ CreateServerlessCacheRequest.add_member(:major_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "MajorEngineVersion"))
815
+ CreateServerlessCacheRequest.add_member(:cache_usage_limits, Shapes::ShapeRef.new(shape: CacheUsageLimits, location_name: "CacheUsageLimits"))
816
+ CreateServerlessCacheRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
817
+ CreateServerlessCacheRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdsList, location_name: "SecurityGroupIds"))
818
+ CreateServerlessCacheRequest.add_member(:snapshot_arns_to_restore, Shapes::ShapeRef.new(shape: SnapshotArnsList, location_name: "SnapshotArnsToRestore"))
819
+ CreateServerlessCacheRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
820
+ CreateServerlessCacheRequest.add_member(:user_group_id, Shapes::ShapeRef.new(shape: String, location_name: "UserGroupId"))
821
+ CreateServerlessCacheRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdsList, location_name: "SubnetIds"))
822
+ CreateServerlessCacheRequest.add_member(:snapshot_retention_limit, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SnapshotRetentionLimit"))
823
+ CreateServerlessCacheRequest.add_member(:daily_snapshot_time, Shapes::ShapeRef.new(shape: String, location_name: "DailySnapshotTime"))
824
+ CreateServerlessCacheRequest.struct_class = Types::CreateServerlessCacheRequest
825
+
826
+ CreateServerlessCacheResponse.add_member(:serverless_cache, Shapes::ShapeRef.new(shape: ServerlessCache, location_name: "ServerlessCache"))
827
+ CreateServerlessCacheResponse.struct_class = Types::CreateServerlessCacheResponse
828
+
829
+ CreateServerlessCacheSnapshotRequest.add_member(:serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheSnapshotName"))
830
+ CreateServerlessCacheSnapshotRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheName"))
831
+ CreateServerlessCacheSnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
832
+ CreateServerlessCacheSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
833
+ CreateServerlessCacheSnapshotRequest.struct_class = Types::CreateServerlessCacheSnapshotRequest
834
+
835
+ CreateServerlessCacheSnapshotResponse.add_member(:serverless_cache_snapshot, Shapes::ShapeRef.new(shape: ServerlessCacheSnapshot, location_name: "ServerlessCacheSnapshot"))
836
+ CreateServerlessCacheSnapshotResponse.struct_class = Types::CreateServerlessCacheSnapshotResponse
837
+
759
838
  CreateSnapshotMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationGroupId"))
760
839
  CreateSnapshotMessage.add_member(:cache_cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "CacheClusterId"))
761
840
  CreateSnapshotMessage.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnapshotName"))
@@ -788,6 +867,10 @@ module Aws::ElastiCache
788
867
 
789
868
  CustomerNodeEndpointList.member = Shapes::ShapeRef.new(shape: CustomerNodeEndpoint)
790
869
 
870
+ DataStorage.add_member(:maximum, Shapes::ShapeRef.new(shape: IntegerOptional, required: true, location_name: "Maximum"))
871
+ DataStorage.add_member(:unit, Shapes::ShapeRef.new(shape: DataStorageUnit, required: true, location_name: "Unit"))
872
+ DataStorage.struct_class = Types::DataStorage
873
+
791
874
  DecreaseNodeGroupsInGlobalReplicationGroupMessage.add_member(:global_replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GlobalReplicationGroupId"))
792
875
  DecreaseNodeGroupsInGlobalReplicationGroupMessage.add_member(:node_group_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "NodeGroupCount"))
793
876
  DecreaseNodeGroupsInGlobalReplicationGroupMessage.add_member(:global_node_groups_to_remove, Shapes::ShapeRef.new(shape: GlobalNodeGroupIdList, location_name: "GlobalNodeGroupsToRemove"))
@@ -843,6 +926,19 @@ module Aws::ElastiCache
843
926
  DeleteReplicationGroupResult.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
844
927
  DeleteReplicationGroupResult.struct_class = Types::DeleteReplicationGroupResult
845
928
 
929
+ DeleteServerlessCacheRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheName"))
930
+ DeleteServerlessCacheRequest.add_member(:final_snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "FinalSnapshotName"))
931
+ DeleteServerlessCacheRequest.struct_class = Types::DeleteServerlessCacheRequest
932
+
933
+ DeleteServerlessCacheResponse.add_member(:serverless_cache, Shapes::ShapeRef.new(shape: ServerlessCache, location_name: "ServerlessCache"))
934
+ DeleteServerlessCacheResponse.struct_class = Types::DeleteServerlessCacheResponse
935
+
936
+ DeleteServerlessCacheSnapshotRequest.add_member(:serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheSnapshotName"))
937
+ DeleteServerlessCacheSnapshotRequest.struct_class = Types::DeleteServerlessCacheSnapshotRequest
938
+
939
+ DeleteServerlessCacheSnapshotResponse.add_member(:serverless_cache_snapshot, Shapes::ShapeRef.new(shape: ServerlessCacheSnapshot, location_name: "ServerlessCacheSnapshot"))
940
+ DeleteServerlessCacheSnapshotResponse.struct_class = Types::DeleteServerlessCacheSnapshotResponse
941
+
846
942
  DeleteSnapshotMessage.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnapshotName"))
847
943
  DeleteSnapshotMessage.struct_class = Types::DeleteSnapshotMessage
848
944
 
@@ -942,6 +1038,26 @@ module Aws::ElastiCache
942
1038
  DescribeReservedCacheNodesOfferingsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
943
1039
  DescribeReservedCacheNodesOfferingsMessage.struct_class = Types::DescribeReservedCacheNodesOfferingsMessage
944
1040
 
1041
+ DescribeServerlessCacheSnapshotsRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheName"))
1042
+ DescribeServerlessCacheSnapshotsRequest.add_member(:serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheSnapshotName"))
1043
+ DescribeServerlessCacheSnapshotsRequest.add_member(:snapshot_type, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotType"))
1044
+ DescribeServerlessCacheSnapshotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1045
+ DescribeServerlessCacheSnapshotsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxResults"))
1046
+ DescribeServerlessCacheSnapshotsRequest.struct_class = Types::DescribeServerlessCacheSnapshotsRequest
1047
+
1048
+ DescribeServerlessCacheSnapshotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1049
+ DescribeServerlessCacheSnapshotsResponse.add_member(:serverless_cache_snapshots, Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotList, location_name: "ServerlessCacheSnapshots"))
1050
+ DescribeServerlessCacheSnapshotsResponse.struct_class = Types::DescribeServerlessCacheSnapshotsResponse
1051
+
1052
+ DescribeServerlessCachesRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheName"))
1053
+ DescribeServerlessCachesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxResults"))
1054
+ DescribeServerlessCachesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1055
+ DescribeServerlessCachesRequest.struct_class = Types::DescribeServerlessCachesRequest
1056
+
1057
+ DescribeServerlessCachesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1058
+ DescribeServerlessCachesResponse.add_member(:serverless_caches, Shapes::ShapeRef.new(shape: ServerlessCacheList, location_name: "ServerlessCaches"))
1059
+ DescribeServerlessCachesResponse.struct_class = Types::DescribeServerlessCachesResponse
1060
+
945
1061
  DescribeServiceUpdatesMessage.add_member(:service_update_name, Shapes::ShapeRef.new(shape: String, location_name: "ServiceUpdateName"))
946
1062
  DescribeServiceUpdatesMessage.add_member(:service_update_status, Shapes::ShapeRef.new(shape: ServiceUpdateStatusList, location_name: "ServiceUpdateStatus"))
947
1063
  DescribeServiceUpdatesMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
@@ -1014,6 +1130,9 @@ module Aws::ElastiCache
1014
1130
 
1015
1131
  EC2SecurityGroupList.member = Shapes::ShapeRef.new(shape: EC2SecurityGroup, location_name: "EC2SecurityGroup")
1016
1132
 
1133
+ ECPUPerSecond.add_member(:maximum, Shapes::ShapeRef.new(shape: IntegerOptional, required: true, location_name: "Maximum"))
1134
+ ECPUPerSecond.struct_class = Types::ECPUPerSecond
1135
+
1017
1136
  Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
1018
1137
  Endpoint.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
1019
1138
  Endpoint.struct_class = Types::Endpoint
@@ -1036,6 +1155,13 @@ module Aws::ElastiCache
1036
1155
  EventsMessage.add_member(:events, Shapes::ShapeRef.new(shape: EventList, location_name: "Events"))
1037
1156
  EventsMessage.struct_class = Types::EventsMessage
1038
1157
 
1158
+ ExportServerlessCacheSnapshotRequest.add_member(:serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheSnapshotName"))
1159
+ ExportServerlessCacheSnapshotRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
1160
+ ExportServerlessCacheSnapshotRequest.struct_class = Types::ExportServerlessCacheSnapshotRequest
1161
+
1162
+ ExportServerlessCacheSnapshotResponse.add_member(:serverless_cache_snapshot, Shapes::ShapeRef.new(shape: ServerlessCacheSnapshot, location_name: "ServerlessCacheSnapshot"))
1163
+ ExportServerlessCacheSnapshotResponse.struct_class = Types::ExportServerlessCacheSnapshotResponse
1164
+
1039
1165
  FailoverGlobalReplicationGroupMessage.add_member(:global_replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GlobalReplicationGroupId"))
1040
1166
  FailoverGlobalReplicationGroupMessage.add_member(:primary_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PrimaryRegion"))
1041
1167
  FailoverGlobalReplicationGroupMessage.add_member(:primary_replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PrimaryReplicationGroupId"))
@@ -1122,6 +1248,8 @@ module Aws::ElastiCache
1122
1248
 
1123
1249
  InvalidCacheSecurityGroupStateFault.struct_class = Types::InvalidCacheSecurityGroupStateFault
1124
1250
 
1251
+ InvalidCredentialsException.struct_class = Types::InvalidCredentialsException
1252
+
1125
1253
  InvalidGlobalReplicationGroupStateFault.struct_class = Types::InvalidGlobalReplicationGroupStateFault
1126
1254
 
1127
1255
  InvalidKMSKeyFault.struct_class = Types::InvalidKMSKeyFault
@@ -1134,6 +1262,10 @@ module Aws::ElastiCache
1134
1262
 
1135
1263
  InvalidReplicationGroupStateFault.struct_class = Types::InvalidReplicationGroupStateFault
1136
1264
 
1265
+ InvalidServerlessCacheSnapshotStateFault.struct_class = Types::InvalidServerlessCacheSnapshotStateFault
1266
+
1267
+ InvalidServerlessCacheStateFault.struct_class = Types::InvalidServerlessCacheStateFault
1268
+
1137
1269
  InvalidSnapshotStateFault.struct_class = Types::InvalidSnapshotStateFault
1138
1270
 
1139
1271
  InvalidSubnet.struct_class = Types::InvalidSubnet
@@ -1270,6 +1402,19 @@ module Aws::ElastiCache
1270
1402
  ModifyReplicationGroupShardConfigurationResult.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
1271
1403
  ModifyReplicationGroupShardConfigurationResult.struct_class = Types::ModifyReplicationGroupShardConfigurationResult
1272
1404
 
1405
+ ModifyServerlessCacheRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheName"))
1406
+ ModifyServerlessCacheRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1407
+ ModifyServerlessCacheRequest.add_member(:cache_usage_limits, Shapes::ShapeRef.new(shape: CacheUsageLimits, location_name: "CacheUsageLimits"))
1408
+ ModifyServerlessCacheRequest.add_member(:remove_user_group, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "RemoveUserGroup"))
1409
+ ModifyServerlessCacheRequest.add_member(:user_group_id, Shapes::ShapeRef.new(shape: String, location_name: "UserGroupId"))
1410
+ ModifyServerlessCacheRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdsList, location_name: "SecurityGroupIds"))
1411
+ ModifyServerlessCacheRequest.add_member(:snapshot_retention_limit, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SnapshotRetentionLimit"))
1412
+ ModifyServerlessCacheRequest.add_member(:daily_snapshot_time, Shapes::ShapeRef.new(shape: String, location_name: "DailySnapshotTime"))
1413
+ ModifyServerlessCacheRequest.struct_class = Types::ModifyServerlessCacheRequest
1414
+
1415
+ ModifyServerlessCacheResponse.add_member(:serverless_cache, Shapes::ShapeRef.new(shape: ServerlessCache, location_name: "ServerlessCache"))
1416
+ ModifyServerlessCacheResponse.struct_class = Types::ModifyServerlessCacheResponse
1417
+
1273
1418
  ModifyUserGroupMessage.add_member(:user_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "UserGroupId"))
1274
1419
  ModifyUserGroupMessage.add_member(:user_ids_to_add, Shapes::ShapeRef.new(shape: UserIdListInput, location_name: "UserIdsToAdd"))
1275
1420
  ModifyUserGroupMessage.add_member(:user_ids_to_remove, Shapes::ShapeRef.new(shape: UserIdListInput, location_name: "UserIdsToRemove"))
@@ -1600,6 +1745,57 @@ module Aws::ElastiCache
1600
1745
 
1601
1746
  SecurityGroupMembershipList.member = Shapes::ShapeRef.new(shape: SecurityGroupMembership)
1602
1747
 
1748
+ ServerlessCache.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheName"))
1749
+ ServerlessCache.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1750
+ ServerlessCache.add_member(:create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreateTime"))
1751
+ ServerlessCache.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
1752
+ ServerlessCache.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
1753
+ ServerlessCache.add_member(:major_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "MajorEngineVersion"))
1754
+ ServerlessCache.add_member(:full_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "FullEngineVersion"))
1755
+ ServerlessCache.add_member(:cache_usage_limits, Shapes::ShapeRef.new(shape: CacheUsageLimits, location_name: "CacheUsageLimits"))
1756
+ ServerlessCache.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
1757
+ ServerlessCache.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdsList, location_name: "SecurityGroupIds"))
1758
+ ServerlessCache.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint"))
1759
+ ServerlessCache.add_member(:reader_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "ReaderEndpoint"))
1760
+ ServerlessCache.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
1761
+ ServerlessCache.add_member(:user_group_id, Shapes::ShapeRef.new(shape: String, location_name: "UserGroupId"))
1762
+ ServerlessCache.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdsList, location_name: "SubnetIds"))
1763
+ ServerlessCache.add_member(:snapshot_retention_limit, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SnapshotRetentionLimit"))
1764
+ ServerlessCache.add_member(:daily_snapshot_time, Shapes::ShapeRef.new(shape: String, location_name: "DailySnapshotTime"))
1765
+ ServerlessCache.struct_class = Types::ServerlessCache
1766
+
1767
+ ServerlessCacheAlreadyExistsFault.struct_class = Types::ServerlessCacheAlreadyExistsFault
1768
+
1769
+ ServerlessCacheConfiguration.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheName"))
1770
+ ServerlessCacheConfiguration.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
1771
+ ServerlessCacheConfiguration.add_member(:major_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "MajorEngineVersion"))
1772
+ ServerlessCacheConfiguration.struct_class = Types::ServerlessCacheConfiguration
1773
+
1774
+ ServerlessCacheList.member = Shapes::ShapeRef.new(shape: ServerlessCache)
1775
+
1776
+ ServerlessCacheNotFoundFault.struct_class = Types::ServerlessCacheNotFoundFault
1777
+
1778
+ ServerlessCacheQuotaForCustomerExceededFault.struct_class = Types::ServerlessCacheQuotaForCustomerExceededFault
1779
+
1780
+ ServerlessCacheSnapshot.add_member(:serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheSnapshotName"))
1781
+ ServerlessCacheSnapshot.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
1782
+ ServerlessCacheSnapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
1783
+ ServerlessCacheSnapshot.add_member(:snapshot_type, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotType"))
1784
+ ServerlessCacheSnapshot.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
1785
+ ServerlessCacheSnapshot.add_member(:create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreateTime"))
1786
+ ServerlessCacheSnapshot.add_member(:expiry_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ExpiryTime"))
1787
+ ServerlessCacheSnapshot.add_member(:bytes_used_for_cache, Shapes::ShapeRef.new(shape: String, location_name: "BytesUsedForCache"))
1788
+ ServerlessCacheSnapshot.add_member(:serverless_cache_configuration, Shapes::ShapeRef.new(shape: ServerlessCacheConfiguration, location_name: "ServerlessCacheConfiguration"))
1789
+ ServerlessCacheSnapshot.struct_class = Types::ServerlessCacheSnapshot
1790
+
1791
+ ServerlessCacheSnapshotAlreadyExistsFault.struct_class = Types::ServerlessCacheSnapshotAlreadyExistsFault
1792
+
1793
+ ServerlessCacheSnapshotList.member = Shapes::ShapeRef.new(shape: ServerlessCacheSnapshot, location_name: "ServerlessCacheSnapshot")
1794
+
1795
+ ServerlessCacheSnapshotNotFoundFault.struct_class = Types::ServerlessCacheSnapshotNotFoundFault
1796
+
1797
+ ServerlessCacheSnapshotQuotaExceededFault.struct_class = Types::ServerlessCacheSnapshotQuotaExceededFault
1798
+
1603
1799
  ServiceLinkedRoleNotFoundFault.struct_class = Types::ServiceLinkedRoleNotFoundFault
1604
1800
 
1605
1801
  ServiceUpdate.add_member(:service_update_name, Shapes::ShapeRef.new(shape: String, location_name: "ServiceUpdateName"))
@@ -1686,6 +1882,8 @@ module Aws::ElastiCache
1686
1882
 
1687
1883
  SubnetIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier")
1688
1884
 
1885
+ SubnetIdsList.member = Shapes::ShapeRef.new(shape: String, location_name: "SubnetId")
1886
+
1689
1887
  SubnetInUse.struct_class = Types::SubnetInUse
1690
1888
 
1691
1889
  SubnetList.member = Shapes::ShapeRef.new(shape: Subnet, location_name: "Subnet")
@@ -1730,6 +1928,8 @@ module Aws::ElastiCache
1730
1928
 
1731
1929
  UGReplicationGroupIdList.member = Shapes::ShapeRef.new(shape: String)
1732
1930
 
1931
+ UGServerlessCacheIdList.member = Shapes::ShapeRef.new(shape: String)
1932
+
1733
1933
  UnprocessedUpdateAction.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationGroupId"))
1734
1934
  UnprocessedUpdateAction.add_member(:cache_cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "CacheClusterId"))
1735
1935
  UnprocessedUpdateAction.add_member(:service_update_name, Shapes::ShapeRef.new(shape: String, location_name: "ServiceUpdateName"))
@@ -1790,6 +1990,7 @@ module Aws::ElastiCache
1790
1990
  UserGroup.add_member(:minimum_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "MinimumEngineVersion"))
1791
1991
  UserGroup.add_member(:pending_changes, Shapes::ShapeRef.new(shape: UserGroupPendingChanges, location_name: "PendingChanges"))
1792
1992
  UserGroup.add_member(:replication_groups, Shapes::ShapeRef.new(shape: UGReplicationGroupIdList, location_name: "ReplicationGroups"))
1993
+ UserGroup.add_member(:serverless_caches, Shapes::ShapeRef.new(shape: UGServerlessCacheIdList, location_name: "ServerlessCaches"))
1793
1994
  UserGroup.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
1794
1995
  UserGroup.struct_class = Types::UserGroup
1795
1996
 
@@ -1856,6 +2057,10 @@ module Aws::ElastiCache
1856
2057
  o.errors << Shapes::ShapeRef.new(shape: SnapshotNotFoundFault)
1857
2058
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
1858
2059
  o.errors << Shapes::ShapeRef.new(shape: UserGroupNotFoundFault)
2060
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2061
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
2062
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotNotFoundFault)
2063
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheSnapshotStateFault)
1859
2064
  o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
1860
2065
  o.errors << Shapes::ShapeRef.new(shape: InvalidARNFault)
1861
2066
  end)
@@ -1904,6 +2109,22 @@ module Aws::ElastiCache
1904
2109
  o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotUnderMigrationFault)
1905
2110
  end)
1906
2111
 
2112
+ api.add_operation(:copy_serverless_cache_snapshot, Seahorse::Model::Operation.new.tap do |o|
2113
+ o.name = "CopyServerlessCacheSnapshot"
2114
+ o.http_method = "POST"
2115
+ o.http_request_uri = "/"
2116
+ o.input = Shapes::ShapeRef.new(shape: CopyServerlessCacheSnapshotRequest)
2117
+ o.output = Shapes::ShapeRef.new(shape: CopyServerlessCacheSnapshotResponse)
2118
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotAlreadyExistsFault)
2119
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotNotFoundFault)
2120
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotQuotaExceededFault)
2121
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheSnapshotStateFault)
2122
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
2123
+ o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
2124
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2125
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2126
+ end)
2127
+
1907
2128
  api.add_operation(:copy_snapshot, Seahorse::Model::Operation.new.tap do |o|
1908
2129
  o.name = "CopySnapshot"
1909
2130
  o.http_method = "POST"
@@ -2022,6 +2243,41 @@ module Aws::ElastiCache
2022
2243
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2023
2244
  end)
2024
2245
 
2246
+ api.add_operation(:create_serverless_cache, Seahorse::Model::Operation.new.tap do |o|
2247
+ o.name = "CreateServerlessCache"
2248
+ o.http_method = "POST"
2249
+ o.http_request_uri = "/"
2250
+ o.input = Shapes::ShapeRef.new(shape: CreateServerlessCacheRequest)
2251
+ o.output = Shapes::ShapeRef.new(shape: CreateServerlessCacheResponse)
2252
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
2254
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheAlreadyExistsFault)
2255
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheQuotaForCustomerExceededFault)
2256
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2257
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2258
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
2259
+ o.errors << Shapes::ShapeRef.new(shape: InvalidUserGroupStateFault)
2260
+ o.errors << Shapes::ShapeRef.new(shape: UserGroupNotFoundFault)
2261
+ o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
2262
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
2263
+ end)
2264
+
2265
+ api.add_operation(:create_serverless_cache_snapshot, Seahorse::Model::Operation.new.tap do |o|
2266
+ o.name = "CreateServerlessCacheSnapshot"
2267
+ o.http_method = "POST"
2268
+ o.http_request_uri = "/"
2269
+ o.input = Shapes::ShapeRef.new(shape: CreateServerlessCacheSnapshotRequest)
2270
+ o.output = Shapes::ShapeRef.new(shape: CreateServerlessCacheSnapshotResponse)
2271
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotAlreadyExistsFault)
2272
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2273
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
2274
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotQuotaExceededFault)
2275
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
2276
+ o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
2277
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2278
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2279
+ end)
2280
+
2025
2281
  api.add_operation(:create_snapshot, Seahorse::Model::Operation.new.tap do |o|
2026
2282
  o.name = "CreateSnapshot"
2027
2283
  o.http_method = "POST"
@@ -2178,6 +2434,33 @@ module Aws::ElastiCache
2178
2434
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2179
2435
  end)
2180
2436
 
2437
+ api.add_operation(:delete_serverless_cache, Seahorse::Model::Operation.new.tap do |o|
2438
+ o.name = "DeleteServerlessCache"
2439
+ o.http_method = "POST"
2440
+ o.http_request_uri = "/"
2441
+ o.input = Shapes::ShapeRef.new(shape: DeleteServerlessCacheRequest)
2442
+ o.output = Shapes::ShapeRef.new(shape: DeleteServerlessCacheResponse)
2443
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2444
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
2445
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotAlreadyExistsFault)
2446
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2448
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
2449
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
2450
+ end)
2451
+
2452
+ api.add_operation(:delete_serverless_cache_snapshot, Seahorse::Model::Operation.new.tap do |o|
2453
+ o.name = "DeleteServerlessCacheSnapshot"
2454
+ o.http_method = "POST"
2455
+ o.http_request_uri = "/"
2456
+ o.input = Shapes::ShapeRef.new(shape: DeleteServerlessCacheSnapshotRequest)
2457
+ o.output = Shapes::ShapeRef.new(shape: DeleteServerlessCacheSnapshotResponse)
2458
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
2459
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotNotFoundFault)
2460
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheSnapshotStateFault)
2461
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2462
+ end)
2463
+
2181
2464
  api.add_operation(:delete_snapshot, Seahorse::Model::Operation.new.tap do |o|
2182
2465
  o.name = "DeleteSnapshot"
2183
2466
  o.http_method = "POST"
@@ -2412,6 +2695,41 @@ module Aws::ElastiCache
2412
2695
  )
2413
2696
  end)
2414
2697
 
2698
+ api.add_operation(:describe_serverless_cache_snapshots, Seahorse::Model::Operation.new.tap do |o|
2699
+ o.name = "DescribeServerlessCacheSnapshots"
2700
+ o.http_method = "POST"
2701
+ o.http_request_uri = "/"
2702
+ o.input = Shapes::ShapeRef.new(shape: DescribeServerlessCacheSnapshotsRequest)
2703
+ o.output = Shapes::ShapeRef.new(shape: DescribeServerlessCacheSnapshotsResponse)
2704
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2705
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotNotFoundFault)
2706
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2707
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2708
+ o[:pager] = Aws::Pager.new(
2709
+ limit_key: "max_results",
2710
+ tokens: {
2711
+ "next_token" => "next_token"
2712
+ }
2713
+ )
2714
+ end)
2715
+
2716
+ api.add_operation(:describe_serverless_caches, Seahorse::Model::Operation.new.tap do |o|
2717
+ o.name = "DescribeServerlessCaches"
2718
+ o.http_method = "POST"
2719
+ o.http_request_uri = "/"
2720
+ o.input = Shapes::ShapeRef.new(shape: DescribeServerlessCachesRequest)
2721
+ o.output = Shapes::ShapeRef.new(shape: DescribeServerlessCachesResponse)
2722
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2723
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2724
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2725
+ o[:pager] = Aws::Pager.new(
2726
+ limit_key: "max_results",
2727
+ tokens: {
2728
+ "next_token" => "next_token"
2729
+ }
2730
+ )
2731
+ end)
2732
+
2415
2733
  api.add_operation(:describe_service_updates, Seahorse::Model::Operation.new.tap do |o|
2416
2734
  o.name = "DescribeServiceUpdates"
2417
2735
  o.http_method = "POST"
@@ -2509,6 +2827,18 @@ module Aws::ElastiCache
2509
2827
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2510
2828
  end)
2511
2829
 
2830
+ api.add_operation(:export_serverless_cache_snapshot, Seahorse::Model::Operation.new.tap do |o|
2831
+ o.name = "ExportServerlessCacheSnapshot"
2832
+ o.http_method = "POST"
2833
+ o.http_request_uri = "/"
2834
+ o.input = Shapes::ShapeRef.new(shape: ExportServerlessCacheSnapshotRequest)
2835
+ o.output = Shapes::ShapeRef.new(shape: ExportServerlessCacheSnapshotResponse)
2836
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotNotFoundFault)
2837
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheSnapshotStateFault)
2838
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
2839
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2840
+ end)
2841
+
2512
2842
  api.add_operation(:failover_global_replication_group, Seahorse::Model::Operation.new.tap do |o|
2513
2843
  o.name = "FailoverGlobalReplicationGroup"
2514
2844
  o.http_method = "POST"
@@ -2580,6 +2910,10 @@ module Aws::ElastiCache
2580
2910
  o.errors << Shapes::ShapeRef.new(shape: SnapshotNotFoundFault)
2581
2911
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
2582
2912
  o.errors << Shapes::ShapeRef.new(shape: UserGroupNotFoundFault)
2913
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2914
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
2915
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotNotFoundFault)
2916
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheSnapshotStateFault)
2583
2917
  o.errors << Shapes::ShapeRef.new(shape: InvalidARNFault)
2584
2918
  end)
2585
2919
 
@@ -2681,6 +3015,22 @@ module Aws::ElastiCache
2681
3015
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2682
3016
  end)
2683
3017
 
3018
+ api.add_operation(:modify_serverless_cache, Seahorse::Model::Operation.new.tap do |o|
3019
+ o.name = "ModifyServerlessCache"
3020
+ o.http_method = "POST"
3021
+ o.http_request_uri = "/"
3022
+ o.input = Shapes::ShapeRef.new(shape: ModifyServerlessCacheRequest)
3023
+ o.output = Shapes::ShapeRef.new(shape: ModifyServerlessCacheResponse)
3024
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
3025
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
3026
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3027
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
3028
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
3029
+ o.errors << Shapes::ShapeRef.new(shape: InvalidUserGroupStateFault)
3030
+ o.errors << Shapes::ShapeRef.new(shape: UserGroupNotFoundFault)
3031
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
3032
+ end)
3033
+
2684
3034
  api.add_operation(:modify_user, Seahorse::Model::Operation.new.tap do |o|
2685
3035
  o.name = "ModifyUser"
2686
3036
  o.http_method = "POST"
@@ -2761,6 +3111,10 @@ module Aws::ElastiCache
2761
3111
  o.errors << Shapes::ShapeRef.new(shape: SnapshotNotFoundFault)
2762
3112
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
2763
3113
  o.errors << Shapes::ShapeRef.new(shape: UserGroupNotFoundFault)
3114
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
3115
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
3116
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheSnapshotNotFoundFault)
3117
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheSnapshotStateFault)
2764
3118
  o.errors << Shapes::ShapeRef.new(shape: InvalidARNFault)
2765
3119
  o.errors << Shapes::ShapeRef.new(shape: TagNotFoundFault)
2766
3120
  end)
@@ -32,8 +32,8 @@ module Aws::ElastiCache
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://elasticache.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://elasticache-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})