NAME
Paws::LicenseManager::CheckoutBorrowLicense - Arguments for method CheckoutBorrowLicense on Paws::LicenseManager
DESCRIPTION
This class represents the parameters used for calling the method CheckoutBorrowLicense on the AWS License Manager service. Use the attributes of this class as arguments to method CheckoutBorrowLicense.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CheckoutBorrowLicense.
SYNOPSIS
my $license-manager = Paws->service('LicenseManager');
my $CheckoutBorrowLicenseResponse =
$license -manager->CheckoutBorrowLicense(
ClientToken => 'MyClientToken',
DigitalSignatureMethod => 'JWT_PS384',
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',
},
...
],
LicenseArn => 'MyArn',
CheckoutMetadata => [
{
Name => 'MyString',
Value => 'MyString',
},
...
], # OPTIONAL
NodeId => 'MyString', # OPTIONAL
);
# Results:
my $CheckoutMetadata = $CheckoutBorrowLicenseResponse->CheckoutMetadata;
my $EntitlementsAllowed =
$CheckoutBorrowLicenseResponse->EntitlementsAllowed;
my $Expiration = $CheckoutBorrowLicenseResponse->Expiration;
my $IssuedAt = $CheckoutBorrowLicenseResponse->IssuedAt;
my $LicenseArn = $CheckoutBorrowLicenseResponse->LicenseArn;
my $LicenseConsumptionToken =
$CheckoutBorrowLicenseResponse->LicenseConsumptionToken;
my $NodeId = $CheckoutBorrowLicenseResponse->NodeId;
my $SignedToken = $CheckoutBorrowLicenseResponse->SignedToken;
# Returns a L<Paws::LicenseManager::CheckoutBorrowLicenseResponse> 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/CheckoutBorrowLicense
ATTRIBUTES
CheckoutMetadata => ArrayRef[Paws::LicenseManager::Metadata]
Information about constraints.
REQUIRED ClientToken => Str
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
REQUIRED DigitalSignatureMethod => Str
Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS (https://tools.ietf.org/html/rfc7518#section-3.5).
Valid values are: "JWT_PS384"
REQUIRED Entitlements => ArrayRef[Paws::LicenseManager::EntitlementData]
License entitlements. Partial checkouts are not supported.
REQUIRED LicenseArn => Str
Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.
NodeId => Str
Node ID.
SEE ALSO
This class forms part of Paws, documenting arguments for method CheckoutBorrowLicense 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