#[non_exhaustive]pub struct ModifyFpgaImageAttributeInput {
pub dry_run: Option<bool>,
pub fpga_image_id: Option<String>,
pub attribute: Option<FpgaImageAttributeName>,
pub operation_type: Option<OperationType>,
pub user_ids: Option<Vec<String>>,
pub user_groups: Option<Vec<String>>,
pub product_codes: Option<Vec<String>>,
pub load_permission: Option<LoadPermissionModifications>,
pub description: Option<String>,
pub name: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: Option<bool>
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: Option<String>
The ID of the AFI.
attribute: Option<FpgaImageAttributeName>
The name of the attribute.
operation_type: Option<OperationType>
The operation type.
user_ids: Option<Vec<String>>
The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission
attribute.
user_groups: Option<Vec<String>>
The user groups. This parameter is valid only when modifying the loadPermission
attribute.
product_codes: Option<Vec<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.
load_permission: Option<LoadPermissionModifications>
The load permission for the AFI.
description: Option<String>
A description for the AFI.
name: Option<String>
A name for the AFI.
Implementations§
source§impl ModifyFpgaImageAttributeInput
impl ModifyFpgaImageAttributeInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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
.
sourcepub fn fpga_image_id(&self) -> Option<&str>
pub fn fpga_image_id(&self) -> Option<&str>
The ID of the AFI.
sourcepub fn attribute(&self) -> Option<&FpgaImageAttributeName>
pub fn attribute(&self) -> Option<&FpgaImageAttributeName>
The name of the attribute.
sourcepub fn operation_type(&self) -> Option<&OperationType>
pub fn operation_type(&self) -> Option<&OperationType>
The operation type.
sourcepub fn user_ids(&self) -> Option<&[String]>
pub fn user_ids(&self) -> Option<&[String]>
The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission
attribute.
sourcepub fn user_groups(&self) -> Option<&[String]>
pub fn user_groups(&self) -> Option<&[String]>
The user groups. This parameter is valid only when modifying the loadPermission
attribute.
sourcepub fn product_codes(&self) -> Option<&[String]>
pub fn product_codes(&self) -> Option<&[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.
sourcepub fn load_permission(&self) -> Option<&LoadPermissionModifications>
pub fn load_permission(&self) -> Option<&LoadPermissionModifications>
The load permission for the AFI.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the AFI.
source§impl ModifyFpgaImageAttributeInput
impl ModifyFpgaImageAttributeInput
sourcepub fn builder() -> ModifyFpgaImageAttributeInputBuilder
pub fn builder() -> ModifyFpgaImageAttributeInputBuilder
Creates a new builder-style object to manufacture ModifyFpgaImageAttributeInput
.
Trait Implementations§
source§impl Clone for ModifyFpgaImageAttributeInput
impl Clone for ModifyFpgaImageAttributeInput
source§fn clone(&self) -> ModifyFpgaImageAttributeInput
fn clone(&self) -> ModifyFpgaImageAttributeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyFpgaImageAttributeInput> for ModifyFpgaImageAttributeInput
impl PartialEq<ModifyFpgaImageAttributeInput> for ModifyFpgaImageAttributeInput
source§fn eq(&self, other: &ModifyFpgaImageAttributeInput) -> bool
fn eq(&self, other: &ModifyFpgaImageAttributeInput) -> bool
self
and other
values to be equal, and is used
by ==
.