| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IAM::DeletionTaskFailureReasonType; | ||
| 3 | use Moose; | ||
| 4 | has Reason => (is => 'ro', isa => 'Str'); | ||
| 5 | has RoleUsageList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::RoleUsageType]'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::IAM::DeletionTaskFailureReasonType | ||
| 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::IAM::DeletionTaskFailureReasonType object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Reason => $value, ..., RoleUsageList => $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::IAM::DeletionTaskFailureReasonType object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Reason | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The reason that the service-linked role deletion failed. | ||
| 38 | |||
| 39 | This data type is used as a response element in the | ||
| 40 | GetServiceLinkedRoleDeletionStatus operation. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Reason => Str | ||
| 46 | |||
| 47 | A short description of the reason that the service-linked role deletion | ||
| 48 | failed. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 RoleUsageList => ArrayRef[L<Paws::IAM::RoleUsageType>] | ||
| 52 | |||
| 53 | A list of objects that contains details about the service-linked role | ||
| 54 | deletion failure, if that information is returned by the service. If | ||
| 55 | the service-linked role has active sessions or if any resources that | ||
| 56 | were used by the role have not been deleted from the linked service, | ||
| 57 | the role can't be deleted. This parameter includes a list of the | ||
| 58 | resources that are associated with the role and the Region in which the | ||
| 59 | resources are being used. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | This class forms part of L<Paws>, describing an object used in L<Paws::IAM> | ||
| 66 | |||
| 67 | =head1 BUGS and CONTRIBUTIONS | ||
| 68 | |||
| 69 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 70 | |||
| 71 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 72 | |||
| 73 | =cut | ||
| 74 |