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 |
Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener.
If the certificate in already in the certificate list, the call is successful but the certificate is not added again.
For more information, see HTTPS listeners in the Application Load Balancers Guide or TLS listeners in the Network Load Balancers Guide.
Synopsis
- data AddListenerCertificates = AddListenerCertificates' {
- listenerArn :: Text
- certificates :: [Certificate]
- newAddListenerCertificates :: Text -> AddListenerCertificates
- addListenerCertificates_listenerArn :: Lens' AddListenerCertificates Text
- addListenerCertificates_certificates :: Lens' AddListenerCertificates [Certificate]
- data AddListenerCertificatesResponse = AddListenerCertificatesResponse' {
- certificates :: Maybe [Certificate]
- httpStatus :: Int
- newAddListenerCertificatesResponse :: Int -> AddListenerCertificatesResponse
- addListenerCertificatesResponse_certificates :: Lens' AddListenerCertificatesResponse (Maybe [Certificate])
- addListenerCertificatesResponse_httpStatus :: Lens' AddListenerCertificatesResponse Int
Creating a Request
data AddListenerCertificates Source #
See: newAddListenerCertificates
smart constructor.
AddListenerCertificates' | |
|
Instances
newAddListenerCertificates Source #
Create a value of AddListenerCertificates
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:listenerArn:AddListenerCertificates'
, addListenerCertificates_listenerArn
- The Amazon Resource Name (ARN) of the listener.
$sel:certificates:AddListenerCertificates'
, addListenerCertificates_certificates
- The certificate to add. You can specify one certificate per call. Set
CertificateArn
to the certificate ARN but do not set IsDefault
.
Request Lenses
addListenerCertificates_listenerArn :: Lens' AddListenerCertificates Text Source #
The Amazon Resource Name (ARN) of the listener.
addListenerCertificates_certificates :: Lens' AddListenerCertificates [Certificate] Source #
The certificate to add. You can specify one certificate per call. Set
CertificateArn
to the certificate ARN but do not set IsDefault
.
Destructuring the Response
data AddListenerCertificatesResponse Source #
See: newAddListenerCertificatesResponse
smart constructor.
AddListenerCertificatesResponse' | |
|
Instances
Eq AddListenerCertificatesResponse Source # | |
Read AddListenerCertificatesResponse Source # | |
Show AddListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.AddListenerCertificates | |
Generic AddListenerCertificatesResponse Source # | |
NFData AddListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.AddListenerCertificates rnf :: AddListenerCertificatesResponse -> () # | |
type Rep AddListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.AddListenerCertificates type Rep AddListenerCertificatesResponse = D1 ('MetaData "AddListenerCertificatesResponse" "Amazonka.ELBV2.AddListenerCertificates" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "AddListenerCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Certificate])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAddListenerCertificatesResponse Source #
Create a value of AddListenerCertificatesResponse
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:certificates:AddListenerCertificates'
, addListenerCertificatesResponse_certificates
- Information about the certificates in the certificate list.
$sel:httpStatus:AddListenerCertificatesResponse'
, addListenerCertificatesResponse_httpStatus
- The response's http status code.
Response Lenses
addListenerCertificatesResponse_certificates :: Lens' AddListenerCertificatesResponse (Maybe [Certificate]) Source #
Information about the certificates in the certificate list.
addListenerCertificatesResponse_httpStatus :: Lens' AddListenerCertificatesResponse Int Source #
The response's http status code.