// Creates a new domain association for an Amplify app.
Creates a new domain association for an Amplify app.
// Creates a new domain association for an Amplify app .
func (c *Client) UpdateDomainAssociation(ctx context.Context, params *UpdateDomainAssociationInput, optFns ...func(*Options)) (*UpdateDomainAssociationOutput, error) {
	if params == nil {
		params = &UpdateDomainAssociationInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateDomainAssociation", params, optFns, addOperationUpdateDomainAssociationMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateDomainAssociationOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateDomainAssociation ( ctx context . Context , params * UpdateDomainAssociationInput , optFns ... func ( * Options ) ) ( * UpdateDomainAssociationOutput , error ) { if params == nil { params = & UpdateDomainAssociationInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateDomainAssociationMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateDomainAssociationOutput ) out . ResultMetadata = metadata return out , nil }
Creates a new domain association for an Amplify app.
Creates a new domain association for an Amplify app .