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

Amazonka.Amplify.UpdateDomainAssociation

Description

Creates a new domain association for an Amplify app.

Synopsis

Creating a Request

data UpdateDomainAssociation Source #

The request structure for the update domain association request.

See: newUpdateDomainAssociation smart constructor.

Constructors

UpdateDomainAssociation' 

Fields

Instances

Instances details
Eq UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Read UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Show UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Generic UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Associated Types

type Rep UpdateDomainAssociation :: Type -> Type #

NFData UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Methods

rnf :: UpdateDomainAssociation -> () #

Hashable UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

ToJSON UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

AWSRequest UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

ToHeaders UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

ToPath UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

ToQuery UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

type Rep UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

type Rep UpdateDomainAssociation = D1 ('MetaData "UpdateDomainAssociation" "Amazonka.Amplify.UpdateDomainAssociation" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "UpdateDomainAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enableAutoSubDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "autoSubDomainCreationPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "autoSubDomainIAMRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subDomainSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SubDomainSetting])))))
type AWSResponse UpdateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

newUpdateDomainAssociation Source #

Create a value of UpdateDomainAssociation 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:enableAutoSubDomain:UpdateDomainAssociation', updateDomainAssociation_enableAutoSubDomain - Enables the automated creation of subdomains for branches.

$sel:autoSubDomainCreationPatterns:UpdateDomainAssociation', updateDomainAssociation_autoSubDomainCreationPatterns - Sets the branch patterns for automatic subdomain creation.

$sel:autoSubDomainIAMRole:UpdateDomainAssociation', updateDomainAssociation_autoSubDomainIAMRole - The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.

$sel:appId:UpdateDomainAssociation', updateDomainAssociation_appId - The unique ID for an Amplify app.

$sel:domainName:UpdateDomainAssociation', updateDomainAssociation_domainName - The name of the domain.

$sel:subDomainSettings:UpdateDomainAssociation', updateDomainAssociation_subDomainSettings - Describes the settings for the subdomain.

Request Lenses

updateDomainAssociation_enableAutoSubDomain :: Lens' UpdateDomainAssociation (Maybe Bool) Source #

Enables the automated creation of subdomains for branches.

updateDomainAssociation_autoSubDomainCreationPatterns :: Lens' UpdateDomainAssociation (Maybe [Text]) Source #

Sets the branch patterns for automatic subdomain creation.

updateDomainAssociation_autoSubDomainIAMRole :: Lens' UpdateDomainAssociation (Maybe Text) Source #

The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.

Destructuring the Response

data UpdateDomainAssociationResponse Source #

The result structure for the update domain association request.

See: newUpdateDomainAssociationResponse smart constructor.

Constructors

UpdateDomainAssociationResponse' 

Fields

Instances

Instances details
Eq UpdateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Read UpdateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Show UpdateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Generic UpdateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

Associated Types

type Rep UpdateDomainAssociationResponse :: Type -> Type #

NFData UpdateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

type Rep UpdateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateDomainAssociation

type Rep UpdateDomainAssociationResponse = D1 ('MetaData "UpdateDomainAssociationResponse" "Amazonka.Amplify.UpdateDomainAssociation" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "UpdateDomainAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "domainAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DomainAssociation)))

newUpdateDomainAssociationResponse Source #

Create a value of UpdateDomainAssociationResponse 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:httpStatus:UpdateDomainAssociationResponse', updateDomainAssociationResponse_httpStatus - The response's http status code.

$sel:domainAssociation:UpdateDomainAssociationResponse', updateDomainAssociationResponse_domainAssociation - Describes a domain association, which associates a custom domain with an Amplify app.

Response Lenses

updateDomainAssociationResponse_domainAssociation :: Lens' UpdateDomainAssociationResponse DomainAssociation Source #

Describes a domain association, which associates a custom domain with an Amplify app.