« blib/lib/Paws/SSM/DescribeMaintenanceWindowsResult.pm
↑ Summary
blib/lib/Paws/SSM/DescribeOpsItemsResponse.pm »
| 1 | |||
| 2 | package Paws::SSM::DescribeOpsItems; | ||
| 3 | use Moose; | ||
| 4 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 5 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 6 | has OpsItemFilters => (is => 'ro', isa => 'ArrayRef[Paws::SSM::OpsItemFilter]'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeOpsItems'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::DescribeOpsItemsResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::SSM::DescribeOpsItems - Arguments for method DescribeOpsItems on L<Paws::SSM> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method DescribeOpsItems on the | ||
| 24 | L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class | ||
| 25 | as arguments to method DescribeOpsItems. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeOpsItems. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $ssm = Paws->service('SSM'); | ||
| 32 | my $DescribeOpsItemsResponse = $ssm->DescribeOpsItems( | ||
| 33 | MaxResults => 1, # OPTIONAL | ||
| 34 | NextToken => 'MyString', # OPTIONAL | ||
| 35 | OpsItemFilters => [ | ||
| 36 | { | ||
| 37 | Key => 'Status' | ||
| 38 | , # values: Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup | ||
| 39 | Operator => 'Equal', # values: Equal, Contains, GreaterThan, LessThan | ||
| 40 | Values => [ 'MyOpsItemFilterValue', ... ], | ||
| 41 | |||
| 42 | }, | ||
| 43 | ... | ||
| 44 | ], # OPTIONAL | ||
| 45 | ); | ||
| 46 | |||
| 47 | # Results: | ||
| 48 | my $NextToken = $DescribeOpsItemsResponse->NextToken; | ||
| 49 | my $OpsItemSummaries = $DescribeOpsItemsResponse->OpsItemSummaries; | ||
| 50 | |||
| 51 | # Returns a L<Paws::SSM::DescribeOpsItemsResponse> object. | ||
| 52 | |||
| 53 | 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. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/DescribeOpsItems> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 MaxResults => Int | ||
| 60 | |||
| 61 | The maximum number of items to return for this call. The call also | ||
| 62 | returns a token that you can specify in a subsequent call to get the | ||
| 63 | next set of results. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 NextToken => Str | ||
| 68 | |||
| 69 | A token to start the list. Use this token to get the next set of | ||
| 70 | results. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 OpsItemFilters => ArrayRef[L<Paws::SSM::OpsItemFilter>] | ||
| 75 | |||
| 76 | One or more filters to limit the response. | ||
| 77 | |||
| 78 | =over | ||
| 79 | |||
| 80 | =item * | ||
| 81 | |||
| 82 | Key: CreatedTime | ||
| 83 | |||
| 84 | Operations: GreaterThan, LessThan | ||
| 85 | |||
| 86 | =item * | ||
| 87 | |||
| 88 | Key: LastModifiedBy | ||
| 89 | |||
| 90 | Operations: Contains, Equals | ||
| 91 | |||
| 92 | =item * | ||
| 93 | |||
| 94 | Key: LastModifiedTime | ||
| 95 | |||
| 96 | Operations: GreaterThan, LessThan | ||
| 97 | |||
| 98 | =item * | ||
| 99 | |||
| 100 | Key: Priority | ||
| 101 | |||
| 102 | Operations: Equals | ||
| 103 | |||
| 104 | =item * | ||
| 105 | |||
| 106 | Key: Source | ||
| 107 | |||
| 108 | Operations: Contains, Equals | ||
| 109 | |||
| 110 | =item * | ||
| 111 | |||
| 112 | Key: Status | ||
| 113 | |||
| 114 | Operations: Equals | ||
| 115 | |||
| 116 | =item * | ||
| 117 | |||
| 118 | Key: Title | ||
| 119 | |||
| 120 | Operations: Contains | ||
| 121 | |||
| 122 | =item * | ||
| 123 | |||
| 124 | Key: OperationalData* | ||
| 125 | |||
| 126 | Operations: Equals | ||
| 127 | |||
| 128 | =item * | ||
| 129 | |||
| 130 | Key: OperationalDataKey | ||
| 131 | |||
| 132 | Operations: Equals | ||
| 133 | |||
| 134 | =item * | ||
| 135 | |||
| 136 | Key: OperationalDataValue | ||
| 137 | |||
| 138 | Operations: Equals, Contains | ||
| 139 | |||
| 140 | =item * | ||
| 141 | |||
| 142 | Key: OpsItemId | ||
| 143 | |||
| 144 | Operations: Equals | ||
| 145 | |||
| 146 | =item * | ||
| 147 | |||
| 148 | Key: ResourceId | ||
| 149 | |||
| 150 | Operations: Contains | ||
| 151 | |||
| 152 | =item * | ||
| 153 | |||
| 154 | Key: AutomationId | ||
| 155 | |||
| 156 | Operations: Equals | ||
| 157 | |||
| 158 | =back | ||
| 159 | |||
| 160 | *If you filter the response by using the OperationalData operator, | ||
| 161 | specify a key-value pair by using the following JSON format: | ||
| 162 | {"key":"key_name","value":"a_value"} | ||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | =head1 SEE ALSO | ||
| 168 | |||
| 169 | This class forms part of L<Paws>, documenting arguments for method DescribeOpsItems in L<Paws::SSM> | ||
| 170 | |||
| 171 | =head1 BUGS and CONTRIBUTIONS | ||
| 172 | |||
| 173 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 174 | |||
| 175 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 176 | |||
| 177 | =cut | ||
| 178 |