Skip to main content

rustack_s3_model/output/
bucket.rs

1//! Auto-generated from AWS S3 Smithy model. DO NOT EDIT.
2
3use crate::types::{Bucket, BucketLocationConstraint, LocationType, Owner};
4
5/// S3 CreateBucketOutput.
6#[derive(Debug, Clone, Default)]
7pub struct CreateBucketOutput {
8    /// HTTP header: `x-amz-bucket-arn`.
9    pub bucket_arn: Option<String>,
10    /// HTTP header: `Location`.
11    pub location: Option<String>,
12}
13
14/// S3 GetBucketLocationOutput.
15#[derive(Debug, Clone, Default)]
16pub struct GetBucketLocationOutput {
17    pub location_constraint: Option<BucketLocationConstraint>,
18}
19
20/// S3 HeadBucketOutput.
21#[derive(Debug, Clone, Default)]
22pub struct HeadBucketOutput {
23    /// HTTP header: `x-amz-access-point-alias`.
24    pub access_point_alias: Option<bool>,
25    /// HTTP header: `x-amz-bucket-arn`.
26    pub bucket_arn: Option<String>,
27    /// HTTP header: `x-amz-bucket-location-name`.
28    pub bucket_location_name: Option<String>,
29    /// HTTP header: `x-amz-bucket-location-type`.
30    pub bucket_location_type: Option<LocationType>,
31    /// HTTP header: `x-amz-bucket-region`.
32    pub bucket_region: Option<String>,
33}
34
35/// S3 ListBucketsOutput.
36#[derive(Debug, Clone, Default)]
37pub struct ListBucketsOutput {
38    pub buckets: Vec<Bucket>,
39    pub continuation_token: Option<String>,
40    pub owner: Option<Owner>,
41    pub prefix: Option<String>,
42}