#[non_exhaustive]pub struct UpdateStudioComponentInput {Show 13 fields
pub client_token: Option<String>,
pub configuration: Option<StudioComponentConfiguration>,
pub description: Option<String>,
pub ec2_security_group_ids: Option<Vec<String>>,
pub initialization_scripts: Option<Vec<StudioComponentInitializationScript>>,
pub name: Option<String>,
pub script_parameters: Option<Vec<ScriptParameterKeyValue>>,
pub studio_component_id: Option<String>,
pub studio_id: Option<String>,
pub subtype: Option<StudioComponentSubtype>,
pub type: Option<StudioComponentType>,
pub secure_initialization_role_arn: Option<String>,
pub runtime_role_arn: 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.client_token: Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
configuration: Option<StudioComponentConfiguration>
The configuration of the studio component, based on component type.
description: Option<String>
The description.
ec2_security_group_ids: Option<Vec<String>>
The EC2 security groups that control access to the studio component.
initialization_scripts: Option<Vec<StudioComponentInitializationScript>>
Initialization scripts for studio components.
name: Option<String>
The name for the studio component.
script_parameters: Option<Vec<ScriptParameterKeyValue>>
Parameters for the studio component scripts.
studio_component_id: Option<String>
The studio component ID.
studio_id: Option<String>
The studio ID.
subtype: Option<StudioComponentSubtype>
The specific subtype of a studio component.
type: Option<StudioComponentType>
The type of the studio component.
secure_initialization_role_arn: Option<String>
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
runtime_role_arn: Option<String>
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
Implementations§
source§impl UpdateStudioComponentInput
impl UpdateStudioComponentInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn configuration(&self) -> Option<&StudioComponentConfiguration>
pub fn configuration(&self) -> Option<&StudioComponentConfiguration>
The configuration of the studio component, based on component type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description.
sourcepub fn ec2_security_group_ids(&self) -> &[String]
pub fn ec2_security_group_ids(&self) -> &[String]
The EC2 security groups that control access to the studio component.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ec2_security_group_ids.is_none()
.
sourcepub fn initialization_scripts(&self) -> &[StudioComponentInitializationScript]
pub fn initialization_scripts(&self) -> &[StudioComponentInitializationScript]
Initialization scripts for studio components.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .initialization_scripts.is_none()
.
sourcepub fn script_parameters(&self) -> &[ScriptParameterKeyValue]
pub fn script_parameters(&self) -> &[ScriptParameterKeyValue]
Parameters for the studio component scripts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .script_parameters.is_none()
.
sourcepub fn studio_component_id(&self) -> Option<&str>
pub fn studio_component_id(&self) -> Option<&str>
The studio component ID.
sourcepub fn subtype(&self) -> Option<&StudioComponentSubtype>
pub fn subtype(&self) -> Option<&StudioComponentSubtype>
The specific subtype of a studio component.
sourcepub fn type(&self) -> Option<&StudioComponentType>
pub fn type(&self) -> Option<&StudioComponentType>
The type of the studio component.
sourcepub fn secure_initialization_role_arn(&self) -> Option<&str>
pub fn secure_initialization_role_arn(&self) -> Option<&str>
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
sourcepub fn runtime_role_arn(&self) -> Option<&str>
pub fn runtime_role_arn(&self) -> Option<&str>
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
source§impl UpdateStudioComponentInput
impl UpdateStudioComponentInput
sourcepub fn builder() -> UpdateStudioComponentInputBuilder
pub fn builder() -> UpdateStudioComponentInputBuilder
Creates a new builder-style object to manufacture UpdateStudioComponentInput
.
Trait Implementations§
source§impl Clone for UpdateStudioComponentInput
impl Clone for UpdateStudioComponentInput
source§fn clone(&self) -> UpdateStudioComponentInput
fn clone(&self) -> UpdateStudioComponentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateStudioComponentInput
impl Debug for UpdateStudioComponentInput
source§impl PartialEq for UpdateStudioComponentInput
impl PartialEq for UpdateStudioComponentInput
source§fn eq(&self, other: &UpdateStudioComponentInput) -> bool
fn eq(&self, other: &UpdateStudioComponentInput) -> bool
self
and other
values to be equal, and is used
by ==
.