Modifies the specified attribute of the specified Amazon FPGA Image (AFI).
ec2_modify_fpga_image_attribute(DryRun, FpgaImageId, Attribute,
OperationType, UserIds, UserGroups, ProductCodes, LoadPermission,
Description, Name)
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
.
[required] The ID of the AFI.
The name of the attribute.
The operation type.
One or more AWS account IDs. This parameter is valid only when modifying
the loadPermission
attribute.
One or more user groups. This parameter is valid only when modifying the
loadPermission
attribute.
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.
The load permission for the AFI.
A description for the AFI.
A name for the AFI.
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" )