Struct aws_sdk_greengrassv2::operation::get_component_version_artifact::GetComponentVersionArtifactInput
source · #[non_exhaustive]pub struct GetComponentVersionArtifactInput {
pub arn: Option<String>,
pub artifact_name: Option<String>,
pub s3_endpoint_type: Option<S3EndpointType>,
pub iot_endpoint_type: Option<IotEndpointType>,
}
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.arn: Option<String>
The ARN of the component version. Specify the ARN of a public or a Lambda component version.
artifact_name: Option<String>
The name of the artifact.
You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI greengrass:SomeArtifact.zip
, the artifact name is SomeArtifact.zip
.
s3_endpoint_type: Option<S3EndpointType>
Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
All Amazon Web Services Regions except US East (N. Virginia) use REGIONAL
in all cases. In the US East (N. Virginia) Region the default is GLOBAL
, but you can change it to REGIONAL
with this parameter.
iot_endpoint_type: Option<IotEndpointType>
Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify fips
if you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default is standard
.
Implementations§
source§impl GetComponentVersionArtifactInput
impl GetComponentVersionArtifactInput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The ARN of the component version. Specify the ARN of a public or a Lambda component version.
sourcepub fn artifact_name(&self) -> Option<&str>
pub fn artifact_name(&self) -> Option<&str>
The name of the artifact.
You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI greengrass:SomeArtifact.zip
, the artifact name is SomeArtifact.zip
.
sourcepub fn s3_endpoint_type(&self) -> Option<&S3EndpointType>
pub fn s3_endpoint_type(&self) -> Option<&S3EndpointType>
Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
All Amazon Web Services Regions except US East (N. Virginia) use REGIONAL
in all cases. In the US East (N. Virginia) Region the default is GLOBAL
, but you can change it to REGIONAL
with this parameter.
sourcepub fn iot_endpoint_type(&self) -> Option<&IotEndpointType>
pub fn iot_endpoint_type(&self) -> Option<&IotEndpointType>
Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify fips
if you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default is standard
.
source§impl GetComponentVersionArtifactInput
impl GetComponentVersionArtifactInput
sourcepub fn builder() -> GetComponentVersionArtifactInputBuilder
pub fn builder() -> GetComponentVersionArtifactInputBuilder
Creates a new builder-style object to manufacture GetComponentVersionArtifactInput
.
Trait Implementations§
source§impl Clone for GetComponentVersionArtifactInput
impl Clone for GetComponentVersionArtifactInput
source§fn clone(&self) -> GetComponentVersionArtifactInput
fn clone(&self) -> GetComponentVersionArtifactInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetComponentVersionArtifactInput
impl PartialEq for GetComponentVersionArtifactInput
source§fn eq(&self, other: &GetComponentVersionArtifactInput) -> bool
fn eq(&self, other: &GetComponentVersionArtifactInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetComponentVersionArtifactInput
Auto Trait Implementations§
impl Freeze for GetComponentVersionArtifactInput
impl RefUnwindSafe for GetComponentVersionArtifactInput
impl Send for GetComponentVersionArtifactInput
impl Sync for GetComponentVersionArtifactInput
impl Unpin for GetComponentVersionArtifactInput
impl UnwindSafe for GetComponentVersionArtifactInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more