Class: Aws::EC2::Types::ModifyFpgaImageAttributeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ModifyFpgaImageAttributeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass ModifyFpgaImageAttributeRequest data as a hash:
{
dry_run: false,
fpga_image_id: "String", # required
attribute: "description", # accepts description, name, loadPermission, productCodes
operation_type: "add", # accepts add, remove
user_ids: ["String"],
user_groups: ["String"],
product_codes: ["String"],
load_permission: {
add: [
{
group: "all", # accepts all
user_id: "String",
},
],
remove: [
{
group: "all", # accepts all
user_id: "String",
},
],
},
description: "String",
name: "String",
}
Instance Attribute Summary collapse
-
#attribute ⇒ String
The name of the attribute.
-
#description ⇒ String
A description for the AFI.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#fpga_image_id ⇒ String
The ID of the AFI.
-
#load_permission ⇒ Types::LoadPermissionModifications
The load permission for the AFI.
-
#name ⇒ String
A name for the AFI.
-
#operation_type ⇒ String
The operation type.
-
#product_codes ⇒ Array<String>
One or more product codes.
-
#user_groups ⇒ Array<String>
One or more user groups.
-
#user_ids ⇒ Array<String>
One or more AWS account IDs.
Instance Attribute Details
#attribute ⇒ String
The name of the attribute.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#description ⇒ String
A description for the AFI.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#fpga_image_id ⇒ String
The ID of the AFI.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#load_permission ⇒ Types::LoadPermissionModifications
The load permission for the AFI.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#name ⇒ String
A name for the AFI.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#operation_type ⇒ String
The operation type.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#product_codes ⇒ Array<String>
One or more product codes. After you add a product code to an AFI, it can’t be removed. This parameter is valid only when modifying the ‘productCodes` attribute.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#user_groups ⇒ Array<String>
One or more user groups. This parameter is valid only when modifying the ‘loadPermission` attribute.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |
#user_ids ⇒ Array<String>
One or more AWS account IDs. This parameter is valid only when modifying the ‘loadPermission` attribute.
25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 |
# File 'lib/aws-sdk-ec2/types.rb', line 25334 class ModifyFpgaImageAttributeRequest < Struct.new( :dry_run, :fpga_image_id, :attribute, :operation_type, :user_ids, :user_groups, :product_codes, :load_permission, :description, :name) include Aws::Structure end |