describeUpdateActions method

Future<UpdateActionsMessage> describeUpdateActions({
  1. List<String>? cacheClusterIds,
  2. String? engine,
  3. String? marker,
  4. int? maxRecords,
  5. List<String>? replicationGroupIds,
  6. String? serviceUpdateName,
  7. List<ServiceUpdateStatus>? serviceUpdateStatus,
  8. TimeRangeFilter? serviceUpdateTimeRange,
  9. bool? showNodeLevelUpdateStatus,
  10. List<UpdateActionStatus>? updateActionStatus,
})

Returns details of the update actions

May throw InvalidParameterValueException. May throw InvalidParameterCombinationException.

Parameter cacheClusterIds : The cache cluster IDs

Parameter engine : The Elasticache engine to which the update applies. Either Redis or Memcached

Parameter marker : An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameter maxRecords : The maximum number of records to include in the response

Parameter replicationGroupIds : The replication group IDs

Parameter serviceUpdateName : The unique ID of the service update

Parameter serviceUpdateStatus : The status of the service update

Parameter serviceUpdateTimeRange : The range of time specified to search for service updates that are in available status

Parameter showNodeLevelUpdateStatus : Dictates whether to include node level update status in the response

Parameter updateActionStatus : The status of the update action.

Implementation

Future<UpdateActionsMessage> describeUpdateActions({
  List<String>? cacheClusterIds,
  String? engine,
  String? marker,
  int? maxRecords,
  List<String>? replicationGroupIds,
  String? serviceUpdateName,
  List<ServiceUpdateStatus>? serviceUpdateStatus,
  TimeRangeFilter? serviceUpdateTimeRange,
  bool? showNodeLevelUpdateStatus,
  List<UpdateActionStatus>? updateActionStatus,
}) async {
  final $request = <String, dynamic>{};
  cacheClusterIds?.also((arg) => $request['CacheClusterIds'] = arg);
  engine?.also((arg) => $request['Engine'] = arg);
  marker?.also((arg) => $request['Marker'] = arg);
  maxRecords?.also((arg) => $request['MaxRecords'] = arg);
  replicationGroupIds?.also((arg) => $request['ReplicationGroupIds'] = arg);
  serviceUpdateName?.also((arg) => $request['ServiceUpdateName'] = arg);
  serviceUpdateStatus?.also((arg) =>
      $request['ServiceUpdateStatus'] = arg.map((e) => e.toValue()).toList());
  serviceUpdateTimeRange
      ?.also((arg) => $request['ServiceUpdateTimeRange'] = arg);
  showNodeLevelUpdateStatus
      ?.also((arg) => $request['ShowNodeLevelUpdateStatus'] = arg);
  updateActionStatus?.also((arg) =>
      $request['UpdateActionStatus'] = arg.map((e) => e.toValue()).toList());
  final $result = await _protocol.send(
    $request,
    action: 'DescribeUpdateActions',
    version: '2015-02-02',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeUpdateActionsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeUpdateActionsResult',
  );
  return UpdateActionsMessage.fromXml($result);
}