Struct aws_sdk_cloudformation::operation::get_generated_template::builders::GetGeneratedTemplateFluentBuilder
source · pub struct GetGeneratedTemplateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetGeneratedTemplate
.
Retrieves a generated template. If the template is in an InProgress
or Pending
status then the template returned will be the template when the template was last in a Complete
status. If the template has not yet been in a Complete
status then an empty template will be returned.
Implementations§
source§impl GetGeneratedTemplateFluentBuilder
impl GetGeneratedTemplateFluentBuilder
sourcepub fn as_input(&self) -> &GetGeneratedTemplateInputBuilder
pub fn as_input(&self) -> &GetGeneratedTemplateInputBuilder
Access the GetGeneratedTemplate as a reference.
sourcepub async fn send(
self
) -> Result<GetGeneratedTemplateOutput, SdkError<GetGeneratedTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<GetGeneratedTemplateOutput, SdkError<GetGeneratedTemplateError, 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<GetGeneratedTemplateOutput, GetGeneratedTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<GetGeneratedTemplateOutput, GetGeneratedTemplateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn format(self, input: TemplateFormat) -> Self
pub fn format(self, input: TemplateFormat) -> Self
The language to use to retrieve for the generated template. Supported values are:
-
JSON
-
YAML
sourcepub fn set_format(self, input: Option<TemplateFormat>) -> Self
pub fn set_format(self, input: Option<TemplateFormat>) -> Self
The language to use to retrieve for the generated template. Supported values are:
-
JSON
-
YAML
sourcepub fn get_format(&self) -> &Option<TemplateFormat>
pub fn get_format(&self) -> &Option<TemplateFormat>
The language to use to retrieve for the generated template. Supported values are:
-
JSON
-
YAML
sourcepub fn generated_template_name(self, input: impl Into<String>) -> Self
pub fn generated_template_name(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
sourcepub fn set_generated_template_name(self, input: Option<String>) -> Self
pub fn set_generated_template_name(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
sourcepub fn get_generated_template_name(&self) -> &Option<String>
pub fn get_generated_template_name(&self) -> &Option<String>
The name or Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
Trait Implementations§
source§impl Clone for GetGeneratedTemplateFluentBuilder
impl Clone for GetGeneratedTemplateFluentBuilder
source§fn clone(&self) -> GetGeneratedTemplateFluentBuilder
fn clone(&self) -> GetGeneratedTemplateFluentBuilder
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 GetGeneratedTemplateFluentBuilder
impl !RefUnwindSafe for GetGeneratedTemplateFluentBuilder
impl Send for GetGeneratedTemplateFluentBuilder
impl Sync for GetGeneratedTemplateFluentBuilder
impl Unpin for GetGeneratedTemplateFluentBuilder
impl !UnwindSafe for GetGeneratedTemplateFluentBuilder
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