![]() |
![]()
| ![]() |
![]()
NAMEPaws::LicenseManager::CreateLicenseVersion - Arguments for method CreateLicenseVersion on Paws::LicenseManager DESCRIPTIONThis class represents the parameters used for calling the method CreateLicenseVersion on the AWS License Manager service. Use the attributes of this class as arguments to method CreateLicenseVersion. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLicenseVersion. SYNOPSISmy $license-manager = Paws->service('LicenseManager'); my $CreateLicenseVersionResponse = $license -manager->CreateLicenseVersion( ClientToken => 'MyClientToken', ConsumptionConfiguration => { BorrowConfiguration => { AllowEarlyCheckIn => 1, MaxTimeToLiveInMinutes => 1, }, # OPTIONAL ProvisionalConfiguration => { MaxTimeToLiveInMinutes => 1, }, # OPTIONAL RenewType => 'None', # values: None, Weekly, Monthly; OPTIONAL }, Entitlements => [ { Name => 'MyString', Unit => 'Count' , # values: Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second AllowCheckIn => 1, MaxCount => 1, # OPTIONAL Overage => 1, Value => 'MyString', }, ... ], HomeRegion => 'MyString', Issuer => { Name => 'MyString', SignKey => 'MyString', }, LicenseArn => 'MyArn', LicenseName => 'MyString', ProductName => 'MyString', Status => 'AVAILABLE', Validity => { Begin => 'MyISO8601DateTime', # max: 50 End => 'MyISO8601DateTime', # max: 50 }, LicenseMetadata => [ { Name => 'MyString', Value => 'MyString', }, ... ], # OPTIONAL SourceVersion => 'MyString', # OPTIONAL ); # Results: my $LicenseArn = $CreateLicenseVersionResponse->LicenseArn; my $Status = $CreateLicenseVersionResponse->Status; my $Version = $CreateLicenseVersionResponse->Version; # Returns a L<Paws::LicenseManager::CreateLicenseVersionResponse> 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/CreateLicenseVersion> ATTRIBUTESREQUIRED ClientToken => StrUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. REQUIRED ConsumptionConfiguration => Paws::LicenseManager::ConsumptionConfigurationConfiguration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage. REQUIRED Entitlements => ArrayRef[Paws::LicenseManager::Entitlement]License entitlements. REQUIRED HomeRegion => StrHome Region of the license. REQUIRED Issuer => Paws::LicenseManager::IssuerLicense issuer. REQUIRED LicenseArn => StrAmazon Resource Name (ARN) of the license. LicenseMetadata => ArrayRef[Paws::LicenseManager::Metadata]Information about the license. REQUIRED LicenseName => StrLicense name. REQUIRED ProductName => StrProduct name. SourceVersion => StrCurrent version of the license. REQUIRED Status => StrLicense status. Valid values are: "AVAILABLE", "PENDING_AVAILABLE", "DEACTIVATED", "SUSPENDED", "EXPIRED", "PENDING_DELETE", "DELETED" REQUIRED Validity => Paws::LicenseManager::DatetimeRangeDate and time range during which the license is valid, in ISO8601-UTC format. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateLicenseVersion 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>
|