#[non_exhaustive]pub struct CreateLensVersionInput {
pub lens_alias: Option<String>,
pub lens_version: Option<String>,
pub is_major_version: bool,
pub client_request_token: Option<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.lens_alias: Option<String>
The alias of the lens, for example, serverless
.
Each lens is identified by its LensSummary$LensAlias
.
lens_version: Option<String>
The version of the lens being created.
is_major_version: bool
Set to true if this new major lens version.
client_request_token: Option<String>
A unique case-sensitive string used to ensure that this request is idempotent (executes only once).
You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after it has completed successfully, the result of the original request is returned.
This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.
Implementations
sourceimpl CreateLensVersionInput
impl CreateLensVersionInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateLensVersion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateLensVersion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateLensVersion
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateLensVersionInput
sourceimpl CreateLensVersionInput
impl CreateLensVersionInput
sourcepub fn lens_alias(&self) -> Option<&str>
pub fn lens_alias(&self) -> Option<&str>
The alias of the lens, for example, serverless
.
Each lens is identified by its LensSummary$LensAlias
.
sourcepub fn lens_version(&self) -> Option<&str>
pub fn lens_version(&self) -> Option<&str>
The version of the lens being created.
sourcepub fn is_major_version(&self) -> bool
pub fn is_major_version(&self) -> bool
Set to true if this new major lens version.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique case-sensitive string used to ensure that this request is idempotent (executes only once).
You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after it has completed successfully, the result of the original request is returned.
This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.
Trait Implementations
sourceimpl Clone for CreateLensVersionInput
impl Clone for CreateLensVersionInput
sourcefn clone(&self) -> CreateLensVersionInput
fn clone(&self) -> CreateLensVersionInput
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 CreateLensVersionInput
impl Debug for CreateLensVersionInput
sourceimpl PartialEq<CreateLensVersionInput> for CreateLensVersionInput
impl PartialEq<CreateLensVersionInput> for CreateLensVersionInput
sourcefn eq(&self, other: &CreateLensVersionInput) -> bool
fn eq(&self, other: &CreateLensVersionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateLensVersionInput) -> bool
fn ne(&self, other: &CreateLensVersionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateLensVersionInput
Auto Trait Implementations
impl RefUnwindSafe for CreateLensVersionInput
impl Send for CreateLensVersionInput
impl Sync for CreateLensVersionInput
impl Unpin for CreateLensVersionInput
impl UnwindSafe for CreateLensVersionInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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