Skip to content

PrivateCAConnectorforSCEPClient#

Index > PrivateCAConnectorforSCEP > PrivateCAConnectorforSCEPClient

Auto-generated documentation for PrivateCAConnectorforSCEP type annotations stubs module mypy-boto3-pca-connector-scep.

PrivateCAConnectorforSCEPClient#

Type annotations and code completion for boto3.client("pca-connector-scep"). boto3 documentation

# PrivateCAConnectorforSCEPClient usage example

from boto3.session import Session
from mypy_boto3_pca_connector_scep.client import PrivateCAConnectorforSCEPClient

def get_pca-connector-scep_client() -> PrivateCAConnectorforSCEPClient:
    return Session().client("pca-connector-scep")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("pca-connector-scep").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("pca-connector-scep")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.BadRequestException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_pca_connector_scep.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("pca-connector-scep").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("pca-connector-scep").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_challenge#

For general-purpose connectors.

Type annotations and code completion for boto3.client("pca-connector-scep").create_challenge method. boto3 documentation

# create_challenge method definition

def create_challenge(
    self,
    *,
    ConnectorArn: str,
    ClientToken: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateChallengeResponseTypeDef:  # (1)
    ...
  1. See CreateChallengeResponseTypeDef
# create_challenge method usage example with argument unpacking

kwargs: CreateChallengeRequestRequestTypeDef = {  # (1)
    "ConnectorArn": ...,
}

parent.create_challenge(**kwargs)
  1. See CreateChallengeRequestRequestTypeDef

create_connector#

Creates a SCEP connector.

Type annotations and code completion for boto3.client("pca-connector-scep").create_connector method. boto3 documentation

# create_connector method definition

def create_connector(
    self,
    *,
    CertificateAuthorityArn: str,
    MobileDeviceManagement: MobileDeviceManagementTypeDef = ...,  # (1)
    ClientToken: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateConnectorResponseTypeDef:  # (2)
    ...
  1. See MobileDeviceManagementTypeDef
  2. See CreateConnectorResponseTypeDef
# create_connector method usage example with argument unpacking

kwargs: CreateConnectorRequestRequestTypeDef = {  # (1)
    "CertificateAuthorityArn": ...,
}

parent.create_connector(**kwargs)
  1. See CreateConnectorRequestRequestTypeDef

delete_challenge#

Deletes the specified Challenge.

Type annotations and code completion for boto3.client("pca-connector-scep").delete_challenge method. boto3 documentation

# delete_challenge method definition

def delete_challenge(
    self,
    *,
    ChallengeArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_challenge method usage example with argument unpacking

kwargs: DeleteChallengeRequestRequestTypeDef = {  # (1)
    "ChallengeArn": ...,
}

parent.delete_challenge(**kwargs)
  1. See DeleteChallengeRequestRequestTypeDef

delete_connector#

Deletes the specified Connector.

Type annotations and code completion for boto3.client("pca-connector-scep").delete_connector method. boto3 documentation

# delete_connector method definition

def delete_connector(
    self,
    *,
    ConnectorArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_connector method usage example with argument unpacking

kwargs: DeleteConnectorRequestRequestTypeDef = {  # (1)
    "ConnectorArn": ...,
}

parent.delete_connector(**kwargs)
  1. See DeleteConnectorRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("pca-connector-scep").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_challenge_metadata#

Retrieves the metadata for the specified Challenge.

Type annotations and code completion for boto3.client("pca-connector-scep").get_challenge_metadata method. boto3 documentation

# get_challenge_metadata method definition

def get_challenge_metadata(
    self,
    *,
    ChallengeArn: str,
) -> GetChallengeMetadataResponseTypeDef:  # (1)
    ...
  1. See GetChallengeMetadataResponseTypeDef
# get_challenge_metadata method usage example with argument unpacking

kwargs: GetChallengeMetadataRequestRequestTypeDef = {  # (1)
    "ChallengeArn": ...,
}

parent.get_challenge_metadata(**kwargs)
  1. See GetChallengeMetadataRequestRequestTypeDef

get_challenge_password#

Retrieves the challenge password for the specified Challenge.

Type annotations and code completion for boto3.client("pca-connector-scep").get_challenge_password method. boto3 documentation

# get_challenge_password method definition

def get_challenge_password(
    self,
    *,
    ChallengeArn: str,
) -> GetChallengePasswordResponseTypeDef:  # (1)
    ...
  1. See GetChallengePasswordResponseTypeDef
# get_challenge_password method usage example with argument unpacking

kwargs: GetChallengePasswordRequestRequestTypeDef = {  # (1)
    "ChallengeArn": ...,
}

parent.get_challenge_password(**kwargs)
  1. See GetChallengePasswordRequestRequestTypeDef

get_connector#

Retrieves details about the specified Connector.

Type annotations and code completion for boto3.client("pca-connector-scep").get_connector method. boto3 documentation

# get_connector method definition

def get_connector(
    self,
    *,
    ConnectorArn: str,
) -> GetConnectorResponseTypeDef:  # (1)
    ...
  1. See GetConnectorResponseTypeDef
# get_connector method usage example with argument unpacking

kwargs: GetConnectorRequestRequestTypeDef = {  # (1)
    "ConnectorArn": ...,
}

parent.get_connector(**kwargs)
  1. See GetConnectorRequestRequestTypeDef

list_challenge_metadata#

Retrieves the challenge metadata for the specified ARN.

Type annotations and code completion for boto3.client("pca-connector-scep").list_challenge_metadata method. boto3 documentation

# list_challenge_metadata method definition

def list_challenge_metadata(
    self,
    *,
    ConnectorArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListChallengeMetadataResponseTypeDef:  # (1)
    ...
  1. See ListChallengeMetadataResponseTypeDef
# list_challenge_metadata method usage example with argument unpacking

kwargs: ListChallengeMetadataRequestRequestTypeDef = {  # (1)
    "ConnectorArn": ...,
}

parent.list_challenge_metadata(**kwargs)
  1. See ListChallengeMetadataRequestRequestTypeDef

list_connectors#

Lists the connectors belonging to your Amazon Web Services account.

Type annotations and code completion for boto3.client("pca-connector-scep").list_connectors method. boto3 documentation

# list_connectors method definition

def list_connectors(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListConnectorsResponseTypeDef:  # (1)
    ...
  1. See ListConnectorsResponseTypeDef
# list_connectors method usage example with argument unpacking

kwargs: ListConnectorsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_connectors(**kwargs)
  1. See ListConnectorsRequestRequestTypeDef

list_tags_for_resource#

Retrieves the tags associated with the specified resource.

Type annotations and code completion for boto3.client("pca-connector-scep").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

tag_resource#

Adds one or more tags to your resource.

Type annotations and code completion for boto3.client("pca-connector-scep").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes one or more tags from your resource.

Type annotations and code completion for boto3.client("pca-connector-scep").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("pca-connector-scep").get_paginator method with overloads.