Struct aws_sdk_nimble::types::StudioComponent
source · #[non_exhaustive]pub struct StudioComponent {Show 20 fields
pub arn: Option<String>,
pub configuration: Option<StudioComponentConfiguration>,
pub created_at: Option<DateTime>,
pub created_by: Option<String>,
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 state: Option<StudioComponentState>,
pub status_code: Option<StudioComponentStatusCode>,
pub status_message: Option<String>,
pub studio_component_id: Option<String>,
pub subtype: Option<StudioComponentSubtype>,
pub tags: Option<HashMap<String, String>>,
pub type: Option<StudioComponentType>,
pub updated_at: Option<DateTime>,
pub updated_by: Option<String>,
pub secure_initialization_role_arn: Option<String>,
pub runtime_role_arn: Option<String>,
}
Expand description
A studio component represents a network resource to be used by a studio's users and workflows. A typical studio contains studio components for each of the following: render farm, Active Directory, licensing, and file system.
Access to a studio component is managed by specifying security groups for the resource, as well as its endpoint.
A studio component also has a set of initialization scripts that are returned by GetLaunchProfileInitialization
. These initialization scripts run on streaming sessions when they start. They provide users with flexibility in controlling how the studio resources are configured on a streaming session.
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.arn: Option<String>
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
configuration: Option<StudioComponentConfiguration>
The configuration of the studio component, based on component type.
created_at: Option<DateTime>
The ISO timestamp in seconds for when the resource was created.
created_by: Option<String>
The user ID of the user that created the studio component.
description: Option<String>
A human-readable description for the studio component resource.
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>
A friendly name for the studio component resource.
script_parameters: Option<Vec<ScriptParameterKeyValue>>
Parameters for the studio component scripts.
state: Option<StudioComponentState>
The current state.
status_code: Option<StudioComponentStatusCode>
The status code.
status_message: Option<String>
The status message for the studio component.
studio_component_id: Option<String>
The unique identifier for a studio component resource.
subtype: Option<StudioComponentSubtype>
The specific subtype of a studio component.
A collection of labels, in the form of key-value pairs, that apply to this resource.
type: Option<StudioComponentType>
The type of the studio component.
updated_at: Option<DateTime>
The ISO timestamp in seconds for when the resource was updated.
updated_by: Option<String>
The user ID of the user that most recently updated the resource.
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 StudioComponent
impl StudioComponent
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
sourcepub fn configuration(&self) -> Option<&StudioComponentConfiguration>
pub fn configuration(&self) -> Option<&StudioComponentConfiguration>
The configuration of the studio component, based on component type.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The ISO timestamp in seconds for when the resource was created.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The user ID of the user that created the studio component.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A human-readable description for the studio component resource.
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 state(&self) -> Option<&StudioComponentState>
pub fn state(&self) -> Option<&StudioComponentState>
The current state.
sourcepub fn status_code(&self) -> Option<&StudioComponentStatusCode>
pub fn status_code(&self) -> Option<&StudioComponentStatusCode>
The status code.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The status message for the studio component.
sourcepub fn studio_component_id(&self) -> Option<&str>
pub fn studio_component_id(&self) -> Option<&str>
The unique identifier for a studio component resource.
sourcepub fn subtype(&self) -> Option<&StudioComponentSubtype>
pub fn subtype(&self) -> Option<&StudioComponentSubtype>
The specific subtype of a studio component.
A collection of labels, in the form of key-value pairs, that apply to this resource.
sourcepub fn type(&self) -> Option<&StudioComponentType>
pub fn type(&self) -> Option<&StudioComponentType>
The type of the studio component.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The ISO timestamp in seconds for when the resource was updated.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The user ID of the user that most recently updated the resource.
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 StudioComponent
impl StudioComponent
sourcepub fn builder() -> StudioComponentBuilder
pub fn builder() -> StudioComponentBuilder
Creates a new builder-style object to manufacture StudioComponent
.
Trait Implementations§
source§impl Clone for StudioComponent
impl Clone for StudioComponent
source§fn clone(&self) -> StudioComponent
fn clone(&self) -> StudioComponent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StudioComponent
impl Debug for StudioComponent
source§impl PartialEq for StudioComponent
impl PartialEq for StudioComponent
source§fn eq(&self, other: &StudioComponent) -> bool
fn eq(&self, other: &StudioComponent) -> bool
self
and other
values to be equal, and is used
by ==
.