import * as __aws_sdk_types from "@aws-sdk/types"; /** * DescribeRuleOutput shape */ export interface DescribeRuleOutput extends __aws_sdk_types.MetadataBearer { /** *

The name of the rule.

*/ Name?: string; /** *

The Amazon Resource Name (ARN) of the rule.

*/ Arn?: string; /** *

The event pattern. For more information, see Event Patterns in the Amazon EventBridge User Guide.

*/ EventPattern?: string; /** *

The scheduling expression: for example, "cron(0 20 * * ? *)" or "rate(5 minutes)".

*/ ScheduleExpression?: string; /** *

Specifies whether the rule is enabled or disabled.

*/ State?: "ENABLED" | "DISABLED" | string; /** *

The description of the rule.

*/ Description?: string; /** *

The Amazon Resource Name (ARN) of the IAM role associated with the rule.

*/ RoleArn?: string; /** *

If this is a managed rule, created by an AWS service on your behalf, this field displays the principal name of the AWS service that created the rule.

*/ ManagedBy?: string; /** *

The event bus associated with the rule.

*/ EventBusName?: string; /** * Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK. */ $metadata: __aws_sdk_types.ResponseMetadata; }