Struct aws_sdk_appstream::input::CreateImageBuilderInput
source · #[non_exhaustive]pub struct CreateImageBuilderInput { /* private fields */ }
Implementations§
source§impl CreateImageBuilderInput
impl CreateImageBuilderInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateImageBuilder, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateImageBuilder, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateImageBuilder
>
Examples found in repository?
2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateImageBuilder,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateImageBuilderError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateImageBuilderOutput,
aws_smithy_http::result::SdkError<crate::error::CreateImageBuilderError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateImageBuilderInput
.
source§impl CreateImageBuilderInput
impl CreateImageBuilderInput
sourcepub fn image_name(&self) -> Option<&str>
pub fn image_name(&self) -> Option<&str>
The name of the image used to create the image builder.
sourcepub fn image_arn(&self) -> Option<&str>
pub fn image_arn(&self) -> Option<&str>
The ARN of the public, private, or shared image to use.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance type to use when launching the image builder. The following instance types are available:
-
stream.standard.small
-
stream.standard.medium
-
stream.standard.large
-
stream.compute.large
-
stream.compute.xlarge
-
stream.compute.2xlarge
-
stream.compute.4xlarge
-
stream.compute.8xlarge
-
stream.memory.large
-
stream.memory.xlarge
-
stream.memory.2xlarge
-
stream.memory.4xlarge
-
stream.memory.8xlarge
-
stream.memory.z1d.large
-
stream.memory.z1d.xlarge
-
stream.memory.z1d.2xlarge
-
stream.memory.z1d.3xlarge
-
stream.memory.z1d.6xlarge
-
stream.memory.z1d.12xlarge
-
stream.graphics-design.large
-
stream.graphics-design.xlarge
-
stream.graphics-design.2xlarge
-
stream.graphics-design.4xlarge
-
stream.graphics-desktop.2xlarge
-
stream.graphics.g4dn.xlarge
-
stream.graphics.g4dn.2xlarge
-
stream.graphics.g4dn.4xlarge
-
stream.graphics.g4dn.8xlarge
-
stream.graphics.g4dn.12xlarge
-
stream.graphics.g4dn.16xlarge
-
stream.graphics-pro.4xlarge
-
stream.graphics-pro.8xlarge
-
stream.graphics-pro.16xlarge
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description to display.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The image builder name to display.
sourcepub fn vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&VpcConfig>
The VPC configuration for the image builder. You can specify only one subnet.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role to apply to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole
API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.
For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn enable_default_internet_access(&self) -> Option<bool>
pub fn enable_default_internet_access(&self) -> Option<bool>
Enables or disables default internet access for the image builder.
sourcepub fn domain_join_info(&self) -> Option<&DomainJoinInfo>
pub fn domain_join_info(&self) -> Option<&DomainJoinInfo>
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
sourcepub fn appstream_agent_version(&self) -> Option<&str>
pub fn appstream_agent_version(&self) -> Option<&str>
The version of the AppStream 2.0 agent to use for this image builder. To use the latest version of the AppStream 2.0 agent, specify [LATEST].
The tags to associate with the image builder. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
If you do not specify a value, the value is set to an empty string.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn access_endpoints(&self) -> Option<&[AccessEndpoint]>
pub fn access_endpoints(&self) -> Option<&[AccessEndpoint]>
The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the image builder only through the specified endpoints.
Trait Implementations§
source§impl Clone for CreateImageBuilderInput
impl Clone for CreateImageBuilderInput
source§fn clone(&self) -> CreateImageBuilderInput
fn clone(&self) -> CreateImageBuilderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more