« blib/lib/Paws/IAM/CreateSAMLProviderResponse.pm
↑ Summary
blib/lib/Paws/IAM/CreateServiceLinkedRoleResponse.pm »
| 1 | |||
| 2 | package Paws::IAM::CreateServiceLinkedRole; | ||
| 3 | use Moose; | ||
| 4 | has AWSServiceName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has CustomSuffix => (is => 'ro', isa => 'Str'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateServiceLinkedRole'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::CreateServiceLinkedRoleResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateServiceLinkedRoleResult'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::IAM::CreateServiceLinkedRole - Arguments for method CreateServiceLinkedRole on L<Paws::IAM> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateServiceLinkedRole on the | ||
| 24 | L<AWS Identity and Access Management|Paws::IAM> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateServiceLinkedRole. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateServiceLinkedRole. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $iam = Paws->service('IAM'); | ||
| 32 | my $CreateServiceLinkedRoleResponse = $iam->CreateServiceLinkedRole( | ||
| 33 | AWSServiceName => 'MygroupNameType', | ||
| 34 | CustomSuffix => 'MycustomSuffixType', # OPTIONAL | ||
| 35 | Description => 'MyroleDescriptionType', # OPTIONAL | ||
| 36 | ); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $Role = $CreateServiceLinkedRoleResponse->Role; | ||
| 40 | |||
| 41 | # Returns a L<Paws::IAM::CreateServiceLinkedRoleResponse> object. | ||
| 42 | |||
| 43 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iam/CreateServiceLinkedRole> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> AWSServiceName => Str | ||
| 50 | |||
| 51 | The service principal for the AWS service to which this role is | ||
| 52 | attached. You use a string similar to a URL but without the http:// in | ||
| 53 | front. For example: C<elasticbeanstalk.amazonaws.com>. | ||
| 54 | |||
| 55 | Service principals are unique and case-sensitive. To find the exact | ||
| 56 | service principal for your service-linked role, see AWS services that | ||
| 57 | work with IAM | ||
| 58 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html) | ||
| 59 | in the I<IAM User Guide>. Look for the services that have B<Yes >in the | ||
| 60 | B<Service-Linked Role> column. Choose the B<Yes> link to view the | ||
| 61 | service-linked role documentation for that service. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 CustomSuffix => Str | ||
| 66 | |||
| 67 | A string that you provide, which is combined with the service-provided | ||
| 68 | prefix to form the complete role name. If you make multiple requests | ||
| 69 | for the same service, then you must supply a different C<CustomSuffix> | ||
| 70 | for each request. Otherwise the request fails with a duplicate role | ||
| 71 | name error. For example, you could add C<-1> or C<-debug> to the | ||
| 72 | suffix. | ||
| 73 | |||
| 74 | Some services do not support the C<CustomSuffix> parameter. If you | ||
| 75 | provide an optional suffix and the operation fails, try the operation | ||
| 76 | again without the suffix. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 Description => Str | ||
| 81 | |||
| 82 | The description of the role. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head1 SEE ALSO | ||
| 88 | |||
| 89 | This class forms part of L<Paws>, documenting arguments for method CreateServiceLinkedRole in L<Paws::IAM> | ||
| 90 | |||
| 91 | =head1 BUGS and CONTRIBUTIONS | ||
| 92 | |||
| 93 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 94 | |||
| 95 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 96 | |||
| 97 | =cut | ||
| 98 |