ElastiCache.Client.
batch_apply_update_action
(**kwargs)¶Apply the service update. For more information on service updates and applying them, see Applying Service Updates.
See also: AWS API Documentation
Request Syntax
response = client.batch_apply_update_action(
ReplicationGroupIds=[
'string',
],
CacheClusterIds=[
'string',
],
ServiceUpdateName='string'
)
The replication group IDs
The cache cluster IDs
[REQUIRED]
The unique ID of the service update
dict
Response Syntax
{
'ProcessedUpdateActions': [
{
'ReplicationGroupId': 'string',
'CacheClusterId': 'string',
'ServiceUpdateName': 'string',
'UpdateActionStatus': 'not-applied'|'waiting-to-start'|'in-progress'|'stopping'|'stopped'|'complete'|'scheduling'|'scheduled'|'not-applicable'
},
],
'UnprocessedUpdateActions': [
{
'ReplicationGroupId': 'string',
'CacheClusterId': 'string',
'ServiceUpdateName': 'string',
'ErrorType': 'string',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
ProcessedUpdateActions (list) --
Update actions that have been processed successfully
(dict) --
Update action that has been processed for the corresponding apply/stop request
ReplicationGroupId (string) --
The ID of the replication group
CacheClusterId (string) --
The ID of the cache cluster
ServiceUpdateName (string) --
The unique ID of the service update
UpdateActionStatus (string) --
The status of the update action on the Redis cluster
UnprocessedUpdateActions (list) --
Update actions that haven't been processed successfully
(dict) --
Update action that has failed to be processed for the corresponding apply/stop request
ReplicationGroupId (string) --
The replication group ID
CacheClusterId (string) --
The ID of the cache cluster
ServiceUpdateName (string) --
The unique ID of the service update
ErrorType (string) --
The error type for requests that are not processed
ErrorMessage (string) --
The error message that describes the reason the request was not processed
Exceptions
ElastiCache.Client.exceptions.ServiceUpdateNotFoundFault
ElastiCache.Client.exceptions.InvalidParameterValueException