aws-sdk-elasticache 1.92.0 → 1.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticache/client.rb +733 -45
- data/lib/aws-sdk-elasticache/client_api.rb +354 -0
- data/lib/aws-sdk-elasticache/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-elasticache/endpoints.rb +126 -0
- data/lib/aws-sdk-elasticache/errors.rb +99 -0
- data/lib/aws-sdk-elasticache/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-elasticache/types.rb +953 -92
- data/lib/aws-sdk-elasticache.rb +1 -1
- metadata +5 -5
@@ -82,6 +82,20 @@ module Aws::ElastiCache
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
+
class CopyServerlessCacheSnapshot
|
86
|
+
def self.build(context)
|
87
|
+
unless context.config.regional_endpoint
|
88
|
+
endpoint = context.config.endpoint.to_s
|
89
|
+
end
|
90
|
+
Aws::ElastiCache::EndpointParameters.new(
|
91
|
+
region: context.config.region,
|
92
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
93
|
+
use_fips: context.config.use_fips_endpoint,
|
94
|
+
endpoint: endpoint,
|
95
|
+
)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
85
99
|
class CopySnapshot
|
86
100
|
def self.build(context)
|
87
101
|
unless context.config.regional_endpoint
|
@@ -180,6 +194,34 @@ module Aws::ElastiCache
|
|
180
194
|
end
|
181
195
|
end
|
182
196
|
|
197
|
+
class CreateServerlessCache
|
198
|
+
def self.build(context)
|
199
|
+
unless context.config.regional_endpoint
|
200
|
+
endpoint = context.config.endpoint.to_s
|
201
|
+
end
|
202
|
+
Aws::ElastiCache::EndpointParameters.new(
|
203
|
+
region: context.config.region,
|
204
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
205
|
+
use_fips: context.config.use_fips_endpoint,
|
206
|
+
endpoint: endpoint,
|
207
|
+
)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
class CreateServerlessCacheSnapshot
|
212
|
+
def self.build(context)
|
213
|
+
unless context.config.regional_endpoint
|
214
|
+
endpoint = context.config.endpoint.to_s
|
215
|
+
end
|
216
|
+
Aws::ElastiCache::EndpointParameters.new(
|
217
|
+
region: context.config.region,
|
218
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
219
|
+
use_fips: context.config.use_fips_endpoint,
|
220
|
+
endpoint: endpoint,
|
221
|
+
)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
183
225
|
class CreateSnapshot
|
184
226
|
def self.build(context)
|
185
227
|
unless context.config.regional_endpoint
|
@@ -334,6 +376,34 @@ module Aws::ElastiCache
|
|
334
376
|
end
|
335
377
|
end
|
336
378
|
|
379
|
+
class DeleteServerlessCache
|
380
|
+
def self.build(context)
|
381
|
+
unless context.config.regional_endpoint
|
382
|
+
endpoint = context.config.endpoint.to_s
|
383
|
+
end
|
384
|
+
Aws::ElastiCache::EndpointParameters.new(
|
385
|
+
region: context.config.region,
|
386
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
387
|
+
use_fips: context.config.use_fips_endpoint,
|
388
|
+
endpoint: endpoint,
|
389
|
+
)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class DeleteServerlessCacheSnapshot
|
394
|
+
def self.build(context)
|
395
|
+
unless context.config.regional_endpoint
|
396
|
+
endpoint = context.config.endpoint.to_s
|
397
|
+
end
|
398
|
+
Aws::ElastiCache::EndpointParameters.new(
|
399
|
+
region: context.config.region,
|
400
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
401
|
+
use_fips: context.config.use_fips_endpoint,
|
402
|
+
endpoint: endpoint,
|
403
|
+
)
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
337
407
|
class DeleteSnapshot
|
338
408
|
def self.build(context)
|
339
409
|
unless context.config.regional_endpoint
|
@@ -544,6 +614,34 @@ module Aws::ElastiCache
|
|
544
614
|
end
|
545
615
|
end
|
546
616
|
|
617
|
+
class DescribeServerlessCacheSnapshots
|
618
|
+
def self.build(context)
|
619
|
+
unless context.config.regional_endpoint
|
620
|
+
endpoint = context.config.endpoint.to_s
|
621
|
+
end
|
622
|
+
Aws::ElastiCache::EndpointParameters.new(
|
623
|
+
region: context.config.region,
|
624
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
625
|
+
use_fips: context.config.use_fips_endpoint,
|
626
|
+
endpoint: endpoint,
|
627
|
+
)
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
class DescribeServerlessCaches
|
632
|
+
def self.build(context)
|
633
|
+
unless context.config.regional_endpoint
|
634
|
+
endpoint = context.config.endpoint.to_s
|
635
|
+
end
|
636
|
+
Aws::ElastiCache::EndpointParameters.new(
|
637
|
+
region: context.config.region,
|
638
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
639
|
+
use_fips: context.config.use_fips_endpoint,
|
640
|
+
endpoint: endpoint,
|
641
|
+
)
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
547
645
|
class DescribeServiceUpdates
|
548
646
|
def self.build(context)
|
549
647
|
unless context.config.regional_endpoint
|
@@ -628,6 +726,20 @@ module Aws::ElastiCache
|
|
628
726
|
end
|
629
727
|
end
|
630
728
|
|
729
|
+
class ExportServerlessCacheSnapshot
|
730
|
+
def self.build(context)
|
731
|
+
unless context.config.regional_endpoint
|
732
|
+
endpoint = context.config.endpoint.to_s
|
733
|
+
end
|
734
|
+
Aws::ElastiCache::EndpointParameters.new(
|
735
|
+
region: context.config.region,
|
736
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
737
|
+
use_fips: context.config.use_fips_endpoint,
|
738
|
+
endpoint: endpoint,
|
739
|
+
)
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
631
743
|
class FailoverGlobalReplicationGroup
|
632
744
|
def self.build(context)
|
633
745
|
unless context.config.regional_endpoint
|
@@ -782,6 +894,20 @@ module Aws::ElastiCache
|
|
782
894
|
end
|
783
895
|
end
|
784
896
|
|
897
|
+
class ModifyServerlessCache
|
898
|
+
def self.build(context)
|
899
|
+
unless context.config.regional_endpoint
|
900
|
+
endpoint = context.config.endpoint.to_s
|
901
|
+
end
|
902
|
+
Aws::ElastiCache::EndpointParameters.new(
|
903
|
+
region: context.config.region,
|
904
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
905
|
+
use_fips: context.config.use_fips_endpoint,
|
906
|
+
endpoint: endpoint,
|
907
|
+
)
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
785
911
|
class ModifyUser
|
786
912
|
def self.build(context)
|
787
913
|
unless context.config.regional_endpoint
|
@@ -54,11 +54,14 @@ module Aws::ElastiCache
|
|
54
54
|
# * {InvalidCacheClusterStateFault}
|
55
55
|
# * {InvalidCacheParameterGroupStateFault}
|
56
56
|
# * {InvalidCacheSecurityGroupStateFault}
|
57
|
+
# * {InvalidCredentialsException}
|
57
58
|
# * {InvalidGlobalReplicationGroupStateFault}
|
58
59
|
# * {InvalidKMSKeyFault}
|
59
60
|
# * {InvalidParameterCombinationException}
|
60
61
|
# * {InvalidParameterValueException}
|
61
62
|
# * {InvalidReplicationGroupStateFault}
|
63
|
+
# * {InvalidServerlessCacheSnapshotStateFault}
|
64
|
+
# * {InvalidServerlessCacheStateFault}
|
62
65
|
# * {InvalidSnapshotStateFault}
|
63
66
|
# * {InvalidSubnet}
|
64
67
|
# * {InvalidUserGroupStateFault}
|
@@ -77,6 +80,12 @@ module Aws::ElastiCache
|
|
77
80
|
# * {ReservedCacheNodeNotFoundFault}
|
78
81
|
# * {ReservedCacheNodeQuotaExceededFault}
|
79
82
|
# * {ReservedCacheNodesOfferingNotFoundFault}
|
83
|
+
# * {ServerlessCacheAlreadyExistsFault}
|
84
|
+
# * {ServerlessCacheNotFoundFault}
|
85
|
+
# * {ServerlessCacheQuotaForCustomerExceededFault}
|
86
|
+
# * {ServerlessCacheSnapshotAlreadyExistsFault}
|
87
|
+
# * {ServerlessCacheSnapshotNotFoundFault}
|
88
|
+
# * {ServerlessCacheSnapshotQuotaExceededFault}
|
80
89
|
# * {ServiceLinkedRoleNotFoundFault}
|
81
90
|
# * {ServiceUpdateNotFoundFault}
|
82
91
|
# * {SnapshotAlreadyExistsFault}
|
@@ -371,6 +380,16 @@ module Aws::ElastiCache
|
|
371
380
|
end
|
372
381
|
end
|
373
382
|
|
383
|
+
class InvalidCredentialsException < ServiceError
|
384
|
+
|
385
|
+
# @param [Seahorse::Client::RequestContext] context
|
386
|
+
# @param [String] message
|
387
|
+
# @param [Aws::ElastiCache::Types::InvalidCredentialsException] data
|
388
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
389
|
+
super(context, message, data)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
374
393
|
class InvalidGlobalReplicationGroupStateFault < ServiceError
|
375
394
|
|
376
395
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -431,6 +450,26 @@ module Aws::ElastiCache
|
|
431
450
|
end
|
432
451
|
end
|
433
452
|
|
453
|
+
class InvalidServerlessCacheSnapshotStateFault < ServiceError
|
454
|
+
|
455
|
+
# @param [Seahorse::Client::RequestContext] context
|
456
|
+
# @param [String] message
|
457
|
+
# @param [Aws::ElastiCache::Types::InvalidServerlessCacheSnapshotStateFault] data
|
458
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
459
|
+
super(context, message, data)
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
class InvalidServerlessCacheStateFault < ServiceError
|
464
|
+
|
465
|
+
# @param [Seahorse::Client::RequestContext] context
|
466
|
+
# @param [String] message
|
467
|
+
# @param [Aws::ElastiCache::Types::InvalidServerlessCacheStateFault] data
|
468
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
469
|
+
super(context, message, data)
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
434
473
|
class InvalidSnapshotStateFault < ServiceError
|
435
474
|
|
436
475
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -611,6 +650,66 @@ module Aws::ElastiCache
|
|
611
650
|
end
|
612
651
|
end
|
613
652
|
|
653
|
+
class ServerlessCacheAlreadyExistsFault < ServiceError
|
654
|
+
|
655
|
+
# @param [Seahorse::Client::RequestContext] context
|
656
|
+
# @param [String] message
|
657
|
+
# @param [Aws::ElastiCache::Types::ServerlessCacheAlreadyExistsFault] data
|
658
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
659
|
+
super(context, message, data)
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
class ServerlessCacheNotFoundFault < ServiceError
|
664
|
+
|
665
|
+
# @param [Seahorse::Client::RequestContext] context
|
666
|
+
# @param [String] message
|
667
|
+
# @param [Aws::ElastiCache::Types::ServerlessCacheNotFoundFault] data
|
668
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
669
|
+
super(context, message, data)
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
class ServerlessCacheQuotaForCustomerExceededFault < ServiceError
|
674
|
+
|
675
|
+
# @param [Seahorse::Client::RequestContext] context
|
676
|
+
# @param [String] message
|
677
|
+
# @param [Aws::ElastiCache::Types::ServerlessCacheQuotaForCustomerExceededFault] data
|
678
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
679
|
+
super(context, message, data)
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
class ServerlessCacheSnapshotAlreadyExistsFault < ServiceError
|
684
|
+
|
685
|
+
# @param [Seahorse::Client::RequestContext] context
|
686
|
+
# @param [String] message
|
687
|
+
# @param [Aws::ElastiCache::Types::ServerlessCacheSnapshotAlreadyExistsFault] data
|
688
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
689
|
+
super(context, message, data)
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
class ServerlessCacheSnapshotNotFoundFault < ServiceError
|
694
|
+
|
695
|
+
# @param [Seahorse::Client::RequestContext] context
|
696
|
+
# @param [String] message
|
697
|
+
# @param [Aws::ElastiCache::Types::ServerlessCacheSnapshotNotFoundFault] data
|
698
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
699
|
+
super(context, message, data)
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
class ServerlessCacheSnapshotQuotaExceededFault < ServiceError
|
704
|
+
|
705
|
+
# @param [Seahorse::Client::RequestContext] context
|
706
|
+
# @param [String] message
|
707
|
+
# @param [Aws::ElastiCache::Types::ServerlessCacheSnapshotQuotaExceededFault] data
|
708
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
709
|
+
super(context, message, data)
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
614
713
|
class ServiceLinkedRoleNotFoundFault < ServiceError
|
615
714
|
|
616
715
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -66,6 +66,8 @@ module Aws::ElastiCache
|
|
66
66
|
Aws::ElastiCache::Endpoints::BatchStopUpdateAction.build(context)
|
67
67
|
when :complete_migration
|
68
68
|
Aws::ElastiCache::Endpoints::CompleteMigration.build(context)
|
69
|
+
when :copy_serverless_cache_snapshot
|
70
|
+
Aws::ElastiCache::Endpoints::CopyServerlessCacheSnapshot.build(context)
|
69
71
|
when :copy_snapshot
|
70
72
|
Aws::ElastiCache::Endpoints::CopySnapshot.build(context)
|
71
73
|
when :create_cache_cluster
|
@@ -80,6 +82,10 @@ module Aws::ElastiCache
|
|
80
82
|
Aws::ElastiCache::Endpoints::CreateGlobalReplicationGroup.build(context)
|
81
83
|
when :create_replication_group
|
82
84
|
Aws::ElastiCache::Endpoints::CreateReplicationGroup.build(context)
|
85
|
+
when :create_serverless_cache
|
86
|
+
Aws::ElastiCache::Endpoints::CreateServerlessCache.build(context)
|
87
|
+
when :create_serverless_cache_snapshot
|
88
|
+
Aws::ElastiCache::Endpoints::CreateServerlessCacheSnapshot.build(context)
|
83
89
|
when :create_snapshot
|
84
90
|
Aws::ElastiCache::Endpoints::CreateSnapshot.build(context)
|
85
91
|
when :create_user
|
@@ -102,6 +108,10 @@ module Aws::ElastiCache
|
|
102
108
|
Aws::ElastiCache::Endpoints::DeleteGlobalReplicationGroup.build(context)
|
103
109
|
when :delete_replication_group
|
104
110
|
Aws::ElastiCache::Endpoints::DeleteReplicationGroup.build(context)
|
111
|
+
when :delete_serverless_cache
|
112
|
+
Aws::ElastiCache::Endpoints::DeleteServerlessCache.build(context)
|
113
|
+
when :delete_serverless_cache_snapshot
|
114
|
+
Aws::ElastiCache::Endpoints::DeleteServerlessCacheSnapshot.build(context)
|
105
115
|
when :delete_snapshot
|
106
116
|
Aws::ElastiCache::Endpoints::DeleteSnapshot.build(context)
|
107
117
|
when :delete_user
|
@@ -132,6 +142,10 @@ module Aws::ElastiCache
|
|
132
142
|
Aws::ElastiCache::Endpoints::DescribeReservedCacheNodes.build(context)
|
133
143
|
when :describe_reserved_cache_nodes_offerings
|
134
144
|
Aws::ElastiCache::Endpoints::DescribeReservedCacheNodesOfferings.build(context)
|
145
|
+
when :describe_serverless_cache_snapshots
|
146
|
+
Aws::ElastiCache::Endpoints::DescribeServerlessCacheSnapshots.build(context)
|
147
|
+
when :describe_serverless_caches
|
148
|
+
Aws::ElastiCache::Endpoints::DescribeServerlessCaches.build(context)
|
135
149
|
when :describe_service_updates
|
136
150
|
Aws::ElastiCache::Endpoints::DescribeServiceUpdates.build(context)
|
137
151
|
when :describe_snapshots
|
@@ -144,6 +158,8 @@ module Aws::ElastiCache
|
|
144
158
|
Aws::ElastiCache::Endpoints::DescribeUsers.build(context)
|
145
159
|
when :disassociate_global_replication_group
|
146
160
|
Aws::ElastiCache::Endpoints::DisassociateGlobalReplicationGroup.build(context)
|
161
|
+
when :export_serverless_cache_snapshot
|
162
|
+
Aws::ElastiCache::Endpoints::ExportServerlessCacheSnapshot.build(context)
|
147
163
|
when :failover_global_replication_group
|
148
164
|
Aws::ElastiCache::Endpoints::FailoverGlobalReplicationGroup.build(context)
|
149
165
|
when :increase_node_groups_in_global_replication_group
|
@@ -166,6 +182,8 @@ module Aws::ElastiCache
|
|
166
182
|
Aws::ElastiCache::Endpoints::ModifyReplicationGroup.build(context)
|
167
183
|
when :modify_replication_group_shard_configuration
|
168
184
|
Aws::ElastiCache::Endpoints::ModifyReplicationGroupShardConfiguration.build(context)
|
185
|
+
when :modify_serverless_cache
|
186
|
+
Aws::ElastiCache::Endpoints::ModifyServerlessCache.build(context)
|
169
187
|
when :modify_user
|
170
188
|
Aws::ElastiCache::Endpoints::ModifyUser.build(context)
|
171
189
|
when :modify_user_group
|