Struct aws_sdk_codepipeline::client::fluent_builders::PollForJobs [−][src]
pub struct PollForJobs<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PollForJobs
.
Returns information about any jobs for AWS CodePipeline to act on.
PollForJobs
is valid only for action types with "Custom" in the owner
field. If the action type contains "AWS" or "ThirdParty" in the owner field, the
PollForJobs
action returns an error.
When this API is called, AWS CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.
Implementations
impl<C, M, R> PollForJobs<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PollForJobs<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<PollForJobsOutput, SdkError<PollForJobsError>> where
R::Policy: SmithyRetryPolicy<PollForJobsInputOperationOutputAlias, PollForJobsOutput, PollForJobsError, PollForJobsInputOperationRetryAlias>,
pub async fn send(self) -> Result<PollForJobsOutput, SdkError<PollForJobsError>> where
R::Policy: SmithyRetryPolicy<PollForJobsInputOperationOutputAlias, PollForJobsOutput, PollForJobsError, PollForJobsInputOperationRetryAlias>,
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.
Represents information about an action type.
Represents information about an action type.
The maximum number of jobs to return in a poll for jobs call.
The maximum number of jobs to return in a poll for jobs call.
Adds a key-value pair to queryParam
.
To override the contents of this collection use set_query_param
.
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PollForJobs<C, M, R>
impl<C, M, R> Unpin for PollForJobs<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PollForJobs<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more