import { _Tag } from "./_Tag"; import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * PutRuleInput shape */ export interface PutRuleInput { /** *
The name of the rule that you're creating or updating.
*/ Name: string; /** *The scheduling expression: for example, "cron(0 20 * * ? *)" or "rate(5 minutes)".
The event pattern. For more information, see Event Patterns in the Amazon EventBridge User Guide.
*/ EventPattern?: string; /** *Indicates whether the rule is enabled or disabled.
*/ State?: "ENABLED" | "DISABLED" | string; /** *A description of the rule.
*/ Description?: string; /** *The Amazon Resource Name (ARN) of the IAM role associated with the rule.
*/ RoleArn?: string; /** *The list of key-value pairs to associate with the rule.
*/ Tags?: Array<_Tag> | Iterable<_Tag>; /** *The event bus to associate with this rule. If you omit this, the default event bus is used.
*/ EventBusName?: string; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }