pub struct ListPlatformBranches { /* private fields */ }
Expand description
Fluent builder constructing a request to ListPlatformBranches
.
Lists the platform branches available for your account in an AWS Region. Provides summary information about each platform branch.
For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary.
Implementations
sourceimpl ListPlatformBranches
impl ListPlatformBranches
sourcepub async fn send(
self
) -> Result<ListPlatformBranchesOutput, SdkError<ListPlatformBranchesError>>
pub async fn send(
self
) -> Result<ListPlatformBranchesOutput, SdkError<ListPlatformBranchesError>>
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) -> ListPlatformBranchesPaginator
pub fn into_paginator(self) -> ListPlatformBranchesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn filters(self, input: SearchFilter) -> Self
pub fn filters(self, input: SearchFilter) -> Self
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter
terms.
The following list shows valid attribute values for each of the SearchFilter
terms. Most operators take a single value. The in
and not_in
operators can take multiple values.
-
Attribute = BranchName
:-
Operator
:=
|!=
|begins_with
|ends_with
|contains
|in
|not_in
-
-
Attribute = LifecycleState
:-
Operator
:=
|!=
|in
|not_in
-
Values
:beta
|supported
|deprecated
|retired
-
-
Attribute = PlatformName
:-
Operator
:=
|!=
|begins_with
|ends_with
|contains
|in
|not_in
-
-
Attribute = TierType
:-
Operator
:=
|!=
-
Values
:WebServer/Standard
|Worker/SQS/HTTP
-
Array size: limited to 10 SearchFilter
objects.
Within each SearchFilter
item, the Values
array is limited to 10 items.
sourcepub fn set_filters(self, input: Option<Vec<SearchFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<SearchFilter>>) -> Self
Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter
terms.
The following list shows valid attribute values for each of the SearchFilter
terms. Most operators take a single value. The in
and not_in
operators can take multiple values.
-
Attribute = BranchName
:-
Operator
:=
|!=
|begins_with
|ends_with
|contains
|in
|not_in
-
-
Attribute = LifecycleState
:-
Operator
:=
|!=
|in
|not_in
-
Values
:beta
|supported
|deprecated
|retired
-
-
Attribute = PlatformName
:-
Operator
:=
|!=
|begins_with
|ends_with
|contains
|in
|not_in
-
-
Attribute = TierType
:-
Operator
:=
|!=
-
Values
:WebServer/Standard
|Worker/SQS/HTTP
-
Array size: limited to 10 SearchFilter
objects.
Within each SearchFilter
item, the Values
array is limited to 10 items.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of platform branch values returned in one call.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of platform branch values returned in one call.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken
is specified, the first page is retrieved.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken
is specified, the first page is retrieved.
Trait Implementations
sourceimpl Clone for ListPlatformBranches
impl Clone for ListPlatformBranches
sourcefn clone(&self) -> ListPlatformBranches
fn clone(&self) -> ListPlatformBranches
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
Auto Trait Implementations
impl !RefUnwindSafe for ListPlatformBranches
impl Send for ListPlatformBranches
impl Sync for ListPlatformBranches
impl Unpin for ListPlatformBranches
impl !UnwindSafe for ListPlatformBranches
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> 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