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.CreateDomainAssociation

Description

Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app

Synopsis

Creating a Request

data CreateDomainAssociation Source #

The request structure for the create domain association request.

See: newCreateDomainAssociation smart constructor.

Constructors

CreateDomainAssociation' 

Fields

Instances

Instances details
Eq CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Read CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Show CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Generic CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Associated Types

type Rep CreateDomainAssociation :: Type -> Type #

NFData CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Methods

rnf :: CreateDomainAssociation -> () #

Hashable CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

ToJSON CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

AWSRequest CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

ToHeaders CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

ToPath CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

ToQuery CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

type Rep CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

type Rep CreateDomainAssociation = D1 ('MetaData "CreateDomainAssociation" "Amazonka.Amplify.CreateDomainAssociation" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "CreateDomainAssociation'" '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 CreateDomainAssociation Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

newCreateDomainAssociation Source #

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

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

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

$sel:appId:CreateDomainAssociation', createDomainAssociation_appId - The unique ID for an Amplify app.

$sel:domainName:CreateDomainAssociation', createDomainAssociation_domainName - The domain name for the domain association.

$sel:subDomainSettings:CreateDomainAssociation', createDomainAssociation_subDomainSettings - The setting for the subdomain.

Request Lenses

createDomainAssociation_enableAutoSubDomain :: Lens' CreateDomainAssociation (Maybe Bool) Source #

Enables the automated creation of subdomains for branches.

createDomainAssociation_autoSubDomainCreationPatterns :: Lens' CreateDomainAssociation (Maybe [Text]) Source #

Sets the branch patterns for automatic subdomain creation.

createDomainAssociation_autoSubDomainIAMRole :: Lens' CreateDomainAssociation (Maybe Text) Source #

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

createDomainAssociation_domainName :: Lens' CreateDomainAssociation Text Source #

The domain name for the domain association.

Destructuring the Response

data CreateDomainAssociationResponse Source #

The result structure for the create domain association request.

See: newCreateDomainAssociationResponse smart constructor.

Constructors

CreateDomainAssociationResponse' 

Fields

Instances

Instances details
Eq CreateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Read CreateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Show CreateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Generic CreateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

Associated Types

type Rep CreateDomainAssociationResponse :: Type -> Type #

NFData CreateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

type Rep CreateDomainAssociationResponse Source # 
Instance details

Defined in Amazonka.Amplify.CreateDomainAssociation

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

newCreateDomainAssociationResponse Source #

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

$sel:domainAssociation:CreateDomainAssociationResponse', createDomainAssociationResponse_domainAssociation - Describes the structure of a domain association, which associates a custom domain with an Amplify app.

Response Lenses

createDomainAssociationResponse_domainAssociation :: Lens' CreateDomainAssociationResponse DomainAssociation Source #

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