« blib/lib/Paws/ResourceTagging/FailedResourcesMap.pm
↑ Summary
blib/lib/Paws/ResourceTagging/GetComplianceSummary.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ResourceTagging::FailureInfo; | ||
| 3 | use Moose; | ||
| 4 | has ErrorCode => (is => 'ro', isa => 'Str'); | ||
| 5 | has ErrorMessage => (is => 'ro', isa => 'Str'); | ||
| 6 | has StatusCode => (is => 'ro', isa => 'Int'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::ResourceTagging::FailureInfo | ||
| 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::ResourceTagging::FailureInfo object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ErrorCode => $value, ..., StatusCode => $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::ResourceTagging::FailureInfo object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ErrorCode | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Information about the errors that are returned for each failed | ||
| 39 | resource. This information can include C<InternalServiceException> and | ||
| 40 | C<InvalidParameterException> errors. It can also include any valid | ||
| 41 | error code returned by the AWS service that hosts the resource that the | ||
| 42 | ARN key represents. | ||
| 43 | |||
| 44 | The following are common error codes that you might receive from other | ||
| 45 | AWS services: | ||
| 46 | |||
| 47 | =over | ||
| 48 | |||
| 49 | =item * | ||
| 50 | |||
| 51 | B<InternalServiceException> E<ndash> This can mean that the Resource | ||
| 52 | Groups Tagging API didn't receive a response from another AWS service. | ||
| 53 | It can also mean the the resource type in the request is not supported | ||
| 54 | by the Resource Groups Tagging API. In these cases, it's safe to retry | ||
| 55 | the request and then call GetResources | ||
| 56 | (http://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html) | ||
| 57 | to verify the changes. | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | B<AccessDeniedException> E<ndash> This can mean that you need | ||
| 62 | permission to calling tagging operations in the AWS service that | ||
| 63 | contains the resource. For example, to use the Resource Groups Tagging | ||
| 64 | API to tag a CloudWatch alarm resource, you need permission to call | ||
| 65 | C<TagResources> | ||
| 66 | (http://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_TagResources.html) | ||
| 67 | I<and> C<TagResource> | ||
| 68 | (http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) | ||
| 69 | in the CloudWatch API. | ||
| 70 | |||
| 71 | =back | ||
| 72 | |||
| 73 | For more information on errors that are generated from other AWS | ||
| 74 | services, see the documentation for that service. | ||
| 75 | |||
| 76 | =head1 ATTRIBUTES | ||
| 77 | |||
| 78 | |||
| 79 | =head2 ErrorCode => Str | ||
| 80 | |||
| 81 | The code of the common error. Valid values include | ||
| 82 | C<InternalServiceException>, C<InvalidParameterException>, and any | ||
| 83 | valid error code returned by the AWS service that hosts the resource | ||
| 84 | that you want to tag. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 ErrorMessage => Str | ||
| 88 | |||
| 89 | The message of the common error. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 StatusCode => Int | ||
| 93 | |||
| 94 | The HTTP status code of the common error. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, describing an object used in L<Paws::ResourceTagging> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |