Skip to content

ModifyFpgaImageAttributeRequest

Source code in docs_src/capo_ec2/types/modify_fpga_image_attribute_request.py
class ModifyFpgaImageAttributeRequest(TypedDict, closed=True):
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    fpga_image_id: NotRequired["capo_ec2.types.fpga_image_id.FpgaImageId"]
    """<p>The ID of the AFI.</p>"""
    attribute: NotRequired[
        "capo_ec2.types.fpga_image_attribute_name.FpgaImageAttributeName"
    ]
    """<p>The name of the attribute.</p>"""
    operation_type: NotRequired["capo_ec2.types.operation_type.OperationType"]
    """<p>The operation type.</p>"""
    user_ids: NotRequired["capo_ec2.types.user_id_string_list.UserIdStringList"]
    """<p>The Amazon Web Services account IDs. This parameter is valid only when modifying the <code>loadPermission</code> attribute.</p>"""
    user_groups: NotRequired[
        "capo_ec2.types.user_group_string_list.UserGroupStringList"
    ]
    """<p>The user groups. This parameter is valid only when modifying the <code>loadPermission</code> attribute.</p>"""
    product_codes: NotRequired[
        "capo_ec2.types.product_code_string_list.ProductCodeStringList"
    ]
    """<p>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 <code>productCodes</code> attribute.</p>"""
    load_permission: NotRequired[
        "capo_ec2.types.load_permission_modifications.LoadPermissionModifications"
    ]
    """<p>The load permission for the AFI.</p>"""
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>A description for the AFI.</p>"""
    name: NotRequired["capo_ec2.types.string.String"]
    """<p>A name for the AFI.</p>"""

attribute instance-attribute

attribute: NotRequired[FpgaImageAttributeName]

The name of the attribute.

description instance-attribute

description: NotRequired[String]

A description for the AFI.

dry_run instance-attribute

dry_run: NotRequired[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 instance-attribute

fpga_image_id: NotRequired[FpgaImageId]

The ID of the AFI.

load_permission instance-attribute

load_permission: NotRequired[LoadPermissionModifications]

The load permission for the AFI.

name instance-attribute

name: NotRequired[String]

A name for the AFI.

operation_type instance-attribute

operation_type: NotRequired[OperationType]

The operation type.

product_codes instance-attribute

product_codes: NotRequired[ProductCodeStringList]

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 instance-attribute

user_groups: NotRequired[UserGroupStringList]

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

user_ids instance-attribute

user_ids: NotRequired[UserIdStringList]

The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.