NAME

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

DESCRIPTION

This 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.

SYNOPSIS

my $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

ATTRIBUTES

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 of the license.

REQUIRED Issuer => Paws::LicenseManager::Issuer

License issuer.

REQUIRED LicenseArn => Str

Amazon Resource Name (ARN) of the license.

LicenseMetadata => ArrayRef[Paws::LicenseManager::Metadata]

Information about the license.

REQUIRED LicenseName => Str

License name.

REQUIRED ProductName => Str

Product name.

SourceVersion => Str

Current version of the license.

REQUIRED Status => Str

License status.

Valid values are: "AVAILABLE", "PENDING_AVAILABLE", "DEACTIVATED", "SUSPENDED", "EXPIRED", "PENDING_DELETE", "DELETED"

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 CreateLicenseVersion 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