NAME
Paws::Health::Event
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Health::Event object:
$service_obj->Method(Att1 => { Arn => $value, ..., StatusCode => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Health::Event object:
$result = $service_obj->Method(...);
$result->Att1->Arn
DESCRIPTION
Summary information about an AWS Health event.
AWS Health events can be public or account-specific:
Public events might be service events that are not specific to an AWS account. For example, if there is an issue with an AWS Region, AWS Health provides information about the event, even if you don't use services or resources in that Region.
Account-specific events are specific to either your AWS account or an account in your organization. For example, if there's an issue with Amazon Elastic Compute Cloud in a Region that you use, AWS Health provides information about the event and the affected resources in the account.
You can determine if an event is public or account-specific by using the eventScopeCode
parameter. For more information, see eventScopeCode (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode).
ATTRIBUTES
Arn => Str
The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
AvailabilityZone => Str
The AWS Availability Zone of the event. For example, us-east-1a.
EndTime => Str
The date and time that the event ended.
EventScopeCode => Str
This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.
If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty.If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
value lists the affected AWS accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have AWS accounts that use that service, those account IDs appear in the response.If the
eventScopeCode
value isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
EventTypeCategory => Str
The category of the event. Possible values are issue
, scheduledChange
, and accountNotification
.
EventTypeCode => Str
The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION
; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
LastUpdatedTime => Str
The most recent date and time that the event was updated.
Region => Str
The AWS Region name of the event.
Service => Str
The AWS service that is affected by the event. For example, EC2
, RDS
.
StartTime => Str
The date and time that the event began.
StatusCode => Str
The most recent status of the event. Possible values are open
, closed
, and upcoming
.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Health
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues