Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Generates a ClientCertificate resource.
Synopsis
- data GenerateClientCertificate = GenerateClientCertificate' {}
- newGenerateClientCertificate :: GenerateClientCertificate
- generateClientCertificate_description :: Lens' GenerateClientCertificate (Maybe Text)
- generateClientCertificate_tags :: Lens' GenerateClientCertificate (Maybe (HashMap Text Text))
- data ClientCertificate = ClientCertificate' {}
- newClientCertificate :: ClientCertificate
- clientCertificate_pemEncodedCertificate :: Lens' ClientCertificate (Maybe Text)
- clientCertificate_clientCertificateId :: Lens' ClientCertificate (Maybe Text)
- clientCertificate_createdDate :: Lens' ClientCertificate (Maybe UTCTime)
- clientCertificate_expirationDate :: Lens' ClientCertificate (Maybe UTCTime)
- clientCertificate_description :: Lens' ClientCertificate (Maybe Text)
- clientCertificate_tags :: Lens' ClientCertificate (Maybe (HashMap Text Text))
Creating a Request
data GenerateClientCertificate Source #
A request to generate a ClientCertificate resource.
See: newGenerateClientCertificate
smart constructor.
Instances
newGenerateClientCertificate :: GenerateClientCertificate Source #
Create a value of GenerateClientCertificate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:GenerateClientCertificate'
, generateClientCertificate_description
- The description of the ClientCertificate.
$sel:tags:GenerateClientCertificate'
, generateClientCertificate_tags
- The key-value map of strings. The valid character set is
[a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not
start with aws:
. The tag value can be up to 256 characters.
Request Lenses
generateClientCertificate_description :: Lens' GenerateClientCertificate (Maybe Text) Source #
The description of the ClientCertificate.
generateClientCertificate_tags :: Lens' GenerateClientCertificate (Maybe (HashMap Text Text)) Source #
The key-value map of strings. The valid character set is
[a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not
start with aws:
. The tag value can be up to 256 characters.
Destructuring the Response
data ClientCertificate Source #
Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.
Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.
See: newClientCertificate
smart constructor.
ClientCertificate' | |
|
Instances
newClientCertificate :: ClientCertificate Source #
Create a value of ClientCertificate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:pemEncodedCertificate:ClientCertificate'
, clientCertificate_pemEncodedCertificate
- The PEM-encoded public key of the client certificate, which can be used
to configure certificate authentication in the integration endpoint .
$sel:clientCertificateId:ClientCertificate'
, clientCertificate_clientCertificateId
- The identifier of the client certificate.
$sel:createdDate:ClientCertificate'
, clientCertificate_createdDate
- The timestamp when the client certificate was created.
$sel:expirationDate:ClientCertificate'
, clientCertificate_expirationDate
- The timestamp when the client certificate will expire.
$sel:description:ClientCertificate'
, clientCertificate_description
- The description of the client certificate.
$sel:tags:ClientCertificate'
, clientCertificate_tags
- The collection of tags. Each tag element is associated with a given
resource.
Response Lenses
clientCertificate_pemEncodedCertificate :: Lens' ClientCertificate (Maybe Text) Source #
The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .
clientCertificate_clientCertificateId :: Lens' ClientCertificate (Maybe Text) Source #
The identifier of the client certificate.
clientCertificate_createdDate :: Lens' ClientCertificate (Maybe UTCTime) Source #
The timestamp when the client certificate was created.
clientCertificate_expirationDate :: Lens' ClientCertificate (Maybe UTCTime) Source #
The timestamp when the client certificate will expire.
clientCertificate_description :: Lens' ClientCertificate (Maybe Text) Source #
The description of the client certificate.
clientCertificate_tags :: Lens' ClientCertificate (Maybe (HashMap Text Text)) Source #
The collection of tags. Each tag element is associated with a given resource.