Class: Aws::LicenseManager::Types::CreateGrantVersionRequest

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

{
  client_token: "String", # required
  grant_arn: "Arn", # required
  grant_name: "String",
  allowed_operations: ["CreateGrant"], # accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
  status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED
  source_version: "String",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_operationsArray<String>

Allowed operations for the grant.

Returns:

  • (Array<String>)


551
552
553
554
555
556
557
558
559
560
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 551

class CreateGrantVersionRequest < Struct.new(
  :client_token,
  :grant_arn,
  :grant_name,
  :allowed_operations,
  :status,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

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

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
560
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 551

class CreateGrantVersionRequest < Struct.new(
  :client_token,
  :grant_arn,
  :grant_name,
  :allowed_operations,
  :status,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#grant_arnString

Amazon Resource Name (ARN) of the grant.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
560
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 551

class CreateGrantVersionRequest < Struct.new(
  :client_token,
  :grant_arn,
  :grant_name,
  :allowed_operations,
  :status,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#grant_nameString

Grant name.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
560
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 551

class CreateGrantVersionRequest < Struct.new(
  :client_token,
  :grant_arn,
  :grant_name,
  :allowed_operations,
  :status,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#source_versionString

Current version of the grant.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
560
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 551

class CreateGrantVersionRequest < Struct.new(
  :client_token,
  :grant_arn,
  :grant_name,
  :allowed_operations,
  :status,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

Grant status.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
560
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 551

class CreateGrantVersionRequest < Struct.new(
  :client_token,
  :grant_arn,
  :grant_name,
  :allowed_operations,
  :status,
  :source_version)
  SENSITIVE = []
  include Aws::Structure
end