pub struct GetPatchBaselineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetPatchBaseline
.
Retrieves information about a patch baseline.
Implementations§
source§impl GetPatchBaselineFluentBuilder
impl GetPatchBaselineFluentBuilder
sourcepub fn as_input(&self) -> &GetPatchBaselineInputBuilder
pub fn as_input(&self) -> &GetPatchBaselineInputBuilder
Access the GetPatchBaseline as a reference.
sourcepub async fn send(
self
) -> Result<GetPatchBaselineOutput, SdkError<GetPatchBaselineError, HttpResponse>>
pub async fn send( self ) -> Result<GetPatchBaselineOutput, SdkError<GetPatchBaselineError, 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 async fn customize(
self
) -> Result<CustomizableOperation<GetPatchBaselineOutput, GetPatchBaselineError, Self>, SdkError<GetPatchBaselineError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetPatchBaselineOutput, GetPatchBaselineError, Self>, SdkError<GetPatchBaselineError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn baseline_id(self, input: impl Into<String>) -> Self
pub fn baseline_id(self, input: impl Into<String>) -> Self
The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
sourcepub fn set_baseline_id(self, input: Option<String>) -> Self
pub fn set_baseline_id(self, input: Option<String>) -> Self
The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
sourcepub fn get_baseline_id(&self) -> &Option<String>
pub fn get_baseline_id(&self) -> &Option<String>
The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
Trait Implementations§
source§impl Clone for GetPatchBaselineFluentBuilder
impl Clone for GetPatchBaselineFluentBuilder
source§fn clone(&self) -> GetPatchBaselineFluentBuilder
fn clone(&self) -> GetPatchBaselineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more