Struct aws_sdk_backup::input::CreateFrameworkInput
source · [−]#[non_exhaustive]pub struct CreateFrameworkInput {
pub framework_name: Option<String>,
pub framework_description: Option<String>,
pub framework_controls: Option<Vec<FrameworkControl>>,
pub idempotency_token: Option<String>,
pub framework_tags: Option<HashMap<String, String>>,
}
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.framework_name: Option<String>
The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
framework_description: Option<String>
An optional description of the framework with a maximum of 1,024 characters.
framework_controls: Option<Vec<FrameworkControl>>
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
idempotency_token: Option<String>
A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
Implementations
sourceimpl CreateFrameworkInput
impl CreateFrameworkInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateFramework, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateFramework, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateFramework
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateFrameworkInput
sourceimpl CreateFrameworkInput
impl CreateFrameworkInput
sourcepub fn framework_name(&self) -> Option<&str>
pub fn framework_name(&self) -> Option<&str>
The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
sourcepub fn framework_description(&self) -> Option<&str>
pub fn framework_description(&self) -> Option<&str>
An optional description of the framework with a maximum of 1,024 characters.
sourcepub fn framework_controls(&self) -> Option<&[FrameworkControl]>
pub fn framework_controls(&self) -> Option<&[FrameworkControl]>
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
sourcepub fn idempotency_token(&self) -> Option<&str>
pub fn idempotency_token(&self) -> Option<&str>
A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
Trait Implementations
sourceimpl Clone for CreateFrameworkInput
impl Clone for CreateFrameworkInput
sourcefn clone(&self) -> CreateFrameworkInput
fn clone(&self) -> CreateFrameworkInput
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 CreateFrameworkInput
impl Debug for CreateFrameworkInput
sourceimpl PartialEq<CreateFrameworkInput> for CreateFrameworkInput
impl PartialEq<CreateFrameworkInput> for CreateFrameworkInput
sourcefn eq(&self, other: &CreateFrameworkInput) -> bool
fn eq(&self, other: &CreateFrameworkInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFrameworkInput) -> bool
fn ne(&self, other: &CreateFrameworkInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateFrameworkInput
Auto Trait Implementations
impl RefUnwindSafe for CreateFrameworkInput
impl Send for CreateFrameworkInput
impl Sync for CreateFrameworkInput
impl Unpin for CreateFrameworkInput
impl UnwindSafe for CreateFrameworkInput
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