Struct aws_sdk_s3control::model::S3ManifestOutputLocation
source · #[non_exhaustive]pub struct S3ManifestOutputLocation { /* private fields */ }
Expand description
Location details for where the generated manifest should be written.
Implementations§
source§impl S3ManifestOutputLocation
impl S3ManifestOutputLocation
sourcepub fn expected_manifest_bucket_owner(&self) -> Option<&str>
pub fn expected_manifest_bucket_owner(&self) -> Option<&str>
The Account ID that owns the bucket the generated manifest is written to.
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The bucket ARN the generated manifest should be written to.
sourcepub fn manifest_prefix(&self) -> Option<&str>
pub fn manifest_prefix(&self) -> Option<&str>
Prefix identifying one or more objects to which the manifest applies.
sourcepub fn manifest_encryption(&self) -> Option<&GeneratedManifestEncryption>
pub fn manifest_encryption(&self) -> Option<&GeneratedManifestEncryption>
Specifies what encryption should be used when the generated manifest objects are written.
sourcepub fn manifest_format(&self) -> Option<&GeneratedManifestFormat>
pub fn manifest_format(&self) -> Option<&GeneratedManifestFormat>
The format of the generated manifest.
source§impl S3ManifestOutputLocation
impl S3ManifestOutputLocation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3ManifestOutputLocation
.
Examples found in repository?
src/xml_deser.rs (line 6047)
6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117
pub fn deser_structure_crate_model_s3_manifest_output_location(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::S3ManifestOutputLocation, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::S3ManifestOutputLocation::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("ExpectedManifestBucketOwner") /* ExpectedManifestBucketOwner com.amazonaws.s3control#S3ManifestOutputLocation$ExpectedManifestBucketOwner */ => {
let var_285 =
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_expected_manifest_bucket_owner(var_285);
}
,
s if s.matches("Bucket") /* Bucket com.amazonaws.s3control#S3ManifestOutputLocation$Bucket */ => {
let var_286 =
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_bucket(var_286);
}
,
s if s.matches("ManifestPrefix") /* ManifestPrefix com.amazonaws.s3control#S3ManifestOutputLocation$ManifestPrefix */ => {
let var_287 =
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_manifest_prefix(var_287);
}
,
s if s.matches("ManifestEncryption") /* ManifestEncryption com.amazonaws.s3control#S3ManifestOutputLocation$ManifestEncryption */ => {
let var_288 =
Some(
crate::xml_deser::deser_structure_crate_model_generated_manifest_encryption(&mut tag)
?
)
;
builder = builder.set_manifest_encryption(var_288);
}
,
s if s.matches("ManifestFormat") /* ManifestFormat com.amazonaws.s3control#S3ManifestOutputLocation$ManifestFormat */ => {
let var_289 =
Some(
Result::<crate::model::GeneratedManifestFormat, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::GeneratedManifestFormat::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_manifest_format(var_289);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for S3ManifestOutputLocation
impl Clone for S3ManifestOutputLocation
source§fn clone(&self) -> S3ManifestOutputLocation
fn clone(&self) -> S3ManifestOutputLocation
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