describe_scheduled_actions
async
¶
describe_scheduled_actions(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
scheduled_action_name: Optional[String] = None,
target_action_type: Optional[ScheduledActionTypeValues] = None,
start_time: Optional[TStamp] = None,
end_time: Optional[TStamp] = None,
active: Optional[BooleanOptional] = None,
filters: Optional[ScheduledActionFilterList] = None,
marker: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
) -> ScheduledActionsMessage
Describes properties of scheduled actions.
Parameters:
-
scheduled_action_name(Optional[String], default:None) –The name of the scheduled action to retrieve.
-
target_action_type(Optional[ScheduledActionTypeValues], default:None) –The type of the scheduled actions to retrieve.
-
start_time(Optional[TStamp], default:None) –The start time in UTC of the scheduled actions to retrieve. Only active scheduled actions that have invocations after this time are retrieved.
-
end_time(Optional[TStamp], default:None) –The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have invocations before this time are retrieved.
-
active(Optional[BooleanOptional], default:None) –If true, retrieve only active scheduled actions. If false, retrieve only disabled scheduled actions.
-
filters(Optional[ScheduledActionFilterList], default:None) –List of scheduled action filters.
-
marker(Optional[String], default:None) –An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in
MaxRecords, Amazon Web Services returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request. -
max_records(Optional[IntegerOptional], default:None) –The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
Raises:
-
ScheduledActionNotFoundFault–The scheduled action cannot be found.
-
UnauthorizedOperation–Your account is not authorized to perform the requested operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/async_redshift.py
6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 | |