#[non_exhaustive]pub struct SetTypeConfigurationInput {
pub type_arn: Option<String>,
pub configuration: Option<String>,
pub configuration_alias: Option<String>,
pub type_name: Option<String>,
pub type: Option<ThirdPartyType>,
}
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.type_arn: 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 activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type 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.
configuration: 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 API_DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
configuration_alias: 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.
type_name: Option<String>
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
type: Option<ThirdPartyType>
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
Implementations
sourceimpl SetTypeConfigurationInput
impl SetTypeConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetTypeConfiguration, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetTypeConfiguration, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetTypeConfiguration
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SetTypeConfigurationInput
.
sourceimpl SetTypeConfigurationInput
impl SetTypeConfigurationInput
sourcepub fn type_arn(&self) -> Option<&str>
pub fn type_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the extension, in this account and region.
For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type 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) -> Option<&str>
pub fn configuration(&self) -> Option<&str>
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 API_DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn configuration_alias(&self) -> Option<&str>
pub fn configuration_alias(&self) -> Option<&str>
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) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn type(&self) -> Option<&ThirdPartyType>
pub fn type(&self) -> Option<&ThirdPartyType>
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
Trait Implementations
sourceimpl Clone for SetTypeConfigurationInput
impl Clone for SetTypeConfigurationInput
sourcefn clone(&self) -> SetTypeConfigurationInput
fn clone(&self) -> SetTypeConfigurationInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetTypeConfigurationInput
impl Debug for SetTypeConfigurationInput
sourceimpl PartialEq<SetTypeConfigurationInput> for SetTypeConfigurationInput
impl PartialEq<SetTypeConfigurationInput> for SetTypeConfigurationInput
sourcefn eq(&self, other: &SetTypeConfigurationInput) -> bool
fn eq(&self, other: &SetTypeConfigurationInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SetTypeConfigurationInput) -> bool
fn ne(&self, other: &SetTypeConfigurationInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SetTypeConfigurationInput
Auto Trait Implementations
impl RefUnwindSafe for SetTypeConfigurationInput
impl Send for SetTypeConfigurationInput
impl Sync for SetTypeConfigurationInput
impl Unpin for SetTypeConfigurationInput
impl UnwindSafe for SetTypeConfigurationInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more