ScheduledQueryState class
Input properties used for looking up and filtering ScheduledQuery resources.
Constructors
-
ScheduledQueryState({Input<
String?> ? arn, Input<String?> ? creationTime, Input<ScheduledQueryErrorReportConfiguration?> ? errorReportConfiguration, Input<String?> ? executionRoleArn, Input<String?> ? kmsKeyId, Input<List< ? lastRunSummaries, Input<ScheduledQueryLastRunSummary> ?>String?> ? name, Input<String?> ? nextInvocationTime, Input<ScheduledQueryNotificationConfiguration?> ? notificationConfiguration, Input<String?> ? previousInvocationTime, Input<String?> ? queryString, Input<List< ? recentlyFailedRuns, Input<ScheduledQueryRecentlyFailedRun> ?>String?> ? region, Input<ScheduledQueryScheduleConfiguration?> ? scheduleConfiguration, Input<String?> ? state, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>ScheduledQueryTargetConfiguration?> ? targetConfiguration, Input<ScheduledQueryTimeouts?> ? timeouts}) -
Creates a new ScheduledQueryState.
arnARN of the Scheduled Query.creationTimeCreation time for the scheduled query.errorReportConfigurationConfiguration block for error reporting configuration. See below.executionRoleArnARN for the IAM role that Timestream will assume when running the scheduled query.kmsKeyIdAmazon KMS key used to encrypt the scheduled query resource, at-rest. If not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with "alias/". IferrorReportConfigurationusesSSE_KMSas the encryption type, the samekmsKeyIdis used to encrypt the error report at rest.lastRunSummariesRuntime summary for the last scheduled query run.nameName of the scheduled query.nextInvocationTimeNext time the scheduled query is scheduled to run.notificationConfigurationConfiguration block for notification configuration for a scheduled query. A notification is sent by Timestream when a scheduled query is created, its state is updated, or when it is deleted. See below.previousInvocationTimeLast time the scheduled query was run.queryStringQuery string to run. Parameter names can be specified in the query string using the@character followed by an identifier. The named parameter@scheduled_runtimeis reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to thescheduleConfigurationparameter, will be the value of@scheduled_runtimeparamater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtimeparameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.recentlyFailedRunsRuntime summary for the last five failed scheduled query runs.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.scheduleConfigurationConfiguration block for schedule configuration for the query. See below.stateState of the scheduled query, eitherENABLEDorDISABLED.tagsMap of tags assigned to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.targetConfigurationConfiguration block for writing the result of a query. See below.timeoutsOptional.const -
ScheduledQueryState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the Scheduled Query.
final
-
creationTime
→ Input<
String?> ? -
Creation time for the scheduled query.
final
-
errorReportConfiguration
→ Input<
ScheduledQueryErrorReportConfiguration?> ? -
Configuration block for error reporting configuration. See below.
final
-
executionRoleArn
→ Input<
String?> ? -
ARN for the IAM role that Timestream will assume when running the scheduled query.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyId
→ Input<
String?> ? -
Amazon KMS key used to encrypt the scheduled query resource, at-rest. If not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with "alias/". If
errorReportConfigurationusesSSE_KMSas the encryption type, the samekmsKeyIdis used to encrypt the error report at rest.final -
lastRunSummaries
→ Input<
List< ?ScheduledQueryLastRunSummary> ?> -
Runtime summary for the last scheduled query run.
final
-
name
→ Input<
String?> ? -
Name of the scheduled query.
final
-
nextInvocationTime
→ Input<
String?> ? -
Next time the scheduled query is scheduled to run.
final
-
notificationConfiguration
→ Input<
ScheduledQueryNotificationConfiguration?> ? -
Configuration block for notification configuration for a scheduled query. A notification is sent by Timestream when a scheduled query is created, its state is updated, or when it is deleted. See below.
final
-
previousInvocationTime
→ Input<
String?> ? -
Last time the scheduled query was run.
final
-
queryString
→ Input<
String?> ? -
Query string to run. Parameter names can be specified in the query string using the
@character followed by an identifier. The named parameter@scheduled_runtimeis reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to thescheduleConfigurationparameter, will be the value of@scheduled_runtimeparamater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtimeparameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.final -
recentlyFailedRuns
→ Input<
List< ?ScheduledQueryRecentlyFailedRun> ?> -
Runtime summary for the last five failed scheduled query runs.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scheduleConfiguration
→ Input<
ScheduledQueryScheduleConfiguration?> ? -
Configuration block for schedule configuration for the query. See below.
final
-
state
→ Input<
String?> ? -
State of the scheduled query, either
ENABLEDorDISABLED.final -
Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
targetConfiguration
→ Input<
ScheduledQueryTargetConfiguration?> ? -
Configuration block for writing the result of a query. See below.
final
-
timeouts
→ Input<
ScheduledQueryTimeouts?> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited