Class: Aws::LicenseManager::Types::CreateGrantRequest

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

{
  client_token: "ClientToken", # required
  grant_name: "String", # required
  license_arn: "Arn", # required
  principals: ["Arn"], # required
  home_region: "String", # required
  allowed_operations: ["CreateGrant"], # required, accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_operationsArray<String>

Allowed operations for the grant.

Returns:

  • (Array<String>)


484
485
486
487
488
489
490
491
492
493
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 484

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

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

Returns:

  • (String)


484
485
486
487
488
489
490
491
492
493
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 484

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations)
  SENSITIVE = []
  include Aws::Structure
end

#grant_nameString

Grant name.

Returns:

  • (String)


484
485
486
487
488
489
490
491
492
493
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 484

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations)
  SENSITIVE = []
  include Aws::Structure
end

#home_regionString

Home Region of the grant.

Returns:

  • (String)


484
485
486
487
488
489
490
491
492
493
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 484

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations)
  SENSITIVE = []
  include Aws::Structure
end

#license_arnString

Amazon Resource Name (ARN) of the license.

Returns:

  • (String)


484
485
486
487
488
489
490
491
492
493
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 484

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations)
  SENSITIVE = []
  include Aws::Structure
end

#principalsArray<String>

The grant principals.

Returns:

  • (Array<String>)


484
485
486
487
488
489
490
491
492
493
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 484

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations)
  SENSITIVE = []
  include Aws::Structure
end