poll_for_jobs
async
¶
poll_for_jobs(
action_type_id: ActionTypeId,
*,
config_overrides: Optional[AsyncCodePipelineClientConfig] = None,
max_batch_size: Optional[MaxBatchSize] = None,
query_param: Optional[QueryParamMap] = None,
) -> PollForJobsOutput
Returns information about any jobs for 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, 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.
Parameters:
-
action_type_id(ActionTypeId) –Represents information about an action type.
-
max_batch_size(Optional[MaxBatchSize], default:None) –The maximum number of jobs to return in a poll for jobs call.
-
query_param(Optional[QueryParamMap], default:None) –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.
Raises:
-
ActionTypeNotFoundException–The specified action type cannot be found.
-
ValidationException–The validation was specified in an invalid format.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codepipeline/_services/async_code_pipeline.py
1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 | |