amazonka-apigateway-1.6.1: Amazon API Gateway SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.APIGateway.UpdateDomainName

Contents

Description

Changes information about the DomainName resource.

Synopsis

Creating a Request

updateDomainName Source #

Creates a value of UpdateDomainName with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • udnPatchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.
  • udnDomainName - [Required] The name of the DomainName resource to be changed.

data UpdateDomainName Source #

A request to change information about the DomainName resource.

See: updateDomainName smart constructor.

Instances
Eq UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Data UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateDomainName -> c UpdateDomainName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateDomainName #

toConstr :: UpdateDomainName -> Constr #

dataTypeOf :: UpdateDomainName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateDomainName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateDomainName) #

gmapT :: (forall b. Data b => b -> b) -> UpdateDomainName -> UpdateDomainName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainName -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateDomainName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateDomainName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateDomainName -> m UpdateDomainName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainName -> m UpdateDomainName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainName -> m UpdateDomainName #

Read UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Show UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Generic UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Associated Types

type Rep UpdateDomainName :: Type -> Type #

Hashable UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

ToJSON UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

AWSRequest UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Associated Types

type Rs UpdateDomainName :: Type #

ToHeaders UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

ToPath UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

ToQuery UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

NFData UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Methods

rnf :: UpdateDomainName -> () #

type Rep UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

type Rep UpdateDomainName = D1 (MetaData "UpdateDomainName" "Network.AWS.APIGateway.UpdateDomainName" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "UpdateDomainName'" PrefixI True) (S1 (MetaSel (Just "_udnPatchOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 (MetaSel (Just "_udnDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs UpdateDomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDomainName

Request Lenses

udnPatchOperations :: Lens' UpdateDomainName [PatchOperation] Source #

A list of update operations to be applied to the specified resource and in the order specified in this list.

udnDomainName :: Lens' UpdateDomainName Text Source #

Required
The name of the DomainName resource to be changed.

Destructuring the Response

domainName :: DomainName Source #

Creates a value of DomainName with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DomainName Source #

Represents a custom domain name as a user-friendly host name of an API (RestApi ).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/ . When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi , where myApi is the base path mapping (BasePathMapping ) of your API under the custom domain name.

Set a Custom Host Name for an API

See: domainName smart constructor.

Instances
Eq DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DomainName -> c DomainName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DomainName #

toConstr :: DomainName -> Constr #

dataTypeOf :: DomainName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DomainName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DomainName) #

gmapT :: (forall b. Data b => b -> b) -> DomainName -> DomainName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DomainName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DomainName -> r #

gmapQ :: (forall d. Data d => d -> u) -> DomainName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DomainName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

Read DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep DomainName :: Type -> Type #

Hashable DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: DomainName -> () #

type Rep DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DomainName = D1 (MetaData "DomainName" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DomainName'" PrefixI True) (((S1 (MetaSel (Just "_dnRegionalHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dnRegionalCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dnCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnDistributionHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_dnDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dnRegionalCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnRegionalDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_dnCertificateUploadDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_dnDistributionDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnEndpointConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EndpointConfiguration)))))))

Response Lenses

dnRegionalHostedZoneId :: Lens' DomainName (Maybe Text) Source #

The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway .

dnCertificateName :: Lens' DomainName (Maybe Text) Source #

The name of the certificate that will be used by edge-optimized endpoint for this domain name.

dnRegionalCertificateARN :: Lens' DomainName (Maybe Text) Source #

The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

dnCertificateARN :: Lens' DomainName (Maybe Text) Source #

The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

dnDistributionHostedZoneId :: Lens' DomainName (Maybe Text) Source #

The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway .

dnDomainName :: Lens' DomainName (Maybe Text) Source #

The custom domain name as an API host name, for example, my-api.example.com .

dnRegionalCertificateName :: Lens' DomainName (Maybe Text) Source #

The name of the certificate that will be used for validating the regional domain name.

dnRegionalDomainName :: Lens' DomainName (Maybe Text) Source #

The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

dnCertificateUploadDate :: Lens' DomainName (Maybe UTCTime) Source #

The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

dnDistributionDomainName :: Lens' DomainName (Maybe Text) Source #

The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation .

dnEndpointConfiguration :: Lens' DomainName (Maybe EndpointConfiguration) Source #

The endpoint configuration of this DomainName showing the endpoint types of the domain name.