Struct aws_sdk_s3::model::Ssekms
source · #[non_exhaustive]pub struct Ssekms { /* private fields */ }
Expand description
Specifies the use of SSE-KMS to encrypt delivered inventory reports.
Implementations§
source§impl Ssekms
impl Ssekms
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Ssekms
.
Examples found in repository?
src/xml_deser.rs (line 7848)
7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868
pub fn deser_structure_crate_model_ssekms(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Ssekms, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::Ssekms::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("KeyId") /* KeyId com.amazonaws.s3#SSEKMS$KeyId */ => {
let var_430 =
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_key_id(var_430);
}
,
_ => {}
}
}
Ok(builder.build())
}