![]() |
![]()
| ![]() |
![]()
NAMEPaws::LicenseManager::CreateGrantVersion - Arguments for method CreateGrantVersion on Paws::LicenseManager DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESAllowedOperations => 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 GrantArn => StrAmazon Resource Name (ARN) of the grant. GrantName => StrGrant name. SourceVersion => StrCurrent version of the grant. Status => StrGrant status. Valid values are: "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED" StatusReason => StrSEE ALSOThis class forms part of Paws, documenting arguments for method CreateGrantVersion 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>
|