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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_operations ⇒ Array<String>

Allowed operations for the grant.

Returns:

  • (Array<String>)


476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#client_token ⇒ String

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

Returns:

  • (String)


476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#grant_name ⇒ String

Grant name.

Returns:

  • (String)


476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#grant_type ⇒ String

The type of grant to create. For more information about each type, see the preceding description of this operation. Valid values:

  • BuyerGrant - The default grant type if you don't specify a value. Conveys the entitlement to use the license.

  • DelegateGrant - Gives the grantee read-only visibility into the licenses and grants that you have distributed to buyers, with no entitlement to use them.

Returns:

  • (String)


476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#home_region ⇒ String

Home Region of the grant.

Returns:

  • (String)


476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#license_arn ⇒ String

Amazon Resource Name (ARN) of the license.

Returns:

  • (String)


476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#options ⇒ Types::Options

The options for the grant: the status to set after creation, and how activating the grant affects other active grants for the same product.

Returns:



476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#principals ⇒ Array<String>

The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):

  • An Amazon Web Services account, which includes only the account specified.

^ ^

  • An organizational unit (OU), which includes all accounts in the OU.

^ ^

  • An organization, which will include all accounts across your organization.

^

Returns:

  • (Array<String>)


476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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

#tags ⇒ Array<Types::Tag>

Tags to add to the grant. For more information about tagging support in License Manager, see the TagResource operation.

Returns:



476
477
478
479
480
481
482
483
484
485
486
487
488
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476

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