![]() |
![]()
| ![]() |
![]()
NAMEPaws::LicenseManager::CreateGrant - Arguments for method CreateGrant on Paws::LicenseManager DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED AllowedOperations => ArrayRef[Str|Undef]Allowed operations for the grant. REQUIRED ClientToken => StrUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. REQUIRED GrantName => StrGrant name. REQUIRED HomeRegion => StrHome Region of the grant. REQUIRED LicenseArn => StrAmazon Resource Name (ARN) of the license. REQUIRED Principals => ArrayRef[Str|Undef]The grant principals. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateGrant in Paws::LicenseManager BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|