« blib/lib/Paws/SSM/DocumentIdentifier.pm
↑ Summary
blib/lib/Paws/SSM/DocumentMetadataResponseInfo.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SSM::DocumentKeyValuesFilter; | ||
| 3 | use Moose; | ||
| 4 | has Key => (is => 'ro', isa => 'Str'); | ||
| 5 | has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::SSM::DocumentKeyValuesFilter | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::SSM::DocumentKeyValuesFilter object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Key => $value, ..., Values => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::DocumentKeyValuesFilter object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | One or more filters. Use a filter to return a more specific list of | ||
| 38 | documents. | ||
| 39 | |||
| 40 | For keys, you can specify one or more tags that have been applied to a | ||
| 41 | document. | ||
| 42 | |||
| 43 | You can also use AWS-provided keys, some of which have specific allowed | ||
| 44 | values. These keys and their associated values are as follows: | ||
| 45 | |||
| 46 | =over | ||
| 47 | |||
| 48 | =item DocumentType | ||
| 49 | |||
| 50 | =over | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | ApplicationConfiguration | ||
| 55 | |||
| 56 | =item * | ||
| 57 | |||
| 58 | ApplicationConfigurationSchema | ||
| 59 | |||
| 60 | =item * | ||
| 61 | |||
| 62 | Automation | ||
| 63 | |||
| 64 | =item * | ||
| 65 | |||
| 66 | ChangeCalendar | ||
| 67 | |||
| 68 | =item * | ||
| 69 | |||
| 70 | Command | ||
| 71 | |||
| 72 | =item * | ||
| 73 | |||
| 74 | DeploymentStrategy | ||
| 75 | |||
| 76 | =item * | ||
| 77 | |||
| 78 | Package | ||
| 79 | |||
| 80 | =item * | ||
| 81 | |||
| 82 | Policy | ||
| 83 | |||
| 84 | =item * | ||
| 85 | |||
| 86 | Session | ||
| 87 | |||
| 88 | =back | ||
| 89 | |||
| 90 | =item Owner | ||
| 91 | |||
| 92 | Note that only one C<Owner> can be specified in a request. For example: | ||
| 93 | C<Key=Owner,Values=Self>. | ||
| 94 | |||
| 95 | =over | ||
| 96 | |||
| 97 | =item * | ||
| 98 | |||
| 99 | Amazon | ||
| 100 | |||
| 101 | =item * | ||
| 102 | |||
| 103 | Private | ||
| 104 | |||
| 105 | =item * | ||
| 106 | |||
| 107 | Public | ||
| 108 | |||
| 109 | =item * | ||
| 110 | |||
| 111 | Self | ||
| 112 | |||
| 113 | =item * | ||
| 114 | |||
| 115 | ThirdParty | ||
| 116 | |||
| 117 | =back | ||
| 118 | |||
| 119 | =item PlatformTypes | ||
| 120 | |||
| 121 | =over | ||
| 122 | |||
| 123 | =item * | ||
| 124 | |||
| 125 | Linux | ||
| 126 | |||
| 127 | =item * | ||
| 128 | |||
| 129 | Windows | ||
| 130 | |||
| 131 | =back | ||
| 132 | |||
| 133 | =back | ||
| 134 | |||
| 135 | C<Name> is another AWS-provided key. If you use C<Name> as a key, you | ||
| 136 | can use a name prefix to return a list of documents. For example, in | ||
| 137 | the AWS CLI, to return a list of all documents that begin with C<Te>, | ||
| 138 | run the following command: | ||
| 139 | |||
| 140 | C<aws ssm list-documents --filters Key=Name,Values=Te> | ||
| 141 | |||
| 142 | You can also use the C<TargetType> AWS-provided key. For a list of | ||
| 143 | valid resource type values that can be used with this key, see AWS | ||
| 144 | resource and property types reference | ||
| 145 | (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) | ||
| 146 | in the I<AWS CloudFormation User Guide>. | ||
| 147 | |||
| 148 | If you specify more than two keys, only documents that are identified | ||
| 149 | by all the tags are returned in the results. If you specify more than | ||
| 150 | two values for a key, documents that are identified by any of the | ||
| 151 | values are returned in the results. | ||
| 152 | |||
| 153 | To specify a custom key and value pair, use the format | ||
| 154 | C<Key=tag:tagName,Values=valueName>. | ||
| 155 | |||
| 156 | For example, if you created a key called region and are using the AWS | ||
| 157 | CLI to call the C<list-documents> command: | ||
| 158 | |||
| 159 | C<aws ssm list-documents --filters Key=tag:region,Values=east,west | ||
| 160 | Key=Owner,Values=Self> | ||
| 161 | |||
| 162 | =head1 ATTRIBUTES | ||
| 163 | |||
| 164 | |||
| 165 | =head2 Key => Str | ||
| 166 | |||
| 167 | The name of the filter key. | ||
| 168 | |||
| 169 | |||
| 170 | =head2 Values => ArrayRef[Str|Undef] | ||
| 171 | |||
| 172 | The value for the filter key. | ||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | =head1 SEE ALSO | ||
| 177 | |||
| 178 | This class forms part of L<Paws>, describing an object used in L<Paws::SSM> | ||
| 179 | |||
| 180 | =head1 BUGS and CONTRIBUTIONS | ||
| 181 | |||
| 182 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 183 | |||
| 184 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 185 | |||
| 186 | =cut | ||
| 187 |