You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::ModifyFpgaImageAttributeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ModifyFpgaImageAttributeRequest
- Defined in:
- (unknown)
Overview
When passing ModifyFpgaImageAttributeRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
dry_run: false,
fpga_image_id: "FpgaImageId", # 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>
The product codes.
-
#user_groups ⇒ Array<String>
The user groups.
-
#user_ids ⇒ Array<String>
The AWS account IDs.
Instance Attribute Details
#attribute ⇒ String
The name of the attribute.
Possible values:
- description
- name
- loadPermission
- productCodes
#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. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
#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.
Possible values:
- add
- remove
#product_codes ⇒ Array<String>
The 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.
#user_groups ⇒ Array<String>
The user groups. This parameter is valid only when modifying the
loadPermission
attribute.
#user_ids ⇒ Array<String>
The AWS account IDs. This parameter is valid only when modifying the
loadPermission
attribute.