« blib/lib/Paws/SSMIncidents/UpdateResponsePlanOutput.pm
↑ Summary
blib/lib/Paws/SSMIncidents/UpdateTimelineEventOutput.pm »
| 1 | |||
| 2 | package Paws::SSMIncidents::UpdateTimelineEvent; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken', required => 1); | ||
| 5 | has EventData => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'eventData'); | ||
| 6 | has EventId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'eventId', required => 1); | ||
| 7 | has EventTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'eventTime'); | ||
| 8 | has EventType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'eventType'); | ||
| 9 | has IncidentRecordArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'incidentRecordArn', required => 1); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTimelineEvent'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/updateTimelineEvent'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSMIncidents::UpdateTimelineEventOutput'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::SSMIncidents::UpdateTimelineEvent - Arguments for method UpdateTimelineEvent on L<Paws::SSMIncidents> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method UpdateTimelineEvent on the | ||
| 28 | L<AWS Systems Manager Incident Manager|Paws::SSMIncidents> service. Use the attributes of this class | ||
| 29 | as arguments to method UpdateTimelineEvent. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTimelineEvent. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $ssm-incidents = Paws->service('SSMIncidents'); | ||
| 36 | my $UpdateTimelineEventOutput = $ssm -incidents->UpdateTimelineEvent( | ||
| 37 | ClientToken => 'MyClientToken', | ||
| 38 | EventId => 'MyUUID', | ||
| 39 | IncidentRecordArn => 'MyArn', | ||
| 40 | EventData => 'MyEventData', # OPTIONAL | ||
| 41 | EventTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 42 | EventType => 'MyTimelineEventType', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents/UpdateTimelineEvent> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> ClientToken => Str | ||
| 52 | |||
| 53 | A token ensuring that the action is called only once with the specified | ||
| 54 | details. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 EventData => Str | ||
| 59 | |||
| 60 | A short description of the event. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> EventId => Str | ||
| 65 | |||
| 66 | The ID of the event you are updating. You can find this by using | ||
| 67 | C<ListTimelineEvents>. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 EventTime => Str | ||
| 72 | |||
| 73 | The time that the event occurred. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 EventType => Str | ||
| 78 | |||
| 79 | The type of the event. You can update events of type C<Custom Event>. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> IncidentRecordArn => Str | ||
| 84 | |||
| 85 | The Amazon Resource Name (ARN) of the incident that the timeline event | ||
| 86 | is part of. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, documenting arguments for method UpdateTimelineEvent in L<Paws::SSMIncidents> | ||
| 94 | |||
| 95 | =head1 BUGS and CONTRIBUTIONS | ||
| 96 | |||
| 97 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 98 | |||
| 99 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 100 | |||
| 101 | =cut | ||
| 102 |