Struct aws_sdk_cloudformation::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder
source · pub struct SetTypeConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to SetTypeConfiguration
.
Specifies the configuration data for a registered CloudFormation extension, in the given account and Region.
To view the current configuration data for an extension, refer to the ConfigurationSchema
element of DescribeType. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.
It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more details on dynamic references, see Using dynamic references to specify template values in the CloudFormation User Guide.
Implementations§
source§impl SetTypeConfigurationFluentBuilder
impl SetTypeConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &SetTypeConfigurationInputBuilder
pub fn as_input(&self) -> &SetTypeConfigurationInputBuilder
Access the SetTypeConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<SetTypeConfigurationOutput, SdkError<SetTypeConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<SetTypeConfigurationOutput, SdkError<SetTypeConfigurationError, 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<SetTypeConfigurationOutput, SetTypeConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<SetTypeConfigurationOutput, SetTypeConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn type_arn(self, input: impl Into<String>) -> Self
pub fn type_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
sourcepub fn set_type_arn(self, input: Option<String>) -> Self
pub fn set_type_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
sourcepub fn get_type_arn(&self) -> &Option<String>
pub fn get_type_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
sourcepub fn configuration(self, input: impl Into<String>) -> Self
pub fn configuration(self, input: impl Into<String>) -> Self
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn set_configuration(self, input: Option<String>) -> Self
pub fn set_configuration(self, input: Option<String>) -> Self
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn get_configuration(&self) -> &Option<String>
pub fn get_configuration(&self) -> &Option<String>
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn configuration_alias(self, input: impl Into<String>) -> Self
pub fn configuration_alias(self, input: impl Into<String>) -> Self
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
sourcepub fn set_configuration_alias(self, input: Option<String>) -> Self
pub fn set_configuration_alias(self, input: Option<String>) -> Self
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
sourcepub fn get_configuration_alias(&self) -> &Option<String>
pub fn get_configuration_alias(&self) -> &Option<String>
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn type(self, input: ThirdPartyType) -> Self
pub fn type(self, input: ThirdPartyType) -> Self
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn set_type(self, input: Option<ThirdPartyType>) -> Self
pub fn set_type(self, input: Option<ThirdPartyType>) -> Self
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn get_type(&self) -> &Option<ThirdPartyType>
pub fn get_type(&self) -> &Option<ThirdPartyType>
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
Trait Implementations§
source§impl Clone for SetTypeConfigurationFluentBuilder
impl Clone for SetTypeConfigurationFluentBuilder
source§fn clone(&self) -> SetTypeConfigurationFluentBuilder
fn clone(&self) -> SetTypeConfigurationFluentBuilder
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 SetTypeConfigurationFluentBuilder
impl !RefUnwindSafe for SetTypeConfigurationFluentBuilder
impl Send for SetTypeConfigurationFluentBuilder
impl Sync for SetTypeConfigurationFluentBuilder
impl Unpin for SetTypeConfigurationFluentBuilder
impl !UnwindSafe for SetTypeConfigurationFluentBuilder
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