NAME
Paws::LicenseManager::CreateGrant - Arguments for method CreateGrant on Paws::LicenseManager
DESCRIPTION
This class represents the parameters used for calling the method CreateGrant on the AWS License Manager service. Use the attributes of this class as arguments to method CreateGrant.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGrant.
SYNOPSIS
my $license-manager = Paws->service('LicenseManager');
my $CreateGrantResponse = $license -manager->CreateGrant(
AllowedOperations => [
'CreateGrant',
... # values: CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
],
ClientToken => 'MyClientToken',
GrantName => 'MyString',
HomeRegion => 'MyString',
LicenseArn => 'MyArn',
Principals => [
'MyArn', ... # max: 2048
],
);
# Results:
my $GrantArn = $CreateGrantResponse->GrantArn;
my $Status = $CreateGrantResponse->Status;
my $Version = $CreateGrantResponse->Version;
# Returns a L<Paws::LicenseManager::CreateGrantResponse> 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/license-manager/CreateGrant
ATTRIBUTES
REQUIRED AllowedOperations => ArrayRef[Str|Undef]
Allowed operations for the grant.
REQUIRED ClientToken => Str
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
REQUIRED GrantName => Str
Grant name.
REQUIRED HomeRegion => Str
Home Region of the grant.
REQUIRED LicenseArn => Str
Amazon Resource Name (ARN) of the license.
REQUIRED Principals => ArrayRef[Str|Undef]
The grant principals.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateGrant in Paws::LicenseManager
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