« blib/lib/Paws/SSM/GetAutomationExecutionResult.pm
↑ Summary
blib/lib/Paws/SSM/GetCalendarStateResponse.pm »
| 1 | |||
| 2 | package Paws::SSM::GetCalendarState; | ||
| 3 | use Moose; | ||
| 4 | has AtTime => (is => 'ro', isa => 'Str'); | ||
| 5 | has CalendarNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetCalendarState'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::GetCalendarStateResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::SSM::GetCalendarState - Arguments for method GetCalendarState on L<Paws::SSM> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method GetCalendarState on the | ||
| 23 | L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class | ||
| 24 | as arguments to method GetCalendarState. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetCalendarState. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $ssm = Paws->service('SSM'); | ||
| 31 | my $GetCalendarStateResponse = $ssm->GetCalendarState( | ||
| 32 | CalendarNames => [ 'MyCalendarNameOrARN', ... ], | ||
| 33 | AtTime => 'MyISO8601String', # OPTIONAL | ||
| 34 | ); | ||
| 35 | |||
| 36 | # Results: | ||
| 37 | my $AtTime = $GetCalendarStateResponse->AtTime; | ||
| 38 | my $NextTransitionTime = $GetCalendarStateResponse->NextTransitionTime; | ||
| 39 | my $State = $GetCalendarStateResponse->State; | ||
| 40 | |||
| 41 | # Returns a L<Paws::SSM::GetCalendarStateResponse> object. | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/GetCalendarState> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 AtTime => Str | ||
| 50 | |||
| 51 | (Optional) The specific time for which you want to get calendar state | ||
| 52 | information, in ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601) | ||
| 53 | format. If you do not add C<AtTime>, the current time is assumed. | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> CalendarNames => ArrayRef[Str|Undef] | ||
| 58 | |||
| 59 | The names or Amazon Resource Names (ARNs) of the Systems Manager | ||
| 60 | documents that represent the calendar entries for which you want to get | ||
| 61 | the state. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, documenting arguments for method GetCalendarState in L<Paws::SSM> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut | ||
| 77 |