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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#attributeString

The name of the attribute.

Possible values:

  • description
  • name
  • loadPermission
  • productCodes

Returns:

  • (String)

    The name of the attribute.

#descriptionString

A description for the AFI.

Returns:

  • (String)

    A description for the AFI.

#dry_runBoolean

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.

Returns:

  • (Boolean)

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#fpga_image_idString

The ID of the AFI.

Returns:

  • (String)

    The ID of the AFI.

#load_permissionTypes::LoadPermissionModifications

The load permission for the AFI.

Returns:

#nameString

A name for the AFI.

Returns:

  • (String)

    A name for the AFI.

#operation_typeString

The operation type.

Possible values:

  • add
  • remove

Returns:

  • (String)

    The operation type.

#product_codesArray<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.

Returns:

  • (Array<String>)

    The product codes.

#user_groupsArray<String>

The user groups. This parameter is valid only when modifying the loadPermission attribute.

Returns:

  • (Array<String>)

    The user groups.

#user_idsArray<String>

The AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.

Returns:

  • (Array<String>)

    The AWS account IDs.