| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Support::Service; | ||
| 3 | use Moose; | ||
| 4 | has Categories => (is => 'ro', isa => 'ArrayRef[Paws::Support::Category]', request_name => 'categories', traits => ['NameInRequest']); | ||
| 5 | has Code => (is => 'ro', isa => 'Str', request_name => 'code', traits => ['NameInRequest']); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Support::Service | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Support::Service object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Categories => $value, ..., Name => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Support::Service object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Categories | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Information about an AWS service returned by the DescribeServices | ||
| 39 | operation. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 Categories => ArrayRef[L<Paws::Support::Category>] | ||
| 45 | |||
| 46 | A list of categories that describe the type of support issue a case | ||
| 47 | describes. Categories consist of a category name and a category code. | ||
| 48 | Category names and codes are passed to AWS Support when you call | ||
| 49 | CreateCase. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Code => Str | ||
| 53 | |||
| 54 | The code for an AWS service returned by the DescribeServices response. | ||
| 55 | The C<name> element contains the corresponding friendly name. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Name => Str | ||
| 59 | |||
| 60 | The friendly name for an AWS service. The C<code> element contains the | ||
| 61 | corresponding code. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head1 SEE ALSO | ||
| 66 | |||
| 67 | This class forms part of L<Paws>, describing an object used in L<Paws::Support> | ||
| 68 | |||
| 69 | =head1 BUGS and CONTRIBUTIONS | ||
| 70 | |||
| 71 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 72 | |||
| 73 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 74 | |||
| 75 | =cut | ||
| 76 |