pub struct ListServiceTemplateVersions { /* private fields */ }
Expand description
Fluent builder constructing a request to ListServiceTemplateVersions
.
List major or minor versions of a service template with detail data.
Implementations§
source§impl ListServiceTemplateVersions
impl ListServiceTemplateVersions
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListServiceTemplateVersions, AwsResponseRetryClassifier>, SdkError<ListServiceTemplateVersionsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListServiceTemplateVersions, AwsResponseRetryClassifier>, SdkError<ListServiceTemplateVersionsError>>
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<ListServiceTemplateVersionsOutput, SdkError<ListServiceTemplateVersionsError>>
pub async fn send(
self
) -> Result<ListServiceTemplateVersionsOutput, SdkError<ListServiceTemplateVersionsError>>
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 into_paginator(self) -> ListServiceTemplateVersionsPaginator
pub fn into_paginator(self) -> ListServiceTemplateVersionsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of major or minor versions of a service template to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of major or minor versions of a service template to list.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the service template.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the service template.
sourcepub fn major_version(self, input: impl Into<String>) -> Self
pub fn major_version(self, input: impl Into<String>) -> Self
To view a list of minor of versions under a major version of a service template, include major Version
.
To view a list of major versions of a service template, exclude major Version
.
sourcepub fn set_major_version(self, input: Option<String>) -> Self
pub fn set_major_version(self, input: Option<String>) -> Self
To view a list of minor of versions under a major version of a service template, include major Version
.
To view a list of major versions of a service template, exclude major Version
.
Trait Implementations§
source§impl Clone for ListServiceTemplateVersions
impl Clone for ListServiceTemplateVersions
source§fn clone(&self) -> ListServiceTemplateVersions
fn clone(&self) -> ListServiceTemplateVersions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more