NAME
Paws::LicenseManager::CreateLicense - Arguments for method CreateLicense on Paws::LicenseManager
DESCRIPTION
This class represents the parameters used for calling the method CreateLicense on the AWS License Manager service. Use the attributes of this class as arguments to method CreateLicense.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLicense.
SYNOPSIS
my $license-manager = Paws->service('LicenseManager');
my $CreateLicenseResponse = $license -manager->CreateLicense(
Beneficiary => 'MyString',
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',
},
LicenseName => 'MyString',
ProductName => 'MyString',
ProductSKU => 'MyString',
Validity => {
Begin => 'MyISO8601DateTime', # max: 50
End => 'MyISO8601DateTime', # max: 50
},
LicenseMetadata => [
{
Name => 'MyString',
Value => 'MyString',
},
...
], # OPTIONAL
);
# Results:
my $LicenseArn = $CreateLicenseResponse->LicenseArn;
my $Status = $CreateLicenseResponse->Status;
my $Version = $CreateLicenseResponse->Version;
# Returns a L<Paws::LicenseManager::CreateLicenseResponse> 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/CreateLicense
ATTRIBUTES
REQUIRED Beneficiary => Str
License beneficiary.
REQUIRED ClientToken => Str
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
REQUIRED ConsumptionConfiguration => Paws::LicenseManager::ConsumptionConfiguration
Configuration 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 => Str
Home Region for the license.
REQUIRED Issuer => Paws::LicenseManager::Issuer
License issuer.
LicenseMetadata => ArrayRef[Paws::LicenseManager::Metadata]
Information about the license.
REQUIRED LicenseName => Str
License name.
REQUIRED ProductName => Str
Product name.
REQUIRED ProductSKU => Str
Product SKU.
REQUIRED Validity => Paws::LicenseManager::DatetimeRange
Date and time range during which the license is valid, in ISO8601-UTC format.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateLicense 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