Struct aws_sdk_cloudformation::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder
source · pub struct ImportStacksToStackSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ImportStacksToStackSet
.
Import existing stacks into a new stack sets. Use the stack import operation to import up to 10 stacks into a new stack set in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import.
Implementations§
source§impl ImportStacksToStackSetFluentBuilder
impl ImportStacksToStackSetFluentBuilder
sourcepub fn as_input(&self) -> &ImportStacksToStackSetInputBuilder
pub fn as_input(&self) -> &ImportStacksToStackSetInputBuilder
Access the ImportStacksToStackSet as a reference.
sourcepub async fn send(
self
) -> Result<ImportStacksToStackSetOutput, SdkError<ImportStacksToStackSetError, HttpResponse>>
pub async fn send( self ) -> Result<ImportStacksToStackSetOutput, SdkError<ImportStacksToStackSetError, HttpResponse>>
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, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ImportStacksToStackSetOutput, ImportStacksToStackSetError, Self>
pub fn customize( self ) -> CustomizableOperation<ImportStacksToStackSetOutput, ImportStacksToStackSetError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn stack_set_name(self, input: impl Into<String>) -> Self
pub fn stack_set_name(self, input: impl Into<String>) -> Self
The name of the stack set. The name must be unique in the Region where you create your stack set.
sourcepub fn set_stack_set_name(self, input: Option<String>) -> Self
pub fn set_stack_set_name(self, input: Option<String>) -> Self
The name of the stack set. The name must be unique in the Region where you create your stack set.
sourcepub fn get_stack_set_name(&self) -> &Option<String>
pub fn get_stack_set_name(&self) -> &Option<String>
The name of the stack set. The name must be unique in the Region where you create your stack set.
sourcepub fn stack_ids(self, input: impl Into<String>) -> Self
pub fn stack_ids(self, input: impl Into<String>) -> Self
Appends an item to StackIds
.
To override the contents of this collection use set_stack_ids
.
The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.
Specify either StackIds
or StackIdsUrl
.
sourcepub fn set_stack_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_stack_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.
Specify either StackIds
or StackIdsUrl
.
sourcepub fn get_stack_ids(&self) -> &Option<Vec<String>>
pub fn get_stack_ids(&self) -> &Option<Vec<String>>
The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.
Specify either StackIds
or StackIdsUrl
.
sourcepub fn stack_ids_url(self, input: impl Into<String>) -> Self
pub fn stack_ids_url(self, input: impl Into<String>) -> Self
The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either StackIds
or StackIdsUrl
.
sourcepub fn set_stack_ids_url(self, input: Option<String>) -> Self
pub fn set_stack_ids_url(self, input: Option<String>) -> Self
The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either StackIds
or StackIdsUrl
.
sourcepub fn get_stack_ids_url(&self) -> &Option<String>
pub fn get_stack_ids_url(&self) -> &Option<String>
The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either StackIds
or StackIdsUrl
.
sourcepub fn organizational_unit_ids(self, input: impl Into<String>) -> Self
pub fn organizational_unit_ids(self, input: impl Into<String>) -> Self
Appends an item to OrganizationalUnitIds
.
To override the contents of this collection use set_organizational_unit_ids
.
The list of OU ID's to which the stacks being imported has to be mapped as deployment target.
sourcepub fn set_organizational_unit_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_organizational_unit_ids(self, input: Option<Vec<String>>) -> Self
The list of OU ID's to which the stacks being imported has to be mapped as deployment target.
sourcepub fn get_organizational_unit_ids(&self) -> &Option<Vec<String>>
pub fn get_organizational_unit_ids(&self) -> &Option<Vec<String>>
The list of OU ID's to which the stacks being imported has to be mapped as deployment target.
sourcepub fn operation_preferences(self, input: StackSetOperationPreferences) -> Self
pub fn operation_preferences(self, input: StackSetOperationPreferences) -> Self
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
sourcepub fn set_operation_preferences(
self,
input: Option<StackSetOperationPreferences>
) -> Self
pub fn set_operation_preferences( self, input: Option<StackSetOperationPreferences> ) -> Self
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
sourcepub fn get_operation_preferences(&self) -> &Option<StackSetOperationPreferences>
pub fn get_operation_preferences(&self) -> &Option<StackSetOperationPreferences>
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
sourcepub fn operation_id(self, input: impl Into<String>) -> Self
pub fn operation_id(self, input: impl Into<String>) -> Self
A unique, user defined, identifier for the stack set operation.
sourcepub fn set_operation_id(self, input: Option<String>) -> Self
pub fn set_operation_id(self, input: Option<String>) -> Self
A unique, user defined, identifier for the stack set operation.
sourcepub fn get_operation_id(&self) -> &Option<String>
pub fn get_operation_id(&self) -> &Option<String>
A unique, user defined, identifier for the stack set operation.
sourcepub fn call_as(self, input: CallAs) -> Self
pub fn call_as(self, input: CallAs) -> Self
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
For service managed stack sets, specify
DELEGATED_ADMIN
.
sourcepub fn set_call_as(self, input: Option<CallAs>) -> Self
pub fn set_call_as(self, input: Option<CallAs>) -> Self
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
For service managed stack sets, specify
DELEGATED_ADMIN
.
sourcepub fn get_call_as(&self) -> &Option<CallAs>
pub fn get_call_as(&self) -> &Option<CallAs>
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
For service managed stack sets, specify
DELEGATED_ADMIN
.
Trait Implementations§
source§impl Clone for ImportStacksToStackSetFluentBuilder
impl Clone for ImportStacksToStackSetFluentBuilder
source§fn clone(&self) -> ImportStacksToStackSetFluentBuilder
fn clone(&self) -> ImportStacksToStackSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ImportStacksToStackSetFluentBuilder
impl !RefUnwindSafe for ImportStacksToStackSetFluentBuilder
impl Send for ImportStacksToStackSetFluentBuilder
impl Sync for ImportStacksToStackSetFluentBuilder
impl Unpin for ImportStacksToStackSetFluentBuilder
impl !UnwindSafe for ImportStacksToStackSetFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more