NAME
Paws::IAM::GenerateServiceLastAccessedDetails - Arguments for method GenerateServiceLastAccessedDetails on Paws::IAM
DESCRIPTION
This class represents the parameters used for calling the method GenerateServiceLastAccessedDetails on the AWS Identity and Access Management service. Use the attributes of this class as arguments to method GenerateServiceLastAccessedDetails.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GenerateServiceLastAccessedDetails.
SYNOPSIS
my $iam = Paws->service('IAM');
my $GenerateServiceLastAccessedDetailsResponse =
$iam->GenerateServiceLastAccessedDetails(
Arn => 'MyarnType',
Granularity => 'SERVICE_LEVEL', # OPTIONAL
);
# Results:
my $JobId = $GenerateServiceLastAccessedDetailsResponse->JobId;
# Returns a L<Paws::IAM::GenerateServiceLastAccessedDetailsResponse> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/iam/GenerateServiceLastAccessedDetails
ATTRIBUTES
REQUIRED Arn => Str
The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an AWS service.
Granularity => Str
The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
Valid values are: "SERVICE_LEVEL"
, "ACTION_LEVEL"
SEE ALSO
This class forms part of Paws, documenting arguments for method GenerateServiceLastAccessedDetails in Paws::IAM
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues