Struct rusoto_s3::PutBucketPolicyRequest [−][src]
pub struct PutBucketPolicyRequest {
pub bucket: String,
pub confirm_remove_self_bucket_access: Option<bool>,
pub content_md5: Option<String>,
pub expected_bucket_owner: Option<String>,
pub policy: String,
}Fields
bucket: StringThe name of the bucket.
confirm_remove_self_bucket_access: Option<bool>Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
content_md5: Option<String>The MD5 hash of the request body.
For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.
expected_bucket_owner: Option<String>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
policy: StringThe bucket policy as a JSON document.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PutBucketPolicyRequest
impl Send for PutBucketPolicyRequest
impl Sync for PutBucketPolicyRequest
impl Unpin for PutBucketPolicyRequest
impl UnwindSafe for PutBucketPolicyRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more