SignerDataPlaneClient#
Index > SignerDataPlane > SignerDataPlaneClient
Auto-generated documentation for SignerDataPlane type annotations stubs module types-boto3-signer-data.
SignerDataPlaneClient#
Type annotations and code completion for boto3.client("signer-data").
boto3 documentation
# SignerDataPlaneClient usage example
from boto3.session import Session
from types_boto3_signer_data.client import SignerDataPlaneClient
def get_signer-data_client() -> SignerDataPlaneClient:
return Session().client("signer-data")
Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("signer-data").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("signer-data")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.InternalServiceErrorException,
client.exceptions.TooManyRequestsException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from types_boto3_signer_data.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("signer-data").can_paginate method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("signer-data").generate_presigned_url method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_revocation_status#
Retrieves the revocation status for a signed artifact by checking if the signing profile, job, or certificate has been revoked.
Type annotations and code completion for boto3.client("signer-data").get_revocation_status method.
boto3 documentation
# get_revocation_status method definition
def get_revocation_status(
self,
*,
signatureTimestamp: TimestampTypeDef,
platformId: str,
profileVersionArn: str,
jobArn: str,
certificateHashes: Sequence[str],
) -> GetRevocationStatusResponseTypeDef: # (1)
...
# get_revocation_status method usage example with argument unpacking
kwargs: GetRevocationStatusRequestTypeDef = { # (1)
"signatureTimestamp": ...,
"platformId": ...,
"profileVersionArn": ...,
"jobArn": ...,
"certificateHashes": ...,
}
parent.get_revocation_status(**kwargs)