#[non_exhaustive]pub struct CreateUploadUrlOutput {
pub s3_url: Option<String>,
pub request_headers: Option<HashMap<String, String>>,
pub code_artifact_id: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.s3_url: Option<String>
A pre-signed S3 URL. You can upload the code file you want to scan and add the required requestHeaders
using any HTTP client.
request_headers: Option<HashMap<String, String>>
A set of key-value pairs that contain the required headers when uploading your resource.
code_artifact_id: Option<String>
The identifier for the uploaded code resource.
Implementations§
source§impl CreateUploadUrlOutput
impl CreateUploadUrlOutput
sourcepub fn s3_url(&self) -> Option<&str>
pub fn s3_url(&self) -> Option<&str>
A pre-signed S3 URL. You can upload the code file you want to scan and add the required requestHeaders
using any HTTP client.
sourcepub fn request_headers(&self) -> Option<&HashMap<String, String>>
pub fn request_headers(&self) -> Option<&HashMap<String, String>>
A set of key-value pairs that contain the required headers when uploading your resource.
sourcepub fn code_artifact_id(&self) -> Option<&str>
pub fn code_artifact_id(&self) -> Option<&str>
The identifier for the uploaded code resource.
source§impl CreateUploadUrlOutput
impl CreateUploadUrlOutput
sourcepub fn builder() -> CreateUploadUrlOutputBuilder
pub fn builder() -> CreateUploadUrlOutputBuilder
Creates a new builder-style object to manufacture CreateUploadUrlOutput
.
Trait Implementations§
source§impl Clone for CreateUploadUrlOutput
impl Clone for CreateUploadUrlOutput
source§fn clone(&self) -> CreateUploadUrlOutput
fn clone(&self) -> CreateUploadUrlOutput
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 moresource§impl Debug for CreateUploadUrlOutput
impl Debug for CreateUploadUrlOutput
source§impl PartialEq for CreateUploadUrlOutput
impl PartialEq for CreateUploadUrlOutput
source§fn eq(&self, other: &CreateUploadUrlOutput) -> bool
fn eq(&self, other: &CreateUploadUrlOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateUploadUrlOutput
impl RequestId for CreateUploadUrlOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateUploadUrlOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateUploadUrlOutput
impl Send for CreateUploadUrlOutput
impl Sync for CreateUploadUrlOutput
impl Unpin for CreateUploadUrlOutput
impl UnwindSafe for CreateUploadUrlOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more