Struct rusoto_lambda::FunctionCode [−][src]
pub struct FunctionCode { pub s3_bucket: Option<String>, pub s3_key: Option<String>, pub s3_object_version: Option<String>, pub zip_file: Option<Vec<u8>>, }
The code for the Lambda function.
Fields
s3_bucket: Option<String>
Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function.
s3_key: Option<String>
The Amazon S3 object (the deployment package) key name you want to upload.
s3_object_version: Option<String>
The Amazon S3 object (the deployment package) version you want to upload.
zip_file: Option<Vec<u8>>
The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, see Execution Permissions in the AWS Lambda Developer Guide.
Trait Implementations
impl Default for FunctionCode
[src]
impl Default for FunctionCode
fn default() -> FunctionCode
[src]
fn default() -> FunctionCode
Returns the "default value" for a type. Read more
impl Debug for FunctionCode
[src]
impl Debug for FunctionCode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for FunctionCode
[src]
impl Clone for FunctionCode
fn clone(&self) -> FunctionCode
[src]
fn clone(&self) -> FunctionCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for FunctionCode
[src]
impl PartialEq for FunctionCode
fn eq(&self, other: &FunctionCode) -> bool
[src]
fn eq(&self, other: &FunctionCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FunctionCode) -> bool
[src]
fn ne(&self, other: &FunctionCode) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for FunctionCode
impl Send for FunctionCode
impl Sync for FunctionCode
impl Sync for FunctionCode