« blib/lib/Paws/Support/Service.pm
↑ Summary
blib/lib/Paws/Support/TrustedAdvisorCheckDescription.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Support::SeverityLevel; | ||
| 3 | use Moose; | ||
| 4 | has Code => (is => 'ro', isa => 'Str', request_name => 'code', traits => ['NameInRequest']); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Support::SeverityLevel | ||
| 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::Support::SeverityLevel object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Code => $value, ..., Name => $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::Support::SeverityLevel object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Code | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A code and name pair that represents the severity level of a support | ||
| 38 | case. The available values depend on the support plan for the account. | ||
| 39 | For more information, see Choosing a severity | ||
| 40 | (https://docs.aws.amazon.com/awssupport/latest/user/case-management.html#choosing-severity) | ||
| 41 | in the I<AWS Support User Guide>. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Code => Str | ||
| 47 | |||
| 48 | The code for case severity level. | ||
| 49 | |||
| 50 | Valid values: C<low> | C<normal> | C<high> | C<urgent> | C<critical> | ||
| 51 | |||
| 52 | |||
| 53 | =head2 Name => Str | ||
| 54 | |||
| 55 | The name of the severity level that corresponds to the severity level | ||
| 56 | code. | ||
| 57 | |||
| 58 | The values returned by the API are different from the values that | ||
| 59 | appear in the AWS Support Center. For example, the API uses the code | ||
| 60 | C<low>, but the name appears as General guidance in Support Center. | ||
| 61 | |||
| 62 | The following are the API code names and how they appear in the | ||
| 63 | console: | ||
| 64 | |||
| 65 | =over | ||
| 66 | |||
| 67 | =item * | ||
| 68 | |||
| 69 | C<low> - General guidance | ||
| 70 | |||
| 71 | =item * | ||
| 72 | |||
| 73 | C<normal> - System impaired | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | C<high> - Production system impaired | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | C<urgent> - Production system down | ||
| 82 | |||
| 83 | =item * | ||
| 84 | |||
| 85 | C<critical> - Business-critical system down | ||
| 86 | |||
| 87 | =back | ||
| 88 | |||
| 89 | For more information, see Choosing a severity | ||
| 90 | (https://docs.aws.amazon.com/awssupport/latest/user/case-management.html#choosing-severity) | ||
| 91 | in the I<AWS Support User Guide>. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, describing an object used in L<Paws::Support> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |