Class: Aws::LicenseManager::Types::CreateLicenseVersionRequest

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 CreateLicenseVersionRequest data as a hash:

{
  license_arn: "Arn", # required
  license_name: "String", # required
  product_name: "String", # required
  issuer: { # required
    name: "String", # required
    sign_key: "String",
  },
  home_region: "String", # required
  validity: { # required
    begin: "ISO8601DateTime", # required
    end: "ISO8601DateTime",
  },
  license_metadata: [
    {
      name: "String",
      value: "String",
    },
  ],
  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,
    },
  ],
  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
    },
  },
  status: "AVAILABLE", # required, accepts AVAILABLE, PENDING_AVAILABLE, DEACTIVATED, SUSPENDED, EXPIRED, PENDING_DELETE, DELETED
  client_token: "String", # required
  source_version: "String",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  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.



935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#entitlementsArray<Types::Entitlement>

License entitlements.

Returns:



935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#home_regionString

Home Region of the license.

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#issuerTypes::Issuer

License issuer.

Returns:



935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#license_arnString

Amazon Resource Name (ARN) of the license.

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#license_metadataArray<Types::Metadata>

Information about the license.

Returns:



935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#license_nameString

License name.

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#product_nameString

Product name.

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#source_versionString

Current version of the license.

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

License status.

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#validityTypes::DatetimeRange

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



935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 935

class CreateLicenseVersionRequest < Struct.new(
  :license_arn,
  :license_name,
  :product_name,
  :issuer,
  :home_region,
  :validity,
  :license_metadata,
  :entitlements,
  :consumption_configuration,
  :status,
  :client_token,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end