Struct aws_sdk_greengrass::input::StartBulkDeploymentInput
source · [−]#[non_exhaustive]pub struct StartBulkDeploymentInput {
pub amzn_client_token: Option<String>,
pub execution_role_arn: Option<String>,
pub input_file_uri: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.amzn_client_token: Option<String>
A client token used to correlate requests and responses.
execution_role_arn: Option<String>
The ARN of the execution role to associate with the bulk deployment operation. This IAM role must allow the ’‘greengrass:CreateDeployment’’ action for all group versions that are listed in the input file. This IAM role must have access to the S3 bucket containing the input file.
input_file_uri: Option<String>
The URI of the input file contained in the S3 bucket. The execution role must have ’‘getObject’’ permissions on this bucket to access the input file. The input file is a JSON-serialized, line delimited file with UTF-8 encoding that provides a list of group and version IDs and the deployment type. This file must be less than 100 MB. Currently, AWS IoT Greengrass supports only ’‘NewDeployment’’ deployment types.
Tag(s) to add to the new resource.
Implementations
sourceimpl StartBulkDeploymentInput
impl StartBulkDeploymentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartBulkDeployment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartBulkDeployment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartBulkDeployment
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartBulkDeploymentInput
sourceimpl StartBulkDeploymentInput
impl StartBulkDeploymentInput
sourcepub fn amzn_client_token(&self) -> Option<&str>
pub fn amzn_client_token(&self) -> Option<&str>
A client token used to correlate requests and responses.
sourcepub fn execution_role_arn(&self) -> Option<&str>
pub fn execution_role_arn(&self) -> Option<&str>
The ARN of the execution role to associate with the bulk deployment operation. This IAM role must allow the ’‘greengrass:CreateDeployment’’ action for all group versions that are listed in the input file. This IAM role must have access to the S3 bucket containing the input file.
sourcepub fn input_file_uri(&self) -> Option<&str>
pub fn input_file_uri(&self) -> Option<&str>
The URI of the input file contained in the S3 bucket. The execution role must have ’‘getObject’’ permissions on this bucket to access the input file. The input file is a JSON-serialized, line delimited file with UTF-8 encoding that provides a list of group and version IDs and the deployment type. This file must be less than 100 MB. Currently, AWS IoT Greengrass supports only ’‘NewDeployment’’ deployment types.
Tag(s) to add to the new resource.
Trait Implementations
sourceimpl Clone for StartBulkDeploymentInput
impl Clone for StartBulkDeploymentInput
sourcefn clone(&self) -> StartBulkDeploymentInput
fn clone(&self) -> StartBulkDeploymentInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartBulkDeploymentInput
impl Debug for StartBulkDeploymentInput
sourceimpl PartialEq<StartBulkDeploymentInput> for StartBulkDeploymentInput
impl PartialEq<StartBulkDeploymentInput> for StartBulkDeploymentInput
sourcefn eq(&self, other: &StartBulkDeploymentInput) -> bool
fn eq(&self, other: &StartBulkDeploymentInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartBulkDeploymentInput) -> bool
fn ne(&self, other: &StartBulkDeploymentInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartBulkDeploymentInput
Auto Trait Implementations
impl RefUnwindSafe for StartBulkDeploymentInput
impl Send for StartBulkDeploymentInput
impl Sync for StartBulkDeploymentInput
impl Unpin for StartBulkDeploymentInput
impl UnwindSafe for StartBulkDeploymentInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more