Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.
Parameters:
-
category
(Optional[String], default:
None
)
–
The category type of a signing platform.
-
partner
(Optional[String], default:
None
)
–
Any partner entities connected to a signing platform.
-
target
(Optional[String], default:
None
)
–
The validation template that is used by the target signing platform.
-
max_results
(Optional[MaxResults], default:
None
)
–
The maximum number of results to be returned by this operation.
-
next_token
(Optional[String], default:
None
)
–
Value for specifying the next set of paginated results to return. After you receive a response with truncated results, use this parameter in a subsequent request. Set it to the value of nextToken from the response that you just received.
Raises:
Source code in docs_src/capo_signer/_services/async_signer.py
| async def list_signing_platforms(
self,
*,
config_overrides: Optional[AsyncsignerClientConfig] = None,
category: Optional["capo_signer.types.string.String"] = None,
partner: Optional["capo_signer.types.string.String"] = None,
target: Optional["capo_signer.types.string.String"] = None,
max_results: Optional["capo_signer.types.max_results.MaxResults"] = None,
next_token: Optional["capo_signer.types.string.String"] = None,
) -> (
"capo_signer.types.list_signing_platforms_response.ListSigningPlatformsResponse"
):
"""<p>Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a <code>nextToken</code> value. Use this value in subsequent calls to <code>ListSigningJobs</code> to fetch the remaining values. You can continue calling <code>ListSigningJobs</code> with your <code>maxResults</code> parameter and with new values that Signer returns in the <code>nextToken</code> parameter until all of your signing jobs have been returned.</p>
Args:
category: <p>The category type of a signing platform.</p>
partner: <p>Any partner entities connected to a signing platform.</p>
target: <p>The validation template that is used by the target signing platform.</p>
max_results: <p>The maximum number of results to be returned by this operation.</p>
next_token: <p>Value for specifying the next set of paginated results to return. After you receive a response with truncated results, use this parameter in a subsequent request. Set it to the value of <code>nextToken</code> from the response that you just received.</p>
Raises:
capo_signer.errors.access_denied_exception.AccessDeniedException: <p>You do not have sufficient access to perform this action.</p>
capo_signer.errors.internal_service_error_exception.InternalServiceErrorException: <p>An internal error occurred.</p>
capo_signer.errors.too_many_requests_exception.TooManyRequestsException: <p>The allowed number of job-signing requests has been exceeded.</p> <p>This error supersedes the error <code>ThrottlingException</code>.</p>
capo_signer.errors.validation_exception.ValidationException: <p>You signing certificate could not be validated.</p>
capo_signer.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_signer.types.list_signing_platforms_request.ListSigningPlatformsRequest]",
) -> AsyncOperationResponse[
"capo_signer.types.list_signing_platforms_response.ListSigningPlatformsResponse"
]:
import capo_signer._operations.wallaby_service.list_signing_platforms
(
output,
http_response,
) = await capo_signer._operations.wallaby_service.list_signing_platforms.async_list_signing_platforms(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ListSigningPlatforms")
)
input_: capo_signer.types.list_signing_platforms_request.ListSigningPlatformsRequest = {}
if category is not None:
input_["category"] = category
if partner is not None:
input_["partner"] = partner
if target is not None:
input_["target"] = target
if max_results is not None:
input_["max_results"] = max_results
if next_token is not None:
input_["next_token"] = next_token
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|