Struct aws_sdk_iot::operation::get_package_version::builders::GetPackageVersionFluentBuilder
source · pub struct GetPackageVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetPackageVersion
.
Gets information about the specified package version.
Requires permission to access the GetPackageVersion action.
Implementations§
source§impl GetPackageVersionFluentBuilder
impl GetPackageVersionFluentBuilder
sourcepub fn as_input(&self) -> &GetPackageVersionInputBuilder
pub fn as_input(&self) -> &GetPackageVersionInputBuilder
Access the GetPackageVersion as a reference.
sourcepub async fn send(
self
) -> Result<GetPackageVersionOutput, SdkError<GetPackageVersionError, HttpResponse>>
pub async fn send( self ) -> Result<GetPackageVersionOutput, SdkError<GetPackageVersionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetPackageVersionOutput, GetPackageVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<GetPackageVersionOutput, GetPackageVersionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn package_name(self, input: impl Into<String>) -> Self
pub fn package_name(self, input: impl Into<String>) -> Self
The name of the associated package.
sourcepub fn set_package_name(self, input: Option<String>) -> Self
pub fn set_package_name(self, input: Option<String>) -> Self
The name of the associated package.
sourcepub fn get_package_name(&self) -> &Option<String>
pub fn get_package_name(&self) -> &Option<String>
The name of the associated package.
sourcepub fn version_name(self, input: impl Into<String>) -> Self
pub fn version_name(self, input: impl Into<String>) -> Self
The name of the target package version.
sourcepub fn set_version_name(self, input: Option<String>) -> Self
pub fn set_version_name(self, input: Option<String>) -> Self
The name of the target package version.
sourcepub fn get_version_name(&self) -> &Option<String>
pub fn get_version_name(&self) -> &Option<String>
The name of the target package version.
Trait Implementations§
source§impl Clone for GetPackageVersionFluentBuilder
impl Clone for GetPackageVersionFluentBuilder
source§fn clone(&self) -> GetPackageVersionFluentBuilder
fn clone(&self) -> GetPackageVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more