#[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§
source§impl 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) -> &[FrameworkControl]
pub fn framework_controls(&self) -> &[FrameworkControl]
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .framework_controls.is_none()
.
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.
source§impl CreateFrameworkInput
impl CreateFrameworkInput
sourcepub fn builder() -> CreateFrameworkInputBuilder
pub fn builder() -> CreateFrameworkInputBuilder
Creates a new builder-style object to manufacture CreateFrameworkInput
.
Trait Implementations§
source§impl Clone for CreateFrameworkInput
impl Clone for CreateFrameworkInput
source§fn clone(&self) -> CreateFrameworkInput
fn clone(&self) -> CreateFrameworkInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFrameworkInput
impl Debug for CreateFrameworkInput
source§impl PartialEq for CreateFrameworkInput
impl PartialEq for CreateFrameworkInput
source§fn eq(&self, other: &CreateFrameworkInput) -> bool
fn eq(&self, other: &CreateFrameworkInput) -> bool
self
and other
values to be equal, and is used
by ==
.