Struct aws_sdk_cloudformation::model::AccountLimit
source · #[non_exhaustive]pub struct AccountLimit { /* private fields */ }Expand description
The AccountLimit data type.
CloudFormation has the following limits per account:
-
Number of concurrent resources
-
Number of stacks
-
Number of stack outputs
For more information about these account limits, and other CloudFormation limits, see CloudFormation quotas in the CloudFormation User Guide.
Implementations§
source§impl AccountLimit
impl AccountLimit
source§impl AccountLimit
impl AccountLimit
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccountLimit.
Examples found in repository?
src/xml_deser.rs (line 6526)
6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561
pub fn deser_structure_crate_model_account_limit(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::AccountLimit, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::AccountLimit::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Name") /* Name com.amazonaws.cloudformation#AccountLimit$Name */ => {
let var_252 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_name(var_252);
}
,
s if s.matches("Value") /* Value com.amazonaws.cloudformation#AccountLimit$Value */ => {
let var_253 =
Some(
{
<i32 as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (integer: `com.amazonaws.cloudformation#LimitValue`)"))
}
?
)
;
builder = builder.set_value(var_253);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for AccountLimit
impl Clone for AccountLimit
source§fn clone(&self) -> AccountLimit
fn clone(&self) -> AccountLimit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more