NAME

Paws::LicenseManager::CheckoutLicense - Arguments for method CheckoutLicense on Paws::LicenseManager

DESCRIPTION

This class represents the parameters used for calling the method CheckoutLicense on the AWS License Manager service. Use the attributes of this class as arguments to method CheckoutLicense.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CheckoutLicense.

SYNOPSIS

my $license-manager = Paws->service('LicenseManager');
my $CheckoutLicenseResponse = $license -manager->CheckoutLicense(
  CheckoutType => 'PROVISIONAL',
  ClientToken  => 'MyClientToken',
  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
      Value => 'MyString',
    },
    ...
  ],
  KeyFingerprint => 'MyString',
  ProductSKU     => 'MyString',
  Beneficiary    => 'MyString',    # OPTIONAL
  NodeId         => 'MyString',    # OPTIONAL
);

# Results:
my $CheckoutType        = $CheckoutLicenseResponse->CheckoutType;
my $EntitlementsAllowed = $CheckoutLicenseResponse->EntitlementsAllowed;
my $Expiration          = $CheckoutLicenseResponse->Expiration;
my $IssuedAt            = $CheckoutLicenseResponse->IssuedAt;
my $LicenseConsumptionToken =
  $CheckoutLicenseResponse->LicenseConsumptionToken;
my $NodeId      = $CheckoutLicenseResponse->NodeId;
my $SignedToken = $CheckoutLicenseResponse->SignedToken;

# Returns a L<Paws::LicenseManager::CheckoutLicenseResponse> 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/CheckoutLicense

ATTRIBUTES

Beneficiary => Str

License beneficiary.

REQUIRED CheckoutType => Str

Checkout type.

Valid values are: "PROVISIONAL"

REQUIRED ClientToken => Str

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

REQUIRED Entitlements => ArrayRef[Paws::LicenseManager::EntitlementData]

License entitlements.

REQUIRED KeyFingerprint => Str

Key fingerprint identifying the license.

NodeId => Str

Node ID.

REQUIRED ProductSKU => Str

Product SKU.

SEE ALSO

This class forms part of Paws, documenting arguments for method CheckoutLicense 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