NAME
Paws::LicenseManager::CreateGrantVersion - Arguments for method CreateGrantVersion on Paws::LicenseManager
DESCRIPTION
This class represents the parameters used for calling the method CreateGrantVersion on the AWS License Manager service. Use the attributes of this class as arguments to method CreateGrantVersion.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGrantVersion.
SYNOPSIS
my $license-manager = Paws->service('LicenseManager');
my $CreateGrantVersionResponse = $license -manager->CreateGrantVersion(
ClientToken => 'MyClientToken',
GrantArn => 'MyArn',
AllowedOperations => [
'CreateGrant',
... # values: CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
], # OPTIONAL
GrantName => 'MyString', # OPTIONAL
SourceVersion => 'MyString', # OPTIONAL
Status => 'PENDING_WORKFLOW', # OPTIONAL
StatusReason => 'MyStatusReasonMessage', # OPTIONAL
);
# Results:
my $GrantArn = $CreateGrantVersionResponse->GrantArn;
my $Status = $CreateGrantVersionResponse->Status;
my $Version = $CreateGrantVersionResponse->Version;
# Returns a L<Paws::LicenseManager::CreateGrantVersionResponse> 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/CreateGrantVersion
ATTRIBUTES
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 GrantArn => Str
Amazon Resource Name (ARN) of the grant.
GrantName => Str
Grant name.
SourceVersion => Str
Current version of the grant.
Status => Str
Grant status.
Valid values are: "PENDING_WORKFLOW"
, "PENDING_ACCEPT"
, "REJECTED"
, "ACTIVE"
, "FAILED_WORKFLOW"
, "DELETED"
, "PENDING_DELETE"
, "DISABLED"
, "WORKFLOW_COMPLETED"
StatusReason => Str
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateGrantVersion 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