Struct aws_sdk_swf::operation::list_workflow_types::builders::ListWorkflowTypesFluentBuilder
source · pub struct ListWorkflowTypesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListWorkflowTypes
.
Returns information about workflow types in the specified domain. The results may be split into multiple pages that can be retrieved by making the call repeatedly.
Access Control
You can use IAM policies to control this action's access to Amazon SWF resources as follows:
-
Use a
Resource
element with the domain name to limit the action to only specified domains. -
Use an
Action
element to allow or deny permission to call this action. -
You cannot use an IAM policy to constrain this action's parameters.
If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
Implementations§
source§impl ListWorkflowTypesFluentBuilder
impl ListWorkflowTypesFluentBuilder
sourcepub fn as_input(&self) -> &ListWorkflowTypesInputBuilder
pub fn as_input(&self) -> &ListWorkflowTypesInputBuilder
Access the ListWorkflowTypes as a reference.
sourcepub async fn send(
self
) -> Result<ListWorkflowTypesOutput, SdkError<ListWorkflowTypesError, HttpResponse>>
pub async fn send( self ) -> Result<ListWorkflowTypesOutput, SdkError<ListWorkflowTypesError, 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<ListWorkflowTypesOutput, ListWorkflowTypesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListWorkflowTypesOutput, ListWorkflowTypesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListWorkflowTypesPaginator
pub fn into_paginator(self) -> ListWorkflowTypesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain in which the workflow types have been registered.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain in which the workflow types have been registered.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The name of the domain in which the workflow types have been registered.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
If specified, lists the workflow type with this name.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
If specified, lists the workflow type with this name.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
If specified, lists the workflow type with this name.
sourcepub fn registration_status(self, input: RegistrationStatus) -> Self
pub fn registration_status(self, input: RegistrationStatus) -> Self
Specifies the registration status of the workflow types to list.
sourcepub fn set_registration_status(self, input: Option<RegistrationStatus>) -> Self
pub fn set_registration_status(self, input: Option<RegistrationStatus>) -> Self
Specifies the registration status of the workflow types to list.
sourcepub fn get_registration_status(&self) -> &Option<RegistrationStatus>
pub fn get_registration_status(&self) -> &Option<RegistrationStatus>
Specifies the registration status of the workflow types to list.
sourcepub fn next_page_token(self, input: impl Into<String>) -> Self
pub fn next_page_token(self, input: impl Into<String>) -> Self
If NextPageToken
is returned there are more results available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400
error: "Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be returned in a single call.
sourcepub fn set_next_page_token(self, input: Option<String>) -> Self
pub fn set_next_page_token(self, input: Option<String>) -> Self
If NextPageToken
is returned there are more results available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400
error: "Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be returned in a single call.
sourcepub fn get_next_page_token(&self) -> &Option<String>
pub fn get_next_page_token(&self) -> &Option<String>
If NextPageToken
is returned there are more results available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400
error: "Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be returned in a single call.
sourcepub fn maximum_page_size(self, input: i32) -> Self
pub fn maximum_page_size(self, input: i32) -> Self
The maximum number of results that are returned per call. Use nextPageToken
to obtain further pages of results.
sourcepub fn set_maximum_page_size(self, input: Option<i32>) -> Self
pub fn set_maximum_page_size(self, input: Option<i32>) -> Self
The maximum number of results that are returned per call. Use nextPageToken
to obtain further pages of results.
sourcepub fn get_maximum_page_size(&self) -> &Option<i32>
pub fn get_maximum_page_size(&self) -> &Option<i32>
The maximum number of results that are returned per call. Use nextPageToken
to obtain further pages of results.
sourcepub fn reverse_order(self, input: bool) -> Self
pub fn reverse_order(self, input: bool) -> Self
When set to true
, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name
of the workflow types.
sourcepub fn set_reverse_order(self, input: Option<bool>) -> Self
pub fn set_reverse_order(self, input: Option<bool>) -> Self
When set to true
, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name
of the workflow types.
sourcepub fn get_reverse_order(&self) -> &Option<bool>
pub fn get_reverse_order(&self) -> &Option<bool>
When set to true
, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name
of the workflow types.
Trait Implementations§
source§impl Clone for ListWorkflowTypesFluentBuilder
impl Clone for ListWorkflowTypesFluentBuilder
source§fn clone(&self) -> ListWorkflowTypesFluentBuilder
fn clone(&self) -> ListWorkflowTypesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListWorkflowTypesFluentBuilder
impl !RefUnwindSafe for ListWorkflowTypesFluentBuilder
impl Send for ListWorkflowTypesFluentBuilder
impl Sync for ListWorkflowTypesFluentBuilder
impl Unpin for ListWorkflowTypesFluentBuilder
impl !UnwindSafe for ListWorkflowTypesFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more