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 async fn customize(
self
) -> Result<CustomizableOperation<GetPatchBaseline, AwsResponseRetryClassifier>, SdkError<GetPatchBaselineError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetPatchBaseline, AwsResponseRetryClassifier>, SdkError<GetPatchBaselineError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetPatchBaselineOutput, SdkError<GetPatchBaselineError>>
pub async fn send( self ) -> Result<GetPatchBaselineOutput, SdkError<GetPatchBaselineError>>
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 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
.
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