modify_fpga_image_attribute
¶
modify_fpga_image_attribute(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
fpga_image_id: Optional[FpgaImageId] = None,
attribute: Optional[FpgaImageAttributeName] = None,
operation_type: Optional[OperationType] = None,
user_ids: Optional[UserIdStringList] = None,
user_groups: Optional[UserGroupStringList] = None,
product_codes: Optional[ProductCodeStringList] = None,
load_permission: Optional[LoadPermissionModifications] = None,
description: Optional[String] = None,
name: Optional[String] = None,
) -> ModifyFpgaImageAttributeResult
Modifies the specified attribute of the specified Amazon FPGA Image (AFI).
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
fpga_image_id(Optional[FpgaImageId], default:None) –The ID of the AFI.
-
attribute(Optional[FpgaImageAttributeName], default:None) –The name of the attribute.
-
operation_type(Optional[OperationType], default:None) –The operation type.
-
user_ids(Optional[UserIdStringList], default:None) –The Amazon Web Services account IDs. This parameter is valid only when modifying the
loadPermissionattribute. -
user_groups(Optional[UserGroupStringList], default:None) –The user groups. This parameter is valid only when modifying the
loadPermissionattribute. -
product_codes(Optional[ProductCodeStringList], default:None) –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
productCodesattribute. -
load_permission(Optional[LoadPermissionModifications], default:None) –The load permission for the AFI.
-
description(Optional[String], default:None) –A description for the AFI.
-
name(Optional[String], default:None) –A name for the AFI.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
49713 49714 49715 49716 49717 49718 49719 49720 49721 49722 49723 49724 49725 49726 49727 49728 49729 49730 49731 49732 49733 49734 49735 49736 49737 49738 49739 49740 49741 49742 49743 49744 49745 49746 49747 49748 49749 49750 49751 49752 49753 49754 49755 49756 49757 49758 49759 49760 49761 49762 49763 49764 49765 49766 49767 49768 49769 49770 49771 49772 49773 49774 49775 49776 49777 49778 49779 49780 49781 49782 49783 49784 49785 49786 49787 49788 49789 49790 49791 49792 49793 49794 49795 49796 49797 49798 49799 49800 49801 | |