#[non_exhaustive]pub struct FieldLevelEncryptionConfig { /* private fields */ }
Expand description
A complex data type that includes the profile configurations specified for field-level encryption.
Implementations§
source§impl FieldLevelEncryptionConfig
impl FieldLevelEncryptionConfig
sourcepub fn caller_reference(&self) -> Option<&str>
pub fn caller_reference(&self) -> Option<&str>
A unique number that ensures the request can't be replayed.
sourcepub fn comment(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
An optional comment about the configuration. The comment cannot be longer than 128 characters.
sourcepub fn query_arg_profile_config(&self) -> Option<&QueryArgProfileConfig>
pub fn query_arg_profile_config(&self) -> Option<&QueryArgProfileConfig>
A complex data type that specifies when to forward content if a profile isn't found and the profile that can be provided as a query argument in a request.
sourcepub fn content_type_profile_config(&self) -> Option<&ContentTypeProfileConfig>
pub fn content_type_profile_config(&self) -> Option<&ContentTypeProfileConfig>
A complex data type that specifies when to forward content if a content type isn't recognized and profiles to use as by default in a request if a query argument doesn't specify a profile to use.
source§impl FieldLevelEncryptionConfig
impl FieldLevelEncryptionConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FieldLevelEncryptionConfig
.
Examples found in repository?
src/xml_deser.rs (line 7304)
7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357
pub fn deser_structure_crate_model_field_level_encryption_config(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::FieldLevelEncryptionConfig, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::FieldLevelEncryptionConfig::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("CallerReference") /* CallerReference com.amazonaws.cloudfront#FieldLevelEncryptionConfig$CallerReference */ => {
let var_224 =
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_caller_reference(var_224);
}
,
s if s.matches("Comment") /* Comment com.amazonaws.cloudfront#FieldLevelEncryptionConfig$Comment */ => {
let var_225 =
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_comment(var_225);
}
,
s if s.matches("QueryArgProfileConfig") /* QueryArgProfileConfig com.amazonaws.cloudfront#FieldLevelEncryptionConfig$QueryArgProfileConfig */ => {
let var_226 =
Some(
crate::xml_deser::deser_structure_crate_model_query_arg_profile_config(&mut tag)
?
)
;
builder = builder.set_query_arg_profile_config(var_226);
}
,
s if s.matches("ContentTypeProfileConfig") /* ContentTypeProfileConfig com.amazonaws.cloudfront#FieldLevelEncryptionConfig$ContentTypeProfileConfig */ => {
let var_227 =
Some(
crate::xml_deser::deser_structure_crate_model_content_type_profile_config(&mut tag)
?
)
;
builder = builder.set_content_type_profile_config(var_227);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for FieldLevelEncryptionConfig
impl Clone for FieldLevelEncryptionConfig
source§fn clone(&self) -> FieldLevelEncryptionConfig
fn clone(&self) -> FieldLevelEncryptionConfig
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