Class: Aws::LicenseManager::Types::CreateLicenseRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb

Overview

Note:

When making an API call, you may pass CreateLicenseRequest data as a hash:

{
  license_name: "String", # required
  product_name: "String", # required
  product_sku: "String", # required
  issuer: { # required
    name: "String", # required
    sign_key: "String",
  },
  home_region: "String", # required
  validity: { # required
    begin: "ISO8601DateTime", # required
    end: "ISO8601DateTime",
  },
  entitlements: [ # required
    {
      name: "String", # required
      value: "String",
      max_count: 1,
      overage: false,
      unit: "Count", # required, accepts 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
      allow_check_in: false,
    },
  ],
  beneficiary: "String", # required
  consumption_configuration: { # required
    renew_type: "None", # accepts None, Weekly, Monthly
    provisional_configuration: {
      max_time_to_live_in_minutes: 1, # required
    },
    borrow_configuration: {
      allow_early_check_in: false, # required
      max_time_to_live_in_minutes: 1, # required
    },
  },
  license_metadata: [
    {
      name: "String",
      value: "String",
    },
  ],
  client_token: "String", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#beneficiaryString

License beneficiary.

Returns:

  • (String)


796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

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

Returns:

  • (String)


796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#consumption_configurationTypes::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.



796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#entitlementsArray<Types::Entitlement>

License entitlements.

Returns:



796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#home_regionString

Home Region for the license.

Returns:

  • (String)


796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#issuerTypes::Issuer

License issuer.

Returns:



796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#license_metadataArray<Types::Metadata>

Information about the license.

Returns:



796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#license_nameString

License name.

Returns:

  • (String)


796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#product_nameString

Product name.

Returns:

  • (String)


796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#product_skuString

Product SKU.

Returns:

  • (String)


796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#validityTypes::DatetimeRange

Date and time range during which the license is valid, in ISO8601-UTC format.



796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 796

class CreateLicenseRequest < Struct.new(
  :license_name,
  :product_name,
  :product_sku,
  :issuer,
  :home_region,
  :validity,
  :entitlements,
  :beneficiary,
  :consumption_configuration,
  :license_metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end