The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Health::OrganizationEvent

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::OrganizationEvent 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::OrganizationEvent object:

  $result = $service_obj->Method(...);
  $result->Att1->Arn

DESCRIPTION

Summary information about an event, returned by the DescribeEventsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html) operation.

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

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 is PUBLIC, then the affectedAccounts value is always empty.

  • If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts 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 is NONE, then the eventArn that you specified in the request is invalid or doesn't exist.

EventTypeCategory => Str

The category of the event type.

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, such as EC2 and 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