Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Endpoint = Endpoint' {
- address :: Maybe Text
- port :: Maybe Int
- vpcEndpoints :: Maybe [VpcEndpoint]
- newEndpoint :: Endpoint
- endpoint_address :: Lens' Endpoint (Maybe Text)
- endpoint_port :: Lens' Endpoint (Maybe Int)
- endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint])
Documentation
The VPC endpoint object.
See: newEndpoint
smart constructor.
Endpoint' | |
|
Instances
FromJSON Endpoint Source # | |
Generic Endpoint Source # | |
Read Endpoint Source # | |
Show Endpoint Source # | |
NFData Endpoint Source # | |
Defined in Amazonka.RedshiftServerLess.Types.Endpoint | |
Eq Endpoint Source # | |
Hashable Endpoint Source # | |
Defined in Amazonka.RedshiftServerLess.Types.Endpoint | |
type Rep Endpoint Source # | |
Defined in Amazonka.RedshiftServerLess.Types.Endpoint type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.RedshiftServerLess.Types.Endpoint" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "vpcEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VpcEndpoint]))))) |
newEndpoint :: Endpoint Source #
Create a value of Endpoint
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:address:Endpoint'
, endpoint_address
- The DNS address of the VPC endpoint.
$sel:port:Endpoint'
, endpoint_port
- The port that Amazon Redshift Serverless listens on.
$sel:vpcEndpoints:Endpoint'
, endpoint_vpcEndpoints
- An array of VpcEndpoint
objects.
endpoint_port :: Lens' Endpoint (Maybe Int) Source #
The port that Amazon Redshift Serverless listens on.
endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint]) Source #
An array of VpcEndpoint
objects.