Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

paws.compute (version 0.1.12)

ec2_modify_fpga_image_attribute: Modifies the specified attribute of the specified Amazon FPGA Image (AFI)

Description

Modifies the specified attribute of the specified Amazon FPGA Image (AFI).

Usage

ec2_modify_fpga_image_attribute(DryRun, FpgaImageId, Attribute,
  OperationType, UserIds, UserGroups, ProductCodes, LoadPermission,
  Description, Name)

Value

A list with the following syntax:

list(
  FpgaImageAttribute = list(
    FpgaImageId = "string",
    Name = "string",
    Description = "string",
    LoadPermissions = list(
      list(
        UserId = "string",
        Group = "all"
      )
    ),
    ProductCodes = list(
      list(
        ProductCodeId = "string",
        ProductCodeType = "devpay"|"marketplace"
      )
    )
  )
)

Arguments

DryRun

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.

FpgaImageId

[required] The ID of the AFI.

Attribute

The name of the attribute.

OperationType

The operation type.

UserIds

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

UserGroups

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

ProductCodes

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.

LoadPermission

The load permission for the AFI.

Description

A description for the AFI.

Name

A name for the AFI.

Request syntax

svc$modify_fpga_image_attribute(
  DryRun = TRUE|FALSE,
  FpgaImageId = "string",
  Attribute = "description"|"name"|"loadPermission"|"productCodes",
  OperationType = "add"|"remove",
  UserIds = list(
    "string"
  ),
  UserGroups = list(
    "string"
  ),
  ProductCodes = list(
    "string"
  ),
  LoadPermission = list(
    Add = list(
      list(
        Group = "all",
        UserId = "string"
      )
    ),
    Remove = list(
      list(
        Group = "all",
        UserId = "string"
      )
    )
  ),
  Description = "string",
  Name = "string"
)