« blib/lib/Paws/IoTSiteWise/InterpolatedAssetPropertyValue.pm
↑ Summary
blib/lib/Paws/IoTSiteWise/ListAccessPoliciesResponse.pm »
| 1 | |||
| 2 | package Paws::IoTSiteWise::ListAccessPolicies; | ||
| 3 | use Moose; | ||
| 4 | has IamArn => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'iamArn'); | ||
| 5 | has IdentityId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'identityId'); | ||
| 6 | has IdentityType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'identityType'); | ||
| 7 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults'); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken'); | ||
| 9 | has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'resourceId'); | ||
| 10 | has ResourceType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'resourceType'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAccessPolicies'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/access-policies'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTSiteWise::ListAccessPoliciesResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::IoTSiteWise::ListAccessPolicies - Arguments for method ListAccessPolicies on L<Paws::IoTSiteWise> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method ListAccessPolicies on the | ||
| 29 | L<AWS IoT SiteWise|Paws::IoTSiteWise> service. Use the attributes of this class | ||
| 30 | as arguments to method ListAccessPolicies. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAccessPolicies. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $iotsitewise = Paws->service('IoTSiteWise'); | ||
| 37 | my $ListAccessPoliciesResponse = $iotsitewise->ListAccessPolicies( | ||
| 38 | IamArn => 'MyARN', # OPTIONAL | ||
| 39 | IdentityId => 'MyIdentityId', # OPTIONAL | ||
| 40 | IdentityType => 'USER', # OPTIONAL | ||
| 41 | MaxResults => 1, # OPTIONAL | ||
| 42 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 43 | ResourceId => 'MyID', # OPTIONAL | ||
| 44 | ResourceType => 'PORTAL', # OPTIONAL | ||
| 45 | ); | ||
| 46 | |||
| 47 | # Results: | ||
| 48 | my $AccessPolicySummaries = | ||
| 49 | $ListAccessPoliciesResponse->AccessPolicySummaries; | ||
| 50 | my $NextToken = $ListAccessPoliciesResponse->NextToken; | ||
| 51 | |||
| 52 | # Returns a L<Paws::IoTSiteWise::ListAccessPoliciesResponse> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iotsitewise/ListAccessPolicies> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 IamArn => Str | ||
| 61 | |||
| 62 | The ARN of the IAM user. For more information, see IAM ARNs | ||
| 63 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) | ||
| 64 | in the I<IAM User Guide>. This parameter is required if you specify | ||
| 65 | C<IAM> for C<identityType>. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 IdentityId => Str | ||
| 70 | |||
| 71 | The ID of the identity. This parameter is required if you specify | ||
| 72 | C<USER> or C<GROUP> for C<identityType>. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 IdentityType => Str | ||
| 77 | |||
| 78 | The type of identity (AWS SSO user, AWS SSO group, or IAM user). This | ||
| 79 | parameter is required if you specify C<identityId>. | ||
| 80 | |||
| 81 | Valid values are: C<"USER">, C<"GROUP">, C<"IAM"> | ||
| 82 | |||
| 83 | =head2 MaxResults => Int | ||
| 84 | |||
| 85 | The maximum number of results to be returned per paginated request. | ||
| 86 | |||
| 87 | Default: 50 | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 NextToken => Str | ||
| 92 | |||
| 93 | The token to be used for the next set of paginated results. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 ResourceId => Str | ||
| 98 | |||
| 99 | The ID of the resource. This parameter is required if you specify | ||
| 100 | C<resourceType>. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head2 ResourceType => Str | ||
| 105 | |||
| 106 | The type of resource (portal or project). This parameter is required if | ||
| 107 | you specify C<resourceId>. | ||
| 108 | |||
| 109 | Valid values are: C<"PORTAL">, C<"PROJECT"> | ||
| 110 | |||
| 111 | |||
| 112 | =head1 SEE ALSO | ||
| 113 | |||
| 114 | This class forms part of L<Paws>, documenting arguments for method ListAccessPolicies in L<Paws::IoTSiteWise> | ||
| 115 | |||
| 116 | =head1 BUGS and CONTRIBUTIONS | ||
| 117 | |||
| 118 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 119 | |||
| 120 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 121 | |||
| 122 | =cut | ||
| 123 |