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 |
Creates a new domain association for an Amplify app.
Synopsis
- data UpdateDomainAssociation = UpdateDomainAssociation' {}
- newUpdateDomainAssociation :: Text -> Text -> UpdateDomainAssociation
- updateDomainAssociation_enableAutoSubDomain :: Lens' UpdateDomainAssociation (Maybe Bool)
- updateDomainAssociation_autoSubDomainCreationPatterns :: Lens' UpdateDomainAssociation (Maybe [Text])
- updateDomainAssociation_autoSubDomainIAMRole :: Lens' UpdateDomainAssociation (Maybe Text)
- updateDomainAssociation_appId :: Lens' UpdateDomainAssociation Text
- updateDomainAssociation_domainName :: Lens' UpdateDomainAssociation Text
- updateDomainAssociation_subDomainSettings :: Lens' UpdateDomainAssociation [SubDomainSetting]
- data UpdateDomainAssociationResponse = UpdateDomainAssociationResponse' {}
- newUpdateDomainAssociationResponse :: Int -> DomainAssociation -> UpdateDomainAssociationResponse
- updateDomainAssociationResponse_httpStatus :: Lens' UpdateDomainAssociationResponse Int
- updateDomainAssociationResponse_domainAssociation :: Lens' UpdateDomainAssociationResponse DomainAssociation
Creating a Request
data UpdateDomainAssociation Source #
The request structure for the update domain association request.
See: newUpdateDomainAssociation
smart constructor.
UpdateDomainAssociation' | |
|
Instances
newUpdateDomainAssociation Source #
:: Text | |
-> Text | |
-> UpdateDomainAssociation |
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.
updateDomainAssociation_appId :: Lens' UpdateDomainAssociation Text Source #
The unique ID for an Amplify app.
updateDomainAssociation_domainName :: Lens' UpdateDomainAssociation Text Source #
The name of the domain.
updateDomainAssociation_subDomainSettings :: Lens' UpdateDomainAssociation [SubDomainSetting] Source #
Describes the settings for the subdomain.
Destructuring the Response
data UpdateDomainAssociationResponse Source #
The result structure for the update domain association request.
See: newUpdateDomainAssociationResponse
smart constructor.
UpdateDomainAssociationResponse' | |
|
Instances
Eq UpdateDomainAssociationResponse Source # | |
Read UpdateDomainAssociationResponse Source # | |
Show UpdateDomainAssociationResponse Source # | |
Defined in Amazonka.Amplify.UpdateDomainAssociation | |
Generic UpdateDomainAssociationResponse Source # | |
NFData UpdateDomainAssociationResponse Source # | |
Defined in Amazonka.Amplify.UpdateDomainAssociation rnf :: UpdateDomainAssociationResponse -> () # | |
type Rep UpdateDomainAssociationResponse Source # | |
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_httpStatus :: Lens' UpdateDomainAssociationResponse Int Source #
The response's http status code.
updateDomainAssociationResponse_domainAssociation :: Lens' UpdateDomainAssociationResponse DomainAssociation Source #
Describes a domain association, which associates a custom domain with an Amplify app.